From 865f16fb5f2b35e0d8994c994970cc198df604f2 Mon Sep 17 00:00:00 2001 From: Matt Conway Date: Wed, 22 Sep 2021 11:40:28 -0400 Subject: [PATCH] preserve parameter types returned from cloudtruth api, update openapi --- lib/kubetruth/ctapi.rb | 14 +- openapi.yml | 1873 +++++++++++++++-- .../_environment_id/gets_id.yml | 49 +- .../raises_if_environment_doesn_t_exist.yml | 49 +- .../_environments/gets_environments.yml | 49 +- .../_environments/memoizes_environments.yml | 49 +- .../doesn_t_expose_secret_in_debug_log.yml | 443 ++-- .../_parameters/gets_parameters.yml | 357 ++-- .../gets_types_with_parameters.yml | 752 +++++++ .../uses_environment_to_get_values.yml | 573 +++-- .../Kubetruth_CtApi/_project_id/gets_id.yml | 352 +++- .../raises_if_project_doesn_t_exist.yml | 352 +++- .../_projects/gets_projects.yml | 352 +++- .../_projects/memoizes_projects_.yml | 352 +++- .../_templates/_template/gets_template.yml | 537 +++-- ..._log_for_templates_that_reference_them.yml | 653 ++++-- .../_templates/_template_id/gets_id.yml | 402 ++-- .../raises_if_template_doesn_t_exist.yml | 402 ++-- .../_templates/gets_templates.yml | 402 ++-- .../_templates/memoizes_templates_.yml | 402 ++-- .../does_api_requests_concurrently.yml | 53 +- spec/kubetruth/ctapi_spec.rb | 90 +- 22 files changed, 6664 insertions(+), 1893 deletions(-) create mode 100644 spec/fixtures/vcr/Kubetruth_CtApi/_parameters/gets_types_with_parameters.yml diff --git a/lib/kubetruth/ctapi.rb b/lib/kubetruth/ctapi.rb index 2089d8e..0f31ed5 100644 --- a/lib/kubetruth/ctapi.rb +++ b/lib/kubetruth/ctapi.rb @@ -128,7 +128,19 @@ def parameters(project:, environment: "default") result&.results&.collect do |param| # values is keyed by url, but we forced it to only have a single entry # for the supplied environment - Kubetruth::Parameter.new(key: param.name, value: param.values.values.first&.value, secret: param.secret) + # preserve types so we can generate accurate structured data vs using typify filter + value = param.values.values.first&.value + if ! value.nil? + case param.type + when CloudtruthClient::ParameterTypeEnum::BOOL + value = (value == "true") + when CloudtruthClient::ParameterTypeEnum::INTEGER + value = value.to_i + else + value = value.to_s + end + end + Kubetruth::Parameter.new(key: param.name, value: value, secret: param.secret) end end diff --git a/openapi.yml b/openapi.yml index ddfdf2e..edc65a7 100644 --- a/openapi.yml +++ b/openapi.yml @@ -314,6 +314,268 @@ paths: schema: $ref: '#/components/schemas/Environment' description: '' + /api/v1/environments/{environment_pk}/tags/: + get: + operationId: environments_tags_list + description: |- + Tags allow you to name stable points in time for your configuration. + + Any query API that accepts an `as_of` option will also accept a `tag` option, + however they are mutually exclusive. + parameters: + - in: query + name: description__icontains + schema: + type: string + - in: path + name: environment_pk + schema: + type: string + format: uuid + required: true + - in: query + name: name + schema: + type: string + - in: query + name: name__icontains + schema: + type: string + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: timestamp + schema: + type: string + format: date-time + - in: query + name: timestamp__gte + schema: + type: string + format: date-time + - in: query + name: timestamp__lte + schema: + type: string + format: date-time + tags: + - environments + security: + - JWTAuth: [] + - ApiKeyAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedTagList' + description: '' + post: + operationId: environments_tags_create + description: |- + Tags allow you to name stable points in time for your configuration. + + Any query API that accepts an `as_of` option will also accept a `tag` option, + however they are mutually exclusive. + parameters: + - in: path + name: environment_pk + schema: + type: string + format: uuid + required: true + tags: + - environments + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TagCreate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/TagCreate' + multipart/form-data: + schema: + $ref: '#/components/schemas/TagCreate' + required: true + security: + - JWTAuth: [] + - ApiKeyAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/Tag' + description: '' + /api/v1/environments/{environment_pk}/tags/{id}/: + get: + operationId: environments_tags_retrieve + description: |- + Tags allow you to name stable points in time for your configuration. + + Any query API that accepts an `as_of` option will also accept a `tag` option, + however they are mutually exclusive. + parameters: + - in: path + name: environment_pk + schema: + type: string + format: uuid + required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A unique identifier for the tag. + required: true + tags: + - environments + security: + - JWTAuth: [] + - ApiKeyAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Tag' + description: '' + put: + operationId: environments_tags_update + description: |- + Tags allow you to name stable points in time for your configuration. + + Any query API that accepts an `as_of` option will also accept a `tag` option, + however they are mutually exclusive. + parameters: + - in: path + name: environment_pk + schema: + type: string + format: uuid + required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A unique identifier for the tag. + required: true + tags: + - environments + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Tag' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Tag' + multipart/form-data: + schema: + $ref: '#/components/schemas/Tag' + required: true + security: + - JWTAuth: [] + - ApiKeyAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Tag' + description: '' + patch: + operationId: environments_tags_partial_update + description: |- + Tags allow you to name stable points in time for your configuration. + + Any query API that accepts an `as_of` option will also accept a `tag` option, + however they are mutually exclusive. + parameters: + - in: path + name: environment_pk + schema: + type: string + format: uuid + required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A unique identifier for the tag. + required: true + tags: + - environments + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedTag' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedTag' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedTag' + security: + - JWTAuth: [] + - ApiKeyAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Tag' + description: '' + delete: + operationId: environments_tags_destroy + description: |- + Tags allow you to name stable points in time for your configuration. + + Any query API that accepts an `as_of` option will also accept a `tag` option, + however they are mutually exclusive. + parameters: + - in: path + name: environment_pk + schema: + type: string + format: uuid + required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A unique identifier for the tag. + required: true + tags: + - environments + security: + - JWTAuth: [] + - ApiKeyAuth: [] + responses: + '204': + description: No response body /api/v1/environments/{id}/: get: operationId: environments_retrieve @@ -605,6 +867,7 @@ paths: delete: operationId: integrations_aws_destroy description: '' + summary: Delete an AWS integration. parameters: - in: path name: id @@ -613,6 +876,20 @@ paths: format: uuid description: The unique identifier for the integration. required: true + - in: query + name: in_use + schema: + type: string + enum: + - fail + - leave + - remove + description: |- + (Optional) Desired behavior if the integration has in-use values. + + - `fail` will return HTTP error 409 if there are any values using the integration. + - `leave` (default) will leave values in place and future queries may fail; you can control future value query behavior with the `lookup_error` query parameter on those requests. + - `remove` will remove the all values using the integration when the integration is removed. tags: - integrations security: @@ -620,7 +897,10 @@ paths: - ApiKeyAuth: [] responses: '204': - description: No response body + description: Integration removed. + '409': + description: The integration is used by one (or more) Value(s) and cannot + be removed. /api/v1/integrations/explore/: get: operationId: integrations_explore_list @@ -775,6 +1055,7 @@ paths: delete: operationId: integrations_github_destroy description: '' + summary: Delete a GitHub integration. parameters: - in: path name: id @@ -783,6 +1064,20 @@ paths: format: uuid description: The unique identifier for the integration. required: true + - in: query + name: in_use + schema: + type: string + enum: + - fail + - leave + - remove + description: |- + (Optional) Desired behavior if the integration has in-use values. + + - `fail` will return HTTP error 409 if there are any values using the integration. + - `leave` (default) will leave values in place and future queries may fail; you can control future value query behavior with the `lookup_error` query parameter on those requests. + - `remove` will remove the all values using the integration when the integration is removed. tags: - integrations security: @@ -790,7 +1085,10 @@ paths: - ApiKeyAuth: [] responses: '204': - description: No response body + description: Integration removed. + '409': + description: The integration is used by one (or more) Value(s) and cannot + be removed. /api/v1/invitations/: get: operationId: invitations_list @@ -1595,52 +1893,47 @@ paths: that will be performed on parameter names, names that are invalid for a given format will be omitted. parameters: + - in: query + name: as_of + schema: + type: string + format: date-time + description: Specify a point in time to retrieve configuration from. Cannot + be specified with `tag`. - in: query name: contains schema: type: string - description: (Optional) Only include parameters whose names contain the provided + description: Only include parameters with names that contain the provided string. - in: query name: endswith schema: type: string - description: (Optional) Only include parameters whose names end with the provided + description: Only include parameters with names that end with the provided string. - in: query name: environment schema: type: string - format: uuid - description: (Optional) ID of the environment to use to instantiate this template + description: Name or id of the environment to use to retrieve parameter values. - in: query name: explicit_export schema: type: boolean - description: If true, explicitly marks parameters with export, e.g. export - FOO=bar. Defaults to false. + default: false + description: Explicitly marks parameters with export, e.g. `export FOO=bar`. - in: query name: mask_secrets schema: type: boolean - description: If true, masks all secrets in the template (defaults to false) + default: false + description: Masks all secrets in the template with `*****`. - in: query name: output schema: type: string description: 'Format to output: One of ''docker'', ''dotenv'', ''shell''.' - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - in: path name: project_pk schema: @@ -1651,13 +1944,20 @@ paths: name: startswith schema: type: string - description: (Optional) Only include parameters whose names start with the - provided string. + description: Only include parameters with names that start with the provided + string. + - in: query + name: tag + schema: + type: string + description: Specify a tag to retrieve configuration from. Cannot be specified + with `as_of`. - in: query name: wrap schema: type: boolean - description: Indicates all secrets are wrapped. For more information on secret + default: false + description: Indicates all secrets are wrapped. For more information on secret wrapping, see the documentation. tags: - projects @@ -1676,17 +1976,25 @@ paths: operationId: projects_parameters_list description: '' parameters: + - in: query + name: as_of + schema: + type: string + format: date-time + description: Specify a point in time to retrieve configuration from. Cannot + be specified with `tag`. - in: query name: environment schema: type: string - format: uuid - description: (Optional) ID of the environment to get parameter values for. + description: Name or id (uuid) of the environment to get parameter values + for. Cannot be used with `values`. - in: query name: mask_secrets schema: type: boolean - description: If true, masks all secrets (defaults to false). + default: false + description: If true, masks all secrets. - in: query name: name schema: @@ -1703,6 +2011,16 @@ paths: description: Number of results to return per page. schema: type: integer + - in: query + name: partial_success + schema: + type: boolean + default: false + description: |- + Determine if the response is allowed to include a partial success. + + A partial success can occur if one or more external values cannot be retrieved, for example when an in-use integration is removed using the `leave` option, leaving the values untouched. When `true`, any error that occurs during external value retrieval will be placed into a field named `external_error` in the affected Value, and the `value` field will be empty. When `false`, any such error will cause the entire request to fail. + Partial success allows clients to tolerate invalid external values better. - in: path name: project_pk schema: @@ -1710,12 +2028,26 @@ paths: format: uuid required: true - in: query - name: wrap + name: tag + schema: + type: string + description: Specify a tag to retrieve configuration from. Cannot be specified + with `as_of`. + - in: query + name: values schema: type: boolean - description: If true, wraps all secrets (defaults to false) - see documentation - for more details. - tags: + default: true + description: 'If false, values are not returned: the `values` array will have + no entries. This speeds up retrieval if value content is not needed. Cannot + be used with `environment`.' + - in: query + name: wrap + schema: + type: boolean + default: false + description: If true, wraps all secrets - see documentation for more details. + tags: - projects security: - JWTAuth: [] @@ -1761,6 +2093,269 @@ paths: schema: $ref: '#/components/schemas/Parameter' description: '' + /api/v1/projects/{project_pk}/parameters/{parameter_pk}/rules/: + get: + operationId: projects_parameters_rules_list + description: '' + parameters: + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: path + name: parameter_pk + schema: + type: string + format: uuid + description: The parameter id. + required: true + - in: path + name: project_pk + schema: + type: string + format: uuid + description: The project id. + required: true + - in: query + name: type + schema: + type: string + enum: + - max + - max_len + - min + - min_len + - regex + tags: + - projects + security: + - JWTAuth: [] + - ApiKeyAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedParameterRuleList' + description: '' + post: + operationId: projects_parameters_rules_create + description: '' + parameters: + - in: path + name: parameter_pk + schema: + type: string + format: uuid + description: The parameter id. + required: true + - in: path + name: project_pk + schema: + type: string + format: uuid + description: The project id. + required: true + tags: + - projects + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ParameterRuleCreate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ParameterRuleCreate' + multipart/form-data: + schema: + $ref: '#/components/schemas/ParameterRuleCreate' + required: true + security: + - JWTAuth: [] + - ApiKeyAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/ParameterRule' + description: '' + /api/v1/projects/{project_pk}/parameters/{parameter_pk}/rules/{id}/: + get: + operationId: projects_parameters_rules_retrieve + description: '' + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this parameter rule. + required: true + - in: path + name: parameter_pk + schema: + type: string + format: uuid + description: The parameter id. + required: true + - in: path + name: project_pk + schema: + type: string + format: uuid + description: The project id. + required: true + tags: + - projects + security: + - JWTAuth: [] + - ApiKeyAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ParameterRule' + description: '' + put: + operationId: projects_parameters_rules_update + description: '' + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this parameter rule. + required: true + - in: path + name: parameter_pk + schema: + type: string + format: uuid + description: The parameter id. + required: true + - in: path + name: project_pk + schema: + type: string + format: uuid + description: The project id. + required: true + tags: + - projects + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ParameterRule' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ParameterRule' + multipart/form-data: + schema: + $ref: '#/components/schemas/ParameterRule' + required: true + security: + - JWTAuth: [] + - ApiKeyAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ParameterRule' + description: '' + patch: + operationId: projects_parameters_rules_partial_update + description: '' + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this parameter rule. + required: true + - in: path + name: parameter_pk + schema: + type: string + format: uuid + description: The parameter id. + required: true + - in: path + name: project_pk + schema: + type: string + format: uuid + description: The project id. + required: true + tags: + - projects + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedParameterRule' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedParameterRule' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedParameterRule' + security: + - JWTAuth: [] + - ApiKeyAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ParameterRule' + description: '' + delete: + operationId: projects_parameters_rules_destroy + description: '' + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this parameter rule. + required: true + - in: path + name: parameter_pk + schema: + type: string + format: uuid + description: The parameter id. + required: true + - in: path + name: project_pk + schema: + type: string + format: uuid + description: The project id. + required: true + tags: + - projects + security: + - JWTAuth: [] + - ApiKeyAuth: [] + responses: + '204': + description: No response body /api/v1/projects/{project_pk}/parameters/{parameter_pk}/values/: get: operationId: projects_parameters_values_list @@ -1770,21 +2365,28 @@ paths: \ field).\n " summary: Retrieve values. parameters: + - in: query + name: as_of + schema: + type: string + format: date-time + description: Specify a point in time to retrieve configuration from. Cannot + be specified with `tag`. - in: query name: environment schema: type: string - description: ID of the environment to limit the result to. If this is not - specified then the result will contain a value for any environment in which - it is set. You cannot use this option to retrieve the _effective_ value - of a parameter in an environment for which is is not explicitly set. To - see _effective_ values use the Parameters API (see the `values` field). + description: Name or id of the environment to limit the result to. If this + is not specified then the result will contain a value for any environment + in which it is set. You cannot use this option to retrieve the _effective_ + value of a parameter in an environment for which is is not explicitly set. + To see _effective_ values use the Parameters API (see the `values` field). - in: query name: mask_secrets schema: type: boolean - description: (Optional) If true, mask secret values in responses (defaults - to false). + default: false + description: Mask secret values in responses with `*****`. - name: page required: false in: query @@ -1804,6 +2406,16 @@ paths: format: uuid description: The parameter id. required: true + - in: query + name: partial_success + schema: + type: boolean + default: false + description: |- + Determine if the response is allowed to include a partial success. + + A partial success can occur if one or more external values cannot be retrieved, for example when an in-use integration is removed using the `leave` option, leaving the values untouched. When `true`, any error that occurs during external value retrieval will be placed into a field named `external_error` in the affected Value, and the `value` field will be empty. When `false`, any such error will cause the entire request to fail. + Partial success allows clients to tolerate invalid external values better. - in: path name: project_pk schema: @@ -1811,11 +2423,18 @@ paths: format: uuid description: The project id. required: true + - in: query + name: tag + schema: + type: string + description: Specify a tag to retrieve configuration from. Cannot be specified + with `as_of`. - in: query name: wrap schema: type: boolean - description: 'For writes, indicates `static_value` is wrapped; for reads, + default: false + description: 'For writes, indicates `internal_value` is wrapped; for reads, indicates `value` is wrapped. For more information on secret wrapping, see the documentation. ' tags: @@ -1853,8 +2472,8 @@ paths: name: wrap schema: type: boolean - description: 'Indicates the `static_value` is a wrapped secret. For more information - on secret wrapping, see the documentation. ' + description: 'Indicates the `internal_value` is a wrapped secret. For more + information on secret wrapping, see the documentation. ' tags: - projects requestBody: @@ -1885,6 +2504,13 @@ paths: description: Retrieve the value of a parameter in an environment. summary: Retrieve a value. parameters: + - in: query + name: as_of + schema: + type: string + format: date-time + description: Specify a point in time to retrieve configuration from. Cannot + be specified with `tag`. - in: path name: id schema: @@ -1896,8 +2522,8 @@ paths: name: mask_secrets schema: type: boolean - description: (Optional) If true, mask secret values in responses (defaults - to false). + default: false + description: Mask secret values in responses with `*****`. - in: path name: parameter_pk schema: @@ -1905,6 +2531,16 @@ paths: format: uuid description: The parameter id. required: true + - in: query + name: partial_success + schema: + type: boolean + default: false + description: |- + Determine if the response is allowed to include a partial success. + + A partial success can occur if one or more external values cannot be retrieved, for example when an in-use integration is removed using the `leave` option, leaving the values untouched. When `true`, any error that occurs during external value retrieval will be placed into a field named `external_error` in the affected Value, and the `value` field will be empty. When `false`, any such error will cause the entire request to fail. + Partial success allows clients to tolerate invalid external values better. - in: path name: project_pk schema: @@ -1912,11 +2548,18 @@ paths: format: uuid description: The project id. required: true + - in: query + name: tag + schema: + type: string + description: Specify a tag to retrieve configuration from. Cannot be specified + with `as_of`. - in: query name: wrap schema: type: boolean - description: 'For writes, indicates `static_value` is wrapped; for reads, + default: false + description: 'For writes, indicates `internal_value` is wrapped; for reads, indicates `value` is wrapped. For more information on secret wrapping, see the documentation. ' tags: @@ -1961,8 +2604,8 @@ paths: name: wrap schema: type: boolean - description: 'Indicates the `static_value` is a wrapped secret. For more information - on secret wrapping, see the documentation. ' + description: 'Indicates the `internal_value` is a wrapped secret. For more + information on secret wrapping, see the documentation. ' tags: - projects requestBody: @@ -2016,8 +2659,8 @@ paths: name: wrap schema: type: boolean - description: 'Indicates the `static_value` is a wrapped secret. For more information - on secret wrapping, see the documentation. ' + description: 'Indicates the `internal_value` is a wrapped secret. For more + information on secret wrapping, see the documentation. ' tags: - projects requestBody: @@ -2080,12 +2723,19 @@ paths: operationId: projects_parameters_retrieve description: '' parameters: + - in: query + name: as_of + schema: + type: string + format: date-time + description: Specify a point in time to retrieve configuration from. Cannot + be specified with `tag`. - in: query name: environment schema: type: string - format: uuid - description: (Optional) ID of the environment to get parameter values for. + description: Name or id (uuid) of the environment to get parameter values + for. Cannot be used with `values`. - in: path name: id schema: @@ -2097,19 +2747,44 @@ paths: name: mask_secrets schema: type: boolean - description: If true, masks all secrets (defaults to false). + default: false + description: If true, masks all secrets. + - in: query + name: partial_success + schema: + type: boolean + default: false + description: |- + Determine if the response is allowed to include a partial success. + + A partial success can occur if one or more external values cannot be retrieved, for example when an in-use integration is removed using the `leave` option, leaving the values untouched. When `true`, any error that occurs during external value retrieval will be placed into a field named `external_error` in the affected Value, and the `value` field will be empty. When `false`, any such error will cause the entire request to fail. + Partial success allows clients to tolerate invalid external values better. - in: path name: project_pk schema: type: string format: uuid required: true + - in: query + name: tag + schema: + type: string + description: Specify a tag to retrieve configuration from. Cannot be specified + with `as_of`. + - in: query + name: values + schema: + type: boolean + default: true + description: 'If false, values are not returned: the `values` array will have + no entries. This speeds up retrieval if value content is not needed. Cannot + be used with `environment`.' - in: query name: wrap schema: type: boolean - description: If true, wraps all secrets (defaults to false) - see documentation - for more details. + default: false + description: If true, wraps all secrets - see documentation for more details. tags: - projects security: @@ -2164,21 +2839,21 @@ paths: $ref: '#/components/schemas/Parameter' description: '' '400': - description: While checking pre-conditions, a dynamic value was encountered + description: While checking pre-conditions, an external value was encountered that could not be resolved. '404': description: The given project id could not be found, or while checking - pre-conditions, a dynamic value was encountered that could not be resolved. + pre-conditions, an external value was encountered that could not be resolved. '415': - description: While checking pre-conditions, a dynamic value was encountered + description: While checking pre-conditions, an external value was encountered that has an invalid content type. '422': description: 'A pre-condition to modifying the `secret` setting of the parameter - failed, for example setting `secret: false` and having a dynamic value + failed, for example setting `secret: false` and having an external value that resolves to a value that is a secret. In this case it would be unsafe to allow the `secret` setting to change.' '507': - description: While checking pre-conditions, a dynamic value was encountered + description: While checking pre-conditions, an external value was encountered that was too large to process. patch: operationId: projects_parameters_partial_update @@ -2221,21 +2896,21 @@ paths: $ref: '#/components/schemas/Parameter' description: '' '400': - description: While checking pre-conditions, a dynamic value was encountered + description: While checking pre-conditions, an external value was encountered that could not be resolved. '404': description: The given project id could not be found, or while checking - pre-conditions, a dynamic value was encountered that could not be resolved. + pre-conditions, an external value was encountered that could not be resolved. '415': - description: While checking pre-conditions, a dynamic value was encountered + description: While checking pre-conditions, an external value was encountered that has an invalid content type. '422': description: 'A pre-condition to modifying the `secret` setting of the parameter - failed, for example setting `secret: false` and having a dynamic value + failed, for example setting `secret: false` and having an external value that resolves to a value that is a secret. In this case it would be unsafe to allow the `secret` setting to change.' '507': - description: While checking pre-conditions, a dynamic value was encountered + description: While checking pre-conditions, an external value was encountered that was too large to process. delete: operationId: projects_parameters_destroy @@ -2262,28 +2937,130 @@ paths: responses: '204': description: No response body + /api/v1/projects/{project_pk}/parameters/{id}/timeline/: + get: + operationId: projects_parameters_timeline_retrieve + description: |- + Summary information about how a parameter has changed over time. + + The time range of historical information available depends on your subscription. + Any changes to the parameter itself, including rules and values, is included. + parameters: + - in: query + name: as_of + schema: + type: string + format: date-time + description: Specify a point in time to retrieve configuration from. Cannot + be specified with `tag`. + - in: path + name: id + schema: + type: string + format: uuid + description: A unique identifier for the parameter. + required: true + - in: path + name: project_pk + schema: + type: string + format: uuid + required: true + - in: query + name: tag + schema: + type: string + description: Specify a tag to retrieve configuration from. Cannot be specified + with `as_of`. + tags: + - projects + security: + - JWTAuth: [] + - ApiKeyAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ParameterTimeline' + description: '' + /api/v1/projects/{project_pk}/parameters/timelines/: + get: + operationId: projects_parameters_timelines_retrieve + description: |- + Information about how the parameters of a project have changed over time. + + The time range of historical information available depends on your subscription. + Any changes to the project's parameters, including rules and values, is included. + parameters: + - in: query + name: as_of + schema: + type: string + format: date-time + description: Specify a point in time to retrieve configuration from. Cannot + be specified with `tag`. + - in: path + name: project_pk + schema: + type: string + format: uuid + required: true + - in: query + name: tag + schema: + type: string + description: Specify a tag to retrieve configuration from. Cannot be specified + with `as_of`. + tags: + - projects + security: + - JWTAuth: [] + - ApiKeyAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ParameterTimeline' + description: '' /api/v1/projects/{project_pk}/template-preview/: post: operationId: projects_template_preview_create - description: Endpoint for previewing a template. + description: Endpoint for previewing a template. Post the template content + in the request body. parameters: + - in: query + name: as_of + schema: + type: string + format: date-time + description: Specify a point in time to retrieve configuration from. Cannot + be specified with `tag`. - in: query name: environment schema: type: string - format: uuid - description: (Optional) ID of the environment to use to instantiate this template + description: Name or id of the environment to use to instantiate this template. + If not specified then the default environment is used. - in: query name: mask_secrets schema: type: boolean - description: If true, masks all secrets in the template (defaults to false) + default: false + description: Masks all secrets in the template with `*****`. - in: path name: project_pk schema: type: string format: uuid required: true + - in: query + name: tag + schema: + type: string + description: Specify a tag to retrieve configuration from. Cannot be specified + with `as_of`. tags: - projects requestBody: @@ -2302,12 +3079,18 @@ paths: - JWTAuth: [] - ApiKeyAuth: [] responses: - '201': + '200': content: application/json: schema: $ref: '#/components/schemas/TemplatePreview' description: '' + '422': + content: + application/json: + schema: + $ref: '#/components/schemas/TemplateLookupError' + description: '' /api/v1/projects/{project_pk}/templates/: get: operationId: projects_templates_list @@ -2379,7 +3162,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TemplateCreate' + $ref: '#/components/schemas/Template' + description: '' + '422': + content: + application/json: + schema: + $ref: '#/components/schemas/TemplateLookupError' description: '' /api/v1/projects/{project_pk}/templates/{id}/: get: @@ -2391,7 +3180,8 @@ paths: schema: type: string format: uuid - description: (Optional) ID of the environment to use to instantiate this template + description: Name or id of the environment to use to evaluate this template. + If not specified then the original content is returned in the body. - in: path name: id schema: @@ -2403,7 +3193,8 @@ paths: name: mask_secrets schema: type: boolean - description: If true, masks all secrets in the template (defaults to false) + default: false + description: Masks all secrets in the template with `*****`. - in: path name: project_pk schema: @@ -2422,6 +3213,12 @@ paths: schema: $ref: '#/components/schemas/Template' description: '' + '422': + content: + application/json: + schema: + $ref: '#/components/schemas/TemplateLookupError' + description: '' put: operationId: projects_templates_update description: '' @@ -2463,6 +3260,12 @@ paths: schema: $ref: '#/components/schemas/Template' description: '' + '422': + content: + application/json: + schema: + $ref: '#/components/schemas/TemplateLookupError' + description: '' patch: operationId: projects_templates_partial_update description: '' @@ -2503,6 +3306,12 @@ paths: schema: $ref: '#/components/schemas/Template' description: '' + '422': + content: + application/json: + schema: + $ref: '#/components/schemas/TemplateLookupError' + description: '' delete: operationId: projects_templates_destroy description: '' @@ -2528,6 +3337,93 @@ paths: responses: '204': description: No response body + /api/v1/projects/{project_pk}/templates/{id}/timeline/: + get: + operationId: projects_templates_timeline_retrieve + description: |- + Information about how a template has changed over time. + + The time range of historical information available depends on your subscription. + Any changes to the template itself is included. + parameters: + - in: query + name: as_of + schema: + type: string + format: date-time + description: Specify a point in time to retrieve configuration from. Cannot + be specified with `tag`. + - in: path + name: id + schema: + type: string + format: uuid + description: A unique identifier for the template. + required: true + - in: path + name: project_pk + schema: + type: string + format: uuid + required: true + - in: query + name: tag + schema: + type: string + description: Specify a tag to retrieve configuration from. Cannot be specified + with `as_of`. + tags: + - projects + security: + - JWTAuth: [] + - ApiKeyAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/TemplateTimeline' + description: '' + /api/v1/projects/{project_pk}/templates/timelines/: + get: + operationId: projects_templates_timelines_retrieve + description: |- + Information about how the templates of a project have changed over time. + + The time range of historical information available depends on your subscription. + Any changes to the project's templates is included. + parameters: + - in: query + name: as_of + schema: + type: string + format: date-time + description: Specify a point in time to retrieve configuration from. Cannot + be specified with `tag`. + - in: path + name: project_pk + schema: + type: string + format: uuid + required: true + - in: query + name: tag + schema: + type: string + description: Specify a tag to retrieve configuration from. Cannot be specified + with `as_of`. + tags: + - projects + security: + - JWTAuth: [] + - ApiKeyAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/TemplateTimeline' + description: '' /api/v1/serviceaccounts/: get: operationId: serviceaccounts_list @@ -2854,12 +3750,24 @@ components: nullable: true readOnly: true description: The earliest audit record timestamp available. + max_days: + type: integer + readOnly: true + description: The maximum number of days the system will save auditing records, + based on your subscription. + max_records: + type: integer + readOnly: true + description: The maximum number of auditing records the system will save + based on your subscription. total: type: integer readOnly: true description: The total number of audit records available. required: - earliest + - max_days + - max_records - total AwsEnabledRegionsEnum: enum: @@ -3178,6 +4086,18 @@ components: type: integer required: - gh_installation_id + HistoryModelEnum: + enum: + - Parameter + - ParameterRule + - Value + type: string + HistoryTypeEnum: + enum: + - create + - update + - delete + type: string IntegrationExplorer: type: object description: Describes the content available at a given location. @@ -3333,14 +4253,11 @@ components: type: string ObjectTypeEnum: enum: + - DataIntegration - Environment - - Integration - - Invitation - - Membership - - Organization - Parameter + - ParameterRule - Project - - ServiceAccount - Template - Value type: string @@ -3371,12 +4288,15 @@ components: readOnly: true subscription_id: type: string + nullable: true readOnly: true subscription_plan_id: type: string + nullable: true readOnly: true subscription_plan_name: type: string + nullable: true readOnly: true created_at: type: string @@ -3586,6 +4506,26 @@ components: type: array items: $ref: '#/components/schemas/Parameter' + PaginatedParameterRuleList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?page=4 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?page=2 + results: + type: array + items: + $ref: '#/components/schemas/ParameterRule' PaginatedProjectList: type: object properties: @@ -3626,6 +4566,26 @@ components: type: array items: $ref: '#/components/schemas/ServiceAccount' + PaginatedTagList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?page=4 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?page=2 + results: + type: array + items: + $ref: '#/components/schemas/Tag' PaginatedTemplateList: type: object properties: @@ -3711,16 +4671,32 @@ components: secret: type: boolean description: Indicates if this content is secret or not. When a parameter - is considered to be a secret, any static values are stored in a dedicated - vault for your organization for maximum security. Dynamic values are + is considered to be a secret, any internal values are stored in a dedicated + vault for your organization for maximum security. External values are inspected on-demand to ensure they align with the parameter's secret setting - and if they do not, those dynamic values are not allowed to be used. - templates: + and if they do not, those external values are not allowed to be used. + type: + $ref: '#/components/schemas/ParameterTypeEnum' + rules: + type: array + items: + $ref: '#/components/schemas/ParameterRule' + readOnly: true + description: Rules applied to this parameter. + referencing_templates: + type: array + items: + type: string + format: uri + readOnly: true + description: Templates that reference this Parameter. + referencing_values: type: array items: type: string format: uri readOnly: true + description: Dynamic values that reference this Parameter. values: type: object additionalProperties: @@ -3757,7 +4733,9 @@ components: - id - modified_at - name - - templates + - referencing_templates + - referencing_values + - rules - url - values ParameterCreate: @@ -3775,20 +4753,193 @@ components: maintain software that uses this content. secret: type: boolean - description: Indicates if this content is secret or not. When a parameter - is considered to be a secret, any static values are stored in a dedicated - vault for your organization for maximum security. Dynamic values are - inspected on-demand to ensure they align with the parameter's secret setting - and if they do not, those dynamic values are not allowed to be used. + description: Indicates if this content is secret or not. When a parameter + is considered to be a secret, any internal values are stored in a dedicated + vault for your organization for maximum security. External values are + inspected on-demand to ensure they align with the parameter's secret setting + and if they do not, those external values are not allowed to be used. + type: + $ref: '#/components/schemas/ParameterTypeEnum' + required: + - name + ParameterExport: + type: object + properties: + body: + type: string + required: + - body + ParameterRule: + type: object + description: |- + A type of `ModelSerializer` that uses hyperlinked relationships with compound keys instead + of primary key relationships. Specifically: + + * A 'url' field is included instead of the 'id' field. + * Relationships to other instances are hyperlinks, instead of primary keys. + + NOTE: this only works with DRF 3.1.0 and above. + properties: + url: + type: string + format: uri + readOnly: true + id: + type: string + format: uuid + readOnly: true + parameter: + type: string + format: uri + readOnly: true + description: The parameter this rule is for. + type: + $ref: '#/components/schemas/ParameterRuleTypeEnum' + constraint: + type: string + maxLength: 1024 + created_at: + type: string + format: date-time + readOnly: true + modified_at: + type: string + format: date-time + readOnly: true + required: + - constraint + - created_at + - id + - modified_at + - parameter + - type + - url + ParameterRuleCreate: + type: object + description: |- + A type of `ModelSerializer` that uses hyperlinked relationships with compound keys instead + of primary key relationships. Specifically: + + * A 'url' field is included instead of the 'id' field. + * Relationships to other instances are hyperlinks, instead of primary keys. + + NOTE: this only works with DRF 3.1.0 and above. + properties: + type: + $ref: '#/components/schemas/ParameterRuleTypeEnum' + constraint: + type: string + maxLength: 1024 + required: + - constraint + - type + ParameterRuleTypeEnum: + enum: + - min + - max + - min_len + - max_len + - regex + type: string + ParameterTimeline: + type: object + properties: + count: + type: integer + description: The number of records in this response. + next_as_of: + type: string + format: date-time + description: If present, additional history can be retrieved using this + timestamp in the next call for the as_of query parameter value. + results: + type: array + items: + $ref: '#/components/schemas/ParameterTimelineEntry' + required: + - count + - results + ParameterTimelineEntry: + type: object + description: Details about a single change. + properties: + history_date: + type: string + format: date-time + history_type: + allOf: + - $ref: '#/components/schemas/HistoryTypeEnum' + readOnly: true + history_user: + type: string + description: The unique identifier of a user. + nullable: true + history_environments: + type: array + items: + $ref: '#/components/schemas/ParameterTimelineEntryEnvironment' + readOnly: true + description: The affected environment(s). + history_model: + allOf: + - $ref: '#/components/schemas/HistoryModelEnum' + readOnly: true + description: The component of the parameter that changed. + history_parameter: + allOf: + - $ref: '#/components/schemas/ParameterTimelineEntryParameter' + readOnly: true + description: The affected parameter. + required: + - history_date + - history_environments + - history_model + - history_parameter + - history_type + ParameterTimelineEntryEnvironment: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + description: A unique identifier for the environment. + name: + type: string + description: The environment name. + maxLength: 256 + override: + type: boolean + readOnly: true + description: Indicates if the value change was direct or if it flowed into + the environment. If `true` then the value was actually set directly into + this environment. If `false` then the environment has no value set directly + so it inherited the value from its parent. required: + - id - name - ParameterExport: + - override + ParameterTimelineEntryParameter: type: object properties: - body: + id: + type: string + format: uuid + readOnly: true + description: A unique identifier for the parameter. + name: type: string + description: The parameter name. + maxLength: 256 required: - - body + - id + - name + ParameterTypeEnum: + enum: + - string + - integer + - bool + type: string PatchedAwsIntegration: type: object properties: @@ -4008,12 +5159,15 @@ components: readOnly: true subscription_id: type: string + nullable: true readOnly: true subscription_plan_id: type: string + nullable: true readOnly: true subscription_plan_name: type: string + nullable: true readOnly: true created_at: type: string @@ -4048,16 +5202,32 @@ components: secret: type: boolean description: Indicates if this content is secret or not. When a parameter - is considered to be a secret, any static values are stored in a dedicated - vault for your organization for maximum security. Dynamic values are + is considered to be a secret, any internal values are stored in a dedicated + vault for your organization for maximum security. External values are inspected on-demand to ensure they align with the parameter's secret setting - and if they do not, those dynamic values are not allowed to be used. - templates: + and if they do not, those external values are not allowed to be used. + type: + $ref: '#/components/schemas/ParameterTypeEnum' + rules: + type: array + items: + $ref: '#/components/schemas/ParameterRule' + readOnly: true + description: Rules applied to this parameter. + referencing_templates: + type: array + items: + type: string + format: uri + readOnly: true + description: Templates that reference this Parameter. + referencing_values: type: array items: type: string format: uri readOnly: true + description: Dynamic values that reference this Parameter. values: type: object additionalProperties: @@ -4089,6 +5259,43 @@ components: type: string format: date-time readOnly: true + PatchedParameterRule: + type: object + description: |- + A type of `ModelSerializer` that uses hyperlinked relationships with compound keys instead + of primary key relationships. Specifically: + + * A 'url' field is included instead of the 'id' field. + * Relationships to other instances are hyperlinks, instead of primary keys. + + NOTE: this only works with DRF 3.1.0 and above. + properties: + url: + type: string + format: uri + readOnly: true + id: + type: string + format: uuid + readOnly: true + parameter: + type: string + format: uri + readOnly: true + description: The parameter this rule is for. + type: + $ref: '#/components/schemas/ParameterRuleTypeEnum' + constraint: + type: string + maxLength: 1024 + created_at: + type: string + format: date-time + readOnly: true + modified_at: + type: string + format: date-time + readOnly: true PatchedProject: type: object properties: @@ -4149,6 +5356,36 @@ components: format: date-time readOnly: true description: The most recent date and time the service account was used. + PatchedTag: + type: object + description: The details of a tag. + properties: + url: + type: string + format: uri + readOnly: true + id: + type: string + format: uuid + readOnly: true + description: A unique identifier for the tag. + name: + type: string + readOnly: true + description: The tag name. Tag names may contain alphanumeric, hyphen, underscore, + or period characters. Tag names are case sensitive. The name cannot be + modified. + description: + type: string + description: A description of the tag. You may find it helpful to document + how this tag is used to assist others when they need to maintain software + that uses this content. + timestamp: + type: string + format: date-time + description: The point in time this tag represents. + usage: + $ref: '#/components/schemas/TagReadUsage' PatchedTemplate: type: object description: A parameter template in a given project, optionally instantiated @@ -4177,12 +5414,34 @@ components: description: The content of the template. Use mustache-style templating delimiters of `{{` and `}}` to reference parameter values by name for substitution into the template result. - parameters: + referenced_parameters: + type: array + items: + type: string + format: uri + readOnly: true + description: Parameters that this template references. + referenced_templates: + type: array + items: + type: string + format: uri + readOnly: true + description: Other templates that this template references. + referencing_templates: type: array items: type: string format: uri readOnly: true + description: Other templates that reference this template. + referencing_values: + type: array + items: + type: string + format: uri + readOnly: true + description: The dynamic values that reference this template. has_secret: type: boolean readOnly: true @@ -4213,36 +5472,64 @@ components: format: uri readOnly: true description: The environment this value is set in. + environment_name: + type: string + readOnly: true + description: The environment name for this value. This is a convenience + to avoid another query against the server to resolve the environment url + into a name. + earliest_tag: + type: string + nullable: true + readOnly: true + description: The earliest tag name this value appears in (within the value's + environment). parameter: type: string format: uri readOnly: true description: The parameter this value is for. - dynamic: + external: type: boolean - description: A dynamic parameter leverages a CloudTruth integration to retrieve - content on-demand from an external source. When this is `false` the value - is stored by CloudTruth. When this is `true`, the `fqn` field must be - set. - dynamic_fqn: + description: An external parameter leverages a CloudTruth integration to + retrieve content on-demand from an external source. When this is `false` + the value is stored by CloudTruth and considered to be _internal_. When + this is `true`, the `external_fqn` field must be set. + external_fqn: type: string description: The FQN, or Fully-Qualified Name, is the path through the integration to get to the desired content. This must be present and reference a valid - integration when the value is `dynamic`. + integration when the value is `external`. maxLength: 1024 - dynamic_filter: + external_filter: type: string - description: If `dynamic`, the content returned by the integration can be - reduced by applying a JMESpath expression. This is valid as long as the - content is structured and of a supported format. We support JMESpath - expressions on `json`, `yaml`, and `dotenv` content. + description: If the value is `external`, the content returned by the integration + can be reduced by applying a JMESpath expression. This is valid as long + as the content is structured and of a supported format. JMESpath expressions + are supported on `json`, `yaml`, and `dotenv` content. maxLength: 1024 - static_value: + external_error: + type: string + nullable: true + readOnly: true + description: If the value is external, and an error occurs retrieving it, + the reason for the retrieval error will be placed into this field. The + query parameter `partial_success` can be used to control whether this + condition causes an HTTP error response or not. + internal_value: type: string nullable: true - description: This is the content to use when resolving the Value for a static - non-secret. + description: This is the content to use when resolving the Value for an + internal non-secret, or when storing a secret. When storing a secret, + this content is stored in your organization's dedicated vault and this + field is cleared. This field is required if the value is being created + or updated and is `internal`. This field cannot be specified when creating + or updating an `external` value. maxLength: 16384 + interpolated: + type: boolean + description: 'If `true`, apply template substitution rules to this value. If + `false`, this value is a literal value. Note: secrets cannot be interpolated.' value: type: string nullable: true @@ -4250,11 +5537,13 @@ components: description: |- This is the actual content of the Value for the given parameter in the given environment. Depending on the settings in the Value, the following things occur to calculate the `value`: - For values that are not `dynamic` and parameters that are not `secret`, the system will use the content in `static_value` to satisfy the request. + For values that are not `external` and parameters that are not `secret`, the system will use the content in `internal_value` to satisfy the request. - For values that are not `dynamic` and parameters that are `secret`, the system will retrieve the content from your organization's dedicated vault. + For values that are not `external` and parameters that are `secret`, the system will retrieve the content from your organization's dedicated vault. - For values that are `dynamic`, the system will retrieve the content from the integration on-demand. If the content from the integration is `secret` and the parameter is not, an error response will be given. If a `dynamic_filter` is present then the content will have a JMESpath query applied, and that becomes the resulting value. + For values that are `external`, the system will retrieve the content from the integration on-demand. You can control the error handling behavior of the server through the `partial_success` query parameter. + + If the content from the integration is `secret` and the parameter is not, an error will occur. If an `external_filter` is present then the content will have a JMESpath query applied, and that becomes the resulting value. If you request secret masking, no secret content will be included in the result and instead a series of asterisks will be used instead for the value. If you request wrapping, the secret content will be wrapped in an envelope that is bound to your JWT token. For more information about secret wrapping, see the docs. @@ -4265,10 +5554,24 @@ components: readOnly: true description: Indicates the value content is a secret. Normally this is `true` when the parameter is a secret, however it is possible for a parameter - to be a secret with a dynamic value that is not a secret. It is not possible - to convert a parameter from a secret to a non-secret if any of the values - are dynamic and a secret. Clients can check this condition by leveraging - this field. + to be a secret with a external value that is not a secret. It is not + possible to convert a parameter from a secret to a non-secret if any of + the values are external and a secret. Clients can check this condition + by leveraging this field. + referenced_parameters: + type: array + items: + type: string + format: uri + readOnly: true + description: The parameters this value references, if interpolated. + referenced_templates: + type: array + items: + type: string + format: uri + readOnly: true + description: The templates this value references, if interpolated. created_at: type: string format: date-time @@ -4427,6 +5730,85 @@ components: - modified_at - url - user + Tag: + type: object + description: The details of a tag. + properties: + url: + type: string + format: uri + readOnly: true + id: + type: string + format: uuid + readOnly: true + description: A unique identifier for the tag. + name: + type: string + readOnly: true + description: The tag name. Tag names may contain alphanumeric, hyphen, underscore, + or period characters. Tag names are case sensitive. The name cannot be + modified. + description: + type: string + description: A description of the tag. You may find it helpful to document + how this tag is used to assist others when they need to maintain software + that uses this content. + timestamp: + type: string + format: date-time + description: The point in time this tag represents. + usage: + $ref: '#/components/schemas/TagReadUsage' + required: + - id + - name + - timestamp + - url + - usage + TagCreate: + type: object + description: Details for creating a tag. + properties: + name: + type: string + description: The tag name. Tag names may contain alphanumeric, hyphen, underscore, + or period characters. Tag names are case sensitive. The name cannot be + modified. + pattern: ^[\w.-]+$ + maxLength: 64 + description: + type: string + description: A description of the tag. You may find it helpful to document + how this tag is used to assist others when they need to maintain software + that uses this content. + timestamp: + type: string + format: date-time + nullable: true + description: The point in time this tag represents. If not specified then + the current time will be used. + required: + - name + TagReadUsage: + type: object + description: The read usage details of a tag. + properties: + last_read: + type: string + format: date-time + nullable: true + description: The last time a configuration was retrieved with this tag. + last_read_by: + type: string + description: The last user (id) to use this tag to read configuration. + maxLength: 256 + total_reads: + type: integer + description: The number of times the tag has been used to read configuration. + required: + - last_read + - total_reads Template: type: object description: A parameter template in a given project, optionally instantiated @@ -4455,12 +5837,34 @@ components: description: The content of the template. Use mustache-style templating delimiters of `{{` and `}}` to reference parameter values by name for substitution into the template result. - parameters: + referenced_parameters: type: array items: type: string format: uri readOnly: true + description: Parameters that this template references. + referenced_templates: + type: array + items: + type: string + format: uri + readOnly: true + description: Other templates that this template references. + referencing_templates: + type: array + items: + type: string + format: uri + readOnly: true + description: Other templates that reference this template. + referencing_values: + type: array + items: + type: string + format: uri + readOnly: true + description: The dynamic values that reference this template. has_secret: type: boolean readOnly: true @@ -4479,7 +5883,10 @@ components: - id - modified_at - name - - parameters + - referenced_parameters + - referenced_templates + - referencing_templates + - referencing_values - url TemplateCreate: type: object @@ -4502,6 +5909,38 @@ components: substitution into the template result. required: - name + TemplateLookupError: + type: object + description: Indicates errors occurred while retrieving values to substitute + into the template. + properties: + detail: + type: array + items: + $ref: '#/components/schemas/TemplateLookupErrorEntry' + required: + - detail + TemplateLookupErrorEntry: + type: object + properties: + parameter_id: + type: string + format: uuid + description: The parameter id. + parameter_name: + type: string + description: The parameter name. + error_code: + type: string + description: The error code. + error_detail: + type: string + description: Details about the error. + required: + - error_code + - error_detail + - parameter_id + - parameter_name TemplatePreview: type: object properties: @@ -4509,6 +5948,73 @@ components: type: string required: - body + TemplateTimeline: + type: object + properties: + count: + type: integer + description: The number of records in this response. + next_as_of: + type: string + format: date-time + description: If present, additional history can be retrieved using this + timestamp in the next call for the as_of query parameter value. + results: + type: array + items: + $ref: '#/components/schemas/TemplateTimelineEntry' + required: + - count + - results + TemplateTimelineEntry: + type: object + description: Details about a single change. + properties: + history_date: + type: string + format: date-time + history_type: + allOf: + - $ref: '#/components/schemas/HistoryTypeEnum' + readOnly: true + history_user: + type: string + description: The unique identifier of a user. + nullable: true + history_template: + allOf: + - $ref: '#/components/schemas/TemplateTimelineEntryTemplate' + readOnly: true + description: The template record as it was when archived for history. + required: + - history_date + - history_template + - history_type + TemplateTimelineEntryTemplate: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + description: A unique identifier for the template. + name: + type: string + description: The template name. + maxLength: 256 + description: + type: string + description: A description of the template. You may find it helpful to + document how this template is used to assist others when they need to + maintain software that uses this content. + body: + type: string + description: The content of the template. Use mustache-style templating + delimiters of `{{` and `}}` to reference parameter values by name for + substitution into the template result. + required: + - id + - name User: type: object properties: @@ -4570,36 +6076,64 @@ components: format: uri readOnly: true description: The environment this value is set in. + environment_name: + type: string + readOnly: true + description: The environment name for this value. This is a convenience + to avoid another query against the server to resolve the environment url + into a name. + earliest_tag: + type: string + nullable: true + readOnly: true + description: The earliest tag name this value appears in (within the value's + environment). parameter: type: string format: uri readOnly: true description: The parameter this value is for. - dynamic: + external: type: boolean - description: A dynamic parameter leverages a CloudTruth integration to retrieve - content on-demand from an external source. When this is `false` the value - is stored by CloudTruth. When this is `true`, the `fqn` field must be - set. - dynamic_fqn: + description: An external parameter leverages a CloudTruth integration to + retrieve content on-demand from an external source. When this is `false` + the value is stored by CloudTruth and considered to be _internal_. When + this is `true`, the `external_fqn` field must be set. + external_fqn: type: string description: The FQN, or Fully-Qualified Name, is the path through the integration to get to the desired content. This must be present and reference a valid - integration when the value is `dynamic`. + integration when the value is `external`. maxLength: 1024 - dynamic_filter: + external_filter: type: string - description: If `dynamic`, the content returned by the integration can be - reduced by applying a JMESpath expression. This is valid as long as the - content is structured and of a supported format. We support JMESpath - expressions on `json`, `yaml`, and `dotenv` content. + description: If the value is `external`, the content returned by the integration + can be reduced by applying a JMESpath expression. This is valid as long + as the content is structured and of a supported format. JMESpath expressions + are supported on `json`, `yaml`, and `dotenv` content. maxLength: 1024 - static_value: + external_error: type: string nullable: true - description: This is the content to use when resolving the Value for a static - non-secret. + readOnly: true + description: If the value is external, and an error occurs retrieving it, + the reason for the retrieval error will be placed into this field. The + query parameter `partial_success` can be used to control whether this + condition causes an HTTP error response or not. + internal_value: + type: string + nullable: true + description: This is the content to use when resolving the Value for an + internal non-secret, or when storing a secret. When storing a secret, + this content is stored in your organization's dedicated vault and this + field is cleared. This field is required if the value is being created + or updated and is `internal`. This field cannot be specified when creating + or updating an `external` value. maxLength: 16384 + interpolated: + type: boolean + description: 'If `true`, apply template substitution rules to this value. If + `false`, this value is a literal value. Note: secrets cannot be interpolated.' value: type: string nullable: true @@ -4607,11 +6141,13 @@ components: description: |- This is the actual content of the Value for the given parameter in the given environment. Depending on the settings in the Value, the following things occur to calculate the `value`: - For values that are not `dynamic` and parameters that are not `secret`, the system will use the content in `static_value` to satisfy the request. + For values that are not `external` and parameters that are not `secret`, the system will use the content in `internal_value` to satisfy the request. - For values that are not `dynamic` and parameters that are `secret`, the system will retrieve the content from your organization's dedicated vault. + For values that are not `external` and parameters that are `secret`, the system will retrieve the content from your organization's dedicated vault. - For values that are `dynamic`, the system will retrieve the content from the integration on-demand. If the content from the integration is `secret` and the parameter is not, an error response will be given. If a `dynamic_filter` is present then the content will have a JMESpath query applied, and that becomes the resulting value. + For values that are `external`, the system will retrieve the content from the integration on-demand. You can control the error handling behavior of the server through the `partial_success` query parameter. + + If the content from the integration is `secret` and the parameter is not, an error will occur. If an `external_filter` is present then the content will have a JMESpath query applied, and that becomes the resulting value. If you request secret masking, no secret content will be included in the result and instead a series of asterisks will be used instead for the value. If you request wrapping, the secret content will be wrapped in an envelope that is bound to your JWT token. For more information about secret wrapping, see the docs. @@ -4622,10 +6158,24 @@ components: readOnly: true description: Indicates the value content is a secret. Normally this is `true` when the parameter is a secret, however it is possible for a parameter - to be a secret with a dynamic value that is not a secret. It is not possible - to convert a parameter from a secret to a non-secret if any of the values - are dynamic and a secret. Clients can check this condition by leveraging - this field. + to be a secret with a external value that is not a secret. It is not + possible to convert a parameter from a secret to a non-secret if any of + the values are external and a secret. Clients can check this condition + by leveraging this field. + referenced_parameters: + type: array + items: + type: string + format: uri + readOnly: true + description: The parameters this value references, if interpolated. + referenced_templates: + type: array + items: + type: string + format: uri + readOnly: true + description: The templates this value references, if interpolated. created_at: type: string format: date-time @@ -4636,10 +6186,15 @@ components: readOnly: true required: - created_at + - earliest_tag - environment + - environment_name + - external_error - id - modified_at - parameter + - referenced_parameters + - referenced_templates - secret - url - value @@ -4651,31 +6206,39 @@ components: type: string format: uri description: The environment this value is set in. - dynamic: + external: type: boolean - description: A dynamic parameter leverages a CloudTruth integration to retrieve - content on-demand from an external source. When this is `false` the value - is stored by CloudTruth. When this is `true`, the `fqn` field must be - set. - dynamic_fqn: + description: An external parameter leverages a CloudTruth integration to + retrieve content on-demand from an external source. When this is `false` + the value is stored by CloudTruth and considered to be _internal_. When + this is `true`, the `external_fqn` field must be set. + external_fqn: type: string description: The FQN, or Fully-Qualified Name, is the path through the integration to get to the desired content. This must be present and reference a valid - integration when the value is `dynamic`. + integration when the value is `external`. maxLength: 1024 - dynamic_filter: + external_filter: type: string - description: If `dynamic`, the content returned by the integration can be - reduced by applying a JMESpath expression. This is valid as long as the - content is structured and of a supported format. We support JMESpath - expressions on `json`, `yaml`, and `dotenv` content. + description: If the value is `external`, the content returned by the integration + can be reduced by applying a JMESpath expression. This is valid as long + as the content is structured and of a supported format. JMESpath expressions + are supported on `json`, `yaml`, and `dotenv` content. maxLength: 1024 - static_value: + internal_value: type: string nullable: true - description: This is the content to use when resolving the Value for a static - non-secret. + description: This is the content to use when resolving the Value for an + internal non-secret, or when storing a secret. When storing a secret, + this content is stored in your organization's dedicated vault and this + field is cleared. This field is required if the value is being created + or updated and is `internal`. This field cannot be specified when creating + or updating an `external` value. maxLength: 16384 + interpolated: + type: boolean + description: 'If `true`, apply template substitution rules to this value. If + `false`, this value is a literal value. Note: secrets cannot be interpolated.' required: - environment securitySchemes: diff --git a/spec/fixtures/vcr/Kubetruth_CtApi/_environment_id/gets_id.yml b/spec/fixtures/vcr/Kubetruth_CtApi/_environment_id/gets_id.yml index 9399e20..b1449ea 100644 --- a/spec/fixtures/vcr/Kubetruth_CtApi/_environment_id/gets_id.yml +++ b/spec/fixtures/vcr/Kubetruth_CtApi/_environment_id/gets_id.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://localhost:8000/api/v1/environments/ + uri: https://api.cloudtruth.io/api/v1/environments/ body: encoding: US-ASCII string: '' @@ -10,7 +10,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -22,37 +22,46 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:15 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:13 GMT Content-Type: - application/json + Content-Length: + - '3328' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=/DS5P0v8X86zj/Z1R4CvdQ+xHzdiRUllbHyls3UHjqVTJkqVXDGt94Mu1wif/I4fusE3fwmWAbWJM4AtBqs7YefxPkdvlsAb+AM2Ks3fqr1jeik046957F2pl0GE; + Expires=Wed, 29 Sep 2021 15:29:13 GMT; Path=/ + - AWSALBCORS=/DS5P0v8X86zj/Z1R4CvdQ+xHzdiRUllbHyls3UHjqVTJkqVXDGt94Mu1wif/I4fusE3fwmWAbWJM4AtBqs7YefxPkdvlsAb+AM2Ks3fqr1jeik046957F2pl0GE; + Expires=Wed, 29 Sep 2021 15:29:13 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=wAyPG0oewXFIJV+Q1IqOn18v05k9vSPZTp55hhyvfqWzN1K8S68D4/LJ6p9lyWBExboSYnO7gcSNkQSw8toFaBprnHLmqwqy4fTBihj+SQZLeC3urWcheJlGgL63WusjPIqrv9sIp8URhujLKKM2rbP9GdFmaphcivY5OEPEFxjR; + Expires=Wed, 29 Sep 2021 15:29:13 GMT; Path=/ + - AWSALBTGCORS=wAyPG0oewXFIJV+Q1IqOn18v05k9vSPZTp55hhyvfqWzN1K8S68D4/LJ6p9lyWBExboSYnO7gcSNkQSw8toFaBprnHLmqwqy4fTBihj+SQZLeC3urWcheJlGgL63WusjPIqrv9sIp8URhujLKKM2rbP9GdFmaphcivY5OEPEFxjR; + Expires=Wed, 29 Sep 2021 15:29:13 GMT; Path=/; SameSite=None; Secure + - csrftoken=xovvUKJsI6ZEEmURJ9KhOSNT4rAZjpUlS4pksBXY59FxJP48MdMGHiEM3zxHjPKq; + expires=Wed, 21 Sep 2022 15:29:13 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=5ky7ctwpyz7ohl3it393of301x6pb0ld; expires=Wed, 06 Oct 2021 15:29:13 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '1516' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=Rbf4IAtjVTOlGw7GkTAwyuiXoW7RyejxJZR29KIqFK0JpB1JVWCNoOCZVaErSy5v; - expires=Tue, 02 Aug 2022 19:32:15 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=v1pftb3pucw7fgo0zl8lsneczz5iiyfe; expires=Tue, 17 Aug 2021 19:32:15 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":4,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","id":"3ce72447-641f-418d-a12a-71173a56ffca","name":"default","description":"Default - environment, base for all environments.","parent":null,"created_at":"2021-08-02T14:22:36.043828Z","modified_at":"2021-08-03T19:31:39.869473Z"},{"url":"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/","id":"0293a31b-70a7-458c-afe4-162fa9febc1e","name":"development","description":"Development - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.086474Z","modified_at":"2021-08-03T19:17:02.248188Z"},{"url":"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/","id":"d5a11b75-2690-4363-83a3-873f3a98cef8","name":"production","description":"Production - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.142958Z","modified_at":"2021-08-02T14:22:36.143017Z"},{"url":"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/","id":"5694a5f3-a09c-40f1-b40b-74f260508516","name":"staging","description":"Staging - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.114024Z","modified_at":"2021-08-02T14:22:36.114565Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:32:15 GMT + string: '{"count":9,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","id":"e8bc190d-0354-4e66-91c9-64501e501ec5","name":"default","description":"The + auto-generated default environment.","parent":null,"created_at":"2021-07-20T18:14:09.023022Z","modified_at":"2021-09-22T15:27:37.933625Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","id":"c4de304d-5dd4-4a41-80ec-9a469f1aa4f5","name":"development","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.035255Z","modified_at":"2021-09-22T14:27:50.149570Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/","id":"12b9c81b-9002-423b-9ca7-22cece646d07","name":"dev-matt","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","created_at":"2021-07-21T19:53:37.534082Z","modified_at":"2021-07-26T22:01:23.472634Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/","id":"2281d9da-8376-4f45-baf2-372a71260dfa","name":"europe","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","created_at":"2021-07-21T19:53:47.438517Z","modified_at":"2021-07-26T22:01:29.331661Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/","id":"c99d6ab9-4674-4f76-bb43-da0b19124e18","name":"local","description":"for + local development","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-21T19:53:50.000541Z","modified_at":"2021-07-26T22:01:32.150839Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/","id":"ef133a2e-3c9c-4229-a509-e56332baff40","name":"ops","description":"The + ops environment - infrastructure that acts as the entry point to the other + environment''s infrastructure","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-21T20:05:10.325110Z","modified_at":"2021-07-26T22:01:35.184068Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","id":"cde7cf9d-8bf2-46cb-9e97-dee9b99e4335","name":"production","description":"for + real","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.058957Z","modified_at":"2021-09-15T19:15:15.144679Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/","id":"e4399ff4-a962-451b-adfb-7e504ad6bb6d","name":"staging","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.047049Z","modified_at":"2021-07-26T18:46:21.385162Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/","id":"3afc0523-4722-4fa1-aaea-5d49beaa284d","name":"usa","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","created_at":"2021-07-21T20:05:24.767679Z","modified_at":"2021-07-26T18:44:51.186840Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:13 GMT recorded_with: VCR 6.0.0 diff --git a/spec/fixtures/vcr/Kubetruth_CtApi/_environment_id/raises_if_environment_doesn_t_exist.yml b/spec/fixtures/vcr/Kubetruth_CtApi/_environment_id/raises_if_environment_doesn_t_exist.yml index 7aaba02..5f2f382 100644 --- a/spec/fixtures/vcr/Kubetruth_CtApi/_environment_id/raises_if_environment_doesn_t_exist.yml +++ b/spec/fixtures/vcr/Kubetruth_CtApi/_environment_id/raises_if_environment_doesn_t_exist.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://localhost:8000/api/v1/environments/ + uri: https://api.cloudtruth.io/api/v1/environments/ body: encoding: US-ASCII string: '' @@ -10,7 +10,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -22,37 +22,46 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:16 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:14 GMT Content-Type: - application/json + Content-Length: + - '3328' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=8E+RfskhMWz772KCNFGMU0e7S8dYV97x9VVYen52gIYAY+xq0uJqg3OoRC5ardDx37R9Ws4DKmVHGa6hk/c/xvnKn9b+IGeexzZWWMJJJ9Ey3gYS9bISXrDfhjui; + Expires=Wed, 29 Sep 2021 15:29:14 GMT; Path=/ + - AWSALBCORS=8E+RfskhMWz772KCNFGMU0e7S8dYV97x9VVYen52gIYAY+xq0uJqg3OoRC5ardDx37R9Ws4DKmVHGa6hk/c/xvnKn9b+IGeexzZWWMJJJ9Ey3gYS9bISXrDfhjui; + Expires=Wed, 29 Sep 2021 15:29:14 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=wqvnP9y5REmy34PFHJJ5wMkkD7hUVOjx9rFwitGwUOZlhGbZwKduH/UUDF0JGw+UWAnNrzXALeXkOZF40pYqhxau1k9L/Rz/X4hebJZmt0IkdHpvyslZE6HhrrVgu6MCwFt+hHXzsDJCyWSxJ2cpr3o+O6xZWM0WkXDmocWBiro8; + Expires=Wed, 29 Sep 2021 15:29:14 GMT; Path=/ + - AWSALBTGCORS=wqvnP9y5REmy34PFHJJ5wMkkD7hUVOjx9rFwitGwUOZlhGbZwKduH/UUDF0JGw+UWAnNrzXALeXkOZF40pYqhxau1k9L/Rz/X4hebJZmt0IkdHpvyslZE6HhrrVgu6MCwFt+hHXzsDJCyWSxJ2cpr3o+O6xZWM0WkXDmocWBiro8; + Expires=Wed, 29 Sep 2021 15:29:14 GMT; Path=/; SameSite=None; Secure + - csrftoken=k83C46pVcy80PEj0EXYqZh6jfj4IdSAAaIw7atKL9OuEk5BNRgKpNFkiPEELwwKc; + expires=Wed, 21 Sep 2022 15:29:14 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=dogynno0adxod801bcztfq6qq6jde3p2; expires=Wed, 06 Oct 2021 15:29:14 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '1516' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=zBtjISHrF6asmKHYRSYtLe5xzSZkZBs3RrwPr1Zrp3XL5nGvEvywfyDSlKJsFr3M; - expires=Tue, 02 Aug 2022 19:32:16 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=u7pf2n7e6tjjb71ya600rv54n1tp53pw; expires=Tue, 17 Aug 2021 19:32:16 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":4,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","id":"3ce72447-641f-418d-a12a-71173a56ffca","name":"default","description":"Default - environment, base for all environments.","parent":null,"created_at":"2021-08-02T14:22:36.043828Z","modified_at":"2021-08-03T19:31:39.869473Z"},{"url":"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/","id":"0293a31b-70a7-458c-afe4-162fa9febc1e","name":"development","description":"Development - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.086474Z","modified_at":"2021-08-03T19:17:02.248188Z"},{"url":"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/","id":"d5a11b75-2690-4363-83a3-873f3a98cef8","name":"production","description":"Production - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.142958Z","modified_at":"2021-08-02T14:22:36.143017Z"},{"url":"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/","id":"5694a5f3-a09c-40f1-b40b-74f260508516","name":"staging","description":"Staging - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.114024Z","modified_at":"2021-08-02T14:22:36.114565Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:32:16 GMT + string: '{"count":9,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","id":"e8bc190d-0354-4e66-91c9-64501e501ec5","name":"default","description":"The + auto-generated default environment.","parent":null,"created_at":"2021-07-20T18:14:09.023022Z","modified_at":"2021-09-22T15:27:37.933625Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","id":"c4de304d-5dd4-4a41-80ec-9a469f1aa4f5","name":"development","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.035255Z","modified_at":"2021-09-22T14:27:50.149570Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/","id":"12b9c81b-9002-423b-9ca7-22cece646d07","name":"dev-matt","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","created_at":"2021-07-21T19:53:37.534082Z","modified_at":"2021-07-26T22:01:23.472634Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/","id":"2281d9da-8376-4f45-baf2-372a71260dfa","name":"europe","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","created_at":"2021-07-21T19:53:47.438517Z","modified_at":"2021-07-26T22:01:29.331661Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/","id":"c99d6ab9-4674-4f76-bb43-da0b19124e18","name":"local","description":"for + local development","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-21T19:53:50.000541Z","modified_at":"2021-07-26T22:01:32.150839Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/","id":"ef133a2e-3c9c-4229-a509-e56332baff40","name":"ops","description":"The + ops environment - infrastructure that acts as the entry point to the other + environment''s infrastructure","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-21T20:05:10.325110Z","modified_at":"2021-07-26T22:01:35.184068Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","id":"cde7cf9d-8bf2-46cb-9e97-dee9b99e4335","name":"production","description":"for + real","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.058957Z","modified_at":"2021-09-15T19:15:15.144679Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/","id":"e4399ff4-a962-451b-adfb-7e504ad6bb6d","name":"staging","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.047049Z","modified_at":"2021-07-26T18:46:21.385162Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/","id":"3afc0523-4722-4fa1-aaea-5d49beaa284d","name":"usa","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","created_at":"2021-07-21T20:05:24.767679Z","modified_at":"2021-07-26T18:44:51.186840Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:14 GMT recorded_with: VCR 6.0.0 diff --git a/spec/fixtures/vcr/Kubetruth_CtApi/_environments/gets_environments.yml b/spec/fixtures/vcr/Kubetruth_CtApi/_environments/gets_environments.yml index bfdda05..d98d449 100644 --- a/spec/fixtures/vcr/Kubetruth_CtApi/_environments/gets_environments.yml +++ b/spec/fixtures/vcr/Kubetruth_CtApi/_environments/gets_environments.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://localhost:8000/api/v1/environments/ + uri: https://api.cloudtruth.io/api/v1/environments/ body: encoding: US-ASCII string: '' @@ -10,7 +10,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -22,37 +22,46 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:13 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:12 GMT Content-Type: - application/json + Content-Length: + - '3328' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=1btm9pHvzxgNojk1EW+79UJylCu+XuXXxaM5M7LdvMhu7MjDqNPg35FzcxKkK1SMspYy3uy5UZPPedj4c0K1H/cEZWeUFpwZ/r3qgSx7vWQpIGngDL+WI9VyadxW; + Expires=Wed, 29 Sep 2021 15:29:12 GMT; Path=/ + - AWSALBCORS=1btm9pHvzxgNojk1EW+79UJylCu+XuXXxaM5M7LdvMhu7MjDqNPg35FzcxKkK1SMspYy3uy5UZPPedj4c0K1H/cEZWeUFpwZ/r3qgSx7vWQpIGngDL+WI9VyadxW; + Expires=Wed, 29 Sep 2021 15:29:12 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=lpUD1NjEUA1syxvflRIMpOLS0ttxs4q6yOkjYWAJbltz7TiaUqByjYyC4gBpfDpp2btmBF6XGFkqOnCmqSiP/jQvzqc0dkB8/jUAH0o4K97EKzIv5D5KRi8B5n8NhM/JFtok8rGyPFTRCn0//kzP6rLcqH5U7ROikYTSY3GU0LqR; + Expires=Wed, 29 Sep 2021 15:29:12 GMT; Path=/ + - AWSALBTGCORS=lpUD1NjEUA1syxvflRIMpOLS0ttxs4q6yOkjYWAJbltz7TiaUqByjYyC4gBpfDpp2btmBF6XGFkqOnCmqSiP/jQvzqc0dkB8/jUAH0o4K97EKzIv5D5KRi8B5n8NhM/JFtok8rGyPFTRCn0//kzP6rLcqH5U7ROikYTSY3GU0LqR; + Expires=Wed, 29 Sep 2021 15:29:12 GMT; Path=/; SameSite=None; Secure + - csrftoken=zOYlTxFtihfIFBU1hPHOjq1jMIQxdbshQLBKNhebU3T98cMYl6LasoPSEQ1smHPB; + expires=Wed, 21 Sep 2022 15:29:12 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=skc5jw5swglxrr05dry4yefz5brxjd8a; expires=Wed, 06 Oct 2021 15:29:12 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '1516' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=XwKeNKgc34aQS7jIa4b6HeMYtONDo4on2WKgdqeICpGn8gUWWAPab8Pl8tC2yy8g; - expires=Tue, 02 Aug 2022 19:32:13 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=j7ajrf9ljnbtny08u2eprlm457yiefht; expires=Tue, 17 Aug 2021 19:32:13 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":4,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","id":"3ce72447-641f-418d-a12a-71173a56ffca","name":"default","description":"Default - environment, base for all environments.","parent":null,"created_at":"2021-08-02T14:22:36.043828Z","modified_at":"2021-08-03T19:31:39.869473Z"},{"url":"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/","id":"0293a31b-70a7-458c-afe4-162fa9febc1e","name":"development","description":"Development - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.086474Z","modified_at":"2021-08-03T19:17:02.248188Z"},{"url":"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/","id":"d5a11b75-2690-4363-83a3-873f3a98cef8","name":"production","description":"Production - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.142958Z","modified_at":"2021-08-02T14:22:36.143017Z"},{"url":"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/","id":"5694a5f3-a09c-40f1-b40b-74f260508516","name":"staging","description":"Staging - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.114024Z","modified_at":"2021-08-02T14:22:36.114565Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:32:13 GMT + string: '{"count":9,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","id":"e8bc190d-0354-4e66-91c9-64501e501ec5","name":"default","description":"The + auto-generated default environment.","parent":null,"created_at":"2021-07-20T18:14:09.023022Z","modified_at":"2021-09-22T15:27:37.933625Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","id":"c4de304d-5dd4-4a41-80ec-9a469f1aa4f5","name":"development","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.035255Z","modified_at":"2021-09-22T14:27:50.149570Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/","id":"12b9c81b-9002-423b-9ca7-22cece646d07","name":"dev-matt","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","created_at":"2021-07-21T19:53:37.534082Z","modified_at":"2021-07-26T22:01:23.472634Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/","id":"2281d9da-8376-4f45-baf2-372a71260dfa","name":"europe","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","created_at":"2021-07-21T19:53:47.438517Z","modified_at":"2021-07-26T22:01:29.331661Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/","id":"c99d6ab9-4674-4f76-bb43-da0b19124e18","name":"local","description":"for + local development","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-21T19:53:50.000541Z","modified_at":"2021-07-26T22:01:32.150839Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/","id":"ef133a2e-3c9c-4229-a509-e56332baff40","name":"ops","description":"The + ops environment - infrastructure that acts as the entry point to the other + environment''s infrastructure","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-21T20:05:10.325110Z","modified_at":"2021-07-26T22:01:35.184068Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","id":"cde7cf9d-8bf2-46cb-9e97-dee9b99e4335","name":"production","description":"for + real","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.058957Z","modified_at":"2021-09-15T19:15:15.144679Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/","id":"e4399ff4-a962-451b-adfb-7e504ad6bb6d","name":"staging","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.047049Z","modified_at":"2021-07-26T18:46:21.385162Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/","id":"3afc0523-4722-4fa1-aaea-5d49beaa284d","name":"usa","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","created_at":"2021-07-21T20:05:24.767679Z","modified_at":"2021-07-26T18:44:51.186840Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:12 GMT recorded_with: VCR 6.0.0 diff --git a/spec/fixtures/vcr/Kubetruth_CtApi/_environments/memoizes_environments.yml b/spec/fixtures/vcr/Kubetruth_CtApi/_environments/memoizes_environments.yml index 0c5f791..d249cbb 100644 --- a/spec/fixtures/vcr/Kubetruth_CtApi/_environments/memoizes_environments.yml +++ b/spec/fixtures/vcr/Kubetruth_CtApi/_environments/memoizes_environments.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://localhost:8000/api/v1/environments/ + uri: https://api.cloudtruth.io/api/v1/environments/ body: encoding: US-ASCII string: '' @@ -10,7 +10,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -22,37 +22,46 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:14 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:13 GMT Content-Type: - application/json + Content-Length: + - '3328' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=HU9KXBhkiRoHIU85FXx2EH6dTMS1sevIEWHVkE4JgA9xLJPlK0NK611zogBN1c1dcMANhbtU1jjCSm5XsgZZCI1e/fbuZ03ZOYoaIUk5mOHR0fqYW4p3r4t7VClj; + Expires=Wed, 29 Sep 2021 15:29:12 GMT; Path=/ + - AWSALBCORS=HU9KXBhkiRoHIU85FXx2EH6dTMS1sevIEWHVkE4JgA9xLJPlK0NK611zogBN1c1dcMANhbtU1jjCSm5XsgZZCI1e/fbuZ03ZOYoaIUk5mOHR0fqYW4p3r4t7VClj; + Expires=Wed, 29 Sep 2021 15:29:12 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=nq/7kFkhWOkRrKG299d2tXecwaj7S9VPycYxAgOV0RJY/sYodNnJTxmIVPe1tNsldCzlZpIOAESQv8f/RrBD+VffJFKsUlkYleF+V8uMi/fiQDBK31Xii90gGgks3oz/IZCdIbskcp1l80i0LfC++6CWGTbFZmRBcTXlLY4LRiWz; + Expires=Wed, 29 Sep 2021 15:29:12 GMT; Path=/ + - AWSALBTGCORS=nq/7kFkhWOkRrKG299d2tXecwaj7S9VPycYxAgOV0RJY/sYodNnJTxmIVPe1tNsldCzlZpIOAESQv8f/RrBD+VffJFKsUlkYleF+V8uMi/fiQDBK31Xii90gGgks3oz/IZCdIbskcp1l80i0LfC++6CWGTbFZmRBcTXlLY4LRiWz; + Expires=Wed, 29 Sep 2021 15:29:12 GMT; Path=/; SameSite=None; Secure + - csrftoken=v2YiSNLu5QtfvZqWa40PEuSQKjGCzuRp7VJTEHlGOlAEao6XuMoXtolrHaRkfcvC; + expires=Wed, 21 Sep 2022 15:29:13 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=wgjn9algtiqfrmzydxgfoj7y4t9gjmrk; expires=Wed, 06 Oct 2021 15:29:13 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '1516' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=yPjeSWg9q1JC7TIZuhtxQEnerKwZsysMpLVSQ1iaFuIsrcVKtO61oNfryOOKEt2F; - expires=Tue, 02 Aug 2022 19:32:14 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=2x3cbnxd0ncyps3id6bt9byixk1m9740; expires=Tue, 17 Aug 2021 19:32:14 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":4,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","id":"3ce72447-641f-418d-a12a-71173a56ffca","name":"default","description":"Default - environment, base for all environments.","parent":null,"created_at":"2021-08-02T14:22:36.043828Z","modified_at":"2021-08-03T19:31:39.869473Z"},{"url":"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/","id":"0293a31b-70a7-458c-afe4-162fa9febc1e","name":"development","description":"Development - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.086474Z","modified_at":"2021-08-03T19:17:02.248188Z"},{"url":"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/","id":"d5a11b75-2690-4363-83a3-873f3a98cef8","name":"production","description":"Production - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.142958Z","modified_at":"2021-08-02T14:22:36.143017Z"},{"url":"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/","id":"5694a5f3-a09c-40f1-b40b-74f260508516","name":"staging","description":"Staging - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.114024Z","modified_at":"2021-08-02T14:22:36.114565Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:32:14 GMT + string: '{"count":9,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","id":"e8bc190d-0354-4e66-91c9-64501e501ec5","name":"default","description":"The + auto-generated default environment.","parent":null,"created_at":"2021-07-20T18:14:09.023022Z","modified_at":"2021-09-22T15:27:37.933625Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","id":"c4de304d-5dd4-4a41-80ec-9a469f1aa4f5","name":"development","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.035255Z","modified_at":"2021-09-22T14:27:50.149570Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/","id":"12b9c81b-9002-423b-9ca7-22cece646d07","name":"dev-matt","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","created_at":"2021-07-21T19:53:37.534082Z","modified_at":"2021-07-26T22:01:23.472634Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/","id":"2281d9da-8376-4f45-baf2-372a71260dfa","name":"europe","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","created_at":"2021-07-21T19:53:47.438517Z","modified_at":"2021-07-26T22:01:29.331661Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/","id":"c99d6ab9-4674-4f76-bb43-da0b19124e18","name":"local","description":"for + local development","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-21T19:53:50.000541Z","modified_at":"2021-07-26T22:01:32.150839Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/","id":"ef133a2e-3c9c-4229-a509-e56332baff40","name":"ops","description":"The + ops environment - infrastructure that acts as the entry point to the other + environment''s infrastructure","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-21T20:05:10.325110Z","modified_at":"2021-07-26T22:01:35.184068Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","id":"cde7cf9d-8bf2-46cb-9e97-dee9b99e4335","name":"production","description":"for + real","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.058957Z","modified_at":"2021-09-15T19:15:15.144679Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/","id":"e4399ff4-a962-451b-adfb-7e504ad6bb6d","name":"staging","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.047049Z","modified_at":"2021-07-26T18:46:21.385162Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/","id":"3afc0523-4722-4fa1-aaea-5d49beaa284d","name":"usa","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","created_at":"2021-07-21T20:05:24.767679Z","modified_at":"2021-07-26T18:44:51.186840Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:13 GMT recorded_with: VCR 6.0.0 diff --git a/spec/fixtures/vcr/Kubetruth_CtApi/_parameters/doesn_t_expose_secret_in_debug_log.yml b/spec/fixtures/vcr/Kubetruth_CtApi/_parameters/doesn_t_expose_secret_in_debug_log.yml index 585617d..5add5af 100644 --- a/spec/fixtures/vcr/Kubetruth_CtApi/_parameters/doesn_t_expose_secret_in_debug_log.yml +++ b/spec/fixtures/vcr/Kubetruth_CtApi/_parameters/doesn_t_expose_secret_in_debug_log.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -10,7 +10,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -22,39 +22,58 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:32 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:31 GMT Content-Type: - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=4iQPd0k81E3tYaJSGkAzXKV2f2NPa9L3uDm/oTIrRgTu+f84D2mqt71Q4x+SLmXsG+5V4F3a2qjezqRz69X2mVbpEhWJH7OLncJ/G/u+hy3nXkK+kfGKn+s9VAF0; + Expires=Wed, 29 Sep 2021 15:29:31 GMT; Path=/ + - AWSALBCORS=4iQPd0k81E3tYaJSGkAzXKV2f2NPa9L3uDm/oTIrRgTu+f84D2mqt71Q4x+SLmXsG+5V4F3a2qjezqRz69X2mVbpEhWJH7OLncJ/G/u+hy3nXkK+kfGKn+s9VAF0; + Expires=Wed, 29 Sep 2021 15:29:31 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=kIF5RMIgMLrSlJ4zANvSDxHQ8pjz2DYzcgAhv5SdjAzqwsehiJDxO/udzKt0Q/RH4BTnadh55+7IBdb7J1jgy6DR4a/Zpa4rTLYegMQ2lJdsVVofHur9qqXOP9iS4pBkPeReXB6eudwos4V/+WaM+Q+0roDXE5yH89DAgTuKAD4Q; + Expires=Wed, 29 Sep 2021 15:29:31 GMT; Path=/ + - AWSALBTGCORS=kIF5RMIgMLrSlJ4zANvSDxHQ8pjz2DYzcgAhv5SdjAzqwsehiJDxO/udzKt0Q/RH4BTnadh55+7IBdb7J1jgy6DR4a/Zpa4rTLYegMQ2lJdsVVofHur9qqXOP9iS4pBkPeReXB6eudwos4V/+WaM+Q+0roDXE5yH89DAgTuKAD4Q; + Expires=Wed, 29 Sep 2021 15:29:31 GMT; Path=/; SameSite=None; Secure + - csrftoken=NJEyabuq6xNdOzzXebKJ3npP4Dpdt4pWhNNAVaEL2QGitIycc2l4bmoR63xeeWMa; + expires=Wed, 21 Sep 2022 15:29:31 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=avf2lzozhie2vw0w682vyx85x0g0v2ss; expires=Wed, 06 Oct 2021 15:29:31 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '610' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=xe96QPdxKbN62xZ7O5uOHBNVO9pc0IduC9ipo74yTc2cbDo5os70lEhBLziNwX6y; - expires=Tue, 02 Aug 2022 19:32:32 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=uvpb8jv83pwmoz3eh51rkw2ah1egviwm; expires=Tue, 17 Aug 2021 19:32:32 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/5901f8db-2d74-4d93-bcb1-18fc816f2360/","id":"5901f8db-2d74-4d93-bcb1-18fc816f2360","name":"TestProject","description":"","created_at":"2021-08-03T19:32:25.401699Z","modified_at":"2021-08-03T19:32:25.401735Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:32:32 GMT + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/12951e75-0e45-4a73-804b-487a26ca04a7/","id":"12951e75-0e45-4a73-804b-487a26ca04a7","name":"TestProject","description":"","created_at":"2021-09-22T15:29:28.570160Z","modified_at":"2021-09-22T15:29:30.111548Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:31 GMT - request: method: delete - uri: https://localhost:8000/api/v1/projects/5901f8db-2d74-4d93-bcb1-18fc816f2360/ + uri: https://api.cloudtruth.io/api/v1/projects/12951e75-0e45-4a73-804b-487a26ca04a7/ body: encoding: US-ASCII string: '' @@ -62,7 +81,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Authorization: - Api-Key Accept-Encoding: @@ -74,36 +93,44 @@ http_interactions: code: 204 message: No Content headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:33 GMT + - Wed, 22 Sep 2021 15:29:32 GMT + Content-Length: + - '0' Connection: - - close + - keep-alive + Set-Cookie: + - AWSALB=ZM27WMzw5FZ8i+C6kjz34pM0HNysKiSY2mBuHOZoCYfg6UsDAA6aUZps3x/vGNd1fdS5uOcWzYlq3/PTgyfl8p8OdHhStWL1IpfYkKbHxdIonzSKoGbXyz9BuL0f; + Expires=Wed, 29 Sep 2021 15:29:31 GMT; Path=/ + - AWSALBCORS=ZM27WMzw5FZ8i+C6kjz34pM0HNysKiSY2mBuHOZoCYfg6UsDAA6aUZps3x/vGNd1fdS5uOcWzYlq3/PTgyfl8p8OdHhStWL1IpfYkKbHxdIonzSKoGbXyz9BuL0f; + Expires=Wed, 29 Sep 2021 15:29:31 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=hb9UJmKEaujiRFOvn9LpDsH7FLSvueIR9DZlogATjKD+BdGUze3pjDzdQnV7L6xrmHlukTz2UuKjwwBcfaiSZK32ZpSC7Brz15pM5zpNhWLtEN4AvuKoS6ywWQrDlU9htb/PQsUNkQt/5l9TAPiZZGGf+0niItV+T17hBRC7RHI0; + Expires=Wed, 29 Sep 2021 15:29:31 GMT; Path=/ + - AWSALBTGCORS=hb9UJmKEaujiRFOvn9LpDsH7FLSvueIR9DZlogATjKD+BdGUze3pjDzdQnV7L6xrmHlukTz2UuKjwwBcfaiSZK32ZpSC7Brz15pM5zpNhWLtEN4AvuKoS6ywWQrDlU9htb/PQsUNkQt/5l9TAPiZZGGf+0niItV+T17hBRC7RHI0; + Expires=Wed, 29 Sep 2021 15:29:31 GMT; Path=/; SameSite=None; Secure + - csrftoken=y3tcFBc2dfehde7RS7YDK9Y2zNvCAjD6qpgiGWQW4Em8SMsujXdZuLlMCbkP3TNs; + expires=Wed, 21 Sep 2022 15:29:32 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=7b0v7tr0spjtaga16tuqoriwc15s0c38; expires=Wed, 06 Oct 2021 15:29:32 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, PUT, PATCH, DELETE, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '0' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=GQNoZWIjSW2sk6V282am2aZbOMN7rV4idDZroykozMyTqzajH2SIK8TA4oVJzZAR; - expires=Tue, 02 Aug 2022 19:32:33 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=3mngp8eugnyh0w6p0bin9ddowwzhkdej; expires=Tue, 17 Aug 2021 19:32:33 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 string: '' - recorded_at: Tue, 03 Aug 2021 19:32:33 GMT + recorded_at: Wed, 22 Sep 2021 15:29:31 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: UTF-8 string: '{"name":"TestProject"}' @@ -111,7 +138,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -123,40 +150,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:35 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:32 GMT Content-Type: - application/json + Content-Length: + - '258' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=LjtwIdoEDJy2OhErPe2zUjTniOSl3HOAiNpSmtP7r8pfOHNQ5VZVVajwCnv3lROy0s9fO+WU0XwCLIdTQ6avvhLz7jxyqaPIiIcZSpvblmIVwhqeAQGaOv1US4RU; + Expires=Wed, 29 Sep 2021 15:29:32 GMT; Path=/ + - AWSALBCORS=LjtwIdoEDJy2OhErPe2zUjTniOSl3HOAiNpSmtP7r8pfOHNQ5VZVVajwCnv3lROy0s9fO+WU0XwCLIdTQ6avvhLz7jxyqaPIiIcZSpvblmIVwhqeAQGaOv1US4RU; + Expires=Wed, 29 Sep 2021 15:29:32 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=gS9Nb8ZvsW4clq/YyjP/X2ZQiswaP6RwMWKD9Y/8EINq1kwdYDFSsOg5+Wn7UNNSahp1ndSLUp2pe+bsRLQcUNJC9PbBCxoMwuqq7RlxTZ2Pw7P3wkSU7QMVDP3qJnR9TGbEz9F6zL6QgCgN4SusdgpF79hORYaXRX7ZPi0pHWcf; + Expires=Wed, 29 Sep 2021 15:29:32 GMT; Path=/ + - AWSALBTGCORS=gS9Nb8ZvsW4clq/YyjP/X2ZQiswaP6RwMWKD9Y/8EINq1kwdYDFSsOg5+Wn7UNNSahp1ndSLUp2pe+bsRLQcUNJC9PbBCxoMwuqq7RlxTZ2Pw7P3wkSU7QMVDP3qJnR9TGbEz9F6zL6QgCgN4SusdgpF79hORYaXRX7ZPi0pHWcf; + Expires=Wed, 29 Sep 2021 15:29:32 GMT; Path=/; SameSite=None; Secure + - csrftoken=UupwDnVOWZaN1cpzwh5nXmt0M8QybjR4sTk25LxaD6Crd3TBvEQddc0BIZffiuFe; + expires=Wed, 21 Sep 2022 15:29:32 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=0iy107vdycs1lxnhp9aau72f64yg3hda; expires=Wed, 06 Oct 2021 15:29:32 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/ + - https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '255' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=T52Karvmhpowk22t1baSA1oMq0sjczxf7BvutiuKqvv1oJC97grX8JP9zcuNe2Yr; - expires=Tue, 02 Aug 2022 19:32:35 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=6rfh55bxzal61anw8b5afogytfxzqsln; expires=Tue, 17 Aug 2021 19:32:35 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/","id":"b5676f6e-ea74-4589-9523-6bf77bad01af","name":"TestProject","description":"","created_at":"2021-08-03T19:32:35.175710Z","modified_at":"2021-08-03T19:32:35.175760Z"}' - recorded_at: Tue, 03 Aug 2021 19:32:35 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/","id":"40d1e235-196d-4291-8c43-65900f3582e7","name":"TestProject","description":"","created_at":"2021-09-22T15:29:32.521982Z","modified_at":"2021-09-22T15:29:32.521982Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:32 GMT - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -164,7 +199,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -176,39 +211,58 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:36 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:33 GMT Content-Type: - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=e/NQgDREeeJ9S7i0xwZgsqFrkow1YZcqVNKaQ2Hns/5tAp5z/HNK1unyqJxJywISkbX6meXJUxNdWXsc5A5zkJ6iNVc03nbBInQMd1QdpX1dhhLbJDssCa1g9LMX; + Expires=Wed, 29 Sep 2021 15:29:32 GMT; Path=/ + - AWSALBCORS=e/NQgDREeeJ9S7i0xwZgsqFrkow1YZcqVNKaQ2Hns/5tAp5z/HNK1unyqJxJywISkbX6meXJUxNdWXsc5A5zkJ6iNVc03nbBInQMd1QdpX1dhhLbJDssCa1g9LMX; + Expires=Wed, 29 Sep 2021 15:29:32 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=BRmkNEu5qMp8O3jMadjj3ebxHTqbO4XoaC5++6Wx5F7E2opqWtdf8ybw6OO6cw9KXC3Qiy2a78CeRGpM6neiyg6T9EA9nQ0GIqBY1RBTFaWj4VsO/ijjZcktvc5R0dEvSoUiwMjB5ur8KtMVY/JFF0shcxOn4eor/jfMW1XKfhLn; + Expires=Wed, 29 Sep 2021 15:29:32 GMT; Path=/ + - AWSALBTGCORS=BRmkNEu5qMp8O3jMadjj3ebxHTqbO4XoaC5++6Wx5F7E2opqWtdf8ybw6OO6cw9KXC3Qiy2a78CeRGpM6neiyg6T9EA9nQ0GIqBY1RBTFaWj4VsO/ijjZcktvc5R0dEvSoUiwMjB5ur8KtMVY/JFF0shcxOn4eor/jfMW1XKfhLn; + Expires=Wed, 29 Sep 2021 15:29:32 GMT; Path=/; SameSite=None; Secure + - csrftoken=zzRZ8Y52SeApYPiIHTGjVcNywP0qu0c9EXywkdybNJEIPp77XxHibDlJlFn7YvnQ; + expires=Wed, 21 Sep 2022 15:29:33 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=u60ticxlk4et4wv5yl9mxclqlldioqxx; expires=Wed, 06 Oct 2021 15:29:33 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '610' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=KG9gjy4W3WycwQMyfPt8jBzih0k6rP0hJb4j4zztWbe5kiIst7Kdfyy9ptHFCPXV; - expires=Tue, 02 Aug 2022 19:32:36 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=ssdm2yjqjyd0h3gbvq0dn56x20mvliso; expires=Tue, 17 Aug 2021 19:32:36 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/","id":"b5676f6e-ea74-4589-9523-6bf77bad01af","name":"TestProject","description":"","created_at":"2021-08-03T19:32:35.175710Z","modified_at":"2021-08-03T19:32:35.175760Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:32:36 GMT + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/","id":"40d1e235-196d-4291-8c43-65900f3582e7","name":"TestProject","description":"","created_at":"2021-09-22T15:29:32.521982Z","modified_at":"2021-09-22T15:29:32.521982Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:32 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/parameters/ + uri: https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/parameters/ body: encoding: UTF-8 string: '{"name":"one"}' @@ -216,7 +270,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -228,40 +282,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:37 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:33 GMT Content-Type: - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=qt+YLx/EFRWglLAryQEV8XSXqN0y/v285i5bDQRvzeeM/W2AMNIIv7leztNErHsLnjJ8+1ATmuGFpX7SA6BV6sP2HknXm0YnmI00HdusAeHFhbDaZp8FvKjERA4a; + Expires=Wed, 29 Sep 2021 15:29:33 GMT; Path=/ + - AWSALBCORS=qt+YLx/EFRWglLAryQEV8XSXqN0y/v285i5bDQRvzeeM/W2AMNIIv7leztNErHsLnjJ8+1ATmuGFpX7SA6BV6sP2HknXm0YnmI00HdusAeHFhbDaZp8FvKjERA4a; + Expires=Wed, 29 Sep 2021 15:29:33 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=yL5+VHxRP9pjY55S5WlXnH8Jy33aDrYiPWu5sbVO/UZGI5ubtoV+loXTz5MKvvHItgwmv5AndZ0Bx/oDWEnpEtg3t2MKIoriLISO/H/mqYilfc0znD8F4B8pSMQqZqs+KQ+gGDGeXhWzds0gf68ZRw5mD3ZtVYfO3ICJDzQ87YOI; + Expires=Wed, 29 Sep 2021 15:29:33 GMT; Path=/ + - AWSALBTGCORS=yL5+VHxRP9pjY55S5WlXnH8Jy33aDrYiPWu5sbVO/UZGI5ubtoV+loXTz5MKvvHItgwmv5AndZ0Bx/oDWEnpEtg3t2MKIoriLISO/H/mqYilfc0znD8F4B8pSMQqZqs+KQ+gGDGeXhWzds0gf68ZRw5mD3ZtVYfO3ICJDzQ87YOI; + Expires=Wed, 29 Sep 2021 15:29:33 GMT; Path=/; SameSite=None; Secure + - csrftoken=5CQJhK3z83kDrcTI2jEFhteuQGG8TVTCFSQMyIZbSR6G8cH5A8v9HcaxTma53lTk; + expires=Wed, 21 Sep 2022 15:29:33 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=lgldekyz12fld9tai5vwp6r7fyef4eq7; expires=Wed, 06 Oct 2021 15:29:33 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/parameters/49dbd8b4-5789-4c29-bf9e-01ab98f168cd/ + - https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/parameters/6b3e95b7-b58f-4829-a613-1b06a297943f/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '688' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=AHxc8cNg4xRH3xiY97usdsUd8iDInHZqwwLrN6zy3TnXXzmTukmx214ElRpQSW19; - expires=Tue, 02 Aug 2022 19:32:37 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=juk13lfii9t6aieou02oo4qh0b34feju; expires=Tue, 17 Aug 2021 19:32:37 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/parameters/49dbd8b4-5789-4c29-bf9e-01ab98f168cd/","id":"49dbd8b4-5789-4c29-bf9e-01ab98f168cd","name":"one","description":"","secret":false,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null,"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/":null,"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/":null,"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/":null},"created_at":"2021-08-03T19:32:37.495166Z","modified_at":"2021-08-03T19:32:37.495208Z"}' - recorded_at: Tue, 03 Aug 2021 19:32:37 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/parameters/6b3e95b7-b58f-4829-a613-1b06a297943f/","id":"6b3e95b7-b58f-4829-a613-1b06a297943f","name":"one","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:33.543977Z","modified_at":"2021-09-22T15:29:33.543977Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:33 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/parameters/ + uri: https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/parameters/ body: encoding: UTF-8 string: '{"name":"two"}' @@ -269,7 +331,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -281,40 +343,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:39 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:34 GMT Content-Type: - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=JNQn06ll2BPPiiAVY8iIAqc1AMwdsY2ZXOyVPPo+mj+PEPx/R/duW6aZVkv136BqYh2hm41atzD5F9X7vL/gUfiCJclON77iqQfttIuxX8ZF1qPspod9C8p8zGR8; + Expires=Wed, 29 Sep 2021 15:29:33 GMT; Path=/ + - AWSALBCORS=JNQn06ll2BPPiiAVY8iIAqc1AMwdsY2ZXOyVPPo+mj+PEPx/R/duW6aZVkv136BqYh2hm41atzD5F9X7vL/gUfiCJclON77iqQfttIuxX8ZF1qPspod9C8p8zGR8; + Expires=Wed, 29 Sep 2021 15:29:33 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=2X6Wh7noqJ6Td0PTLi5Az6Et7R8vG3+sAUXrUNFqEzt0IApJ/wfYcMMr7g5UtNPEF//ExwsutcAFyOpKFwCg8RLWcmN7H8ULaP8MLJDD4MluYAN+AWNcMTove+O/CP/jWfKuN03SmfpvAKxRYW7MPDgHb1F5LTW8sIENbWMUEFvL; + Expires=Wed, 29 Sep 2021 15:29:33 GMT; Path=/ + - AWSALBTGCORS=2X6Wh7noqJ6Td0PTLi5Az6Et7R8vG3+sAUXrUNFqEzt0IApJ/wfYcMMr7g5UtNPEF//ExwsutcAFyOpKFwCg8RLWcmN7H8ULaP8MLJDD4MluYAN+AWNcMTove+O/CP/jWfKuN03SmfpvAKxRYW7MPDgHb1F5LTW8sIENbWMUEFvL; + Expires=Wed, 29 Sep 2021 15:29:33 GMT; Path=/; SameSite=None; Secure + - csrftoken=ofVCYH68iGwi8teMobM3Rf1jsDdbMtyTf5ivXmrS841aAjCGNq32BBBuI4GuA4Uc; + expires=Wed, 21 Sep 2022 15:29:34 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=tpkw02fo9l2mih89k2xnjzo3s18xzctb; expires=Wed, 06 Oct 2021 15:29:34 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/parameters/7f701900-117d-4433-ba68-7a1411780bf4/ + - https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/parameters/530809f7-e834-4be6-ab22-8d1c2ecc8a28/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '688' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=EuFd4sbuSbRg9h6jWMDm9k4vy9LABskHlSPt3JJkBnctzsUtyc7xDGOJ68OKH0nD; - expires=Tue, 02 Aug 2022 19:32:39 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=mkjtykz0r4oahozwryio1eh05nr8txf9; expires=Tue, 17 Aug 2021 19:32:39 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/parameters/7f701900-117d-4433-ba68-7a1411780bf4/","id":"7f701900-117d-4433-ba68-7a1411780bf4","name":"two","description":"","secret":false,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null,"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/":null,"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/":null,"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/":null},"created_at":"2021-08-03T19:32:38.837776Z","modified_at":"2021-08-03T19:32:38.837811Z"}' - recorded_at: Tue, 03 Aug 2021 19:32:39 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/parameters/530809f7-e834-4be6-ab22-8d1c2ecc8a28/","id":"530809f7-e834-4be6-ab22-8d1c2ecc8a28","name":"two","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:34.070426Z","modified_at":"2021-09-22T15:29:34.070426Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:33 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/parameters/ + uri: https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/parameters/ body: encoding: UTF-8 string: '{"name":"three","secret":true}' @@ -322,7 +392,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -334,40 +404,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:40 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:34 GMT Content-Type: - application/json + Content-Length: + - '1186' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=fX67aS0DeBD3RFviggRFLaeapKOzDU/B5EhHkf4d25HuHZJ5TTGm2OwlBsc77ClkE9YIGiBzfyrvCW7JkkAqc//YihXoO5Armfl+JrW6O5OH/SEScpvu0RIGfyFb; + Expires=Wed, 29 Sep 2021 15:29:34 GMT; Path=/ + - AWSALBCORS=fX67aS0DeBD3RFviggRFLaeapKOzDU/B5EhHkf4d25HuHZJ5TTGm2OwlBsc77ClkE9YIGiBzfyrvCW7JkkAqc//YihXoO5Armfl+JrW6O5OH/SEScpvu0RIGfyFb; + Expires=Wed, 29 Sep 2021 15:29:34 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=clhcEZdiWhnbLuiZaIf/s/JX/w9QXQVLtSqljaxI0isJR4IT6o2sqch567L+G3cbfOnB8B6DPEvzOXzbEuCYtQfN9Pe/MLsB52bzRLEmsKLGte3aymX9GrZDW17UPHDczTOlKVQWLX2ANo9YaufX5tackKmHiHUt1juOO0giJEZS; + Expires=Wed, 29 Sep 2021 15:29:34 GMT; Path=/ + - AWSALBTGCORS=clhcEZdiWhnbLuiZaIf/s/JX/w9QXQVLtSqljaxI0isJR4IT6o2sqch567L+G3cbfOnB8B6DPEvzOXzbEuCYtQfN9Pe/MLsB52bzRLEmsKLGte3aymX9GrZDW17UPHDczTOlKVQWLX2ANo9YaufX5tackKmHiHUt1juOO0giJEZS; + Expires=Wed, 29 Sep 2021 15:29:34 GMT; Path=/; SameSite=None; Secure + - csrftoken=y2tDyXzZ1qHszJ88emFcOyuFyLFIOgGA8pvdq5SidvgMYv9rD4FAsyqvp9WMaBl9; + expires=Wed, 21 Sep 2022 15:29:34 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=kjy7gf4n19mug0pfpg2csvecpwrze0je; expires=Wed, 06 Oct 2021 15:29:34 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/parameters/63ff2f6d-a06f-460c-902e-5e4ac83faa7d/ + - https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/parameters/91ad3fe8-71d2-4ee1-b0ee-f89b44dcfc43/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '689' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=wASXTyQoCdFGrfqnHXGZCUWw5hwGFaZa4Lz3sZUkeeYIysupgXCcM3zKFmhKF5bN; - expires=Tue, 02 Aug 2022 19:32:40 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=t3rzddh3nhb22dd7ha3euchgn990keth; expires=Tue, 17 Aug 2021 19:32:40 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/parameters/63ff2f6d-a06f-460c-902e-5e4ac83faa7d/","id":"63ff2f6d-a06f-460c-902e-5e4ac83faa7d","name":"three","description":"","secret":true,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null,"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/":null,"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/":null,"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/":null},"created_at":"2021-08-03T19:32:40.083440Z","modified_at":"2021-08-03T19:32:40.083486Z"}' - recorded_at: Tue, 03 Aug 2021 19:32:40 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/parameters/91ad3fe8-71d2-4ee1-b0ee-f89b44dcfc43/","id":"91ad3fe8-71d2-4ee1-b0ee-f89b44dcfc43","name":"three","description":"","secret":true,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:34.579308Z","modified_at":"2021-09-22T15:29:34.579308Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:34 GMT - request: method: get - uri: https://localhost:8000/api/v1/environments/ + uri: https://api.cloudtruth.io/api/v1/environments/ body: encoding: US-ASCII string: '' @@ -375,7 +453,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -387,50 +465,59 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:41 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:35 GMT Content-Type: - application/json + Content-Length: + - '3328' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=XyOieN7grh04Gx+nt2kVLm+GSd2jedP70RhLIdIhkrhQf8JoYOMvtFDJz2rKqYAL/stIkQfEGHGZfIocKEUZ+1ihSWSL01lMA+l1tb+GrwJ5sOSacSO9uEl3RfnJ; + Expires=Wed, 29 Sep 2021 15:29:34 GMT; Path=/ + - AWSALBCORS=XyOieN7grh04Gx+nt2kVLm+GSd2jedP70RhLIdIhkrhQf8JoYOMvtFDJz2rKqYAL/stIkQfEGHGZfIocKEUZ+1ihSWSL01lMA+l1tb+GrwJ5sOSacSO9uEl3RfnJ; + Expires=Wed, 29 Sep 2021 15:29:34 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=Kli2FoJ4LFn2zxwOAIW6668SaC+vwk1dToRzAzVc9eRNXyuH0gE34L2BOQQ5aGT/of6PkYW0LPaJpGi16wHqdwGIvUrx6T9zQ+9HW0TKftsTren6k46bj55cwNYpNAjEASYtM1bntsqGVFoI3XQTQ+j4rNHh/HXhZLlcOCHdZ1OR; + Expires=Wed, 29 Sep 2021 15:29:34 GMT; Path=/ + - AWSALBTGCORS=Kli2FoJ4LFn2zxwOAIW6668SaC+vwk1dToRzAzVc9eRNXyuH0gE34L2BOQQ5aGT/of6PkYW0LPaJpGi16wHqdwGIvUrx6T9zQ+9HW0TKftsTren6k46bj55cwNYpNAjEASYtM1bntsqGVFoI3XQTQ+j4rNHh/HXhZLlcOCHdZ1OR; + Expires=Wed, 29 Sep 2021 15:29:34 GMT; Path=/; SameSite=None; Secure + - csrftoken=K023WGuR5wjme2X8t7EPEIoiHXFZV8IeBFznqwGURSCEYhjbs95BDvm0EeMDRFzf; + expires=Wed, 21 Sep 2022 15:29:35 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=jfcfvn56by7jlk6qo8ehj8df4kamgdr3; expires=Wed, 06 Oct 2021 15:29:35 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '1516' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=HEmxtHhcRHjlO2l9tMDKM8dg1alqYutnxQrlak34pyOrrOgJnAYAiqFrZSNMpMip; - expires=Tue, 02 Aug 2022 19:32:41 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=yym79knrvlkj6h3zn6rkpfup8re3cdfn; expires=Tue, 17 Aug 2021 19:32:41 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":4,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","id":"3ce72447-641f-418d-a12a-71173a56ffca","name":"default","description":"Default - environment, base for all environments.","parent":null,"created_at":"2021-08-02T14:22:36.043828Z","modified_at":"2021-08-03T19:31:39.869473Z"},{"url":"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/","id":"0293a31b-70a7-458c-afe4-162fa9febc1e","name":"development","description":"Development - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.086474Z","modified_at":"2021-08-03T19:17:02.248188Z"},{"url":"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/","id":"d5a11b75-2690-4363-83a3-873f3a98cef8","name":"production","description":"Production - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.142958Z","modified_at":"2021-08-02T14:22:36.143017Z"},{"url":"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/","id":"5694a5f3-a09c-40f1-b40b-74f260508516","name":"staging","description":"Staging - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.114024Z","modified_at":"2021-08-02T14:22:36.114565Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:32:41 GMT + string: '{"count":9,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","id":"e8bc190d-0354-4e66-91c9-64501e501ec5","name":"default","description":"The + auto-generated default environment.","parent":null,"created_at":"2021-07-20T18:14:09.023022Z","modified_at":"2021-09-22T15:27:37.933625Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","id":"c4de304d-5dd4-4a41-80ec-9a469f1aa4f5","name":"development","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.035255Z","modified_at":"2021-09-22T14:27:50.149570Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/","id":"12b9c81b-9002-423b-9ca7-22cece646d07","name":"dev-matt","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","created_at":"2021-07-21T19:53:37.534082Z","modified_at":"2021-07-26T22:01:23.472634Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/","id":"2281d9da-8376-4f45-baf2-372a71260dfa","name":"europe","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","created_at":"2021-07-21T19:53:47.438517Z","modified_at":"2021-07-26T22:01:29.331661Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/","id":"c99d6ab9-4674-4f76-bb43-da0b19124e18","name":"local","description":"for + local development","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-21T19:53:50.000541Z","modified_at":"2021-07-26T22:01:32.150839Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/","id":"ef133a2e-3c9c-4229-a509-e56332baff40","name":"ops","description":"The + ops environment - infrastructure that acts as the entry point to the other + environment''s infrastructure","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-21T20:05:10.325110Z","modified_at":"2021-07-26T22:01:35.184068Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","id":"cde7cf9d-8bf2-46cb-9e97-dee9b99e4335","name":"production","description":"for + real","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.058957Z","modified_at":"2021-09-15T19:15:15.144679Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/","id":"e4399ff4-a962-451b-adfb-7e504ad6bb6d","name":"staging","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.047049Z","modified_at":"2021-07-26T18:46:21.385162Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/","id":"3afc0523-4722-4fa1-aaea-5d49beaa284d","name":"usa","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","created_at":"2021-07-21T20:05:24.767679Z","modified_at":"2021-07-26T18:44:51.186840Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:34 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/parameters/63ff2f6d-a06f-460c-902e-5e4ac83faa7d/values/ + uri: https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/parameters/91ad3fe8-71d2-4ee1-b0ee-f89b44dcfc43/values/ body: encoding: UTF-8 - string: '{"environment":"3ce72447-641f-418d-a12a-71173a56ffca","dynamic":false,"static_value":"defaultthree"}' + string: '{"environment":"e8bc190d-0354-4e66-91c9-64501e501ec5","external":false,"internal_value":"defaultthree"}' headers: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -442,40 +529,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:43 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:36 GMT Content-Type: - application/json + Content-Length: + - '834' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=ePwmUDMMwdjrENSUlGL9mbYqc6sIpDMqYpuib2Fn4AnjgY4GW6xe5QKl6k63/4/ghrP2E6xENJOxuBDgAUqf+e+KKBrDIQGdgoi9Pvc9/iZ4frX1c0yax11EY/IW; + Expires=Wed, 29 Sep 2021 15:29:35 GMT; Path=/ + - AWSALBCORS=ePwmUDMMwdjrENSUlGL9mbYqc6sIpDMqYpuib2Fn4AnjgY4GW6xe5QKl6k63/4/ghrP2E6xENJOxuBDgAUqf+e+KKBrDIQGdgoi9Pvc9/iZ4frX1c0yax11EY/IW; + Expires=Wed, 29 Sep 2021 15:29:35 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=dkulRZONxg+AiK2DSaR4gwLy3LcQ2qT/KgbcgXXvDHEWeAQCOn3ys7CwtV1Rm7bpGdj9xK3K3at/L1Z8pWAOiHgVDg+wXOZikxBE0k68azlIdVSxe9P6XkJ5F0lHG2UKzLo2vZar3f0ZCgzyKJnaE1VQozqR/CrvHKqz8DZPTCd1; + Expires=Wed, 29 Sep 2021 15:29:35 GMT; Path=/ + - AWSALBTGCORS=dkulRZONxg+AiK2DSaR4gwLy3LcQ2qT/KgbcgXXvDHEWeAQCOn3ys7CwtV1Rm7bpGdj9xK3K3at/L1Z8pWAOiHgVDg+wXOZikxBE0k68azlIdVSxe9P6XkJ5F0lHG2UKzLo2vZar3f0ZCgzyKJnaE1VQozqR/CrvHKqz8DZPTCd1; + Expires=Wed, 29 Sep 2021 15:29:35 GMT; Path=/; SameSite=None; Secure + - csrftoken=3muJ5R0cgTaslS3Kcsvku5mfFdZjwLUlSzAQwJVxW1aNzdV2Un9B5g0ZLCtqjJol; + expires=Wed, 21 Sep 2022 15:29:36 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=uggvkdtf3utdcbh101luacuwl5ktmlaj; expires=Wed, 06 Oct 2021 15:29:36 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/parameters/63ff2f6d-a06f-460c-902e-5e4ac83faa7d/values/4c3192e2-9887-4c28-8e45-86b26834930e/ + - https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/parameters/91ad3fe8-71d2-4ee1-b0ee-f89b44dcfc43/values/8dc060e2-bd4d-4713-be62-a8e06529df22/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '655' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=GlKwmfheLDRFRFa6wyEGjagFwcpnMznOqBenwlULK0ZQPoNe4Fqcwc4jrK95o33o; - expires=Tue, 02 Aug 2022 19:32:43 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=6wct4j7m381r58tfc7rvi20cm05l0fnq; expires=Tue, 17 Aug 2021 19:32:43 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/parameters/63ff2f6d-a06f-460c-902e-5e4ac83faa7d/values/4c3192e2-9887-4c28-8e45-86b26834930e/","id":"4c3192e2-9887-4c28-8e45-86b26834930e","environment":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","parameter":"https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/parameters/63ff2f6d-a06f-460c-902e-5e4ac83faa7d/","dynamic":false,"dynamic_fqn":"","dynamic_filter":"","static_value":null,"value":"defaultthree","secret":true,"created_at":"2021-08-03T19:32:42.519477Z","modified_at":"2021-08-03T19:32:42.519521Z"}' - recorded_at: Tue, 03 Aug 2021 19:32:43 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/parameters/91ad3fe8-71d2-4ee1-b0ee-f89b44dcfc43/values/8dc060e2-bd4d-4713-be62-a8e06529df22/","id":"8dc060e2-bd4d-4713-be62-a8e06529df22","environment":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","environment_name":"default","earliest_tag":null,"parameter":"https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/parameters/91ad3fe8-71d2-4ee1-b0ee-f89b44dcfc43/","external":false,"external_fqn":"","external_filter":"","external_error":null,"internal_value":null,"value":"defaultthree","secret":true,"created_at":"2021-09-22T15:29:35.571119Z","modified_at":"2021-09-22T15:29:35.969797Z","static_value":null,"dynamic":false,"dynamic_error":null,"dynamic_filter":"","dynamic_fqn":""}' + recorded_at: Wed, 22 Sep 2021 15:29:35 GMT - request: method: get - uri: https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/parameters/?environment=3ce72447-641f-418d-a12a-71173a56ffca + uri: https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/parameters/?environment=e8bc190d-0354-4e66-91c9-64501e501ec5 body: encoding: US-ASCII string: '' @@ -483,7 +578,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -495,33 +590,41 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:46 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:36 GMT Content-Type: - application/json + Content-Length: + - '2256' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=++PE9vowdLghv5oJTLb8rq/VxhOg1hyFMBKD9h9Dkc/PI2yR6PuKw5/FCdPZJkV2Z4T3i/jN70g4Ix7N8VeRl5IV1oObD8qDjusV1hufHgNnDTJqrOZDjru0wDv4; + Expires=Wed, 29 Sep 2021 15:29:36 GMT; Path=/ + - AWSALBCORS=++PE9vowdLghv5oJTLb8rq/VxhOg1hyFMBKD9h9Dkc/PI2yR6PuKw5/FCdPZJkV2Z4T3i/jN70g4Ix7N8VeRl5IV1oObD8qDjusV1hufHgNnDTJqrOZDjru0wDv4; + Expires=Wed, 29 Sep 2021 15:29:36 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=AZ1wes33WFwSSBfCe13U9IQIxXKu3PiOsV/Ks64UJkBe5jmLWrcg7Opk5CHqPG1LqJxISpzfrzpIDY+2egLS1cYRDoJ12T1ptDboFcaNL5+cHX/3PPBT/BsfEfY5O7uipbneaNita8upd3n5lBPSejOHV6vtLS5d9B0EfDmqRB/2; + Expires=Wed, 29 Sep 2021 15:29:36 GMT; Path=/ + - AWSALBTGCORS=AZ1wes33WFwSSBfCe13U9IQIxXKu3PiOsV/Ks64UJkBe5jmLWrcg7Opk5CHqPG1LqJxISpzfrzpIDY+2egLS1cYRDoJ12T1ptDboFcaNL5+cHX/3PPBT/BsfEfY5O7uipbneaNita8upd3n5lBPSejOHV6vtLS5d9B0EfDmqRB/2; + Expires=Wed, 29 Sep 2021 15:29:36 GMT; Path=/; SameSite=None; Secure + - csrftoken=rtJAPqLIyoeTDzQCtaDR7B5k2ewvJGSK6Gjld2NKj2E7rka7ywPRVxQpk1YjGWbe; + expires=Wed, 21 Sep 2022 15:29:36 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=c6c4eyewyywazr3e5wj37hadqr8ng5gq; expires=Wed, 06 Oct 2021 15:29:36 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '1978' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=0vPoH7OhEsDZfCrkNwOpeiCmVjjs4itmSNWtIV9f4f91PpQBhq6oYdAh38usbj58; - expires=Tue, 02 Aug 2022 19:32:46 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=xupx7hatk3f2s3yz192ayhoa7r2mxgtp; expires=Tue, 17 Aug 2021 19:32:46 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":3,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/parameters/49dbd8b4-5789-4c29-bf9e-01ab98f168cd/","id":"49dbd8b4-5789-4c29-bf9e-01ab98f168cd","name":"one","description":"","secret":false,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null},"created_at":"2021-08-03T19:32:37.495166Z","modified_at":"2021-08-03T19:32:37.495208Z"},{"url":"https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/parameters/63ff2f6d-a06f-460c-902e-5e4ac83faa7d/","id":"63ff2f6d-a06f-460c-902e-5e4ac83faa7d","name":"three","description":"","secret":true,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":{"url":"https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/parameters/63ff2f6d-a06f-460c-902e-5e4ac83faa7d/values/4c3192e2-9887-4c28-8e45-86b26834930e/","id":"4c3192e2-9887-4c28-8e45-86b26834930e","environment":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","parameter":"https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/parameters/63ff2f6d-a06f-460c-902e-5e4ac83faa7d/","dynamic":false,"dynamic_fqn":"","dynamic_filter":"","static_value":null,"value":"defaultthree","secret":true,"created_at":"2021-08-03T19:32:42.519477Z","modified_at":"2021-08-03T19:32:42.519521Z"}},"created_at":"2021-08-03T19:32:40.083440Z","modified_at":"2021-08-03T19:32:42.511841Z"},{"url":"https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/parameters/7f701900-117d-4433-ba68-7a1411780bf4/","id":"7f701900-117d-4433-ba68-7a1411780bf4","name":"two","description":"","secret":false,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null},"created_at":"2021-08-03T19:32:38.837776Z","modified_at":"2021-08-03T19:32:38.837811Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:32:46 GMT + string: '{"count":3,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/parameters/6b3e95b7-b58f-4829-a613-1b06a297943f/","id":"6b3e95b7-b58f-4829-a613-1b06a297943f","name":"one","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null},"created_at":"2021-09-22T15:29:33.543977Z","modified_at":"2021-09-22T15:29:33.543977Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/parameters/91ad3fe8-71d2-4ee1-b0ee-f89b44dcfc43/","id":"91ad3fe8-71d2-4ee1-b0ee-f89b44dcfc43","name":"three","description":"","secret":true,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":{"url":"https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/parameters/91ad3fe8-71d2-4ee1-b0ee-f89b44dcfc43/values/8dc060e2-bd4d-4713-be62-a8e06529df22/","id":"8dc060e2-bd4d-4713-be62-a8e06529df22","environment":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","environment_name":"default","earliest_tag":null,"parameter":"https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/parameters/91ad3fe8-71d2-4ee1-b0ee-f89b44dcfc43/","external":false,"external_fqn":"","external_filter":"","external_error":null,"internal_value":null,"value":"defaultthree","secret":true,"created_at":"2021-09-22T15:29:35.571119Z","modified_at":"2021-09-22T15:29:35.969797Z","static_value":null,"dynamic":false,"dynamic_error":null,"dynamic_filter":"","dynamic_fqn":""}},"created_at":"2021-09-22T15:29:34.579308Z","modified_at":"2021-09-22T15:29:35.984434Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/parameters/530809f7-e834-4be6-ab22-8d1c2ecc8a28/","id":"530809f7-e834-4be6-ab22-8d1c2ecc8a28","name":"two","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null},"created_at":"2021-09-22T15:29:34.070426Z","modified_at":"2021-09-22T15:29:34.070426Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:36 GMT recorded_with: VCR 6.0.0 diff --git a/spec/fixtures/vcr/Kubetruth_CtApi/_parameters/gets_parameters.yml b/spec/fixtures/vcr/Kubetruth_CtApi/_parameters/gets_parameters.yml index 0a4abb2..f558d69 100644 --- a/spec/fixtures/vcr/Kubetruth_CtApi/_parameters/gets_parameters.yml +++ b/spec/fixtures/vcr/Kubetruth_CtApi/_parameters/gets_parameters.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -10,7 +10,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -22,39 +22,58 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:22 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:27 GMT Content-Type: - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=6OuIe8juNw05aYtZKryBTvhhahYNO/x+SN4EX8XtbpGIpoY81/0huC3II3yWGHrCvNknKS6+DFKTw4BC8PkeSUyoVHbxzN0rlB8SHndCOAwqgZZvzFvxffyHlKFh; + Expires=Wed, 29 Sep 2021 15:29:27 GMT; Path=/ + - AWSALBCORS=6OuIe8juNw05aYtZKryBTvhhahYNO/x+SN4EX8XtbpGIpoY81/0huC3II3yWGHrCvNknKS6+DFKTw4BC8PkeSUyoVHbxzN0rlB8SHndCOAwqgZZvzFvxffyHlKFh; + Expires=Wed, 29 Sep 2021 15:29:27 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=3anGA7i7/0f5txlXdQEpYIL8dVOd+qDDv93ei1pYG775+VSOlpoD9YjMSlf5eYY5BEsEhJY6PhTGuS5qfxr2quIpdhF/LJTuhUSVU9aIGOWtrTNYQ6csB77ryv5Gf3Aq9S/3ns2QG6W3yPaQNX6WJAo0d+JHpYHnZl5RaDe/IBqO; + Expires=Wed, 29 Sep 2021 15:29:27 GMT; Path=/ + - AWSALBTGCORS=3anGA7i7/0f5txlXdQEpYIL8dVOd+qDDv93ei1pYG775+VSOlpoD9YjMSlf5eYY5BEsEhJY6PhTGuS5qfxr2quIpdhF/LJTuhUSVU9aIGOWtrTNYQ6csB77ryv5Gf3Aq9S/3ns2QG6W3yPaQNX6WJAo0d+JHpYHnZl5RaDe/IBqO; + Expires=Wed, 29 Sep 2021 15:29:27 GMT; Path=/; SameSite=None; Secure + - csrftoken=uyTZ5ycTa6qguTzd1d9U5JGxQyy4plEiZJqzfvYDKmLdHRmRpahPophTegCg7xgn; + expires=Wed, 21 Sep 2022 15:29:27 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=ngvkr1doey3kt2qz57z1hzxhbgchn9fv; expires=Wed, 06 Oct 2021 15:29:27 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '610' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=ZF0gUFrAKEIQ5K1y29S9X1WcmArQ2HNgX4rH4CvUZX65IFSPoa4b3lNXXGFNn0DU; - expires=Tue, 02 Aug 2022 19:32:22 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=fzx64xcluzkzf500zq1k0ub2m55wz15m; expires=Tue, 17 Aug 2021 19:32:22 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/831751c5-e30c-4489-b3c5-969bb2abebd3/","id":"831751c5-e30c-4489-b3c5-969bb2abebd3","name":"TestProject","description":"","created_at":"2021-08-03T19:31:32.128299Z","modified_at":"2021-08-03T19:31:32.128335Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:32:22 GMT + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1426f466-f7f2-4c1d-8d28-240dd546847b/","id":"1426f466-f7f2-4c1d-8d28-240dd546847b","name":"TestProject","description":"","created_at":"2021-09-22T15:29:25.466049Z","modified_at":"2021-09-22T15:29:27.105447Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:27 GMT - request: method: delete - uri: https://localhost:8000/api/v1/projects/831751c5-e30c-4489-b3c5-969bb2abebd3/ + uri: https://api.cloudtruth.io/api/v1/projects/1426f466-f7f2-4c1d-8d28-240dd546847b/ body: encoding: US-ASCII string: '' @@ -62,7 +81,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Authorization: - Api-Key Accept-Encoding: @@ -74,36 +93,44 @@ http_interactions: code: 204 message: No Content headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:24 GMT + - Wed, 22 Sep 2021 15:29:28 GMT + Content-Length: + - '0' Connection: - - close + - keep-alive + Set-Cookie: + - AWSALB=OZSE0rAUVeXNJv1uFSo5JbpkRC7w8u0YBlDJxApIJMJPXneJ1ZWExqZv8nUtv3ezcJ2ikUcojSdye4sh1imLO5EOoTwsM8kqsqUz0sfbc3HQ2b+xHunoj4LQ1jNM; + Expires=Wed, 29 Sep 2021 15:29:27 GMT; Path=/ + - AWSALBCORS=OZSE0rAUVeXNJv1uFSo5JbpkRC7w8u0YBlDJxApIJMJPXneJ1ZWExqZv8nUtv3ezcJ2ikUcojSdye4sh1imLO5EOoTwsM8kqsqUz0sfbc3HQ2b+xHunoj4LQ1jNM; + Expires=Wed, 29 Sep 2021 15:29:27 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=rCxCDxIGi4t1VmF/OGfSa1umsKATCkLPbvjEjMRNO7qW4LMhIpMKlnIbGRO8R0o6xW2U1nhUlFTwjYB8rBA2W9ZUy5R3K6PLinD5V307oFswj4MJNasQXujzJ66YY0rUQg6D8QF0+baxY1SNJY6kql/mgTfrRAvzT2CERKlw2ETq; + Expires=Wed, 29 Sep 2021 15:29:27 GMT; Path=/ + - AWSALBTGCORS=rCxCDxIGi4t1VmF/OGfSa1umsKATCkLPbvjEjMRNO7qW4LMhIpMKlnIbGRO8R0o6xW2U1nhUlFTwjYB8rBA2W9ZUy5R3K6PLinD5V307oFswj4MJNasQXujzJ66YY0rUQg6D8QF0+baxY1SNJY6kql/mgTfrRAvzT2CERKlw2ETq; + Expires=Wed, 29 Sep 2021 15:29:27 GMT; Path=/; SameSite=None; Secure + - csrftoken=zhTfQBucI6RE8vZ3wzH9BoHc8YhAtNbVMtiCkPGIVgQpRHsb5Y0THA7XRqPtdBBI; + expires=Wed, 21 Sep 2022 15:29:28 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=8s7lcdtlotjk6ifzmqdh3tc2kvscyo6z; expires=Wed, 06 Oct 2021 15:29:28 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, PUT, PATCH, DELETE, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '0' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=EHRsZ6NryeQQ88OUK9bvnLqMVMEauGDynPYev2I3UuyD9RX1ma9OOj9sbSnnje0U; - expires=Tue, 02 Aug 2022 19:32:24 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=85je6ixuo4chkew1voeivcqgw9xcevk4; expires=Tue, 17 Aug 2021 19:32:24 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 string: '' - recorded_at: Tue, 03 Aug 2021 19:32:24 GMT + recorded_at: Wed, 22 Sep 2021 15:29:27 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: UTF-8 string: '{"name":"TestProject"}' @@ -111,7 +138,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -123,40 +150,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:25 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:28 GMT Content-Type: - application/json + Content-Length: + - '258' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=osTYbnuFT13X8h1hHCSm5sn1GoCrdu/vGtwgz8UrQtxugmOnZwAc5r1Jp+mp4Rm95zyRQO1EAIjW4S9786yW+6iCGDdjuIvVT7q23g0iVoY7rkwjXG636C1IVlQI; + Expires=Wed, 29 Sep 2021 15:29:28 GMT; Path=/ + - AWSALBCORS=osTYbnuFT13X8h1hHCSm5sn1GoCrdu/vGtwgz8UrQtxugmOnZwAc5r1Jp+mp4Rm95zyRQO1EAIjW4S9786yW+6iCGDdjuIvVT7q23g0iVoY7rkwjXG636C1IVlQI; + Expires=Wed, 29 Sep 2021 15:29:28 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=auJ7QaHWdTdbwC1HF+kT+MelZEFQxd6HBXTLO7/K/TLVno6KxvfA6/NWllED2yfNBNTUiQ08Y0ZUS/XVW+2vcLIHtj2U3FpDItd65yZCz1ooIslQTuKEbZFhBDni3LhIpzPnd9d/JFX0ZixDNqpqtUYan0dyka0ynR9oe35PRI5M; + Expires=Wed, 29 Sep 2021 15:29:28 GMT; Path=/ + - AWSALBTGCORS=auJ7QaHWdTdbwC1HF+kT+MelZEFQxd6HBXTLO7/K/TLVno6KxvfA6/NWllED2yfNBNTUiQ08Y0ZUS/XVW+2vcLIHtj2U3FpDItd65yZCz1ooIslQTuKEbZFhBDni3LhIpzPnd9d/JFX0ZixDNqpqtUYan0dyka0ynR9oe35PRI5M; + Expires=Wed, 29 Sep 2021 15:29:28 GMT; Path=/; SameSite=None; Secure + - csrftoken=RY33jRCP73b2ahNt2v6AYMiS8bbBgHNVLQFDiUNsz3rWJRtoWV3ZhrkBPpHlwgYr; + expires=Wed, 21 Sep 2022 15:29:28 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=5vhy62on0f9m09tfp0rbyoaw9wz5s1tc; expires=Wed, 06 Oct 2021 15:29:28 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/5901f8db-2d74-4d93-bcb1-18fc816f2360/ + - https://api.cloudtruth.io/api/v1/projects/12951e75-0e45-4a73-804b-487a26ca04a7/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '255' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=SCTRc30VDZx2FmlHV2JhdvBnvpxY3PRltVZfyXpSz6iLnaXxkZkodSX0jS8U4aij; - expires=Tue, 02 Aug 2022 19:32:25 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=wu9cl9g1f4mf9t9ss4yrgaxx0hcatde7; expires=Tue, 17 Aug 2021 19:32:25 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/5901f8db-2d74-4d93-bcb1-18fc816f2360/","id":"5901f8db-2d74-4d93-bcb1-18fc816f2360","name":"TestProject","description":"","created_at":"2021-08-03T19:32:25.401699Z","modified_at":"2021-08-03T19:32:25.401735Z"}' - recorded_at: Tue, 03 Aug 2021 19:32:25 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/12951e75-0e45-4a73-804b-487a26ca04a7/","id":"12951e75-0e45-4a73-804b-487a26ca04a7","name":"TestProject","description":"","created_at":"2021-09-22T15:29:28.570160Z","modified_at":"2021-09-22T15:29:28.570160Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:28 GMT - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -164,7 +199,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -176,39 +211,58 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:26 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:29 GMT Content-Type: - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=PUK1H5e0sTzhrkFc1pkwG8hgWYZEV99F9yraKi63MkgcCE3uC5i2pLJIdTWQZcQ5cNO1Eo+XANBp4z3dcdmRFBVp8ZeF1Pnahbwg749OBzE+M8p/dDwuO5+IzRji; + Expires=Wed, 29 Sep 2021 15:29:28 GMT; Path=/ + - AWSALBCORS=PUK1H5e0sTzhrkFc1pkwG8hgWYZEV99F9yraKi63MkgcCE3uC5i2pLJIdTWQZcQ5cNO1Eo+XANBp4z3dcdmRFBVp8ZeF1Pnahbwg749OBzE+M8p/dDwuO5+IzRji; + Expires=Wed, 29 Sep 2021 15:29:28 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=4hzP80TdHQhqaMc4E7d+P40eM9vnh1gbYCvh0TcE5MbKlBobpKA0qqKpZlrqts4PkG0ZhDOWWtyexTHZBVSJLi9lQMwgtwSWO7L2fWRfR3RCaDtZUyzJD3H80lHH/MA3htTj0QgioPnqRA9SzYdmt5Vpzm0dMH61Z7gJYzI4HL80; + Expires=Wed, 29 Sep 2021 15:29:28 GMT; Path=/ + - AWSALBTGCORS=4hzP80TdHQhqaMc4E7d+P40eM9vnh1gbYCvh0TcE5MbKlBobpKA0qqKpZlrqts4PkG0ZhDOWWtyexTHZBVSJLi9lQMwgtwSWO7L2fWRfR3RCaDtZUyzJD3H80lHH/MA3htTj0QgioPnqRA9SzYdmt5Vpzm0dMH61Z7gJYzI4HL80; + Expires=Wed, 29 Sep 2021 15:29:28 GMT; Path=/; SameSite=None; Secure + - csrftoken=nym8bDm2TOxhCeVd01aViy7zTnRTRZqXnwAclSmNAvn8g0k9iAvUHCP1DsPKGc3l; + expires=Wed, 21 Sep 2022 15:29:29 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=s5l5os7i2vyx5mwbf0gacue5gezux2ot; expires=Wed, 06 Oct 2021 15:29:29 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '610' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=3KuKYuxNO1QLbCSPSs5fGpmT0w0yZ0RP2GEs0dRsKfaqLVLEkF9utEj82ENx6XIA; - expires=Tue, 02 Aug 2022 19:32:26 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=1qrr5wl6osdfwlrfd74xixnyn0nnvwfd; expires=Tue, 17 Aug 2021 19:32:26 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/5901f8db-2d74-4d93-bcb1-18fc816f2360/","id":"5901f8db-2d74-4d93-bcb1-18fc816f2360","name":"TestProject","description":"","created_at":"2021-08-03T19:32:25.401699Z","modified_at":"2021-08-03T19:32:25.401735Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:32:26 GMT + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/12951e75-0e45-4a73-804b-487a26ca04a7/","id":"12951e75-0e45-4a73-804b-487a26ca04a7","name":"TestProject","description":"","created_at":"2021-09-22T15:29:28.570160Z","modified_at":"2021-09-22T15:29:28.570160Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:28 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/5901f8db-2d74-4d93-bcb1-18fc816f2360/parameters/ + uri: https://api.cloudtruth.io/api/v1/projects/12951e75-0e45-4a73-804b-487a26ca04a7/parameters/ body: encoding: UTF-8 string: '{"name":"one"}' @@ -216,7 +270,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -228,40 +282,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:27 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:29 GMT Content-Type: - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=TZsNOZ+tOcCPcrnmJyDxUYHdrTSA1UHmpVtyfCcd+4n388T5dCccmthgu96ZNYL2qTjrtYs8NUVFyPUtJk6YA6raaELcXsDZpQQXYLKQG4GLSZl0gigTseALzNcq; + Expires=Wed, 29 Sep 2021 15:29:29 GMT; Path=/ + - AWSALBCORS=TZsNOZ+tOcCPcrnmJyDxUYHdrTSA1UHmpVtyfCcd+4n388T5dCccmthgu96ZNYL2qTjrtYs8NUVFyPUtJk6YA6raaELcXsDZpQQXYLKQG4GLSZl0gigTseALzNcq; + Expires=Wed, 29 Sep 2021 15:29:29 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=UgWn8eGqypMoXo2Q7m5E8Fmghfpkp4HoNZQz/5mhFpMGgtJMYsTyb5T7yGhdOvgsella1vIW02IKn/jQMqElw3IscRrga2XRFsJxuTTeKvhna6gP8HwuabJcz1UdVLPf5Tzs2HmX2ME4htFBEh2HO/fz4nnbqnUPKnTKFki5RoEj; + Expires=Wed, 29 Sep 2021 15:29:29 GMT; Path=/ + - AWSALBTGCORS=UgWn8eGqypMoXo2Q7m5E8Fmghfpkp4HoNZQz/5mhFpMGgtJMYsTyb5T7yGhdOvgsella1vIW02IKn/jQMqElw3IscRrga2XRFsJxuTTeKvhna6gP8HwuabJcz1UdVLPf5Tzs2HmX2ME4htFBEh2HO/fz4nnbqnUPKnTKFki5RoEj; + Expires=Wed, 29 Sep 2021 15:29:29 GMT; Path=/; SameSite=None; Secure + - csrftoken=OFS2zmASls8PGilxLzFudqN4tDpUMU223693Xe0knHndT4tFt3S9SsTTzUR010Y8; + expires=Wed, 21 Sep 2022 15:29:29 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=1ij2q3a3bhpsn0obb8qlk70er5g5af72; expires=Wed, 06 Oct 2021 15:29:29 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/5901f8db-2d74-4d93-bcb1-18fc816f2360/parameters/6919c98e-c254-4bf8-87d1-c1a55fe76c71/ + - https://api.cloudtruth.io/api/v1/projects/12951e75-0e45-4a73-804b-487a26ca04a7/parameters/385060cc-32dc-472e-b206-db9f44e9c628/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '688' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=9RuFOj2u4erAlJQuxPNVfmQF8LW2JKNuI3Xe1TM9d8shun2l7tnu3TGOaaMR9lhV; - expires=Tue, 02 Aug 2022 19:32:27 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=7o9791zi76w9tesrav8jn4xwb5m62gr1; expires=Tue, 17 Aug 2021 19:32:27 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/5901f8db-2d74-4d93-bcb1-18fc816f2360/parameters/6919c98e-c254-4bf8-87d1-c1a55fe76c71/","id":"6919c98e-c254-4bf8-87d1-c1a55fe76c71","name":"one","description":"","secret":false,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null,"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/":null,"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/":null,"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/":null},"created_at":"2021-08-03T19:32:27.245518Z","modified_at":"2021-08-03T19:32:27.245556Z"}' - recorded_at: Tue, 03 Aug 2021 19:32:27 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/12951e75-0e45-4a73-804b-487a26ca04a7/parameters/385060cc-32dc-472e-b206-db9f44e9c628/","id":"385060cc-32dc-472e-b206-db9f44e9c628","name":"one","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:29.463883Z","modified_at":"2021-09-22T15:29:29.463883Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:29 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/5901f8db-2d74-4d93-bcb1-18fc816f2360/parameters/ + uri: https://api.cloudtruth.io/api/v1/projects/12951e75-0e45-4a73-804b-487a26ca04a7/parameters/ body: encoding: UTF-8 string: '{"name":"two"}' @@ -269,7 +331,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -281,40 +343,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:28 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:30 GMT Content-Type: - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=8eh1sAuvVXXugGxhxOdtYGsX0p1WahnzViByLolTX8hvJVpOyYLMSXbEFcnASOm21gQIRBNkyiGgazFnbSqPUHUiKQXUFb8RwphhxwsFKCT8bdmH3kV0TzAMTuQB; + Expires=Wed, 29 Sep 2021 15:29:29 GMT; Path=/ + - AWSALBCORS=8eh1sAuvVXXugGxhxOdtYGsX0p1WahnzViByLolTX8hvJVpOyYLMSXbEFcnASOm21gQIRBNkyiGgazFnbSqPUHUiKQXUFb8RwphhxwsFKCT8bdmH3kV0TzAMTuQB; + Expires=Wed, 29 Sep 2021 15:29:29 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=IWONAKF/ExnxZ770TZD3WJwhnqetL8SikAnu3IurdCyVXppBsZ1/cfzeFf90zq59PVqbw3rAbFoNySv8pEkh4G0wFsuWztc6hfeXQwN8BRTapXK3zTK1OqkKds808NY8pNYpHq653dehR/JTWvKT2cYEvZlZXm2tAqX+JiiHOXWa; + Expires=Wed, 29 Sep 2021 15:29:29 GMT; Path=/ + - AWSALBTGCORS=IWONAKF/ExnxZ770TZD3WJwhnqetL8SikAnu3IurdCyVXppBsZ1/cfzeFf90zq59PVqbw3rAbFoNySv8pEkh4G0wFsuWztc6hfeXQwN8BRTapXK3zTK1OqkKds808NY8pNYpHq653dehR/JTWvKT2cYEvZlZXm2tAqX+JiiHOXWa; + Expires=Wed, 29 Sep 2021 15:29:29 GMT; Path=/; SameSite=None; Secure + - csrftoken=w3BSziInh5l8IO0CSmDVWpOrjp2KE3InLrmqd7s14xaeJR5nLuFF9SBFagUlBIq6; + expires=Wed, 21 Sep 2022 15:29:30 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=0p7gv9nutbi0ufhhvcfmye2m6j6sqhnx; expires=Wed, 06 Oct 2021 15:29:30 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/5901f8db-2d74-4d93-bcb1-18fc816f2360/parameters/432e9053-7464-4ec3-8ccc-b4cacccea388/ + - https://api.cloudtruth.io/api/v1/projects/12951e75-0e45-4a73-804b-487a26ca04a7/parameters/b5ebfa7a-e90f-4d87-8db1-6be7a57e8256/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '688' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=5JC4cidk3QE4mIKZYfvCAiZGf0Y7yPpj7lOpwAWNtItPIT3QYYugH1gOeVVZ7SwY; - expires=Tue, 02 Aug 2022 19:32:28 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=hytquf56l5m1vgykmxl4qkoi0bc8t1v2; expires=Tue, 17 Aug 2021 19:32:28 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/5901f8db-2d74-4d93-bcb1-18fc816f2360/parameters/432e9053-7464-4ec3-8ccc-b4cacccea388/","id":"432e9053-7464-4ec3-8ccc-b4cacccea388","name":"two","description":"","secret":false,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null,"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/":null,"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/":null,"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/":null},"created_at":"2021-08-03T19:32:28.299513Z","modified_at":"2021-08-03T19:32:28.299554Z"}' - recorded_at: Tue, 03 Aug 2021 19:32:28 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/12951e75-0e45-4a73-804b-487a26ca04a7/parameters/b5ebfa7a-e90f-4d87-8db1-6be7a57e8256/","id":"b5ebfa7a-e90f-4d87-8db1-6be7a57e8256","name":"two","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:30.099345Z","modified_at":"2021-09-22T15:29:30.099345Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:29 GMT - request: method: get - uri: https://localhost:8000/api/v1/environments/ + uri: https://api.cloudtruth.io/api/v1/environments/ body: encoding: US-ASCII string: '' @@ -322,7 +392,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -334,42 +404,51 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:29 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:30 GMT Content-Type: - application/json + Content-Length: + - '3328' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=cilWduyzjW7QazuOSwc1ny9C4jBs5BAUZIRzlOvtclZrMFoTTqkuYcHa6y/ZZFDIoUGQS0BcvB2tDdsdOBJEGkp+uznAWIKWemfZKlgVPxGY+b3pvE9a/82+awME; + Expires=Wed, 29 Sep 2021 15:29:30 GMT; Path=/ + - AWSALBCORS=cilWduyzjW7QazuOSwc1ny9C4jBs5BAUZIRzlOvtclZrMFoTTqkuYcHa6y/ZZFDIoUGQS0BcvB2tDdsdOBJEGkp+uznAWIKWemfZKlgVPxGY+b3pvE9a/82+awME; + Expires=Wed, 29 Sep 2021 15:29:30 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=S7I8kXbkXrXXTXtPAS9x3CgMw/EjreJPDzbjhzSBYZSKBZkLiaSgbcpS6ZSR9QH48QyrltAah9VRcsEOYqhHnhjIiFrMiwCwDNnARJFtZl7MspG129wzWEJ7pDbqyPSfv2KQRh10trvh/Sj2msBgBA+oTS/tPCcvSD4f2xYS/oo+; + Expires=Wed, 29 Sep 2021 15:29:30 GMT; Path=/ + - AWSALBTGCORS=S7I8kXbkXrXXTXtPAS9x3CgMw/EjreJPDzbjhzSBYZSKBZkLiaSgbcpS6ZSR9QH48QyrltAah9VRcsEOYqhHnhjIiFrMiwCwDNnARJFtZl7MspG129wzWEJ7pDbqyPSfv2KQRh10trvh/Sj2msBgBA+oTS/tPCcvSD4f2xYS/oo+; + Expires=Wed, 29 Sep 2021 15:29:30 GMT; Path=/; SameSite=None; Secure + - csrftoken=1tsgoxfW3soQKVuzHyyftTATJOA4DkA7dSZbQgeZIW9Rn2jGrS899IpF1hosNdpC; + expires=Wed, 21 Sep 2022 15:29:30 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=bzbe40pj4wwyby7hhc8c55gyqspsm4yj; expires=Wed, 06 Oct 2021 15:29:30 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '1516' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=n2DpOVtgE38VvctAH6pEsOkmuxwY3caQ68TRhdUNRpafI5WCownBkHITux7PrJxP; - expires=Tue, 02 Aug 2022 19:32:29 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=4xi6zpqi8aw5gith3bg7pi1v488fkn78; expires=Tue, 17 Aug 2021 19:32:29 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":4,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","id":"3ce72447-641f-418d-a12a-71173a56ffca","name":"default","description":"Default - environment, base for all environments.","parent":null,"created_at":"2021-08-02T14:22:36.043828Z","modified_at":"2021-08-03T19:31:39.869473Z"},{"url":"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/","id":"0293a31b-70a7-458c-afe4-162fa9febc1e","name":"development","description":"Development - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.086474Z","modified_at":"2021-08-03T19:17:02.248188Z"},{"url":"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/","id":"d5a11b75-2690-4363-83a3-873f3a98cef8","name":"production","description":"Production - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.142958Z","modified_at":"2021-08-02T14:22:36.143017Z"},{"url":"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/","id":"5694a5f3-a09c-40f1-b40b-74f260508516","name":"staging","description":"Staging - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.114024Z","modified_at":"2021-08-02T14:22:36.114565Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:32:29 GMT + string: '{"count":9,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","id":"e8bc190d-0354-4e66-91c9-64501e501ec5","name":"default","description":"The + auto-generated default environment.","parent":null,"created_at":"2021-07-20T18:14:09.023022Z","modified_at":"2021-09-22T15:27:37.933625Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","id":"c4de304d-5dd4-4a41-80ec-9a469f1aa4f5","name":"development","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.035255Z","modified_at":"2021-09-22T14:27:50.149570Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/","id":"12b9c81b-9002-423b-9ca7-22cece646d07","name":"dev-matt","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","created_at":"2021-07-21T19:53:37.534082Z","modified_at":"2021-07-26T22:01:23.472634Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/","id":"2281d9da-8376-4f45-baf2-372a71260dfa","name":"europe","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","created_at":"2021-07-21T19:53:47.438517Z","modified_at":"2021-07-26T22:01:29.331661Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/","id":"c99d6ab9-4674-4f76-bb43-da0b19124e18","name":"local","description":"for + local development","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-21T19:53:50.000541Z","modified_at":"2021-07-26T22:01:32.150839Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/","id":"ef133a2e-3c9c-4229-a509-e56332baff40","name":"ops","description":"The + ops environment - infrastructure that acts as the entry point to the other + environment''s infrastructure","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-21T20:05:10.325110Z","modified_at":"2021-07-26T22:01:35.184068Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","id":"cde7cf9d-8bf2-46cb-9e97-dee9b99e4335","name":"production","description":"for + real","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.058957Z","modified_at":"2021-09-15T19:15:15.144679Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/","id":"e4399ff4-a962-451b-adfb-7e504ad6bb6d","name":"staging","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.047049Z","modified_at":"2021-07-26T18:46:21.385162Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/","id":"3afc0523-4722-4fa1-aaea-5d49beaa284d","name":"usa","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","created_at":"2021-07-21T20:05:24.767679Z","modified_at":"2021-07-26T18:44:51.186840Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:30 GMT - request: method: get - uri: https://localhost:8000/api/v1/projects/5901f8db-2d74-4d93-bcb1-18fc816f2360/parameters/?environment=3ce72447-641f-418d-a12a-71173a56ffca + uri: https://api.cloudtruth.io/api/v1/projects/12951e75-0e45-4a73-804b-487a26ca04a7/parameters/?environment=e8bc190d-0354-4e66-91c9-64501e501ec5 body: encoding: US-ASCII string: '' @@ -377,7 +456,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -389,33 +468,41 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:31 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:31 GMT Content-Type: - application/json + Content-Length: + - '967' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=F11YzUvZa6AxpG/GMMpFzL1jS06IlMG196TqDhIwjXXJlp0vj7sIZL3JH6Gj8HPAKwEYKswd1JccTx0ONAGXtQXT5EcoY4HFBkSk6dRPey2MC1EPAyqWlf36A0Ma; + Expires=Wed, 29 Sep 2021 15:29:30 GMT; Path=/ + - AWSALBCORS=F11YzUvZa6AxpG/GMMpFzL1jS06IlMG196TqDhIwjXXJlp0vj7sIZL3JH6Gj8HPAKwEYKswd1JccTx0ONAGXtQXT5EcoY4HFBkSk6dRPey2MC1EPAyqWlf36A0Ma; + Expires=Wed, 29 Sep 2021 15:29:30 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=ZYZ4SHOhO9NpokcmIlAoATHUrY7V13C7mApHoGYpzgvvuyZah4kz0pV6HPBelIstt+h3L5GzUsW9wmXhUYTGrOZFtbr5EoOgXLiYINIR60wO/RQGgJyvHePNBf4z57ua/Qw1ntjcqv3jSoH0ZHVV/Hth23HV2ikIfbvmx6sokdJL; + Expires=Wed, 29 Sep 2021 15:29:30 GMT; Path=/ + - AWSALBTGCORS=ZYZ4SHOhO9NpokcmIlAoATHUrY7V13C7mApHoGYpzgvvuyZah4kz0pV6HPBelIstt+h3L5GzUsW9wmXhUYTGrOZFtbr5EoOgXLiYINIR60wO/RQGgJyvHePNBf4z57ua/Qw1ntjcqv3jSoH0ZHVV/Hth23HV2ikIfbvmx6sokdJL; + Expires=Wed, 29 Sep 2021 15:29:30 GMT; Path=/; SameSite=None; Secure + - csrftoken=eQhPBWUGQpPPMBAVmKi10AXTSHXRbci7QzvS0OUQM9WCNH0z2QB5XPTVxIRxgbEh; + expires=Wed, 21 Sep 2022 15:29:31 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=buvgpuhm3s039vlb8q0yyzijup179nqb; expires=Wed, 06 Oct 2021 15:29:31 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '901' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=Dc18We12pfdslTz61qvRcYOCPFbhKlBSeuPu5LG4CiilQCdMhU6bthA6G79zmRRs; - expires=Tue, 02 Aug 2022 19:32:31 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=v4wxyg2x4c4c1jajaahhnfzawsbprpki; expires=Tue, 17 Aug 2021 19:32:31 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/5901f8db-2d74-4d93-bcb1-18fc816f2360/parameters/6919c98e-c254-4bf8-87d1-c1a55fe76c71/","id":"6919c98e-c254-4bf8-87d1-c1a55fe76c71","name":"one","description":"","secret":false,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null},"created_at":"2021-08-03T19:32:27.245518Z","modified_at":"2021-08-03T19:32:27.245556Z"},{"url":"https://localhost:8000/api/v1/projects/5901f8db-2d74-4d93-bcb1-18fc816f2360/parameters/432e9053-7464-4ec3-8ccc-b4cacccea388/","id":"432e9053-7464-4ec3-8ccc-b4cacccea388","name":"two","description":"","secret":false,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null},"created_at":"2021-08-03T19:32:28.299513Z","modified_at":"2021-08-03T19:32:28.299554Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:32:31 GMT + string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/12951e75-0e45-4a73-804b-487a26ca04a7/parameters/385060cc-32dc-472e-b206-db9f44e9c628/","id":"385060cc-32dc-472e-b206-db9f44e9c628","name":"one","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null},"created_at":"2021-09-22T15:29:29.463883Z","modified_at":"2021-09-22T15:29:29.463883Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/12951e75-0e45-4a73-804b-487a26ca04a7/parameters/b5ebfa7a-e90f-4d87-8db1-6be7a57e8256/","id":"b5ebfa7a-e90f-4d87-8db1-6be7a57e8256","name":"two","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null},"created_at":"2021-09-22T15:29:30.099345Z","modified_at":"2021-09-22T15:29:30.099345Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:30 GMT recorded_with: VCR 6.0.0 diff --git a/spec/fixtures/vcr/Kubetruth_CtApi/_parameters/gets_types_with_parameters.yml b/spec/fixtures/vcr/Kubetruth_CtApi/_parameters/gets_types_with_parameters.yml new file mode 100644 index 0000000..78043ee --- /dev/null +++ b/spec/fixtures/vcr/Kubetruth_CtApi/_parameters/gets_types_with_parameters.yml @@ -0,0 +1,752 @@ +--- +http_interactions: +- request: + method: get + uri: https://api.cloudtruth.io/api/v1/projects/ + body: + encoding: US-ASCII + string: '' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 22 Sep 2021 15:29:44 GMT + Content-Type: + - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=vZn08OnThWLXo+om18289gtt4iq1UPZ69yhDoHfnN6KZp+6wHvEUF77ShbrgKdXe+V0e5VguxScwnbHGiB6bY8b3lJ7/RCVi4vfALrANXALnv9qIL85z4nIP4ZNX; + Expires=Wed, 29 Sep 2021 15:29:44 GMT; Path=/ + - AWSALBCORS=vZn08OnThWLXo+om18289gtt4iq1UPZ69yhDoHfnN6KZp+6wHvEUF77ShbrgKdXe+V0e5VguxScwnbHGiB6bY8b3lJ7/RCVi4vfALrANXALnv9qIL85z4nIP4ZNX; + Expires=Wed, 29 Sep 2021 15:29:44 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=EZQfKzX6k935HkBllwRoaZ7oduxz2XHB8ZFJmawgo1sD7y6Qaili/QzFf5RhVPLYfSt+fsjkHusnVE/V5seblagKgpeGUYQ32QCCw3EmLi8NhziRYkuzxgJ8Z0dhQ9JPtkeU21fHNRTMpfFurRM7tk46hi63Hl2cROokQLvMprwr; + Expires=Wed, 29 Sep 2021 15:29:44 GMT; Path=/ + - AWSALBTGCORS=EZQfKzX6k935HkBllwRoaZ7oduxz2XHB8ZFJmawgo1sD7y6Qaili/QzFf5RhVPLYfSt+fsjkHusnVE/V5seblagKgpeGUYQ32QCCw3EmLi8NhziRYkuzxgJ8Z0dhQ9JPtkeU21fHNRTMpfFurRM7tk46hi63Hl2cROokQLvMprwr; + Expires=Wed, 29 Sep 2021 15:29:44 GMT; Path=/; SameSite=None; Secure + - csrftoken=yfUWsUhucYZ97bG1RbU3NLAL0JYXPj9UMT9EP43oJm6WtjqLCHg4GB5JaHSfqlTU; + expires=Wed, 21 Sep 2022 15:29:44 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=umdp9pdpdlm2wr182i2wnedjkzzja0r4; expires=Wed, 06 Oct 2021 15:29:44 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/","id":"5d437426-ac58-4d82-9525-e5c11ca23add","name":"TestProject","description":"","created_at":"2021-09-22T15:29:38.356083Z","modified_at":"2021-09-22T15:29:42.711247Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:44 GMT +- request: + method: delete + uri: https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/ + body: + encoding: US-ASCII + string: '' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 204 + message: No Content + headers: + Date: + - Wed, 22 Sep 2021 15:29:44 GMT + Content-Length: + - '0' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=P9Sxx/hgIL5IDvjP67HHW4udnZYcCC/HyDSvCN9+/BuGCMKpiWESaTT9J9P8NuWAgki7khABwGNfiksl6wqp3ZFQv72JvkpyTYkLa+rFLjXpHPBxJVpg1LswEj7q; + Expires=Wed, 29 Sep 2021 15:29:44 GMT; Path=/ + - AWSALBCORS=P9Sxx/hgIL5IDvjP67HHW4udnZYcCC/HyDSvCN9+/BuGCMKpiWESaTT9J9P8NuWAgki7khABwGNfiksl6wqp3ZFQv72JvkpyTYkLa+rFLjXpHPBxJVpg1LswEj7q; + Expires=Wed, 29 Sep 2021 15:29:44 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=SeyJLt+M5gscHSHqHpyiafVwvyNHOkKliBFzpyyr/y4iF1fK7yUshsZ3Lq7ZgHJdrJDXH3Uf+7Lb7yxDp3o5ly5iX6XLIRCZrhoWWYOIzds529wkRZEIw8ZBBLmCQmwDu8PVdniuyuE35W9nCp1IECg0IcAJsp47uaYaXNCqOOH1; + Expires=Wed, 29 Sep 2021 15:29:44 GMT; Path=/ + - AWSALBTGCORS=SeyJLt+M5gscHSHqHpyiafVwvyNHOkKliBFzpyyr/y4iF1fK7yUshsZ3Lq7ZgHJdrJDXH3Uf+7Lb7yxDp3o5ly5iX6XLIRCZrhoWWYOIzds529wkRZEIw8ZBBLmCQmwDu8PVdniuyuE35W9nCp1IECg0IcAJsp47uaYaXNCqOOH1; + Expires=Wed, 29 Sep 2021 15:29:44 GMT; Path=/; SameSite=None; Secure + - csrftoken=tmZv03scVaUoPu0k1Q4tpby55mNZUL30KTVW1bjBoH78ep5of4gSfuqpQZYoW65Q; + expires=Wed, 21 Sep 2022 15:29:44 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=3xerm9rlj1ci2zypq0xzlu46fx38vykt; expires=Wed, 06 Oct 2021 15:29:44 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Vary: + - Accept, Cookie, Origin + Allow: + - GET, PUT, PATCH, DELETE, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '' + recorded_at: Wed, 22 Sep 2021 15:29:44 GMT +- request: + method: post + uri: https://api.cloudtruth.io/api/v1/projects/ + body: + encoding: UTF-8 + string: '{"name":"TestProject"}' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Wed, 22 Sep 2021 15:29:45 GMT + Content-Type: + - application/json + Content-Length: + - '258' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=Qi6VPhEQtKdYpCfwP9fCoh/WzzV+3MyLcP1ntcuMU3+WO8qobfyXUos4b0Ts/PuaMh+xpZ55MJxFooneW7etcg8gOxyfipUCg6p7/GVaPcr9ovKuqHAgU2ZVLOwh; + Expires=Wed, 29 Sep 2021 15:29:44 GMT; Path=/ + - AWSALBCORS=Qi6VPhEQtKdYpCfwP9fCoh/WzzV+3MyLcP1ntcuMU3+WO8qobfyXUos4b0Ts/PuaMh+xpZ55MJxFooneW7etcg8gOxyfipUCg6p7/GVaPcr9ovKuqHAgU2ZVLOwh; + Expires=Wed, 29 Sep 2021 15:29:44 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=SF3c6CTS+GsSkd7fpqsnXXRiV5H6CKcnCKhjrUA2896OKs6FE2pCQbJNePZBAD3DgO9hmiVHYlJ/umL8elKTZPEwUSWIDhcXfC4yMxW1gLm6Hh6HqNN6sfEQ1ng7IDi5HjLoLeoK56OhqvzCPoC6smps8NvNT9sxWJUcPwAg3P8D; + Expires=Wed, 29 Sep 2021 15:29:44 GMT; Path=/ + - AWSALBTGCORS=SF3c6CTS+GsSkd7fpqsnXXRiV5H6CKcnCKhjrUA2896OKs6FE2pCQbJNePZBAD3DgO9hmiVHYlJ/umL8elKTZPEwUSWIDhcXfC4yMxW1gLm6Hh6HqNN6sfEQ1ng7IDi5HjLoLeoK56OhqvzCPoC6smps8NvNT9sxWJUcPwAg3P8D; + Expires=Wed, 29 Sep 2021 15:29:44 GMT; Path=/; SameSite=None; Secure + - csrftoken=CdRN39SAdYSigi4w7KWEbGA6BHQPRNEGUMZF185AdDQMb36it1fdwT7ulchnp3rX; + expires=Wed, 21 Sep 2022 15:29:45 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=0lde2liuhn2ocxk6xauzstji3rpwtl98; expires=Wed, 06 Oct 2021 15:29:45 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Location: + - https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/ + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/","id":"3d902f88-cf7b-4fa8-8430-2241ea665381","name":"TestProject","description":"","created_at":"2021-09-22T15:29:45.351374Z","modified_at":"2021-09-22T15:29:45.351374Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:45 GMT +- request: + method: get + uri: https://api.cloudtruth.io/api/v1/projects/ + body: + encoding: US-ASCII + string: '' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 22 Sep 2021 15:29:45 GMT + Content-Type: + - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=I2K/DKyTCdHQHNFnIGA/w9KrlQMTVED1JBvQZIChkKy+cDmv7PynfQlSKBR4Lfc7bqNHqH4dKzfgd5FrFoz/dJy1VdzS5i//2TXoMTOa5Fcd2QUoSX0NN+PLtQQG; + Expires=Wed, 29 Sep 2021 15:29:45 GMT; Path=/ + - AWSALBCORS=I2K/DKyTCdHQHNFnIGA/w9KrlQMTVED1JBvQZIChkKy+cDmv7PynfQlSKBR4Lfc7bqNHqH4dKzfgd5FrFoz/dJy1VdzS5i//2TXoMTOa5Fcd2QUoSX0NN+PLtQQG; + Expires=Wed, 29 Sep 2021 15:29:45 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=jp1g6ZTY0ui+CaHkWPu6NY4PbW9hwtkZbPNAjLj6dU6nQAgFUiOxlAQXsI9Y6y+FCG2VjoeAtWzuO8y9K8o55NudwHFR7s5iXSu0sd3ocf05jJGVWEgmj1rCNg+KzAxFdGM7+esDqobfAvcsoP8zf0Ed9G2ZxY7sAJirO3uJelUp; + Expires=Wed, 29 Sep 2021 15:29:45 GMT; Path=/ + - AWSALBTGCORS=jp1g6ZTY0ui+CaHkWPu6NY4PbW9hwtkZbPNAjLj6dU6nQAgFUiOxlAQXsI9Y6y+FCG2VjoeAtWzuO8y9K8o55NudwHFR7s5iXSu0sd3ocf05jJGVWEgmj1rCNg+KzAxFdGM7+esDqobfAvcsoP8zf0Ed9G2ZxY7sAJirO3uJelUp; + Expires=Wed, 29 Sep 2021 15:29:45 GMT; Path=/; SameSite=None; Secure + - csrftoken=e4MSE68mKFi4LTJhB6AREU8GMCN5G2lcWNnD43o4MbcVelC41KoRnlDmMgSQSZPP; + expires=Wed, 21 Sep 2022 15:29:45 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=ry5fldbfx5awjc2mcot2y4ngsg41ftby; expires=Wed, 06 Oct 2021 15:29:45 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/","id":"3d902f88-cf7b-4fa8-8430-2241ea665381","name":"TestProject","description":"","created_at":"2021-09-22T15:29:45.351374Z","modified_at":"2021-09-22T15:29:45.351374Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:45 GMT +- request: + method: post + uri: https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/ + body: + encoding: UTF-8 + string: '{"name":"one"}' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Wed, 22 Sep 2021 15:29:46 GMT + Content-Type: + - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=Mr10aAL6TP7FOcDtMFWgofU9RVnj7jM68+TpNtpXUinVCnpra01894YIwoucv0uTFqO0+XwcRPduZkT6Xrbude5ZeuUT4wlxO0aU8VeEuXPrEIWHRYpYKWMbWLtT; + Expires=Wed, 29 Sep 2021 15:29:45 GMT; Path=/ + - AWSALBCORS=Mr10aAL6TP7FOcDtMFWgofU9RVnj7jM68+TpNtpXUinVCnpra01894YIwoucv0uTFqO0+XwcRPduZkT6Xrbude5ZeuUT4wlxO0aU8VeEuXPrEIWHRYpYKWMbWLtT; + Expires=Wed, 29 Sep 2021 15:29:45 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=Dz3X09pMmHgF1KxhNmQLH3/dhcH/jQexd3Q4qVzQXXUX6J62vsP5EulU2hwfcCRT8qRlNg1OHzrFY/qLP1SQ2dhs8qY/I+5fM136RVoZV4vu2gSYqpOsTIwe5XdW2UNygrLnEQMelp+syh9ERSn2L2xoCDv7GyprW1IqU+jmRWcC; + Expires=Wed, 29 Sep 2021 15:29:45 GMT; Path=/ + - AWSALBTGCORS=Dz3X09pMmHgF1KxhNmQLH3/dhcH/jQexd3Q4qVzQXXUX6J62vsP5EulU2hwfcCRT8qRlNg1OHzrFY/qLP1SQ2dhs8qY/I+5fM136RVoZV4vu2gSYqpOsTIwe5XdW2UNygrLnEQMelp+syh9ERSn2L2xoCDv7GyprW1IqU+jmRWcC; + Expires=Wed, 29 Sep 2021 15:29:45 GMT; Path=/; SameSite=None; Secure + - csrftoken=2pljBVHsgjodim2DNt4XK1xnfmr1FwI5kn6QVsHgsFVTIpzsblmv1XRNL1b2TLIc; + expires=Wed, 21 Sep 2022 15:29:46 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=oz9z5xip0umdu1oopt692gmud9sxib58; expires=Wed, 06 Oct 2021 15:29:46 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Location: + - https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/1f9ad404-4cc6-441c-9f8a-48db87b10f58/ + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/1f9ad404-4cc6-441c-9f8a-48db87b10f58/","id":"1f9ad404-4cc6-441c-9f8a-48db87b10f58","name":"one","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:46.306897Z","modified_at":"2021-09-22T15:29:46.306897Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:46 GMT +- request: + method: post + uri: https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/ + body: + encoding: UTF-8 + string: '{"name":"two"}' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Wed, 22 Sep 2021 15:29:46 GMT + Content-Type: + - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=a8wZsUbVKt3nXGNEKTMQndgl7P4SvPxtfNGsgAEzlAc3BCnN1GfHDPAgLuTFyLHNGruCgglJIYCkEg4MHbLFf5YmKygtyOnajHAWb3Fo0hudlxbcGD3maeFJfjIL; + Expires=Wed, 29 Sep 2021 15:29:46 GMT; Path=/ + - AWSALBCORS=a8wZsUbVKt3nXGNEKTMQndgl7P4SvPxtfNGsgAEzlAc3BCnN1GfHDPAgLuTFyLHNGruCgglJIYCkEg4MHbLFf5YmKygtyOnajHAWb3Fo0hudlxbcGD3maeFJfjIL; + Expires=Wed, 29 Sep 2021 15:29:46 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=m1y8li+E1T6oOHR84KfWfqLYZBhDVns5ngQalb7lJpWWilu6hdsrLF0Ki2vl15lNMR7N8s4mrK5ODRupvvTu50iI2AzDstyBkjr3Ka5UDWCKlhSeEhOYLvuuDT0CDZ92zBdXGNMo8TGhXTIlos9xyn3e13UT058x6VUOU9CHFVpe; + Expires=Wed, 29 Sep 2021 15:29:46 GMT; Path=/ + - AWSALBTGCORS=m1y8li+E1T6oOHR84KfWfqLYZBhDVns5ngQalb7lJpWWilu6hdsrLF0Ki2vl15lNMR7N8s4mrK5ODRupvvTu50iI2AzDstyBkjr3Ka5UDWCKlhSeEhOYLvuuDT0CDZ92zBdXGNMo8TGhXTIlos9xyn3e13UT058x6VUOU9CHFVpe; + Expires=Wed, 29 Sep 2021 15:29:46 GMT; Path=/; SameSite=None; Secure + - csrftoken=aXG1zOj0W7NtNNheqPlqPKtvI2lhoKkceel8AmVBc0p9LLbhUqdZKlJZpB8F7PlF; + expires=Wed, 21 Sep 2022 15:29:46 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=5rvpqmekyz93tkp4rwlzv7uex5b11fi8; expires=Wed, 06 Oct 2021 15:29:46 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Location: + - https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/79f1468e-dd06-49c3-9856-bb93bb773924/ + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/79f1468e-dd06-49c3-9856-bb93bb773924/","id":"79f1468e-dd06-49c3-9856-bb93bb773924","name":"two","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:46.790663Z","modified_at":"2021-09-22T15:29:46.790663Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:46 GMT +- request: + method: post + uri: https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/ + body: + encoding: UTF-8 + string: '{"name":"bool_param","type":"bool"}' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Wed, 22 Sep 2021 15:29:47 GMT + Content-Type: + - application/json + Content-Length: + - '1190' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=wkREqwS0gqh58GrQXRNb4Coo8Zc3yUu1PKJZ1UOX1orMvYZqU8e4ahhwH8LJyV1EA+DSa1/GVyajGjywmkUu3uWOvyadnQ5eK/YaHZBRaFzqG+Q7fua8x1Azwtwj; + Expires=Wed, 29 Sep 2021 15:29:47 GMT; Path=/ + - AWSALBCORS=wkREqwS0gqh58GrQXRNb4Coo8Zc3yUu1PKJZ1UOX1orMvYZqU8e4ahhwH8LJyV1EA+DSa1/GVyajGjywmkUu3uWOvyadnQ5eK/YaHZBRaFzqG+Q7fua8x1Azwtwj; + Expires=Wed, 29 Sep 2021 15:29:47 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=i1piTzyxY0YOXe43d/k2qfejRkORajSXGjOaThlQzkhOR9Sekvnw3O7s56/T40qNW5NFCz5tD3U7bDc8V/5sSKB6Np+GsMIrt9rOzpyKigW5zVAdPCoUzSmTLRHXJFciKql5b9WVmFYaGgUEKIWALZbhjWs/z8j9+mZClbD9k8lz; + Expires=Wed, 29 Sep 2021 15:29:47 GMT; Path=/ + - AWSALBTGCORS=i1piTzyxY0YOXe43d/k2qfejRkORajSXGjOaThlQzkhOR9Sekvnw3O7s56/T40qNW5NFCz5tD3U7bDc8V/5sSKB6Np+GsMIrt9rOzpyKigW5zVAdPCoUzSmTLRHXJFciKql5b9WVmFYaGgUEKIWALZbhjWs/z8j9+mZClbD9k8lz; + Expires=Wed, 29 Sep 2021 15:29:47 GMT; Path=/; SameSite=None; Secure + - csrftoken=QKAKZ8XQEpTQRmipXRuMm2nz5C85rnjYcmkQZZVoPtBrErsDc0QxDE5jNmmIRKek; + expires=Wed, 21 Sep 2022 15:29:47 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=2f929ry6szgxf5hlec9hymunn5kcn4wd; expires=Wed, 06 Oct 2021 15:29:47 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Location: + - https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/d20b7b9b-f836-41c6-bb9f-8eab14ebd31a/ + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/d20b7b9b-f836-41c6-bb9f-8eab14ebd31a/","id":"d20b7b9b-f836-41c6-bb9f-8eab14ebd31a","name":"bool_param","description":"","secret":false,"type":"bool","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:47.251049Z","modified_at":"2021-09-22T15:29:47.251049Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:47 GMT +- request: + method: post + uri: https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/ + body: + encoding: UTF-8 + string: '{"name":"int_param","type":"integer"}' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Wed, 22 Sep 2021 15:29:47 GMT + Content-Type: + - application/json + Content-Length: + - '1192' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=BnG613PwT4i2DiOQa9vb6oZS8JXFGqZa2ESBoxBXqA3npab1jDVyNC9WWEq4lk20Mz2AucXn4/uOD+GVS8Np0oWbwBP38RzHspjrCMq5M2DqbeGjzH5GLHzGCvMO; + Expires=Wed, 29 Sep 2021 15:29:47 GMT; Path=/ + - AWSALBCORS=BnG613PwT4i2DiOQa9vb6oZS8JXFGqZa2ESBoxBXqA3npab1jDVyNC9WWEq4lk20Mz2AucXn4/uOD+GVS8Np0oWbwBP38RzHspjrCMq5M2DqbeGjzH5GLHzGCvMO; + Expires=Wed, 29 Sep 2021 15:29:47 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=ocniX0f8j0ktM9JFPK1pB7KTwDTeWk2k1qqHlL+N4SyUfQWIuS4HCGc2pcwY8mEBZ11NSugUqSWFXWddRNFKqy8LsJ/5Ggm/LQsk4AElzOoJqAUdQjP1wx7izOJ36jbRplS5GYs46E6Ai9sKV79bu6ow0mzWF8VcALMV9j+AmFk3; + Expires=Wed, 29 Sep 2021 15:29:47 GMT; Path=/ + - AWSALBTGCORS=ocniX0f8j0ktM9JFPK1pB7KTwDTeWk2k1qqHlL+N4SyUfQWIuS4HCGc2pcwY8mEBZ11NSugUqSWFXWddRNFKqy8LsJ/5Ggm/LQsk4AElzOoJqAUdQjP1wx7izOJ36jbRplS5GYs46E6Ai9sKV79bu6ow0mzWF8VcALMV9j+AmFk3; + Expires=Wed, 29 Sep 2021 15:29:47 GMT; Path=/; SameSite=None; Secure + - csrftoken=zlp8cnlFtK6uUvMu9lZvVPX53JlAGVFDZ9nJXuazDtvS3sanhHRILs4PDUjJjg6v; + expires=Wed, 21 Sep 2022 15:29:47 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=krb14d6d9496i0316i6igxd6fy9iyggz; expires=Wed, 06 Oct 2021 15:29:47 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Location: + - https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/696902ba-bdb1-4250-ad26-7f6de0855dea/ + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/696902ba-bdb1-4250-ad26-7f6de0855dea/","id":"696902ba-bdb1-4250-ad26-7f6de0855dea","name":"int_param","description":"","secret":false,"type":"integer","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:47.772153Z","modified_at":"2021-09-22T15:29:47.772153Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:47 GMT +- request: + method: get + uri: https://api.cloudtruth.io/api/v1/environments/ + body: + encoding: US-ASCII + string: '' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 22 Sep 2021 15:29:48 GMT + Content-Type: + - application/json + Content-Length: + - '3328' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=TWt1php5mGHuEcSOBkb/FTSJNvZk6kYZ2Ta1N0vW1lYXAP6NVuNXLvWz8fj4RmZ5wiW170B9FryyOOrPOpSMxO1Upz60S+3r6nNDIUPdT9DDl0Wvf2Vyf+emiju5; + Expires=Wed, 29 Sep 2021 15:29:48 GMT; Path=/ + - AWSALBCORS=TWt1php5mGHuEcSOBkb/FTSJNvZk6kYZ2Ta1N0vW1lYXAP6NVuNXLvWz8fj4RmZ5wiW170B9FryyOOrPOpSMxO1Upz60S+3r6nNDIUPdT9DDl0Wvf2Vyf+emiju5; + Expires=Wed, 29 Sep 2021 15:29:48 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=XczFeyne+/I8EEoqAPllPpDyZHsJsROq+vEPtLA7sWL6wSvOvgbYsAQdkNoIasMgKpQzF5bqagOTe+UhkafkoYX4uLSA5cT/d3jE5FiIXa+tgikUozZh5O1zWqzI+4hYJxuPgWxEzzoTtUPEd8e+R/b43+tZHuCmo7M6i2LZlI+R; + Expires=Wed, 29 Sep 2021 15:29:48 GMT; Path=/ + - AWSALBTGCORS=XczFeyne+/I8EEoqAPllPpDyZHsJsROq+vEPtLA7sWL6wSvOvgbYsAQdkNoIasMgKpQzF5bqagOTe+UhkafkoYX4uLSA5cT/d3jE5FiIXa+tgikUozZh5O1zWqzI+4hYJxuPgWxEzzoTtUPEd8e+R/b43+tZHuCmo7M6i2LZlI+R; + Expires=Wed, 29 Sep 2021 15:29:48 GMT; Path=/; SameSite=None; Secure + - csrftoken=jTCwHut8BcwVw6aI8mEvEduHyHK3upkwdV2J9ncUAgptAlCbQMSmtR5Rta5LcCUk; + expires=Wed, 21 Sep 2022 15:29:48 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=9hkhp5z6hv8k8o31fh1c3jmbkfcemtvu; expires=Wed, 06 Oct 2021 15:29:48 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"count":9,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","id":"e8bc190d-0354-4e66-91c9-64501e501ec5","name":"default","description":"The + auto-generated default environment.","parent":null,"created_at":"2021-07-20T18:14:09.023022Z","modified_at":"2021-09-22T15:29:42.163440Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","id":"c4de304d-5dd4-4a41-80ec-9a469f1aa4f5","name":"development","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.035255Z","modified_at":"2021-09-22T15:29:42.701230Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/","id":"12b9c81b-9002-423b-9ca7-22cece646d07","name":"dev-matt","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","created_at":"2021-07-21T19:53:37.534082Z","modified_at":"2021-07-26T22:01:23.472634Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/","id":"2281d9da-8376-4f45-baf2-372a71260dfa","name":"europe","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","created_at":"2021-07-21T19:53:47.438517Z","modified_at":"2021-07-26T22:01:29.331661Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/","id":"c99d6ab9-4674-4f76-bb43-da0b19124e18","name":"local","description":"for + local development","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-21T19:53:50.000541Z","modified_at":"2021-07-26T22:01:32.150839Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/","id":"ef133a2e-3c9c-4229-a509-e56332baff40","name":"ops","description":"The + ops environment - infrastructure that acts as the entry point to the other + environment''s infrastructure","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-21T20:05:10.325110Z","modified_at":"2021-07-26T22:01:35.184068Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","id":"cde7cf9d-8bf2-46cb-9e97-dee9b99e4335","name":"production","description":"for + real","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.058957Z","modified_at":"2021-09-15T19:15:15.144679Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/","id":"e4399ff4-a962-451b-adfb-7e504ad6bb6d","name":"staging","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.047049Z","modified_at":"2021-07-26T18:46:21.385162Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/","id":"3afc0523-4722-4fa1-aaea-5d49beaa284d","name":"usa","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","created_at":"2021-07-21T20:05:24.767679Z","modified_at":"2021-07-26T18:44:51.186840Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:48 GMT +- request: + method: post + uri: https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/d20b7b9b-f836-41c6-bb9f-8eab14ebd31a/values/ + body: + encoding: UTF-8 + string: '{"environment":"e8bc190d-0354-4e66-91c9-64501e501ec5","external":false,"internal_value":"true"}' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Wed, 22 Sep 2021 15:29:49 GMT + Content-Type: + - application/json + Content-Length: + - '831' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=87HU/FDgNnW4Y0GlUtyFYzL6pY+NvbF68Ps7SFk+XjC5+9xJ3fyaUI8f/BHCNRS355/MoMBDqMoh3QI3yyBc5YB/BkWLQTYn5mPtOO610y7frqFMAZvqIFh78LjV; + Expires=Wed, 29 Sep 2021 15:29:49 GMT; Path=/ + - AWSALBCORS=87HU/FDgNnW4Y0GlUtyFYzL6pY+NvbF68Ps7SFk+XjC5+9xJ3fyaUI8f/BHCNRS355/MoMBDqMoh3QI3yyBc5YB/BkWLQTYn5mPtOO610y7frqFMAZvqIFh78LjV; + Expires=Wed, 29 Sep 2021 15:29:49 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=JcpPNlH9xKh4ZV1G//tZxgVP6DMYo96AnAXT5P2rbZ8QRsCslsLvLb2pmddLysr/FwIij7syHFJh0OuslOGPQIoL08Qfh5cGQTliAnULtH627IOypKQ98ox/85/9nS5KrEMTW4FyJQVuVwer6DWp6J0qJlhhcNxc7RWivEPU16gG; + Expires=Wed, 29 Sep 2021 15:29:49 GMT; Path=/ + - AWSALBTGCORS=JcpPNlH9xKh4ZV1G//tZxgVP6DMYo96AnAXT5P2rbZ8QRsCslsLvLb2pmddLysr/FwIij7syHFJh0OuslOGPQIoL08Qfh5cGQTliAnULtH627IOypKQ98ox/85/9nS5KrEMTW4FyJQVuVwer6DWp6J0qJlhhcNxc7RWivEPU16gG; + Expires=Wed, 29 Sep 2021 15:29:49 GMT; Path=/; SameSite=None; Secure + - csrftoken=f906CqkNz8Eo48zRxxqEke1DycNfki5kR3CYEbts4H6qCpvzYx4JjIuw8FtwzXrS; + expires=Wed, 21 Sep 2022 15:29:49 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=uvlh7aa5pp80w71xwafn8vbee4uoztnj; expires=Wed, 06 Oct 2021 15:29:49 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Location: + - https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/d20b7b9b-f836-41c6-bb9f-8eab14ebd31a/values/98679ebd-5ad4-4a5a-967c-b3f679e81639/ + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/d20b7b9b-f836-41c6-bb9f-8eab14ebd31a/values/98679ebd-5ad4-4a5a-967c-b3f679e81639/","id":"98679ebd-5ad4-4a5a-967c-b3f679e81639","environment":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","environment_name":"default","earliest_tag":null,"parameter":"https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/d20b7b9b-f836-41c6-bb9f-8eab14ebd31a/","external":false,"external_fqn":"","external_filter":"","external_error":null,"internal_value":"true","value":"true","secret":false,"created_at":"2021-09-22T15:29:49.466555Z","modified_at":"2021-09-22T15:29:49.466555Z","static_value":"true","dynamic":false,"dynamic_error":null,"dynamic_filter":"","dynamic_fqn":""}' + recorded_at: Wed, 22 Sep 2021 15:29:49 GMT +- request: + method: post + uri: https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/696902ba-bdb1-4250-ad26-7f6de0855dea/values/ + body: + encoding: UTF-8 + string: '{"environment":"e8bc190d-0354-4e66-91c9-64501e501ec5","external":false,"internal_value":"3"}' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Wed, 22 Sep 2021 15:29:49 GMT + Content-Type: + - application/json + Content-Length: + - '822' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=2tFRsKjbmOKuIgI0a7qa9yxYugrjH3pF+Abd+hVSFhgJPeo8nNk0f893NDUoav/peL9DGYsI4aCjvAthIc9TG9dd/Uf220UBEKciR3tN3+FFLfc3wGr6+j7OjoaT; + Expires=Wed, 29 Sep 2021 15:29:49 GMT; Path=/ + - AWSALBCORS=2tFRsKjbmOKuIgI0a7qa9yxYugrjH3pF+Abd+hVSFhgJPeo8nNk0f893NDUoav/peL9DGYsI4aCjvAthIc9TG9dd/Uf220UBEKciR3tN3+FFLfc3wGr6+j7OjoaT; + Expires=Wed, 29 Sep 2021 15:29:49 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=X6AfNh2V4hBYHMPan+V4qfctwjL65GcDzYALkXli89uEJ7NXqeFzM5gsLc0JTROPGv+P6i3pvV6fuMDcBsbouKOsTld5JqI1HrehtCXlgdE5j5t0qnr6yiyphnzxStuznIs1n67xvwv7Ga7s5ltp815G+4XQeWmJOtGGdtiXDi4+; + Expires=Wed, 29 Sep 2021 15:29:49 GMT; Path=/ + - AWSALBTGCORS=X6AfNh2V4hBYHMPan+V4qfctwjL65GcDzYALkXli89uEJ7NXqeFzM5gsLc0JTROPGv+P6i3pvV6fuMDcBsbouKOsTld5JqI1HrehtCXlgdE5j5t0qnr6yiyphnzxStuznIs1n67xvwv7Ga7s5ltp815G+4XQeWmJOtGGdtiXDi4+; + Expires=Wed, 29 Sep 2021 15:29:49 GMT; Path=/; SameSite=None; Secure + - csrftoken=KLf99dfjfqHvHp3CpxBPXr5aZEv52k4HwB5T79lTgisCXwdRpLeoYWLeezMMqtGe; + expires=Wed, 21 Sep 2022 15:29:49 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=2y4q2di5ehsvn7e6x8zqrtjg1nvlgr4g; expires=Wed, 06 Oct 2021 15:29:49 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Location: + - https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/696902ba-bdb1-4250-ad26-7f6de0855dea/values/c66f1653-0a74-4a18-a6b4-2dd7cf3c46ac/ + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/696902ba-bdb1-4250-ad26-7f6de0855dea/values/c66f1653-0a74-4a18-a6b4-2dd7cf3c46ac/","id":"c66f1653-0a74-4a18-a6b4-2dd7cf3c46ac","environment":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","environment_name":"default","earliest_tag":null,"parameter":"https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/696902ba-bdb1-4250-ad26-7f6de0855dea/","external":false,"external_fqn":"","external_filter":"","external_error":null,"internal_value":"3","value":"3","secret":false,"created_at":"2021-09-22T15:29:49.930096Z","modified_at":"2021-09-22T15:29:49.930096Z","static_value":"3","dynamic":false,"dynamic_error":null,"dynamic_filter":"","dynamic_fqn":""}' + recorded_at: Wed, 22 Sep 2021 15:29:49 GMT +- request: + method: get + uri: https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/?environment=e8bc190d-0354-4e66-91c9-64501e501ec5 + body: + encoding: US-ASCII + string: '' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 22 Sep 2021 15:29:50 GMT + Content-Type: + - application/json + Content-Length: + - '3540' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=IYFK6u2KKmJvZDDDBq6+JcvIbVZMPcH/vhnctHQrrkVB+Cu/GLJfc7blmzIyHDyhHrJqDvrFQTC0fWYOuEDpaSfYWDcsAZETHWAqCgtahCC5CVJECYcy5yjvA2PA; + Expires=Wed, 29 Sep 2021 15:29:50 GMT; Path=/ + - AWSALBCORS=IYFK6u2KKmJvZDDDBq6+JcvIbVZMPcH/vhnctHQrrkVB+Cu/GLJfc7blmzIyHDyhHrJqDvrFQTC0fWYOuEDpaSfYWDcsAZETHWAqCgtahCC5CVJECYcy5yjvA2PA; + Expires=Wed, 29 Sep 2021 15:29:50 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=1BVpOlaHVZxdp2JX74efIrSt/C98slEOcoc7wiRpXdNpUvLK78QWQ3YIzdm4O7g/eOkSIMXrMWdWoz923XK2rxs1+jLi1Niw9P7cb2dfT2hjF47QqWTT1RMMsx7uo/bZrEYpnKrYpQR+zbI6dcFwV9OJ6xI8pfIbOGJ692I+yS8N; + Expires=Wed, 29 Sep 2021 15:29:50 GMT; Path=/ + - AWSALBTGCORS=1BVpOlaHVZxdp2JX74efIrSt/C98slEOcoc7wiRpXdNpUvLK78QWQ3YIzdm4O7g/eOkSIMXrMWdWoz923XK2rxs1+jLi1Niw9P7cb2dfT2hjF47QqWTT1RMMsx7uo/bZrEYpnKrYpQR+zbI6dcFwV9OJ6xI8pfIbOGJ692I+yS8N; + Expires=Wed, 29 Sep 2021 15:29:50 GMT; Path=/; SameSite=None; Secure + - csrftoken=afon0SKSHcKzzwB3z0NDvowMgZYw4fyHDnabBMJjSSkHXRPYSijlf6i00LuInF9L; + expires=Wed, 21 Sep 2022 15:29:50 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=bq5hlb02y1k17pyghjki02o104eogopy; expires=Wed, 06 Oct 2021 15:29:50 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"count":4,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/d20b7b9b-f836-41c6-bb9f-8eab14ebd31a/","id":"d20b7b9b-f836-41c6-bb9f-8eab14ebd31a","name":"bool_param","description":"","secret":false,"type":"bool","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":{"url":"https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/d20b7b9b-f836-41c6-bb9f-8eab14ebd31a/values/98679ebd-5ad4-4a5a-967c-b3f679e81639/","id":"98679ebd-5ad4-4a5a-967c-b3f679e81639","environment":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","environment_name":"default","earliest_tag":null,"parameter":"https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/d20b7b9b-f836-41c6-bb9f-8eab14ebd31a/","external":false,"external_fqn":"","external_filter":"","external_error":null,"internal_value":"true","value":"true","secret":false,"created_at":"2021-09-22T15:29:49.466555Z","modified_at":"2021-09-22T15:29:49.466555Z","static_value":"true","dynamic":false,"dynamic_error":null,"dynamic_filter":"","dynamic_fqn":""}},"created_at":"2021-09-22T15:29:47.251049Z","modified_at":"2021-09-22T15:29:49.486178Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/696902ba-bdb1-4250-ad26-7f6de0855dea/","id":"696902ba-bdb1-4250-ad26-7f6de0855dea","name":"int_param","description":"","secret":false,"type":"integer","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":{"url":"https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/696902ba-bdb1-4250-ad26-7f6de0855dea/values/c66f1653-0a74-4a18-a6b4-2dd7cf3c46ac/","id":"c66f1653-0a74-4a18-a6b4-2dd7cf3c46ac","environment":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","environment_name":"default","earliest_tag":null,"parameter":"https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/696902ba-bdb1-4250-ad26-7f6de0855dea/","external":false,"external_fqn":"","external_filter":"","external_error":null,"internal_value":"3","value":"3","secret":false,"created_at":"2021-09-22T15:29:49.930096Z","modified_at":"2021-09-22T15:29:49.930096Z","static_value":"3","dynamic":false,"dynamic_error":null,"dynamic_filter":"","dynamic_fqn":""}},"created_at":"2021-09-22T15:29:47.772153Z","modified_at":"2021-09-22T15:29:49.945519Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/1f9ad404-4cc6-441c-9f8a-48db87b10f58/","id":"1f9ad404-4cc6-441c-9f8a-48db87b10f58","name":"one","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null},"created_at":"2021-09-22T15:29:46.306897Z","modified_at":"2021-09-22T15:29:46.306897Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/parameters/79f1468e-dd06-49c3-9856-bb93bb773924/","id":"79f1468e-dd06-49c3-9856-bb93bb773924","name":"two","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null},"created_at":"2021-09-22T15:29:46.790663Z","modified_at":"2021-09-22T15:29:46.790663Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:50 GMT +recorded_with: VCR 6.0.0 diff --git a/spec/fixtures/vcr/Kubetruth_CtApi/_parameters/uses_environment_to_get_values.yml b/spec/fixtures/vcr/Kubetruth_CtApi/_parameters/uses_environment_to_get_values.yml index bac6fab..2a9cf23 100644 --- a/spec/fixtures/vcr/Kubetruth_CtApi/_parameters/uses_environment_to_get_values.yml +++ b/spec/fixtures/vcr/Kubetruth_CtApi/_parameters/uses_environment_to_get_values.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -10,7 +10,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -22,39 +22,58 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:47 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:37 GMT Content-Type: - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=NnLCqPvv3mZdZflq/fpWDaS5y1H+fvkFQ1VRQABOo9m7B56RWR853Ez0tpb6gQ86ZJwoUq/m/FMv/OlcajIsM9NrRAmQCf8Dk2ObjWDTH+ooQD9enPvZFaByQVLb; + Expires=Wed, 29 Sep 2021 15:29:37 GMT; Path=/ + - AWSALBCORS=NnLCqPvv3mZdZflq/fpWDaS5y1H+fvkFQ1VRQABOo9m7B56RWR853Ez0tpb6gQ86ZJwoUq/m/FMv/OlcajIsM9NrRAmQCf8Dk2ObjWDTH+ooQD9enPvZFaByQVLb; + Expires=Wed, 29 Sep 2021 15:29:37 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=QDcOyN3dg4LANLUOpQ2Pkr8OvEJ2dmON0GswQLdKMpyt2+gzNsMdLyN5+69NTMemIeqH4HjNhUohGRFmiC7iZMpk7i0lN0U2lM89k0GAnmWRolr9auVYjdK5nOfJrsNXqxn1fTJLupk9yAvgCpPTnq6plKtsrgpvBuUOxQtcldp9; + Expires=Wed, 29 Sep 2021 15:29:37 GMT; Path=/ + - AWSALBTGCORS=QDcOyN3dg4LANLUOpQ2Pkr8OvEJ2dmON0GswQLdKMpyt2+gzNsMdLyN5+69NTMemIeqH4HjNhUohGRFmiC7iZMpk7i0lN0U2lM89k0GAnmWRolr9auVYjdK5nOfJrsNXqxn1fTJLupk9yAvgCpPTnq6plKtsrgpvBuUOxQtcldp9; + Expires=Wed, 29 Sep 2021 15:29:37 GMT; Path=/; SameSite=None; Secure + - csrftoken=SHH1etKXu9agmLDDRc4uOGhtDSclLsV0lUZMtuOUkqx4xTFxeyeidKo0LBPhegzf; + expires=Wed, 21 Sep 2022 15:29:37 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=xcjxntayi31xzbboahx3qr695fmlihhf; expires=Wed, 06 Oct 2021 15:29:37 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '610' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=kmg9RBFuAhxs8TdWKyRmqemd6xx3LCRgp65SqsdFHgdwuEypTygVExHSRhWgx3yq; - expires=Tue, 02 Aug 2022 19:32:47 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=gy3gkgvl9q284b9spnofta98ui38qtpr; expires=Tue, 17 Aug 2021 19:32:47 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/","id":"b5676f6e-ea74-4589-9523-6bf77bad01af","name":"TestProject","description":"","created_at":"2021-08-03T19:32:35.175710Z","modified_at":"2021-08-03T19:32:35.175760Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:32:47 GMT + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/","id":"40d1e235-196d-4291-8c43-65900f3582e7","name":"TestProject","description":"","created_at":"2021-09-22T15:29:32.521982Z","modified_at":"2021-09-22T15:29:35.987631Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:37 GMT - request: method: delete - uri: https://localhost:8000/api/v1/projects/b5676f6e-ea74-4589-9523-6bf77bad01af/ + uri: https://api.cloudtruth.io/api/v1/projects/40d1e235-196d-4291-8c43-65900f3582e7/ body: encoding: US-ASCII string: '' @@ -62,7 +81,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Authorization: - Api-Key Accept-Encoding: @@ -74,36 +93,44 @@ http_interactions: code: 204 message: No Content headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:48 GMT + - Wed, 22 Sep 2021 15:29:37 GMT + Content-Length: + - '0' Connection: - - close + - keep-alive + Set-Cookie: + - AWSALB=A/OSwS7eqSycnUYa6usIUTiz4jXUDAnavdxdxL5Tl6HHB6C/iBc5gA2HQQ2CcR+tdqoTeYnZbksek3m4q2cWVGxQ6foYA0eOjNTZ5FRFoByZrDo3a41B25e53J/Y; + Expires=Wed, 29 Sep 2021 15:29:37 GMT; Path=/ + - AWSALBCORS=A/OSwS7eqSycnUYa6usIUTiz4jXUDAnavdxdxL5Tl6HHB6C/iBc5gA2HQQ2CcR+tdqoTeYnZbksek3m4q2cWVGxQ6foYA0eOjNTZ5FRFoByZrDo3a41B25e53J/Y; + Expires=Wed, 29 Sep 2021 15:29:37 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=sRqEZV2oc3BkF1SKIrw9gNNaL1eNh6NrhlfVWFhnoHbtkfnOiKudvdAgd5iHRhSdwh6zBVxn2/B2tQm4vYo6vpJ9gr9pTqTU8ZRCg8Wxh512GIsYZP51gSvtAsNqV/zl2l/24i/qyQUPW6ejjcdEppE4fG+oJmaKFrjuMGyulyp4; + Expires=Wed, 29 Sep 2021 15:29:37 GMT; Path=/ + - AWSALBTGCORS=sRqEZV2oc3BkF1SKIrw9gNNaL1eNh6NrhlfVWFhnoHbtkfnOiKudvdAgd5iHRhSdwh6zBVxn2/B2tQm4vYo6vpJ9gr9pTqTU8ZRCg8Wxh512GIsYZP51gSvtAsNqV/zl2l/24i/qyQUPW6ejjcdEppE4fG+oJmaKFrjuMGyulyp4; + Expires=Wed, 29 Sep 2021 15:29:37 GMT; Path=/; SameSite=None; Secure + - csrftoken=mHYGPPuYNgaoqNDQr78fOWN7qXKcqC62lGJ0bBjPkoAVyqMKlXoonBphz7MtFLOh; + expires=Wed, 21 Sep 2022 15:29:37 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=s76q11cdjuzjvvgtzh6s42mq5iogvzh6; expires=Wed, 06 Oct 2021 15:29:37 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, PUT, PATCH, DELETE, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '0' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=M6BAM3Gg2nHjSprYAkOeJGLT6d9On7r8NbluVbQemiDnBkeK6Ww9Dqtz0KeqOGbi; - expires=Tue, 02 Aug 2022 19:32:48 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=x3w709br4l7fhbw9djxdijlw0ggyu7z3; expires=Tue, 17 Aug 2021 19:32:48 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 string: '' - recorded_at: Tue, 03 Aug 2021 19:32:48 GMT + recorded_at: Wed, 22 Sep 2021 15:29:37 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: UTF-8 string: '{"name":"TestProject"}' @@ -111,7 +138,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -123,40 +150,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:50 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:38 GMT Content-Type: - application/json + Content-Length: + - '258' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=qsQbBnfqcTuZbACtfwiy8orYJ4kjWoHBsgrRraxdxAbt/380m8usMm4DFmgrAadFoeYm+6y3I1lEU3bUsF8RTBc2FpRtBc8O6SJWjxEjiAsAR8Gcm1I2BzeKah29; + Expires=Wed, 29 Sep 2021 15:29:38 GMT; Path=/ + - AWSALBCORS=qsQbBnfqcTuZbACtfwiy8orYJ4kjWoHBsgrRraxdxAbt/380m8usMm4DFmgrAadFoeYm+6y3I1lEU3bUsF8RTBc2FpRtBc8O6SJWjxEjiAsAR8Gcm1I2BzeKah29; + Expires=Wed, 29 Sep 2021 15:29:38 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=reHdVagC+awBonEcX/LbBNsQ1OkZhFVcfZ3Kf2aOcTfTMss4PkDq/kGN1KjI47YYPkFkgS+ao5L8p4zkXjhfrcUy+Up9RVPYxNmVFtylB1rzifWSjCj834M4kOSdzYSxN2SPI+zOj43StME7hzQ+51sPGS7GuGi80kbXB6Vt5z/8; + Expires=Wed, 29 Sep 2021 15:29:38 GMT; Path=/ + - AWSALBTGCORS=reHdVagC+awBonEcX/LbBNsQ1OkZhFVcfZ3Kf2aOcTfTMss4PkDq/kGN1KjI47YYPkFkgS+ao5L8p4zkXjhfrcUy+Up9RVPYxNmVFtylB1rzifWSjCj834M4kOSdzYSxN2SPI+zOj43StME7hzQ+51sPGS7GuGi80kbXB6Vt5z/8; + Expires=Wed, 29 Sep 2021 15:29:38 GMT; Path=/; SameSite=None; Secure + - csrftoken=IJnv1MvnvpuffvHCcCCw8Yej2nz6G2c2Nlo8C2jXKRfY3wKaaT6LZSoLqxpBMeCP; + expires=Wed, 21 Sep 2022 15:29:38 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=vsy1lxwvnfe4d6acqg5ohrb4kru7yyzn; expires=Wed, 06 Oct 2021 15:29:38 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/ + - https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '255' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=necZUevxrtcOZDNyuVOEvAcFNWkF9HMfFI6FqC9gt37MQxg5zG1ZcLzb20xdzUn0; - expires=Tue, 02 Aug 2022 19:32:50 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=ad0ku4d9wr6774gjz7pqvpm1m627hyku; expires=Tue, 17 Aug 2021 19:32:50 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/","id":"57413c76-5a75-4500-b302-1bfb5dfc2fa9","name":"TestProject","description":"","created_at":"2021-08-03T19:32:50.165699Z","modified_at":"2021-08-03T19:32:50.165726Z"}' - recorded_at: Tue, 03 Aug 2021 19:32:50 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/","id":"5d437426-ac58-4d82-9525-e5c11ca23add","name":"TestProject","description":"","created_at":"2021-09-22T15:29:38.356083Z","modified_at":"2021-09-22T15:29:38.356083Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:38 GMT - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -164,7 +199,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -176,39 +211,58 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:51 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:38 GMT Content-Type: - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=nslquGwbv1BOCgk1eHBSOxTRFdeXmT3zFqqhOvguO1WNiz+ORulg4vjo/FuZiXUHeGseweSoB1rIrI/4Bq0XVw7UluYxmwfAKbeSjoD3WZo2HNZxAF16W00jWfRF; + Expires=Wed, 29 Sep 2021 15:29:38 GMT; Path=/ + - AWSALBCORS=nslquGwbv1BOCgk1eHBSOxTRFdeXmT3zFqqhOvguO1WNiz+ORulg4vjo/FuZiXUHeGseweSoB1rIrI/4Bq0XVw7UluYxmwfAKbeSjoD3WZo2HNZxAF16W00jWfRF; + Expires=Wed, 29 Sep 2021 15:29:38 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=y5D5jzGDRgYakVqZ0KTkevJdNGe6UjkeLaZkImeBWAFJbursqyXHIe1aSL5XaFk38pZmDbkWbtaYRXBF1kdFunwp4pO7+IECG45wHEKw9BHwTvmdD/amkzQsbuIhhN7tt7tLjza2RZdIHPVarCWdlV19ohNkJaOOlv/bPEIt9JcS; + Expires=Wed, 29 Sep 2021 15:29:38 GMT; Path=/ + - AWSALBTGCORS=y5D5jzGDRgYakVqZ0KTkevJdNGe6UjkeLaZkImeBWAFJbursqyXHIe1aSL5XaFk38pZmDbkWbtaYRXBF1kdFunwp4pO7+IECG45wHEKw9BHwTvmdD/amkzQsbuIhhN7tt7tLjza2RZdIHPVarCWdlV19ohNkJaOOlv/bPEIt9JcS; + Expires=Wed, 29 Sep 2021 15:29:38 GMT; Path=/; SameSite=None; Secure + - csrftoken=Kun3vT2TosWIFtGixb73kQYKyBX7plscyymLOslxeSU6AHVCFnVLcHP90T8JDcpy; + expires=Wed, 21 Sep 2022 15:29:38 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=ziser3xxj9td3tpy7z0lh2i9xvddx3cf; expires=Wed, 06 Oct 2021 15:29:38 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '610' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=zHyvw089zkwxeYcO6yViq6GkucE8QQNJnIcgcp3c6OsNbcD05myxa0mtr1sxtaFl; - expires=Tue, 02 Aug 2022 19:32:51 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=atatw8mj109dvupz08qern8p4h17aqyq; expires=Tue, 17 Aug 2021 19:32:51 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/","id":"57413c76-5a75-4500-b302-1bfb5dfc2fa9","name":"TestProject","description":"","created_at":"2021-08-03T19:32:50.165699Z","modified_at":"2021-08-03T19:32:50.165726Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:32:51 GMT + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/","id":"5d437426-ac58-4d82-9525-e5c11ca23add","name":"TestProject","description":"","created_at":"2021-09-22T15:29:38.356083Z","modified_at":"2021-09-22T15:29:38.356083Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:38 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/ + uri: https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/ body: encoding: UTF-8 string: '{"name":"one"}' @@ -216,7 +270,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -228,40 +282,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:52 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:39 GMT Content-Type: - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=D2/sOJFUP83nQszRQbnoRXxFh893vDetrfMxuAF5U4v02/WtxvEQl6kE5ulO0W52BDbtzkFhObux2tjp9XgjjZ0SV0TmdrfpZc1dyBugh1BKRc4DLVY5NUroLsQW; + Expires=Wed, 29 Sep 2021 15:29:39 GMT; Path=/ + - AWSALBCORS=D2/sOJFUP83nQszRQbnoRXxFh893vDetrfMxuAF5U4v02/WtxvEQl6kE5ulO0W52BDbtzkFhObux2tjp9XgjjZ0SV0TmdrfpZc1dyBugh1BKRc4DLVY5NUroLsQW; + Expires=Wed, 29 Sep 2021 15:29:39 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=1n1IsqcBRPtjzF4TLldnHWo1UkO7+n/3d0cstRe6E7Mx1JaC0syDJI4f9Q8PvoTwwB5O1HM21KqTroq7iOX+NHXooBrf+y+8hdqf/2nF5lJnIO5tRvEpJtQe8jNJl65GZNkWNIaIeP5U+2zwqpy6Vo1WkQag0m3TYkB6uxQDimiH; + Expires=Wed, 29 Sep 2021 15:29:39 GMT; Path=/ + - AWSALBTGCORS=1n1IsqcBRPtjzF4TLldnHWo1UkO7+n/3d0cstRe6E7Mx1JaC0syDJI4f9Q8PvoTwwB5O1HM21KqTroq7iOX+NHXooBrf+y+8hdqf/2nF5lJnIO5tRvEpJtQe8jNJl65GZNkWNIaIeP5U+2zwqpy6Vo1WkQag0m3TYkB6uxQDimiH; + Expires=Wed, 29 Sep 2021 15:29:39 GMT; Path=/; SameSite=None; Secure + - csrftoken=PStu7wccHxj09t0KGVc8ziiIhjkmfgtZ3kw5STCgTNt7EnRKNnuySuBiNezeGb79; + expires=Wed, 21 Sep 2022 15:29:39 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=2o8be3ve7b0sdsr2if3gi1lfltbdhcx1; expires=Wed, 06 Oct 2021 15:29:39 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/3db3d44d-82fa-4a17-8b25-ca6294ff07aa/ + - https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/f0198116-8a26-4d0e-801d-9b251da1715e/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '688' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=YGICEwH5BOoijqvsegnwgBt5h6f1yGot0TY4DrlETsqPoSYZpnPt4guhCETvRFOS; - expires=Tue, 02 Aug 2022 19:32:52 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=refg8a80me0gvm801y49i4l5u39y4msd; expires=Tue, 17 Aug 2021 19:32:52 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/3db3d44d-82fa-4a17-8b25-ca6294ff07aa/","id":"3db3d44d-82fa-4a17-8b25-ca6294ff07aa","name":"one","description":"","secret":false,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null,"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/":null,"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/":null,"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/":null},"created_at":"2021-08-03T19:32:52.069132Z","modified_at":"2021-08-03T19:32:52.069170Z"}' - recorded_at: Tue, 03 Aug 2021 19:32:52 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/f0198116-8a26-4d0e-801d-9b251da1715e/","id":"f0198116-8a26-4d0e-801d-9b251da1715e","name":"one","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:39.549445Z","modified_at":"2021-09-22T15:29:39.549445Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:39 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/ + uri: https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/ body: encoding: UTF-8 string: '{"name":"two"}' @@ -269,7 +331,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -281,40 +343,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:53 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:40 GMT Content-Type: - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=ATm4/LMzEQdFGFkGK7U7TLgP7WPK5ICxbbxJtm0mvc6pozEcqAuCsEpAw/tqlkYs+CdDZrMWNWRTqeiVZBP4aOGv8VCKQFj4GjZbam20sGbGrdtml08/RvaMjM48; + Expires=Wed, 29 Sep 2021 15:29:39 GMT; Path=/ + - AWSALBCORS=ATm4/LMzEQdFGFkGK7U7TLgP7WPK5ICxbbxJtm0mvc6pozEcqAuCsEpAw/tqlkYs+CdDZrMWNWRTqeiVZBP4aOGv8VCKQFj4GjZbam20sGbGrdtml08/RvaMjM48; + Expires=Wed, 29 Sep 2021 15:29:39 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=680Fu5EDC624G0JKHgZEIJdlmDSymoy8YajtCzG6uPQbgEF74b0ZyCN0Bmmag6cwS3h1AIxz4gf7op/mzxUf06cicNS1kHn3utgBjsBwhK3jeCxy6GQn5ufxFzvlQXdsn3/gLTb0ZgkSXdUjEUXTy9qvc6MRzzULv0AexyxuQO7Q; + Expires=Wed, 29 Sep 2021 15:29:39 GMT; Path=/ + - AWSALBTGCORS=680Fu5EDC624G0JKHgZEIJdlmDSymoy8YajtCzG6uPQbgEF74b0ZyCN0Bmmag6cwS3h1AIxz4gf7op/mzxUf06cicNS1kHn3utgBjsBwhK3jeCxy6GQn5ufxFzvlQXdsn3/gLTb0ZgkSXdUjEUXTy9qvc6MRzzULv0AexyxuQO7Q; + Expires=Wed, 29 Sep 2021 15:29:39 GMT; Path=/; SameSite=None; Secure + - csrftoken=Hf6bsA0toGcPfPdKYPc1lZ2VebvIkSg0bMNW4rkBYHx9MkGwirJZ4sPlx2qQLLxC; + expires=Wed, 21 Sep 2022 15:29:40 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=k2y5wsg92ihkhsl11lr60gu01bzz4y4c; expires=Wed, 06 Oct 2021 15:29:40 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/f0adc5df-9c09-4615-afd2-de210fcccc02/ + - https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/c020cff4-c2d7-4b11-a557-5c451c38df47/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '688' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=JKF68PknVoJ0mu24PL1fYMXJRDOOYP2Mw770Vo68vmxJv1vgFyKxGu04VnAU4Mrs; - expires=Tue, 02 Aug 2022 19:32:53 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=vxcphlcql5m0qbb49e0jdwug72caqmzc; expires=Tue, 17 Aug 2021 19:32:53 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/f0adc5df-9c09-4615-afd2-de210fcccc02/","id":"f0adc5df-9c09-4615-afd2-de210fcccc02","name":"two","description":"","secret":false,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null,"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/":null,"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/":null,"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/":null},"created_at":"2021-08-03T19:32:53.244693Z","modified_at":"2021-08-03T19:32:53.244740Z"}' - recorded_at: Tue, 03 Aug 2021 19:32:53 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/c020cff4-c2d7-4b11-a557-5c451c38df47/","id":"c020cff4-c2d7-4b11-a557-5c451c38df47","name":"two","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:40.071484Z","modified_at":"2021-09-22T15:29:40.071484Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:39 GMT - request: method: get - uri: https://localhost:8000/api/v1/environments/ + uri: https://api.cloudtruth.io/api/v1/environments/ body: encoding: US-ASCII string: '' @@ -322,7 +392,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -334,50 +404,59 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:54 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:40 GMT Content-Type: - application/json + Content-Length: + - '3328' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=AdPSgjoUKr9cF56PrTLJOwBq9EwePWdPO/sV63zz07rx4unJLxXxhxf8GBLwqWhT9yvluOyfCxNTHOYvvDijWhFWpaJCgsxuQpb2x+YN8Hh4CGkRhZr2+xWpxN/j; + Expires=Wed, 29 Sep 2021 15:29:40 GMT; Path=/ + - AWSALBCORS=AdPSgjoUKr9cF56PrTLJOwBq9EwePWdPO/sV63zz07rx4unJLxXxhxf8GBLwqWhT9yvluOyfCxNTHOYvvDijWhFWpaJCgsxuQpb2x+YN8Hh4CGkRhZr2+xWpxN/j; + Expires=Wed, 29 Sep 2021 15:29:40 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=7jxTnnnNY08R3aJaavfvnq21CaTiWIzHdVW2wCScHt3ZlxGP0tbLwr0NaBxMbJBzAPYWEkn2GdbgM9vrnR72KydxUll7mkvwXgVYsYA1wKi2xD252glWFNpkVUxTtimQDMU9mnelkWnbo33ZJj/HI/YMP3s3W+PtT7Rh/GOKWvhl; + Expires=Wed, 29 Sep 2021 15:29:40 GMT; Path=/ + - AWSALBTGCORS=7jxTnnnNY08R3aJaavfvnq21CaTiWIzHdVW2wCScHt3ZlxGP0tbLwr0NaBxMbJBzAPYWEkn2GdbgM9vrnR72KydxUll7mkvwXgVYsYA1wKi2xD252glWFNpkVUxTtimQDMU9mnelkWnbo33ZJj/HI/YMP3s3W+PtT7Rh/GOKWvhl; + Expires=Wed, 29 Sep 2021 15:29:40 GMT; Path=/; SameSite=None; Secure + - csrftoken=lNfPsVEf1hTiggUdC4jM5DNQcKYf0592tgo4jK09qWr7a5ijbNuu0JpEWvfjRY2m; + expires=Wed, 21 Sep 2022 15:29:40 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=8q7dwmrjg633iqrqw8qqw130hbkmadph; expires=Wed, 06 Oct 2021 15:29:40 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '1516' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=M65Se2FKdOe8pfZFcWGIUs2AjzwztXo33Fde92RMFb0j17PbF5yHqyvb1oNUsdfH; - expires=Tue, 02 Aug 2022 19:32:54 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=jy1zn3864io3tb8gu3tlpmn1uwlgqm1y; expires=Tue, 17 Aug 2021 19:32:54 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":4,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","id":"3ce72447-641f-418d-a12a-71173a56ffca","name":"default","description":"Default - environment, base for all environments.","parent":null,"created_at":"2021-08-02T14:22:36.043828Z","modified_at":"2021-08-03T19:32:42.506289Z"},{"url":"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/","id":"0293a31b-70a7-458c-afe4-162fa9febc1e","name":"development","description":"Development - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.086474Z","modified_at":"2021-08-03T19:17:02.248188Z"},{"url":"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/","id":"d5a11b75-2690-4363-83a3-873f3a98cef8","name":"production","description":"Production - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.142958Z","modified_at":"2021-08-02T14:22:36.143017Z"},{"url":"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/","id":"5694a5f3-a09c-40f1-b40b-74f260508516","name":"staging","description":"Staging - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.114024Z","modified_at":"2021-08-02T14:22:36.114565Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:32:54 GMT + string: '{"count":9,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","id":"e8bc190d-0354-4e66-91c9-64501e501ec5","name":"default","description":"The + auto-generated default environment.","parent":null,"created_at":"2021-07-20T18:14:09.023022Z","modified_at":"2021-09-22T15:29:35.980225Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","id":"c4de304d-5dd4-4a41-80ec-9a469f1aa4f5","name":"development","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.035255Z","modified_at":"2021-09-22T14:27:50.149570Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/","id":"12b9c81b-9002-423b-9ca7-22cece646d07","name":"dev-matt","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","created_at":"2021-07-21T19:53:37.534082Z","modified_at":"2021-07-26T22:01:23.472634Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/","id":"2281d9da-8376-4f45-baf2-372a71260dfa","name":"europe","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","created_at":"2021-07-21T19:53:47.438517Z","modified_at":"2021-07-26T22:01:29.331661Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/","id":"c99d6ab9-4674-4f76-bb43-da0b19124e18","name":"local","description":"for + local development","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-21T19:53:50.000541Z","modified_at":"2021-07-26T22:01:32.150839Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/","id":"ef133a2e-3c9c-4229-a509-e56332baff40","name":"ops","description":"The + ops environment - infrastructure that acts as the entry point to the other + environment''s infrastructure","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-21T20:05:10.325110Z","modified_at":"2021-07-26T22:01:35.184068Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","id":"cde7cf9d-8bf2-46cb-9e97-dee9b99e4335","name":"production","description":"for + real","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.058957Z","modified_at":"2021-09-15T19:15:15.144679Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/","id":"e4399ff4-a962-451b-adfb-7e504ad6bb6d","name":"staging","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.047049Z","modified_at":"2021-07-26T18:46:21.385162Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/","id":"3afc0523-4722-4fa1-aaea-5d49beaa284d","name":"usa","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","created_at":"2021-07-21T20:05:24.767679Z","modified_at":"2021-07-26T18:44:51.186840Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:40 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/3db3d44d-82fa-4a17-8b25-ca6294ff07aa/values/ + uri: https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/f0198116-8a26-4d0e-801d-9b251da1715e/values/ body: encoding: UTF-8 - string: '{"environment":"3ce72447-641f-418d-a12a-71173a56ffca","dynamic":false,"static_value":"defaultone"}' + string: '{"environment":"e8bc190d-0354-4e66-91c9-64501e501ec5","external":false,"internal_value":"defaultone"}' headers: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -389,48 +468,56 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:55 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:41 GMT Content-Type: - application/json + Content-Length: + - '849' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=HwZx8AFvPcDvkG6NdJiu6dxI2sDqdFNP6+tdR+mP/yYpvrGTT0f4iu/mGWKdxC53+XXZ/wYTDu2Zl2iwdS33cAAj0Lw0bOuoZUeTFvhq4+ugJ5RKZsKRvW9HvSeM; + Expires=Wed, 29 Sep 2021 15:29:40 GMT; Path=/ + - AWSALBCORS=HwZx8AFvPcDvkG6NdJiu6dxI2sDqdFNP6+tdR+mP/yYpvrGTT0f4iu/mGWKdxC53+XXZ/wYTDu2Zl2iwdS33cAAj0Lw0bOuoZUeTFvhq4+ugJ5RKZsKRvW9HvSeM; + Expires=Wed, 29 Sep 2021 15:29:40 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=7G3xFqmIW9edHeV2iZm1p+t0/hQxpeFCG8nLTb6yEjArTz4J2YDjkF5advImGwoy+pmaeo7FZUTNdwkkWd7ig/AnWwNFJAkdT0pQvVq4LkaZ5Ld1wln0QPD1TYvXpGg3pPKRbjTJ127kko0WEYxgNydhIJOgAju5MEyaN5a7tnoP; + Expires=Wed, 29 Sep 2021 15:29:40 GMT; Path=/ + - AWSALBTGCORS=7G3xFqmIW9edHeV2iZm1p+t0/hQxpeFCG8nLTb6yEjArTz4J2YDjkF5advImGwoy+pmaeo7FZUTNdwkkWd7ig/AnWwNFJAkdT0pQvVq4LkaZ5Ld1wln0QPD1TYvXpGg3pPKRbjTJ127kko0WEYxgNydhIJOgAju5MEyaN5a7tnoP; + Expires=Wed, 29 Sep 2021 15:29:40 GMT; Path=/; SameSite=None; Secure + - csrftoken=Qb3qjAUyNVRNFxygyivN4bPjiESUJ1KtrBfZR5iOPA3AI76mRJ3sUEMlMMmctnIw; + expires=Wed, 21 Sep 2022 15:29:41 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=qqgs6l9916vhpco7zgrhvt14pi2lt028; expires=Wed, 06 Oct 2021 15:29:41 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/3db3d44d-82fa-4a17-8b25-ca6294ff07aa/values/f88af5f0-a508-42cc-99a2-67c51c0547c9/ + - https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/f0198116-8a26-4d0e-801d-9b251da1715e/values/a1f9559a-466e-43a3-bf13-e2e936f67e5d/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '662' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=C1Ihs701PCKGiesPJ5YXgvMaZC3wJdkFacHBS5kYxd0TwNzSQgIkzlShhsIIq1qw; - expires=Tue, 02 Aug 2022 19:32:55 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=g4ozq3baa7kbfkh9vi9t6eso25aozvhm; expires=Tue, 17 Aug 2021 19:32:55 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/3db3d44d-82fa-4a17-8b25-ca6294ff07aa/values/f88af5f0-a508-42cc-99a2-67c51c0547c9/","id":"f88af5f0-a508-42cc-99a2-67c51c0547c9","environment":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","parameter":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/3db3d44d-82fa-4a17-8b25-ca6294ff07aa/","dynamic":false,"dynamic_fqn":"","dynamic_filter":"","static_value":"defaultone","value":"defaultone","secret":false,"created_at":"2021-08-03T19:32:55.564759Z","modified_at":"2021-08-03T19:32:55.564792Z"}' - recorded_at: Tue, 03 Aug 2021 19:32:55 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/f0198116-8a26-4d0e-801d-9b251da1715e/values/a1f9559a-466e-43a3-bf13-e2e936f67e5d/","id":"a1f9559a-466e-43a3-bf13-e2e936f67e5d","environment":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","environment_name":"default","earliest_tag":null,"parameter":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/f0198116-8a26-4d0e-801d-9b251da1715e/","external":false,"external_fqn":"","external_filter":"","external_error":null,"internal_value":"defaultone","value":"defaultone","secret":false,"created_at":"2021-09-22T15:29:41.041461Z","modified_at":"2021-09-22T15:29:41.041461Z","static_value":"defaultone","dynamic":false,"dynamic_error":null,"dynamic_filter":"","dynamic_fqn":""}' + recorded_at: Wed, 22 Sep 2021 15:29:40 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/3db3d44d-82fa-4a17-8b25-ca6294ff07aa/values/ + uri: https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/f0198116-8a26-4d0e-801d-9b251da1715e/values/ body: encoding: UTF-8 - string: '{"environment":"0293a31b-70a7-458c-afe4-162fa9febc1e","dynamic":false,"static_value":"developmentone"}' + string: '{"environment":"c4de304d-5dd4-4a41-80ec-9a469f1aa4f5","external":false,"internal_value":"developmentone"}' headers: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -442,48 +529,56 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:56 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:41 GMT Content-Type: - application/json + Content-Length: + - '865' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=1xEMWFCVtaTSRSb41C8LZ1f9GgKAiDoM9WHrw4uARQJ2vSbBhG/Hdwhag9eiWjYuQMEBWDyDe6nWNg+57b1hGedxpYDVrEUV02cg0aWNukOzjuZfixs7siZfm3zp; + Expires=Wed, 29 Sep 2021 15:29:41 GMT; Path=/ + - AWSALBCORS=1xEMWFCVtaTSRSb41C8LZ1f9GgKAiDoM9WHrw4uARQJ2vSbBhG/Hdwhag9eiWjYuQMEBWDyDe6nWNg+57b1hGedxpYDVrEUV02cg0aWNukOzjuZfixs7siZfm3zp; + Expires=Wed, 29 Sep 2021 15:29:41 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=v+Jjda99PPGTu5f5BwfiLkmmeqw9dMvfzWxRJfVZRLRfiSmR4vPvu6nI8hLTRu7Qdyz0DNEExpkmk4hUUjHs3q3h/z/9Dul6QZV8JDntWum1jndXfOq+P0f+Nxqwd5jCeI7TWWBrK1xB0Py7hfx1msbKtQrfEQAt1s7eGp+48dtg; + Expires=Wed, 29 Sep 2021 15:29:41 GMT; Path=/ + - AWSALBTGCORS=v+Jjda99PPGTu5f5BwfiLkmmeqw9dMvfzWxRJfVZRLRfiSmR4vPvu6nI8hLTRu7Qdyz0DNEExpkmk4hUUjHs3q3h/z/9Dul6QZV8JDntWum1jndXfOq+P0f+Nxqwd5jCeI7TWWBrK1xB0Py7hfx1msbKtQrfEQAt1s7eGp+48dtg; + Expires=Wed, 29 Sep 2021 15:29:41 GMT; Path=/; SameSite=None; Secure + - csrftoken=ruWQDKNJU1x0uyO8lj44Csg8CfzSiXXHLW4KXHD18VaDr3eclpwcMaSK6UezjjWk; + expires=Wed, 21 Sep 2022 15:29:41 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=l2qz3i1i1sbs3570ky61d8gnvaflk55b; expires=Wed, 06 Oct 2021 15:29:41 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/3db3d44d-82fa-4a17-8b25-ca6294ff07aa/values/ab294ade-d4df-4720-bea8-2db9fe5e2589/ + - https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/f0198116-8a26-4d0e-801d-9b251da1715e/values/0a1aa561-8941-4c34-b385-6e9ccdea4fbd/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '670' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=mBhyoms2iBlas2q6goP0jo1KDZDD8cqwvzTAyrRXrsKb8Bz6tclekNiyPUIqCXoK; - expires=Tue, 02 Aug 2022 19:32:56 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=rzic8q8uyl2opy41xsuxtf0066xmnvkq; expires=Tue, 17 Aug 2021 19:32:56 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/3db3d44d-82fa-4a17-8b25-ca6294ff07aa/values/ab294ade-d4df-4720-bea8-2db9fe5e2589/","id":"ab294ade-d4df-4720-bea8-2db9fe5e2589","environment":"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/","parameter":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/3db3d44d-82fa-4a17-8b25-ca6294ff07aa/","dynamic":false,"dynamic_fqn":"","dynamic_filter":"","static_value":"developmentone","value":"developmentone","secret":false,"created_at":"2021-08-03T19:32:56.466027Z","modified_at":"2021-08-03T19:32:56.466059Z"}' - recorded_at: Tue, 03 Aug 2021 19:32:56 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/f0198116-8a26-4d0e-801d-9b251da1715e/values/0a1aa561-8941-4c34-b385-6e9ccdea4fbd/","id":"0a1aa561-8941-4c34-b385-6e9ccdea4fbd","environment":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","environment_name":"development","earliest_tag":null,"parameter":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/f0198116-8a26-4d0e-801d-9b251da1715e/","external":false,"external_fqn":"","external_filter":"","external_error":null,"internal_value":"developmentone","value":"developmentone","secret":false,"created_at":"2021-09-22T15:29:41.625500Z","modified_at":"2021-09-22T15:29:41.625500Z","static_value":"developmentone","dynamic":false,"dynamic_error":null,"dynamic_filter":"","dynamic_fqn":""}' + recorded_at: Wed, 22 Sep 2021 15:29:41 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/f0adc5df-9c09-4615-afd2-de210fcccc02/values/ + uri: https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/c020cff4-c2d7-4b11-a557-5c451c38df47/values/ body: encoding: UTF-8 - string: '{"environment":"3ce72447-641f-418d-a12a-71173a56ffca","dynamic":false,"static_value":"defaulttwo"}' + string: '{"environment":"e8bc190d-0354-4e66-91c9-64501e501ec5","external":false,"internal_value":"defaulttwo"}' headers: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -495,48 +590,56 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:57 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:42 GMT Content-Type: - application/json + Content-Length: + - '849' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=ebHDVdNJnaungZqOeI5PuIdIwV614ozWLORyu90E/Hl6zFkOd/BBHcFf3EtxLR0abFjGqlUdipPTqrDsatvXNIjmhZXsnmFbJ09uZKNYESmCc92O7Oc9z+/HQrZI; + Expires=Wed, 29 Sep 2021 15:29:41 GMT; Path=/ + - AWSALBCORS=ebHDVdNJnaungZqOeI5PuIdIwV614ozWLORyu90E/Hl6zFkOd/BBHcFf3EtxLR0abFjGqlUdipPTqrDsatvXNIjmhZXsnmFbJ09uZKNYESmCc92O7Oc9z+/HQrZI; + Expires=Wed, 29 Sep 2021 15:29:41 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=HgcYrbFU3TGiWQQW+kIEqqM3QL0xXb1cqcEelqpibzqwopM+/xwF+HGtYBzhq44I23Ge5N4+4/PuhCXInLelrjWab/R8vIBNbDV9FY3XAGVpmr77LbrYisCg3XmR0cTv46FGGrC5ozX0jcJO0n2Ezce4czNslohbbozUpAXWLMYp; + Expires=Wed, 29 Sep 2021 15:29:41 GMT; Path=/ + - AWSALBTGCORS=HgcYrbFU3TGiWQQW+kIEqqM3QL0xXb1cqcEelqpibzqwopM+/xwF+HGtYBzhq44I23Ge5N4+4/PuhCXInLelrjWab/R8vIBNbDV9FY3XAGVpmr77LbrYisCg3XmR0cTv46FGGrC5ozX0jcJO0n2Ezce4czNslohbbozUpAXWLMYp; + Expires=Wed, 29 Sep 2021 15:29:41 GMT; Path=/; SameSite=None; Secure + - csrftoken=zf6XSGRK7NFEPoKeIbdAMEXYMVOtuwYnBtr6LfVqW4QAXLjayQXphSL8NgzZtOs6; + expires=Wed, 21 Sep 2022 15:29:42 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=26efchapmfada8ytsw5da5lc5upzr6ps; expires=Wed, 06 Oct 2021 15:29:42 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/f0adc5df-9c09-4615-afd2-de210fcccc02/values/a089e383-28a5-44f5-9e1f-ddf00b6272ce/ + - https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/c020cff4-c2d7-4b11-a557-5c451c38df47/values/92f52247-135e-4bcb-bfa8-d50f0d930226/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '662' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=YqNHkSQOxf3W85LQaYKvZWkk7IWlSGO0Go7ualihSKDj8FxlXGt7vR6yYjtwVH0b; - expires=Tue, 02 Aug 2022 19:32:57 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=ks5imyndbkw266arvfhx0fkhja7tbq2j; expires=Tue, 17 Aug 2021 19:32:57 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/f0adc5df-9c09-4615-afd2-de210fcccc02/values/a089e383-28a5-44f5-9e1f-ddf00b6272ce/","id":"a089e383-28a5-44f5-9e1f-ddf00b6272ce","environment":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","parameter":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/f0adc5df-9c09-4615-afd2-de210fcccc02/","dynamic":false,"dynamic_fqn":"","dynamic_filter":"","static_value":"defaulttwo","value":"defaulttwo","secret":false,"created_at":"2021-08-03T19:32:57.272124Z","modified_at":"2021-08-03T19:32:57.272156Z"}' - recorded_at: Tue, 03 Aug 2021 19:32:57 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/c020cff4-c2d7-4b11-a557-5c451c38df47/values/92f52247-135e-4bcb-bfa8-d50f0d930226/","id":"92f52247-135e-4bcb-bfa8-d50f0d930226","environment":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","environment_name":"default","earliest_tag":null,"parameter":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/c020cff4-c2d7-4b11-a557-5c451c38df47/","external":false,"external_fqn":"","external_filter":"","external_error":null,"internal_value":"defaulttwo","value":"defaulttwo","secret":false,"created_at":"2021-09-22T15:29:42.152623Z","modified_at":"2021-09-22T15:29:42.152623Z","static_value":"defaulttwo","dynamic":false,"dynamic_error":null,"dynamic_filter":"","dynamic_fqn":""}' + recorded_at: Wed, 22 Sep 2021 15:29:41 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/f0adc5df-9c09-4615-afd2-de210fcccc02/values/ + uri: https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/c020cff4-c2d7-4b11-a557-5c451c38df47/values/ body: encoding: UTF-8 - string: '{"environment":"0293a31b-70a7-458c-afe4-162fa9febc1e","dynamic":false,"static_value":"developmenttwo"}' + string: '{"environment":"c4de304d-5dd4-4a41-80ec-9a469f1aa4f5","external":false,"internal_value":"developmenttwo"}' headers: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -548,40 +651,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:58 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:42 GMT Content-Type: - application/json + Content-Length: + - '865' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=YMdcs+BwY210x8Ltr9oBylyuHrAP1NRbaSR5YvN9x+tMvL82Vvd+dNG2ZmP+AvgyzsO2jafEg4LDdkbgH3vPdHkAzQpFG7Hcd5Ml3cirju/S0kY9LvxmlYu8pZ+C; + Expires=Wed, 29 Sep 2021 15:29:42 GMT; Path=/ + - AWSALBCORS=YMdcs+BwY210x8Ltr9oBylyuHrAP1NRbaSR5YvN9x+tMvL82Vvd+dNG2ZmP+AvgyzsO2jafEg4LDdkbgH3vPdHkAzQpFG7Hcd5Ml3cirju/S0kY9LvxmlYu8pZ+C; + Expires=Wed, 29 Sep 2021 15:29:42 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=ZNHuujzppeVU3uaFDRWaJJ5e45V8zvOlXlPGGIB2e+VrYOzrk/T60kEO4/87KvC7bsDfU3bUSUqMXwd2HVK42Kb+3Jl8xTxtWVKdATUTRTRChuJTIzPO5RLu2KrNhY0vs+dSu1Dnv8zt1k9pEgLs5gm+No6mvTzBu61RNFynXVmh; + Expires=Wed, 29 Sep 2021 15:29:42 GMT; Path=/ + - AWSALBTGCORS=ZNHuujzppeVU3uaFDRWaJJ5e45V8zvOlXlPGGIB2e+VrYOzrk/T60kEO4/87KvC7bsDfU3bUSUqMXwd2HVK42Kb+3Jl8xTxtWVKdATUTRTRChuJTIzPO5RLu2KrNhY0vs+dSu1Dnv8zt1k9pEgLs5gm+No6mvTzBu61RNFynXVmh; + Expires=Wed, 29 Sep 2021 15:29:42 GMT; Path=/; SameSite=None; Secure + - csrftoken=kPBBEeUIeR3zDyFUMqVHKcgIXQUYRRxSCnTVFAeGbHKfRqSURXoz5pMZBnJhlq5U; + expires=Wed, 21 Sep 2022 15:29:42 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=7hm1qjv58xviwmdas0w32bv5114ac2zt; expires=Wed, 06 Oct 2021 15:29:42 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/f0adc5df-9c09-4615-afd2-de210fcccc02/values/98cfaf6f-870a-4577-a922-940ea3fd64ea/ + - https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/c020cff4-c2d7-4b11-a557-5c451c38df47/values/e7fa80ae-414a-4299-aea2-79273dcba378/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '670' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=l1PmdmOs6ASfYKocXpPBwONnQVTEJG2n89A2RwLvRP9aK1eZ50LCmsXitQuDKel5; - expires=Tue, 02 Aug 2022 19:32:58 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=45jz9ls1sn3g65a3q6wzk3n3wkhaa8vg; expires=Tue, 17 Aug 2021 19:32:58 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/f0adc5df-9c09-4615-afd2-de210fcccc02/values/98cfaf6f-870a-4577-a922-940ea3fd64ea/","id":"98cfaf6f-870a-4577-a922-940ea3fd64ea","environment":"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/","parameter":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/f0adc5df-9c09-4615-afd2-de210fcccc02/","dynamic":false,"dynamic_fqn":"","dynamic_filter":"","static_value":"developmenttwo","value":"developmenttwo","secret":false,"created_at":"2021-08-03T19:32:58.215788Z","modified_at":"2021-08-03T19:32:58.215823Z"}' - recorded_at: Tue, 03 Aug 2021 19:32:58 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/c020cff4-c2d7-4b11-a557-5c451c38df47/values/e7fa80ae-414a-4299-aea2-79273dcba378/","id":"e7fa80ae-414a-4299-aea2-79273dcba378","environment":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","environment_name":"development","earliest_tag":null,"parameter":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/c020cff4-c2d7-4b11-a557-5c451c38df47/","external":false,"external_fqn":"","external_filter":"","external_error":null,"internal_value":"developmenttwo","value":"developmenttwo","secret":false,"created_at":"2021-09-22T15:29:42.684161Z","modified_at":"2021-09-22T15:29:42.684161Z","static_value":"developmenttwo","dynamic":false,"dynamic_error":null,"dynamic_filter":"","dynamic_fqn":""}' + recorded_at: Wed, 22 Sep 2021 15:29:42 GMT - request: method: get - uri: https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/?environment=3ce72447-641f-418d-a12a-71173a56ffca + uri: https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/?environment=e8bc190d-0354-4e66-91c9-64501e501ec5 body: encoding: US-ASCII string: '' @@ -589,7 +700,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -601,38 +712,46 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:32:59 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:43 GMT Content-Type: - application/json + Content-Length: + - '2657' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=2M7FL6jHPzq1eS1u4OpjCCA11VUeF+MJFHiRrVVKIghoaDZKXj1lf7jwZPRPvSouBfoDuu3t63c5nQAGSb72/ucGudVFWQSFoHLhoevYngN1PFxaf/iY5aknvkzD; + Expires=Wed, 29 Sep 2021 15:29:42 GMT; Path=/ + - AWSALBCORS=2M7FL6jHPzq1eS1u4OpjCCA11VUeF+MJFHiRrVVKIghoaDZKXj1lf7jwZPRPvSouBfoDuu3t63c5nQAGSb72/ucGudVFWQSFoHLhoevYngN1PFxaf/iY5aknvkzD; + Expires=Wed, 29 Sep 2021 15:29:42 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=4Njs0qfIbmBDmaZZHZnWOMPFjHdgPdAyF5y0XPSjFTnXApPYAQgTgzXutO5wb2t7IsiG+llbOv++6MTjcZFSHMFmplgdM95onc7HMzXFSaU+dq5ag1rHVeruQuXWeNtlrFxLILqLKA7YIba4pp+mi9O+jMpx+LA09pEkNjQmLbyI; + Expires=Wed, 29 Sep 2021 15:29:42 GMT; Path=/ + - AWSALBTGCORS=4Njs0qfIbmBDmaZZHZnWOMPFjHdgPdAyF5y0XPSjFTnXApPYAQgTgzXutO5wb2t7IsiG+llbOv++6MTjcZFSHMFmplgdM95onc7HMzXFSaU+dq5ag1rHVeruQuXWeNtlrFxLILqLKA7YIba4pp+mi9O+jMpx+LA09pEkNjQmLbyI; + Expires=Wed, 29 Sep 2021 15:29:42 GMT; Path=/; SameSite=None; Secure + - csrftoken=LMtsyTBmxqFXNJqaWkBYTEWpd1Yo0atMq2pxOuxDjg0ispbn8Gbya74cvbXl5usU; + expires=Wed, 21 Sep 2022 15:29:43 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=t8fzg95e3ozt2peem3bb5b887b87mso3; expires=Wed, 06 Oct 2021 15:29:43 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '2217' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=ERvkrqJzL6WON8832VhVDNylWuWjpl9meOz3vEz7iG24u6xQchjySHbh927Djih8; - expires=Tue, 02 Aug 2022 19:32:59 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=cp9mzhcw141bwd1yvdvsu4233rjb98pl; expires=Tue, 17 Aug 2021 19:32:59 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/3db3d44d-82fa-4a17-8b25-ca6294ff07aa/","id":"3db3d44d-82fa-4a17-8b25-ca6294ff07aa","name":"one","description":"","secret":false,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":{"url":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/3db3d44d-82fa-4a17-8b25-ca6294ff07aa/values/f88af5f0-a508-42cc-99a2-67c51c0547c9/","id":"f88af5f0-a508-42cc-99a2-67c51c0547c9","environment":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","parameter":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/3db3d44d-82fa-4a17-8b25-ca6294ff07aa/","dynamic":false,"dynamic_fqn":"","dynamic_filter":"","static_value":"defaultone","value":"defaultone","secret":false,"created_at":"2021-08-03T19:32:55.564759Z","modified_at":"2021-08-03T19:32:55.564792Z"}},"created_at":"2021-08-03T19:32:52.069132Z","modified_at":"2021-08-03T19:32:56.461144Z"},{"url":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/f0adc5df-9c09-4615-afd2-de210fcccc02/","id":"f0adc5df-9c09-4615-afd2-de210fcccc02","name":"two","description":"","secret":false,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":{"url":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/f0adc5df-9c09-4615-afd2-de210fcccc02/values/a089e383-28a5-44f5-9e1f-ddf00b6272ce/","id":"a089e383-28a5-44f5-9e1f-ddf00b6272ce","environment":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","parameter":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/f0adc5df-9c09-4615-afd2-de210fcccc02/","dynamic":false,"dynamic_fqn":"","dynamic_filter":"","static_value":"defaulttwo","value":"defaulttwo","secret":false,"created_at":"2021-08-03T19:32:57.272124Z","modified_at":"2021-08-03T19:32:57.272156Z"}},"created_at":"2021-08-03T19:32:53.244693Z","modified_at":"2021-08-03T19:32:58.210638Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:32:59 GMT + string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/f0198116-8a26-4d0e-801d-9b251da1715e/","id":"f0198116-8a26-4d0e-801d-9b251da1715e","name":"one","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":{"url":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/f0198116-8a26-4d0e-801d-9b251da1715e/values/a1f9559a-466e-43a3-bf13-e2e936f67e5d/","id":"a1f9559a-466e-43a3-bf13-e2e936f67e5d","environment":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","environment_name":"default","earliest_tag":null,"parameter":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/f0198116-8a26-4d0e-801d-9b251da1715e/","external":false,"external_fqn":"","external_filter":"","external_error":null,"internal_value":"defaultone","value":"defaultone","secret":false,"created_at":"2021-09-22T15:29:41.041461Z","modified_at":"2021-09-22T15:29:41.041461Z","static_value":"defaultone","dynamic":false,"dynamic_error":null,"dynamic_filter":"","dynamic_fqn":""}},"created_at":"2021-09-22T15:29:39.549445Z","modified_at":"2021-09-22T15:29:41.643580Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/c020cff4-c2d7-4b11-a557-5c451c38df47/","id":"c020cff4-c2d7-4b11-a557-5c451c38df47","name":"two","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":{"url":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/c020cff4-c2d7-4b11-a557-5c451c38df47/values/92f52247-135e-4bcb-bfa8-d50f0d930226/","id":"92f52247-135e-4bcb-bfa8-d50f0d930226","environment":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","environment_name":"default","earliest_tag":null,"parameter":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/c020cff4-c2d7-4b11-a557-5c451c38df47/","external":false,"external_fqn":"","external_filter":"","external_error":null,"internal_value":"defaulttwo","value":"defaulttwo","secret":false,"created_at":"2021-09-22T15:29:42.152623Z","modified_at":"2021-09-22T15:29:42.152623Z","static_value":"defaulttwo","dynamic":false,"dynamic_error":null,"dynamic_filter":"","dynamic_fqn":""}},"created_at":"2021-09-22T15:29:40.071484Z","modified_at":"2021-09-22T15:29:42.707014Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:43 GMT - request: method: get - uri: https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/?environment=0293a31b-70a7-458c-afe4-162fa9febc1e + uri: https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/?environment=c4de304d-5dd4-4a41-80ec-9a469f1aa4f5 body: encoding: US-ASCII string: '' @@ -640,7 +759,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -652,33 +771,41 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:01 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:43 GMT Content-Type: - application/json + Content-Length: + - '2689' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=TgvttjEVO9kU53kPswM8zzH/Lk61cQ/ECys5S/uxusDlMAXiCUElcuszguzwQllEmWhzMqgXYxOG0PN8hw7Wt+ZLNl8UjClQov6bD7N5SKuWQKDi/DVeHQtLLWO0; + Expires=Wed, 29 Sep 2021 15:29:43 GMT; Path=/ + - AWSALBCORS=TgvttjEVO9kU53kPswM8zzH/Lk61cQ/ECys5S/uxusDlMAXiCUElcuszguzwQllEmWhzMqgXYxOG0PN8hw7Wt+ZLNl8UjClQov6bD7N5SKuWQKDi/DVeHQtLLWO0; + Expires=Wed, 29 Sep 2021 15:29:43 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=gd0g1l16J9FX5rci7icAjAvL5Bo0JkkS+5WuMW0j6Qz0GzatB36zLOMAuaife9k5MHzURWcllYX5D3BF6J/dDr5xY+/991FvVxopuKsfb5zOoehGt5fm67mxtcuuvmMzswL/Co1LYMqChmHGwKSBKEiUiMU5ChlrZGTYwrU9CBoJ; + Expires=Wed, 29 Sep 2021 15:29:43 GMT; Path=/ + - AWSALBTGCORS=gd0g1l16J9FX5rci7icAjAvL5Bo0JkkS+5WuMW0j6Qz0GzatB36zLOMAuaife9k5MHzURWcllYX5D3BF6J/dDr5xY+/991FvVxopuKsfb5zOoehGt5fm67mxtcuuvmMzswL/Co1LYMqChmHGwKSBKEiUiMU5ChlrZGTYwrU9CBoJ; + Expires=Wed, 29 Sep 2021 15:29:43 GMT; Path=/; SameSite=None; Secure + - csrftoken=nDEsKM8pKUsw3AgyVJxSvrR5rPo2ynicE4ksTANgByPZougd4HX81JVLP6kfYCL6; + expires=Wed, 21 Sep 2022 15:29:43 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=nz0p6vb64pc8hbwheyo9upkibc3gus5h; expires=Wed, 06 Oct 2021 15:29:43 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '2233' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=Eelz3p1D2igHKGN5R8zIIt4oQGw6rRkkJnJAGiBCwSbxtIlMpwFPZBnMI5B8S3zV; - expires=Tue, 02 Aug 2022 19:33:01 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=q6m880g25ww07xlsvdkkbqsrxrvzf39n; expires=Tue, 17 Aug 2021 19:33:01 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/3db3d44d-82fa-4a17-8b25-ca6294ff07aa/","id":"3db3d44d-82fa-4a17-8b25-ca6294ff07aa","name":"one","description":"","secret":false,"templates":[],"values":{"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/":{"url":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/3db3d44d-82fa-4a17-8b25-ca6294ff07aa/values/ab294ade-d4df-4720-bea8-2db9fe5e2589/","id":"ab294ade-d4df-4720-bea8-2db9fe5e2589","environment":"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/","parameter":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/3db3d44d-82fa-4a17-8b25-ca6294ff07aa/","dynamic":false,"dynamic_fqn":"","dynamic_filter":"","static_value":"developmentone","value":"developmentone","secret":false,"created_at":"2021-08-03T19:32:56.466027Z","modified_at":"2021-08-03T19:32:56.466059Z"}},"created_at":"2021-08-03T19:32:52.069132Z","modified_at":"2021-08-03T19:32:56.461144Z"},{"url":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/f0adc5df-9c09-4615-afd2-de210fcccc02/","id":"f0adc5df-9c09-4615-afd2-de210fcccc02","name":"two","description":"","secret":false,"templates":[],"values":{"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/":{"url":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/f0adc5df-9c09-4615-afd2-de210fcccc02/values/98cfaf6f-870a-4577-a922-940ea3fd64ea/","id":"98cfaf6f-870a-4577-a922-940ea3fd64ea","environment":"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/","parameter":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/parameters/f0adc5df-9c09-4615-afd2-de210fcccc02/","dynamic":false,"dynamic_fqn":"","dynamic_filter":"","static_value":"developmenttwo","value":"developmenttwo","secret":false,"created_at":"2021-08-03T19:32:58.215788Z","modified_at":"2021-08-03T19:32:58.215823Z"}},"created_at":"2021-08-03T19:32:53.244693Z","modified_at":"2021-08-03T19:32:58.210638Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:33:01 GMT + string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/f0198116-8a26-4d0e-801d-9b251da1715e/","id":"f0198116-8a26-4d0e-801d-9b251da1715e","name":"one","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":{"url":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/f0198116-8a26-4d0e-801d-9b251da1715e/values/0a1aa561-8941-4c34-b385-6e9ccdea4fbd/","id":"0a1aa561-8941-4c34-b385-6e9ccdea4fbd","environment":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","environment_name":"development","earliest_tag":null,"parameter":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/f0198116-8a26-4d0e-801d-9b251da1715e/","external":false,"external_fqn":"","external_filter":"","external_error":null,"internal_value":"developmentone","value":"developmentone","secret":false,"created_at":"2021-09-22T15:29:41.625500Z","modified_at":"2021-09-22T15:29:41.625500Z","static_value":"developmentone","dynamic":false,"dynamic_error":null,"dynamic_filter":"","dynamic_fqn":""}},"created_at":"2021-09-22T15:29:39.549445Z","modified_at":"2021-09-22T15:29:41.643580Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/c020cff4-c2d7-4b11-a557-5c451c38df47/","id":"c020cff4-c2d7-4b11-a557-5c451c38df47","name":"two","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":{"url":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/c020cff4-c2d7-4b11-a557-5c451c38df47/values/e7fa80ae-414a-4299-aea2-79273dcba378/","id":"e7fa80ae-414a-4299-aea2-79273dcba378","environment":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","environment_name":"development","earliest_tag":null,"parameter":"https://api.cloudtruth.io/api/v1/projects/5d437426-ac58-4d82-9525-e5c11ca23add/parameters/c020cff4-c2d7-4b11-a557-5c451c38df47/","external":false,"external_fqn":"","external_filter":"","external_error":null,"internal_value":"developmenttwo","value":"developmenttwo","secret":false,"created_at":"2021-09-22T15:29:42.684161Z","modified_at":"2021-09-22T15:29:42.684161Z","static_value":"developmenttwo","dynamic":false,"dynamic_error":null,"dynamic_filter":"","dynamic_fqn":""}},"created_at":"2021-09-22T15:29:40.071484Z","modified_at":"2021-09-22T15:29:42.707014Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:43 GMT recorded_with: VCR 6.0.0 diff --git a/spec/fixtures/vcr/Kubetruth_CtApi/_project_id/gets_id.yml b/spec/fixtures/vcr/Kubetruth_CtApi/_project_id/gets_id.yml index 854eba9..5d6cfb1 100644 --- a/spec/fixtures/vcr/Kubetruth_CtApi/_project_id/gets_id.yml +++ b/spec/fixtures/vcr/Kubetruth_CtApi/_project_id/gets_id.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -10,7 +10,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -22,34 +22,364 @@ http_interactions: code: 200 message: OK headers: + Date: + - Wed, 22 Sep 2021 15:29:21 GMT + Content-Type: + - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=u/t2z6EZxLWBPfHAcMThnkYFUwjJkhZ79jT3DxHK4v1bjEjB0gFhQceDJUT170BSLABGaS8SVYr4va5Dvxja4Y27ywqlhlIzeZb86HZgvkYnbO7jQxikjnLNxw8+; + Expires=Wed, 29 Sep 2021 15:29:21 GMT; Path=/ + - AWSALBCORS=u/t2z6EZxLWBPfHAcMThnkYFUwjJkhZ79jT3DxHK4v1bjEjB0gFhQceDJUT170BSLABGaS8SVYr4va5Dvxja4Y27ywqlhlIzeZb86HZgvkYnbO7jQxikjnLNxw8+; + Expires=Wed, 29 Sep 2021 15:29:21 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=4b4PO9U/3QdMy7p/wEvIBFupGuelFZuSiy1Pnllpn3Yog34Ou8swYY8wJWxUib2eeHFh8jqgsc2PhoNdDPREIf2m8hk+aro93sKAmgH+sUUiptCHRxrqao5Mf6zkNTjFlGeIW+ztiajxrLoeBhXkymMfG8d1oYc4rl6uPBkgs2ws; + Expires=Wed, 29 Sep 2021 15:29:21 GMT; Path=/ + - AWSALBTGCORS=4b4PO9U/3QdMy7p/wEvIBFupGuelFZuSiy1Pnllpn3Yog34Ou8swYY8wJWxUib2eeHFh8jqgsc2PhoNdDPREIf2m8hk+aro93sKAmgH+sUUiptCHRxrqao5Mf6zkNTjFlGeIW+ztiajxrLoeBhXkymMfG8d1oYc4rl6uPBkgs2ws; + Expires=Wed, 29 Sep 2021 15:29:21 GMT; Path=/; SameSite=None; Secure + - csrftoken=8YGkRPjZbnpLUT0DXVpFqPWU5IVOvGwGIzTzKnKzVhNtaBNtVzN8t64rqYtRoimE; + expires=Wed, 21 Sep 2022 15:29:21 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=ngsqbmn9h6xdck8szjnrikfmlw3l0pdg; expires=Wed, 06 Oct 2021 15:29:21 + GMT; Max-Age=1209600; Path=/; Secure Server: - undisclosed + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f9695eec-f34e-44a0-8188-45d7b67dde6c/","id":"f9695eec-f34e-44a0-8188-45d7b67dde6c","name":"TestProject","description":"","created_at":"2021-09-22T15:29:19.458153Z","modified_at":"2021-09-22T15:29:20.869139Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:21 GMT +- request: + method: delete + uri: https://api.cloudtruth.io/api/v1/projects/f9695eec-f34e-44a0-8188-45d7b67dde6c/ + body: + encoding: US-ASCII + string: '' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 204 + message: No Content + headers: Date: - - Tue, 03 Aug 2021 19:32:20 GMT + - Wed, 22 Sep 2021 15:29:21 GMT + Content-Length: + - '0' Connection: - - close + - keep-alive + Set-Cookie: + - AWSALB=MjRFeMqWMbBHRNfKFxReXm9hvdE0WXe0bpdk+kx4BekMGT82vclf29hvQkJC4NJsaNQfSOHQBXg40KlGDXQ/ysgJGdEtmMwzKl/ujkYklO3Hre45Ez6KdTnUS8du; + Expires=Wed, 29 Sep 2021 15:29:21 GMT; Path=/ + - AWSALBCORS=MjRFeMqWMbBHRNfKFxReXm9hvdE0WXe0bpdk+kx4BekMGT82vclf29hvQkJC4NJsaNQfSOHQBXg40KlGDXQ/ysgJGdEtmMwzKl/ujkYklO3Hre45Ez6KdTnUS8du; + Expires=Wed, 29 Sep 2021 15:29:21 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=k5dSBSkna9A0naYcsAPjZ0QOggcu5ps/wR4F35BLXXheRHHQUVw6+4YT7WBKXNoDTVt78DIbRiT+9tk55XYINg548Zm8Byoum6zcuSPV3sqSYV9OLgZKeStcXm7BwfsGgjbVrmdwVA5bF60AOOORkGRLEPHIxE2HYyCUOnmY4XNw; + Expires=Wed, 29 Sep 2021 15:29:21 GMT; Path=/ + - AWSALBTGCORS=k5dSBSkna9A0naYcsAPjZ0QOggcu5ps/wR4F35BLXXheRHHQUVw6+4YT7WBKXNoDTVt78DIbRiT+9tk55XYINg548Zm8Byoum6zcuSPV3sqSYV9OLgZKeStcXm7BwfsGgjbVrmdwVA5bF60AOOORkGRLEPHIxE2HYyCUOnmY4XNw; + Expires=Wed, 29 Sep 2021 15:29:21 GMT; Path=/; SameSite=None; Secure + - csrftoken=9xVsik3GSDuHtKtSfPXCfOViKH19PHLqru9HUWzgYKXa7HZlwN9ajb1xxh3g9g9q; + expires=Wed, 21 Sep 2022 15:29:21 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=ks0qynps04z898k3utfki60jlnv6qix7; expires=Wed, 06 Oct 2021 15:29:21 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Vary: + - Accept, Cookie, Origin + Allow: + - GET, PUT, PATCH, DELETE, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '' + recorded_at: Wed, 22 Sep 2021 15:29:21 GMT +- request: + method: post + uri: https://api.cloudtruth.io/api/v1/projects/ + body: + encoding: UTF-8 + string: '{"name":"TestProject"}' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Wed, 22 Sep 2021 15:29:22 GMT Content-Type: - application/json + Content-Length: + - '258' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=47AlAk7+y+HPfU3Nb9llEHYlqI7XgE17rigDB99l+5aD6gi4SW9JJjOZgb/WjkC7CrtMwmTlqyG4bwDrYOvUxRecbDWUgLISzzkTePrTlTbAbRoYkFsB/C3syG4a; + Expires=Wed, 29 Sep 2021 15:29:21 GMT; Path=/ + - AWSALBCORS=47AlAk7+y+HPfU3Nb9llEHYlqI7XgE17rigDB99l+5aD6gi4SW9JJjOZgb/WjkC7CrtMwmTlqyG4bwDrYOvUxRecbDWUgLISzzkTePrTlTbAbRoYkFsB/C3syG4a; + Expires=Wed, 29 Sep 2021 15:29:21 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=dtaOSSdln826Z9ByCXQwSzgUVX+nb+XgaiMa5v74TksxFgDC+/x85JVS2PfhJJMT1yKcgJadfv0o6ecDHLW6CEYcrv6klyefvGRZABrC/xkJvJykEs5zc1O3PzcLZuuJKd47nNi5ubxtGJdLJmmHbBJN0JFw+N8liE8YxTze8m6u; + Expires=Wed, 29 Sep 2021 15:29:21 GMT; Path=/ + - AWSALBTGCORS=dtaOSSdln826Z9ByCXQwSzgUVX+nb+XgaiMa5v74TksxFgDC+/x85JVS2PfhJJMT1yKcgJadfv0o6ecDHLW6CEYcrv6klyefvGRZABrC/xkJvJykEs5zc1O3PzcLZuuJKd47nNi5ubxtGJdLJmmHbBJN0JFw+N8liE8YxTze8m6u; + Expires=Wed, 29 Sep 2021 15:29:21 GMT; Path=/; SameSite=None; Secure + - csrftoken=yffGNJFVYgyOE9TEJU6eHP7g4yoKoLmInoqnI6qSSEtyaqCb4OoBQOpkwtYAcSak; + expires=Wed, 21 Sep 2022 15:29:22 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=4icd7ag70c2m86zso7cprxgg494dezu6; expires=Wed, 06 Oct 2021 15:29:22 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Location: + - https://api.cloudtruth.io/api/v1/projects/938edbe1-84d6-4682-a9c4-1dd5fde50f98/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/938edbe1-84d6-4682-a9c4-1dd5fde50f98/","id":"938edbe1-84d6-4682-a9c4-1dd5fde50f98","name":"TestProject","description":"","created_at":"2021-09-22T15:29:22.286403Z","modified_at":"2021-09-22T15:29:22.286403Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:22 GMT +- request: + method: get + uri: https://api.cloudtruth.io/api/v1/projects/ + body: + encoding: US-ASCII + string: '' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 22 Sep 2021 15:29:22 GMT + Content-Type: + - application/json Content-Length: - - '610' + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=3bNOq5SU3wEIlKKWucqLCFv3+v6R6xK0pc4phEGd7DNJS5IS9Tk0z1ykUE18u302W81OjJXxjyVwaFxWqCxcb4S4SPndI4se385DPo37vmu+2kpdb9CDlPV1upTe; + Expires=Wed, 29 Sep 2021 15:29:22 GMT; Path=/ + - AWSALBCORS=3bNOq5SU3wEIlKKWucqLCFv3+v6R6xK0pc4phEGd7DNJS5IS9Tk0z1ykUE18u302W81OjJXxjyVwaFxWqCxcb4S4SPndI4se385DPo37vmu+2kpdb9CDlPV1upTe; + Expires=Wed, 29 Sep 2021 15:29:22 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=zhNrBqsbsA18D1zEt+4f/GsnL/7vuxALQlJxDBYbCWJxb7kPHkRiBUghITFr7svDJspvmO7rp798njkKi+OqLZSmIzDs4AXS9TNsPAy+YggNeuy98gRKz0RL1HMPWD73Q8tftSZ2pGpMuc7tSbd0L3t2W1l1sPBRlf5ZQTRhCZ8F; + Expires=Wed, 29 Sep 2021 15:29:22 GMT; Path=/ + - AWSALBTGCORS=zhNrBqsbsA18D1zEt+4f/GsnL/7vuxALQlJxDBYbCWJxb7kPHkRiBUghITFr7svDJspvmO7rp798njkKi+OqLZSmIzDs4AXS9TNsPAy+YggNeuy98gRKz0RL1HMPWD73Q8tftSZ2pGpMuc7tSbd0L3t2W1l1sPBRlf5ZQTRhCZ8F; + Expires=Wed, 29 Sep 2021 15:29:22 GMT; Path=/; SameSite=None; Secure + - csrftoken=ERrVDVDbpt6meL3C97fw2FqwO5R2j7zXWs0cEnzEq7PWKHhN4qVuxPol1v61EQdw; + expires=Wed, 21 Sep 2022 15:29:22 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=8q1zytysm4qwrezt1jcwodjei29riftz; expires=Wed, 06 Oct 2021 15:29:22 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin + body: + encoding: UTF-8 + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/938edbe1-84d6-4682-a9c4-1dd5fde50f98/","id":"938edbe1-84d6-4682-a9c4-1dd5fde50f98","name":"TestProject","description":"","created_at":"2021-09-22T15:29:22.286403Z","modified_at":"2021-09-22T15:29:22.286403Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:22 GMT +- request: + method: post + uri: https://api.cloudtruth.io/api/v1/projects/938edbe1-84d6-4682-a9c4-1dd5fde50f98/parameters/ + body: + encoding: UTF-8 + string: '{"name":"one"}' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Wed, 22 Sep 2021 15:29:23 GMT + Content-Type: + - application/json + Content-Length: + - '1185' + Connection: + - keep-alive Set-Cookie: - - csrftoken=v5HmPT0zrPeWynZGzQoZG6O91G9N87drJHXTQmc8Ts1wgQiakmPCIqpyeZPnBOj7; - expires=Tue, 02 Aug 2022 19:32:20 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=icrycsz2u0robl9aa0r07b2mz3lmpvrc; expires=Tue, 17 Aug 2021 19:32:20 + - AWSALB=wB+ZLfDRWcq9/Wcb/9nGflwwkx/Yu723bK7UaQ+Q6rua58Lk8x/YOPL+rvxLaai1WclnkV1Vt8JnymyLAwPlMV92ORd5wVA2Tmx91Ngsh8f3uolLuIX1uZcsQkHe; + Expires=Wed, 29 Sep 2021 15:29:22 GMT; Path=/ + - AWSALBCORS=wB+ZLfDRWcq9/Wcb/9nGflwwkx/Yu723bK7UaQ+Q6rua58Lk8x/YOPL+rvxLaai1WclnkV1Vt8JnymyLAwPlMV92ORd5wVA2Tmx91Ngsh8f3uolLuIX1uZcsQkHe; + Expires=Wed, 29 Sep 2021 15:29:22 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=yTyKufw1ui3j2TN7+Vq+QfMqPV1c1tKltWXC6B+l6+8rQYMjpeXaNW6lL3BH+l/5Mli4gB0crw0pPLQodYRKU3W252VEhGHltf7f9Vbjmh4ujStrMGHq4CTHaJSPMRB+v7J+GOKyd1aCuWmEXegOl8OEAP04QqFuDmVAM9fUL4FZ; + Expires=Wed, 29 Sep 2021 15:29:22 GMT; Path=/ + - AWSALBTGCORS=yTyKufw1ui3j2TN7+Vq+QfMqPV1c1tKltWXC6B+l6+8rQYMjpeXaNW6lL3BH+l/5Mli4gB0crw0pPLQodYRKU3W252VEhGHltf7f9Vbjmh4ujStrMGHq4CTHaJSPMRB+v7J+GOKyd1aCuWmEXegOl8OEAP04QqFuDmVAM9fUL4FZ; + Expires=Wed, 29 Sep 2021 15:29:22 GMT; Path=/; SameSite=None; Secure + - csrftoken=6IGXTpPPpCJmXczQcHKW7ica50tAP5vIJV776g0yIl1Ez67O4zEb2w4Bkgyohvj9; + expires=Wed, 21 Sep 2022 15:29:23 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=697atgmd9i6swq6yfi5tl67ljkbyrfaz; expires=Wed, 06 Oct 2021 15:29:23 GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Location: + - https://api.cloudtruth.io/api/v1/projects/938edbe1-84d6-4682-a9c4-1dd5fde50f98/parameters/427b154e-379d-4456-95f4-e2cae6a15dbd/ + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/938edbe1-84d6-4682-a9c4-1dd5fde50f98/parameters/427b154e-379d-4456-95f4-e2cae6a15dbd/","id":"427b154e-379d-4456-95f4-e2cae6a15dbd","name":"one","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:23.259207Z","modified_at":"2021-09-22T15:29:23.259207Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:23 GMT +- request: + method: post + uri: https://api.cloudtruth.io/api/v1/projects/938edbe1-84d6-4682-a9c4-1dd5fde50f98/parameters/ + body: + encoding: UTF-8 + string: '{"name":"two"}' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Wed, 22 Sep 2021 15:29:23 GMT + Content-Type: + - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=4jrZJIz756RAlkNkoLzgFJZsONc5YfreEIGqDfGxAdBihC+dgKxP+G3lMvxS9lujoJ1Xa6N88uxMl9CK2I0UCbfpTcez6c0c5NN8FJLhG/ksM9nKa9zXBxGbi+JT; + Expires=Wed, 29 Sep 2021 15:29:23 GMT; Path=/ + - AWSALBCORS=4jrZJIz756RAlkNkoLzgFJZsONc5YfreEIGqDfGxAdBihC+dgKxP+G3lMvxS9lujoJ1Xa6N88uxMl9CK2I0UCbfpTcez6c0c5NN8FJLhG/ksM9nKa9zXBxGbi+JT; + Expires=Wed, 29 Sep 2021 15:29:23 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=rJ4sPIBwRJ2uMZzu/nCKn98Ll/Q5VnVklX+0Xo66Ar+1L9APvLUPhr0PuEPQWauSfBE8WDrVWzo4cWpIVeHUGFgkLaNDRw8IsqA4P/dk4QcbiEPdkZk1w6MyTrIpW8qyus1xZdpNqSVkhllKNrrcf8OURW60rDcca2Xbd2Ipsf9J; + Expires=Wed, 29 Sep 2021 15:29:23 GMT; Path=/ + - AWSALBTGCORS=rJ4sPIBwRJ2uMZzu/nCKn98Ll/Q5VnVklX+0Xo66Ar+1L9APvLUPhr0PuEPQWauSfBE8WDrVWzo4cWpIVeHUGFgkLaNDRw8IsqA4P/dk4QcbiEPdkZk1w6MyTrIpW8qyus1xZdpNqSVkhllKNrrcf8OURW60rDcca2Xbd2Ipsf9J; + Expires=Wed, 29 Sep 2021 15:29:23 GMT; Path=/; SameSite=None; Secure + - csrftoken=cnO4ZzQNtH3s63x0egTQGj0bX7gPhcfWgTXbhja0C7QSh1S1kymku9jiAXJw7ykB; + expires=Wed, 21 Sep 2022 15:29:23 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=fov52s1tsum0wt5w6f42bs71sk1hrgsf; expires=Wed, 06 Oct 2021 15:29:23 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Location: + - https://api.cloudtruth.io/api/v1/projects/938edbe1-84d6-4682-a9c4-1dd5fde50f98/parameters/856b0f4f-be8c-4f4b-8440-36c45e18389e/ + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/831751c5-e30c-4489-b3c5-969bb2abebd3/","id":"831751c5-e30c-4489-b3c5-969bb2abebd3","name":"TestProject","description":"","created_at":"2021-08-03T19:31:32.128299Z","modified_at":"2021-08-03T19:31:32.128335Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:32:20 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/938edbe1-84d6-4682-a9c4-1dd5fde50f98/parameters/856b0f4f-be8c-4f4b-8440-36c45e18389e/","id":"856b0f4f-be8c-4f4b-8440-36c45e18389e","name":"two","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:23.832281Z","modified_at":"2021-09-22T15:29:23.832281Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:23 GMT recorded_with: VCR 6.0.0 diff --git a/spec/fixtures/vcr/Kubetruth_CtApi/_project_id/raises_if_project_doesn_t_exist.yml b/spec/fixtures/vcr/Kubetruth_CtApi/_project_id/raises_if_project_doesn_t_exist.yml index df60995..f6f5e83 100644 --- a/spec/fixtures/vcr/Kubetruth_CtApi/_project_id/raises_if_project_doesn_t_exist.yml +++ b/spec/fixtures/vcr/Kubetruth_CtApi/_project_id/raises_if_project_doesn_t_exist.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -10,7 +10,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -22,34 +22,364 @@ http_interactions: code: 200 message: OK headers: + Date: + - Wed, 22 Sep 2021 15:29:24 GMT + Content-Type: + - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=serFB/blhKcDNNA532I5cULTsYegrsZ9Kuxyi8bqEC6+C1WCz9ozn7XGtkeGfqVZySSCvFnRpy5LES4D7lbnlp4MLEG46zg/OB1dpY3nfjLGfpIY6EoVR6xTHQ8w; + Expires=Wed, 29 Sep 2021 15:29:24 GMT; Path=/ + - AWSALBCORS=serFB/blhKcDNNA532I5cULTsYegrsZ9Kuxyi8bqEC6+C1WCz9ozn7XGtkeGfqVZySSCvFnRpy5LES4D7lbnlp4MLEG46zg/OB1dpY3nfjLGfpIY6EoVR6xTHQ8w; + Expires=Wed, 29 Sep 2021 15:29:24 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=xpvLIjteQiEjZGg2MYvSu94Uzg0SucGwT3h4oxnhBljnxivuaMUHMFM7w7+RC9hmjXozJMZjjQ52omwty3EAFLy13pKnJmNOqZsUeWNFs5fEm68WCAjLfMwm0DgutS/y4Z65yA3I27wtB6RyzXKXeFhtzGJsLzG0DFwDPD2ts0kt; + Expires=Wed, 29 Sep 2021 15:29:24 GMT; Path=/ + - AWSALBTGCORS=xpvLIjteQiEjZGg2MYvSu94Uzg0SucGwT3h4oxnhBljnxivuaMUHMFM7w7+RC9hmjXozJMZjjQ52omwty3EAFLy13pKnJmNOqZsUeWNFs5fEm68WCAjLfMwm0DgutS/y4Z65yA3I27wtB6RyzXKXeFhtzGJsLzG0DFwDPD2ts0kt; + Expires=Wed, 29 Sep 2021 15:29:24 GMT; Path=/; SameSite=None; Secure + - csrftoken=ElUxJn0IqbgzvO2rjeWNtjGFESt4GTCfc2A8X0JNLd397cAtNuT4tsx3vdG3XmNo; + expires=Wed, 21 Sep 2022 15:29:24 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=us293xzslv9igxup8sc60pamhyfc1xkr; expires=Wed, 06 Oct 2021 15:29:24 + GMT; Max-Age=1209600; Path=/; Secure Server: - undisclosed + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/938edbe1-84d6-4682-a9c4-1dd5fde50f98/","id":"938edbe1-84d6-4682-a9c4-1dd5fde50f98","name":"TestProject","description":"","created_at":"2021-09-22T15:29:22.286403Z","modified_at":"2021-09-22T15:29:23.844134Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:24 GMT +- request: + method: delete + uri: https://api.cloudtruth.io/api/v1/projects/938edbe1-84d6-4682-a9c4-1dd5fde50f98/ + body: + encoding: US-ASCII + string: '' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 204 + message: No Content + headers: Date: - - Tue, 03 Aug 2021 19:32:21 GMT + - Wed, 22 Sep 2021 15:29:24 GMT + Content-Length: + - '0' Connection: - - close + - keep-alive + Set-Cookie: + - AWSALB=ZbweTcSnPImvmb6YgblqoFG9jiAECIcG0sKih7WK4t5K06NCcWJZhtOD+eWj8s72e1u3o/l7w16Q0407OsONFMvQpdVABLSLr0OMcDB6H1MMDdRbGl5XKW4oqZJd; + Expires=Wed, 29 Sep 2021 15:29:24 GMT; Path=/ + - AWSALBCORS=ZbweTcSnPImvmb6YgblqoFG9jiAECIcG0sKih7WK4t5K06NCcWJZhtOD+eWj8s72e1u3o/l7w16Q0407OsONFMvQpdVABLSLr0OMcDB6H1MMDdRbGl5XKW4oqZJd; + Expires=Wed, 29 Sep 2021 15:29:24 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=fMZf+b5kx7Limt+9Z+ZBldf5TYBYRTOUoO4CtfqdskvGAnwvk1wS4/gIjnbNiMEC/d4jBB76GoZLApqUD2ZjBV9RHRlKceTA/a9P2XjHVw8kCdMVpCdQEK2nprVfX4UI/SZsKb0KUihcgpezj5RpYFdwVFa9HJB312/BpDGZEoFb; + Expires=Wed, 29 Sep 2021 15:29:24 GMT; Path=/ + - AWSALBTGCORS=fMZf+b5kx7Limt+9Z+ZBldf5TYBYRTOUoO4CtfqdskvGAnwvk1wS4/gIjnbNiMEC/d4jBB76GoZLApqUD2ZjBV9RHRlKceTA/a9P2XjHVw8kCdMVpCdQEK2nprVfX4UI/SZsKb0KUihcgpezj5RpYFdwVFa9HJB312/BpDGZEoFb; + Expires=Wed, 29 Sep 2021 15:29:24 GMT; Path=/; SameSite=None; Secure + - csrftoken=nMZOEe2ejog17Sip4q7eOt0BdOcZdRkSI1vzoWwd8HsNf30ATvPKQ7XaZaW8Uiul; + expires=Wed, 21 Sep 2022 15:29:24 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=nb9srevvgj0cqb42c0qmhivqqqofo787; expires=Wed, 06 Oct 2021 15:29:24 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Vary: + - Accept, Cookie, Origin + Allow: + - GET, PUT, PATCH, DELETE, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '' + recorded_at: Wed, 22 Sep 2021 15:29:24 GMT +- request: + method: post + uri: https://api.cloudtruth.io/api/v1/projects/ + body: + encoding: UTF-8 + string: '{"name":"TestProject"}' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Wed, 22 Sep 2021 15:29:25 GMT Content-Type: - application/json + Content-Length: + - '258' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=qW2qOcQPf2UmO3MzFL3eT4MzSDj21uibl5o2dMFaKNS6gt1hP1NMclqOkGlap9GuFZzSly0zBrzrarAYRRUx06MTd36MtyFtVNz4mwYjHn3LMstOgEqPzrd5GHrX; + Expires=Wed, 29 Sep 2021 15:29:25 GMT; Path=/ + - AWSALBCORS=qW2qOcQPf2UmO3MzFL3eT4MzSDj21uibl5o2dMFaKNS6gt1hP1NMclqOkGlap9GuFZzSly0zBrzrarAYRRUx06MTd36MtyFtVNz4mwYjHn3LMstOgEqPzrd5GHrX; + Expires=Wed, 29 Sep 2021 15:29:25 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=EXKNIBoZEOgoBaxW0tV0lnLf7xRj+wl2cyBArtT/qkUvqbPcEi4T+y3ge3Z6ikr/NVnVS8Q6psFMxLnmYTlkfC8O5KscpSUYIq1hL/iMdaTMPYYWxdCaFyqVuTtL2bcBtUsukVot0eYnrQ7qyyDabfDrL+bbJbqK4rVMHCpqACUP; + Expires=Wed, 29 Sep 2021 15:29:25 GMT; Path=/ + - AWSALBTGCORS=EXKNIBoZEOgoBaxW0tV0lnLf7xRj+wl2cyBArtT/qkUvqbPcEi4T+y3ge3Z6ikr/NVnVS8Q6psFMxLnmYTlkfC8O5KscpSUYIq1hL/iMdaTMPYYWxdCaFyqVuTtL2bcBtUsukVot0eYnrQ7qyyDabfDrL+bbJbqK4rVMHCpqACUP; + Expires=Wed, 29 Sep 2021 15:29:25 GMT; Path=/; SameSite=None; Secure + - csrftoken=xKts408QEwnowFO6KkkodBvtA68QrJzoBR5c4aoc1IZuRwhqJHqLOWtFgezHlpj0; + expires=Wed, 21 Sep 2022 15:29:25 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=upbvxiz7lwdamr7591z4a43oamc9zvjl; expires=Wed, 06 Oct 2021 15:29:25 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Location: + - https://api.cloudtruth.io/api/v1/projects/1426f466-f7f2-4c1d-8d28-240dd546847b/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/1426f466-f7f2-4c1d-8d28-240dd546847b/","id":"1426f466-f7f2-4c1d-8d28-240dd546847b","name":"TestProject","description":"","created_at":"2021-09-22T15:29:25.466049Z","modified_at":"2021-09-22T15:29:25.466049Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:25 GMT +- request: + method: get + uri: https://api.cloudtruth.io/api/v1/projects/ + body: + encoding: US-ASCII + string: '' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 22 Sep 2021 15:29:26 GMT + Content-Type: + - application/json Content-Length: - - '610' + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=NWtZ2+ZoBscVRBrTRnjyMeF+gBLQBMtBqAz7ooSvTTHTGQkcp7n8rBhl4cLjaco/uT6J3fLI4pJCmBUn1mQHabzKj10TU1Vfs9NbBvIc4e3plgxThJAuLorfaLzO; + Expires=Wed, 29 Sep 2021 15:29:25 GMT; Path=/ + - AWSALBCORS=NWtZ2+ZoBscVRBrTRnjyMeF+gBLQBMtBqAz7ooSvTTHTGQkcp7n8rBhl4cLjaco/uT6J3fLI4pJCmBUn1mQHabzKj10TU1Vfs9NbBvIc4e3plgxThJAuLorfaLzO; + Expires=Wed, 29 Sep 2021 15:29:25 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=sxZ/d8z6fPuMxmi7u1zB2Awyp9F4djumcrgjAegrh+0maPv2Q149fATYWsvfr23Cs+zBoSHW8pgoQqKgjPIkx4oB96bXIweLmdl4PMPkTmG7gl34Pm3Obb/BHWCXc8DYMEpN9Td9UY+OI5EiI1lKBn/1XvnbSHYZDFoaXKxtBkEd; + Expires=Wed, 29 Sep 2021 15:29:25 GMT; Path=/ + - AWSALBTGCORS=sxZ/d8z6fPuMxmi7u1zB2Awyp9F4djumcrgjAegrh+0maPv2Q149fATYWsvfr23Cs+zBoSHW8pgoQqKgjPIkx4oB96bXIweLmdl4PMPkTmG7gl34Pm3Obb/BHWCXc8DYMEpN9Td9UY+OI5EiI1lKBn/1XvnbSHYZDFoaXKxtBkEd; + Expires=Wed, 29 Sep 2021 15:29:25 GMT; Path=/; SameSite=None; Secure + - csrftoken=LxxSvaFWFsnr3muNZRuyta54RjzbxXuDiXpns3VXdG2QrO7lQyzY3CiZTwCfw7h1; + expires=Wed, 21 Sep 2022 15:29:25 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=bvoyva6msarl4vlrk279arum117bdyfi; expires=Wed, 06 Oct 2021 15:29:25 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin + body: + encoding: UTF-8 + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1426f466-f7f2-4c1d-8d28-240dd546847b/","id":"1426f466-f7f2-4c1d-8d28-240dd546847b","name":"TestProject","description":"","created_at":"2021-09-22T15:29:25.466049Z","modified_at":"2021-09-22T15:29:25.466049Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:25 GMT +- request: + method: post + uri: https://api.cloudtruth.io/api/v1/projects/1426f466-f7f2-4c1d-8d28-240dd546847b/parameters/ + body: + encoding: UTF-8 + string: '{"name":"one"}' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Wed, 22 Sep 2021 15:29:26 GMT + Content-Type: + - application/json + Content-Length: + - '1185' + Connection: + - keep-alive Set-Cookie: - - csrftoken=eeQ1FhMqZU0jWG6WuQCYfbo37P8JeR7PUhHaL7EBn793lP5zSDCg3PkLFRw5rRSu; - expires=Tue, 02 Aug 2022 19:32:21 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=6upbkwdw5om5emcictpsbry0dxoef24g; expires=Tue, 17 Aug 2021 19:32:21 + - AWSALB=ArVcLEyFzTT0voJLAG+WUEbT5L6Eh66ZFD3xcIsvFiN32Lqjui0oLv7L6Z4eVcfnhIYHXZtN1yWqxXAFMVT7d8+csSmrt03o7NFKClDv+9gb5P1VKpwbobAbN0UQ; + Expires=Wed, 29 Sep 2021 15:29:26 GMT; Path=/ + - AWSALBCORS=ArVcLEyFzTT0voJLAG+WUEbT5L6Eh66ZFD3xcIsvFiN32Lqjui0oLv7L6Z4eVcfnhIYHXZtN1yWqxXAFMVT7d8+csSmrt03o7NFKClDv+9gb5P1VKpwbobAbN0UQ; + Expires=Wed, 29 Sep 2021 15:29:26 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=2a/BlwDy4AzLThjLUMTnywtFeAZ/f1tuBsLaZm/bUE4P3a+RlZdeP0eOiSfv20hw1Y90sw1rOemLuG396IWUF3145rCS5cioeljh6w3ryFEwhe/NmOtM4rpCDgTMxqxnWQHm6J8l/gtkxBrfwupCGw2McF0tqxdyY8YZtbgfLVKe; + Expires=Wed, 29 Sep 2021 15:29:26 GMT; Path=/ + - AWSALBTGCORS=2a/BlwDy4AzLThjLUMTnywtFeAZ/f1tuBsLaZm/bUE4P3a+RlZdeP0eOiSfv20hw1Y90sw1rOemLuG396IWUF3145rCS5cioeljh6w3ryFEwhe/NmOtM4rpCDgTMxqxnWQHm6J8l/gtkxBrfwupCGw2McF0tqxdyY8YZtbgfLVKe; + Expires=Wed, 29 Sep 2021 15:29:26 GMT; Path=/; SameSite=None; Secure + - csrftoken=XrLTgLNHUV8eKxCRnni9yAPykkZEGc8cpvPgp8HldMXDJy32wOWtEZXz97VyRKpZ; + expires=Wed, 21 Sep 2022 15:29:26 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=lkjek43s0cchb1kklaapw77nw5moz5ni; expires=Wed, 06 Oct 2021 15:29:26 GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Location: + - https://api.cloudtruth.io/api/v1/projects/1426f466-f7f2-4c1d-8d28-240dd546847b/parameters/6ce9e46b-0777-4166-a16d-a871ae9ef72e/ + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/1426f466-f7f2-4c1d-8d28-240dd546847b/parameters/6ce9e46b-0777-4166-a16d-a871ae9ef72e/","id":"6ce9e46b-0777-4166-a16d-a871ae9ef72e","name":"one","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:26.466964Z","modified_at":"2021-09-22T15:29:26.466964Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:26 GMT +- request: + method: post + uri: https://api.cloudtruth.io/api/v1/projects/1426f466-f7f2-4c1d-8d28-240dd546847b/parameters/ + body: + encoding: UTF-8 + string: '{"name":"two"}' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Wed, 22 Sep 2021 15:29:27 GMT + Content-Type: + - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=rKxrx4ZypoozxL7oilb7GfaCKFbB7O6Uk2SXb1CaYwR1rTh7BE7vk1kKiK8mzts8DBTnfwFZHq84RVCxcUUIfPVxGdo6D/O590ZJP9C+DFINOg+Pz1o9SW9qHl+E; + Expires=Wed, 29 Sep 2021 15:29:26 GMT; Path=/ + - AWSALBCORS=rKxrx4ZypoozxL7oilb7GfaCKFbB7O6Uk2SXb1CaYwR1rTh7BE7vk1kKiK8mzts8DBTnfwFZHq84RVCxcUUIfPVxGdo6D/O590ZJP9C+DFINOg+Pz1o9SW9qHl+E; + Expires=Wed, 29 Sep 2021 15:29:26 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=/CArPJxEpnp2ch6KPbDOYNi12Z9zLHJJR3yKq+BumUHTN7/fUkPddeKZn0ATXqULchdWl99tVSBMKPnM6u6owtj/vPqQ6scghkOwBb4fF2poZX9kWhXSAbPVumYymzH3kBqaIjkyQtgzi5XNApzjZMsn4+uuG12uQmmrXwM5sU6i; + Expires=Wed, 29 Sep 2021 15:29:26 GMT; Path=/ + - AWSALBTGCORS=/CArPJxEpnp2ch6KPbDOYNi12Z9zLHJJR3yKq+BumUHTN7/fUkPddeKZn0ATXqULchdWl99tVSBMKPnM6u6owtj/vPqQ6scghkOwBb4fF2poZX9kWhXSAbPVumYymzH3kBqaIjkyQtgzi5XNApzjZMsn4+uuG12uQmmrXwM5sU6i; + Expires=Wed, 29 Sep 2021 15:29:26 GMT; Path=/; SameSite=None; Secure + - csrftoken=9kivk0PKqfnmhatLYXXDe0fkv87pa0OBtJqsmCGlT8vf0zXPCIc9RAGry4RynsNj; + expires=Wed, 21 Sep 2022 15:29:27 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=pf8cgawfa1e2qzy2oekn96crd179u3i0; expires=Wed, 06 Oct 2021 15:29:27 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Location: + - https://api.cloudtruth.io/api/v1/projects/1426f466-f7f2-4c1d-8d28-240dd546847b/parameters/f8aef3e4-1c5e-46e5-9414-14be1ed461f3/ + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/831751c5-e30c-4489-b3c5-969bb2abebd3/","id":"831751c5-e30c-4489-b3c5-969bb2abebd3","name":"TestProject","description":"","created_at":"2021-08-03T19:31:32.128299Z","modified_at":"2021-08-03T19:31:32.128335Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:32:21 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/1426f466-f7f2-4c1d-8d28-240dd546847b/parameters/f8aef3e4-1c5e-46e5-9414-14be1ed461f3/","id":"f8aef3e4-1c5e-46e5-9414-14be1ed461f3","name":"two","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:27.096251Z","modified_at":"2021-09-22T15:29:27.096251Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:26 GMT recorded_with: VCR 6.0.0 diff --git a/spec/fixtures/vcr/Kubetruth_CtApi/_projects/gets_projects.yml b/spec/fixtures/vcr/Kubetruth_CtApi/_projects/gets_projects.yml index 771f1a0..30c2771 100644 --- a/spec/fixtures/vcr/Kubetruth_CtApi/_projects/gets_projects.yml +++ b/spec/fixtures/vcr/Kubetruth_CtApi/_projects/gets_projects.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -10,7 +10,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -22,34 +22,364 @@ http_interactions: code: 200 message: OK headers: + Date: + - Wed, 22 Sep 2021 15:29:14 GMT + Content-Type: + - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=ax48F2kRH0TqOknHsgkHvoDb4q+94V3PfXhzScFUL9fimc0n55jv8LxHay1LM7TnKT4P0umyGzJ7+BEFZ05Vpc4c3hsXtk/yBAa0iqR2D2S+OL7Ek++6P19gBsKw; + Expires=Wed, 29 Sep 2021 15:29:14 GMT; Path=/ + - AWSALBCORS=ax48F2kRH0TqOknHsgkHvoDb4q+94V3PfXhzScFUL9fimc0n55jv8LxHay1LM7TnKT4P0umyGzJ7+BEFZ05Vpc4c3hsXtk/yBAa0iqR2D2S+OL7Ek++6P19gBsKw; + Expires=Wed, 29 Sep 2021 15:29:14 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=1kfjeUS2o0uuoorrc6CTwHWyUPdx4lNg7/D2X4HaiYmMUex1b3wYgUSHol6jzqYwKCKniSDzoFLwTYx0V6MMQqnm0U0eAIPaEknEoBoklVur1jCFKgCHt/XGQ/QFrr0wd4TGDp8C7pqLoFvsyqVtMkWlrgMza/U1/9oUhFwZwEd7; + Expires=Wed, 29 Sep 2021 15:29:14 GMT; Path=/ + - AWSALBTGCORS=1kfjeUS2o0uuoorrc6CTwHWyUPdx4lNg7/D2X4HaiYmMUex1b3wYgUSHol6jzqYwKCKniSDzoFLwTYx0V6MMQqnm0U0eAIPaEknEoBoklVur1jCFKgCHt/XGQ/QFrr0wd4TGDp8C7pqLoFvsyqVtMkWlrgMza/U1/9oUhFwZwEd7; + Expires=Wed, 29 Sep 2021 15:29:14 GMT; Path=/; SameSite=None; Secure + - csrftoken=ZxffMx7PBbu22Qmv9jutjEgTRAcJJBTmzKn795dmYCTlUuHvKDVf2xUEN0QHEChV; + expires=Wed, 21 Sep 2022 15:29:14 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=ee72ke74irwoafnz4u2io3pnakc3sqak; expires=Wed, 06 Oct 2021 15:29:14 + GMT; Max-Age=1209600; Path=/; Secure Server: - undisclosed + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/d323855a-aefa-4186-b749-d9c99e6a1436/","id":"d323855a-aefa-4186-b749-d9c99e6a1436","name":"TestProject","description":"","created_at":"2021-09-22T15:27:33.199143Z","modified_at":"2021-09-22T15:27:38.710159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:14 GMT +- request: + method: delete + uri: https://api.cloudtruth.io/api/v1/projects/d323855a-aefa-4186-b749-d9c99e6a1436/ + body: + encoding: US-ASCII + string: '' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 204 + message: No Content + headers: Date: - - Tue, 03 Aug 2021 19:32:17 GMT + - Wed, 22 Sep 2021 15:29:15 GMT + Content-Length: + - '0' Connection: - - close + - keep-alive + Set-Cookie: + - AWSALB=mzSpiMcA2TVIL6UBDuR/aiTRVjFrjLToPjr7DXdR+YjUvbKoqsAaCZtmr+gv8wW8ZlfyLRwutKuzNPtsAkUvulQ8nsIPnSXCSsM75+HSXgqIbIakazs8JQUrDN3f; + Expires=Wed, 29 Sep 2021 15:29:14 GMT; Path=/ + - AWSALBCORS=mzSpiMcA2TVIL6UBDuR/aiTRVjFrjLToPjr7DXdR+YjUvbKoqsAaCZtmr+gv8wW8ZlfyLRwutKuzNPtsAkUvulQ8nsIPnSXCSsM75+HSXgqIbIakazs8JQUrDN3f; + Expires=Wed, 29 Sep 2021 15:29:14 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=ZZwjT+MCYnuXFVPj3RqYFEXj3S9iFhqo1ffBdMHu1Tsghazj01gAZTtq+/ESxtxvPw7hLwEJGoUe3ezFnsmm66n8dfdKlvHFlZfvgTq4t/59cUnmCkTP4xjFQ4JbQlXY3ytMP+urAK7vXRj2czAf7QIC8rBHEiNTwJAUcOpIw9+w; + Expires=Wed, 29 Sep 2021 15:29:14 GMT; Path=/ + - AWSALBTGCORS=ZZwjT+MCYnuXFVPj3RqYFEXj3S9iFhqo1ffBdMHu1Tsghazj01gAZTtq+/ESxtxvPw7hLwEJGoUe3ezFnsmm66n8dfdKlvHFlZfvgTq4t/59cUnmCkTP4xjFQ4JbQlXY3ytMP+urAK7vXRj2czAf7QIC8rBHEiNTwJAUcOpIw9+w; + Expires=Wed, 29 Sep 2021 15:29:14 GMT; Path=/; SameSite=None; Secure + - csrftoken=XlLdc139ktgw03BRy2LBnZgYb7RwYwl5yVEHiW0cOKsva0S2s3gp7yDfGZs2wI9Y; + expires=Wed, 21 Sep 2022 15:29:15 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=tfbx6qebkmw8bt8cjpv8dlm2t6fh4x55; expires=Wed, 06 Oct 2021 15:29:15 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Vary: + - Accept, Cookie, Origin + Allow: + - GET, PUT, PATCH, DELETE, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '' + recorded_at: Wed, 22 Sep 2021 15:29:15 GMT +- request: + method: post + uri: https://api.cloudtruth.io/api/v1/projects/ + body: + encoding: UTF-8 + string: '{"name":"TestProject"}' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Wed, 22 Sep 2021 15:29:15 GMT Content-Type: - application/json + Content-Length: + - '258' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=mb+EhOQQMAJ05qr8EeyN9H0B9H096AT9PTXnEloHIY4KM5ZWgffqhAOxyzrWy7iW/PTrsbxYj2WItcntu9LWu8slVKlPDJV8xvCwWfeFeaboOlVzKee4x3M6NSu4; + Expires=Wed, 29 Sep 2021 15:29:15 GMT; Path=/ + - AWSALBCORS=mb+EhOQQMAJ05qr8EeyN9H0B9H096AT9PTXnEloHIY4KM5ZWgffqhAOxyzrWy7iW/PTrsbxYj2WItcntu9LWu8slVKlPDJV8xvCwWfeFeaboOlVzKee4x3M6NSu4; + Expires=Wed, 29 Sep 2021 15:29:15 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=Ou78umv5kaY7FCfNGWO7lWb0CNnPlldbOeaAQAQkvWI/y2eUwyLkFZ/NjYicWyvEZfW5E8LTGOsJRpi5ty4YH9Hs73wp4oysNvtzhKYqDniVBUN4s//7LWy/nFcuSAbCDbbcb1hcWLT06kIWqQeegVX9zrr7h77DN5F2HHF4F86n; + Expires=Wed, 29 Sep 2021 15:29:15 GMT; Path=/ + - AWSALBTGCORS=Ou78umv5kaY7FCfNGWO7lWb0CNnPlldbOeaAQAQkvWI/y2eUwyLkFZ/NjYicWyvEZfW5E8LTGOsJRpi5ty4YH9Hs73wp4oysNvtzhKYqDniVBUN4s//7LWy/nFcuSAbCDbbcb1hcWLT06kIWqQeegVX9zrr7h77DN5F2HHF4F86n; + Expires=Wed, 29 Sep 2021 15:29:15 GMT; Path=/; SameSite=None; Secure + - csrftoken=ry6rvyRQnTTLOzMkvopnVcxjZerI1chbgZvLO4e6HaBDipdBztlYFI9ZYhfirlCi; + expires=Wed, 21 Sep 2022 15:29:15 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=1yjijjhkzcbpuzz0m2effxam3wt7gy55; expires=Wed, 06 Oct 2021 15:29:15 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Location: + - https://api.cloudtruth.io/api/v1/projects/bbe13fe3-02b8-4bb0-af43-1616e38eb14f/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/bbe13fe3-02b8-4bb0-af43-1616e38eb14f/","id":"bbe13fe3-02b8-4bb0-af43-1616e38eb14f","name":"TestProject","description":"","created_at":"2021-09-22T15:29:15.838704Z","modified_at":"2021-09-22T15:29:15.838704Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:15 GMT +- request: + method: get + uri: https://api.cloudtruth.io/api/v1/projects/ + body: + encoding: US-ASCII + string: '' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 22 Sep 2021 15:29:16 GMT + Content-Type: + - application/json Content-Length: - - '610' + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=HeDC3EsARFkJDDdhnT6ya1pn71Y+rYQm2qPc3wJMir4tHZRoNZZ1+jfap/XWO12bKBovpns8pVwBhDWpmGomLKbdGZJdCS2anRxL7JDpDMxoUQ1ivSptkT+vuHhq; + Expires=Wed, 29 Sep 2021 15:29:16 GMT; Path=/ + - AWSALBCORS=HeDC3EsARFkJDDdhnT6ya1pn71Y+rYQm2qPc3wJMir4tHZRoNZZ1+jfap/XWO12bKBovpns8pVwBhDWpmGomLKbdGZJdCS2anRxL7JDpDMxoUQ1ivSptkT+vuHhq; + Expires=Wed, 29 Sep 2021 15:29:16 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=YJhnIC7E02hgAlmHDRXf3ZeL48VhR1AXt09yqbVBVqPEF43BLjoRqiorGWK9QBg1bE1iE5omBkaUd8J9svBDChEtPqRTYh+9DZL98qd6q+265aQnAaiUzgcP/1fVNNd58AXF4eusnxO4iL3eU8ZPh01palE1YYGVejFjPNl+rlKX; + Expires=Wed, 29 Sep 2021 15:29:16 GMT; Path=/ + - AWSALBTGCORS=YJhnIC7E02hgAlmHDRXf3ZeL48VhR1AXt09yqbVBVqPEF43BLjoRqiorGWK9QBg1bE1iE5omBkaUd8J9svBDChEtPqRTYh+9DZL98qd6q+265aQnAaiUzgcP/1fVNNd58AXF4eusnxO4iL3eU8ZPh01palE1YYGVejFjPNl+rlKX; + Expires=Wed, 29 Sep 2021 15:29:16 GMT; Path=/; SameSite=None; Secure + - csrftoken=C0NBEyRKt94HQCNdJvj0lJKUv1pfJYQOgTrp6oN7qQJLDk0obDtS3PgQM0kzP9P9; + expires=Wed, 21 Sep 2022 15:29:16 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=qh6zlkukuc8jh80ug94muxhhh9bnb2vy; expires=Wed, 06 Oct 2021 15:29:16 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin + body: + encoding: UTF-8 + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/bbe13fe3-02b8-4bb0-af43-1616e38eb14f/","id":"bbe13fe3-02b8-4bb0-af43-1616e38eb14f","name":"TestProject","description":"","created_at":"2021-09-22T15:29:15.838704Z","modified_at":"2021-09-22T15:29:15.838704Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:16 GMT +- request: + method: post + uri: https://api.cloudtruth.io/api/v1/projects/bbe13fe3-02b8-4bb0-af43-1616e38eb14f/parameters/ + body: + encoding: UTF-8 + string: '{"name":"one"}' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Wed, 22 Sep 2021 15:29:16 GMT + Content-Type: + - application/json + Content-Length: + - '1185' + Connection: + - keep-alive Set-Cookie: - - csrftoken=8rohYF528j6XA3uFQ00eMovQaEelgdkLoyZ1680fH6I1JVmXS60tNztnug5mr1BY; - expires=Tue, 02 Aug 2022 19:32:17 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=884o6cmes2crajxzujyobk8dxr11rbs9; expires=Tue, 17 Aug 2021 19:32:17 + - AWSALB=ZA3H3j3Vq5wbVGYWufz3OuuoWJGz8IU3pTLSdHYGC93awts98qJRRYkzuh7BPhsWcd56/rQ0xlunnewrGjigOjeG6G9Xvr5vmJB6/6U1/bTFRh39ZNG9b+YcuqA4; + Expires=Wed, 29 Sep 2021 15:29:16 GMT; Path=/ + - AWSALBCORS=ZA3H3j3Vq5wbVGYWufz3OuuoWJGz8IU3pTLSdHYGC93awts98qJRRYkzuh7BPhsWcd56/rQ0xlunnewrGjigOjeG6G9Xvr5vmJB6/6U1/bTFRh39ZNG9b+YcuqA4; + Expires=Wed, 29 Sep 2021 15:29:16 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=+R/lcRCSB5koe7Qqz9X5now1KqrpqrSRJZpjpH0cbCpiarA3VHjIctlJd0O6TlTKscBFejQ0zBIXGTPJ6TQd/AKwX9yz5RTPnM3Y1k5rh284iq+iFA6V90IydQUmt5s/U9KpFAwo5j+uoGtyM3DfDClkp4jtJQcLEmKX5CtwnnJ9; + Expires=Wed, 29 Sep 2021 15:29:16 GMT; Path=/ + - AWSALBTGCORS=+R/lcRCSB5koe7Qqz9X5now1KqrpqrSRJZpjpH0cbCpiarA3VHjIctlJd0O6TlTKscBFejQ0zBIXGTPJ6TQd/AKwX9yz5RTPnM3Y1k5rh284iq+iFA6V90IydQUmt5s/U9KpFAwo5j+uoGtyM3DfDClkp4jtJQcLEmKX5CtwnnJ9; + Expires=Wed, 29 Sep 2021 15:29:16 GMT; Path=/; SameSite=None; Secure + - csrftoken=R6Af1hrPQqaQpaip8t9a9xz8Ffw63QyEk3trxOEt36ShR8rsTZ97TSAlpWb9SE5H; + expires=Wed, 21 Sep 2022 15:29:16 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=oyqyanzte2zbd6n1x8bwbzp1xgc5nytk; expires=Wed, 06 Oct 2021 15:29:16 GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Location: + - https://api.cloudtruth.io/api/v1/projects/bbe13fe3-02b8-4bb0-af43-1616e38eb14f/parameters/e99f28e6-790a-4d5d-a68d-c5b737004867/ + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/bbe13fe3-02b8-4bb0-af43-1616e38eb14f/parameters/e99f28e6-790a-4d5d-a68d-c5b737004867/","id":"e99f28e6-790a-4d5d-a68d-c5b737004867","name":"one","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:16.791026Z","modified_at":"2021-09-22T15:29:16.791026Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:16 GMT +- request: + method: post + uri: https://api.cloudtruth.io/api/v1/projects/bbe13fe3-02b8-4bb0-af43-1616e38eb14f/parameters/ + body: + encoding: UTF-8 + string: '{"name":"two"}' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Wed, 22 Sep 2021 15:29:17 GMT + Content-Type: + - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=h7h3PYfIp/vNUZz/9CZcbI/nBNDavzvwtZiupYo3tmZ///h+6rkC2yFSk14GxvpFQ8467QmnmS6vt70zfIdxxxbK0iBGqkGdq7Gb+zUga/mlH+m0GPXA58k4OsLu; + Expires=Wed, 29 Sep 2021 15:29:17 GMT; Path=/ + - AWSALBCORS=h7h3PYfIp/vNUZz/9CZcbI/nBNDavzvwtZiupYo3tmZ///h+6rkC2yFSk14GxvpFQ8467QmnmS6vt70zfIdxxxbK0iBGqkGdq7Gb+zUga/mlH+m0GPXA58k4OsLu; + Expires=Wed, 29 Sep 2021 15:29:17 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=bw5pzVMg6LquAar6L8c1j4paFfBC1Q0F1qCOTD6HmCWOrz13OFX7tuZ0ZpSuO/eX8v2Tn3YzyX+3k1UbxwWB7Smy/i7fVVQVpotMM/l1K/IxKgY/SfkBzVITZncIG9NTTUsD6ZSWXEObTzK4oSnakFF1ZyQN9T4WMPaiIESKNN0x; + Expires=Wed, 29 Sep 2021 15:29:17 GMT; Path=/ + - AWSALBTGCORS=bw5pzVMg6LquAar6L8c1j4paFfBC1Q0F1qCOTD6HmCWOrz13OFX7tuZ0ZpSuO/eX8v2Tn3YzyX+3k1UbxwWB7Smy/i7fVVQVpotMM/l1K/IxKgY/SfkBzVITZncIG9NTTUsD6ZSWXEObTzK4oSnakFF1ZyQN9T4WMPaiIESKNN0x; + Expires=Wed, 29 Sep 2021 15:29:17 GMT; Path=/; SameSite=None; Secure + - csrftoken=ltdBCAyLUlozm1v8BGvgjpAAwHNNBCgvDCecQsHa2BI1wcAxG0L8hOfWllRWJ0DN; + expires=Wed, 21 Sep 2022 15:29:17 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=5z3u7kdfsshtkyv7aw3umr877pq7yjrk; expires=Wed, 06 Oct 2021 15:29:17 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Location: + - https://api.cloudtruth.io/api/v1/projects/bbe13fe3-02b8-4bb0-af43-1616e38eb14f/parameters/43cadadf-c353-44ac-a02a-9729a9d7a096/ + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/831751c5-e30c-4489-b3c5-969bb2abebd3/","id":"831751c5-e30c-4489-b3c5-969bb2abebd3","name":"TestProject","description":"","created_at":"2021-08-03T19:31:32.128299Z","modified_at":"2021-08-03T19:31:32.128335Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:32:17 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/bbe13fe3-02b8-4bb0-af43-1616e38eb14f/parameters/43cadadf-c353-44ac-a02a-9729a9d7a096/","id":"43cadadf-c353-44ac-a02a-9729a9d7a096","name":"two","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:17.872918Z","modified_at":"2021-09-22T15:29:17.872918Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:17 GMT recorded_with: VCR 6.0.0 diff --git a/spec/fixtures/vcr/Kubetruth_CtApi/_projects/memoizes_projects_.yml b/spec/fixtures/vcr/Kubetruth_CtApi/_projects/memoizes_projects_.yml index d86327f..657a380 100644 --- a/spec/fixtures/vcr/Kubetruth_CtApi/_projects/memoizes_projects_.yml +++ b/spec/fixtures/vcr/Kubetruth_CtApi/_projects/memoizes_projects_.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -10,7 +10,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -22,34 +22,364 @@ http_interactions: code: 200 message: OK headers: + Date: + - Wed, 22 Sep 2021 15:29:18 GMT + Content-Type: + - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=bmpnj6plNjEiylYtlg5tFZqomyQwki79zQ6jwV43cOj/xHmztCYB4e+vqcV8jc3LbZtrEoxwCA9ZkX3qArDSuH8CGlwKp/dqIfOPwyAv0dAr4vgTP1NkDC6MvoKA; + Expires=Wed, 29 Sep 2021 15:29:18 GMT; Path=/ + - AWSALBCORS=bmpnj6plNjEiylYtlg5tFZqomyQwki79zQ6jwV43cOj/xHmztCYB4e+vqcV8jc3LbZtrEoxwCA9ZkX3qArDSuH8CGlwKp/dqIfOPwyAv0dAr4vgTP1NkDC6MvoKA; + Expires=Wed, 29 Sep 2021 15:29:18 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=G6h/lVzmvsV1R45lXivM+wa1ghXi1LiQdsH6iwohIFmlpPvpyoJr8JuI7liIKCmtYU2r9MyF6TdY1nLrbneJOFZ0b4j8qdMD/R85pMFwkZ+/huVsJYwUFztufwICl7I3rZdEsvxh3lCZfQtPMiqxUyDDSx3LZPhFqV3h3DOofo4o; + Expires=Wed, 29 Sep 2021 15:29:18 GMT; Path=/ + - AWSALBTGCORS=G6h/lVzmvsV1R45lXivM+wa1ghXi1LiQdsH6iwohIFmlpPvpyoJr8JuI7liIKCmtYU2r9MyF6TdY1nLrbneJOFZ0b4j8qdMD/R85pMFwkZ+/huVsJYwUFztufwICl7I3rZdEsvxh3lCZfQtPMiqxUyDDSx3LZPhFqV3h3DOofo4o; + Expires=Wed, 29 Sep 2021 15:29:18 GMT; Path=/; SameSite=None; Secure + - csrftoken=UosyEvH146cBEBDQd7VZF9fqnEwGjOeArcDpR88dBll0gqrWTWx820rWTFA73CeU; + expires=Wed, 21 Sep 2022 15:29:18 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=dw9vis4kiiixuckjzgckmg4fmzvplhvz; expires=Wed, 06 Oct 2021 15:29:18 + GMT; Max-Age=1209600; Path=/; Secure Server: - undisclosed + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/bbe13fe3-02b8-4bb0-af43-1616e38eb14f/","id":"bbe13fe3-02b8-4bb0-af43-1616e38eb14f","name":"TestProject","description":"","created_at":"2021-09-22T15:29:15.838704Z","modified_at":"2021-09-22T15:29:17.885324Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:18 GMT +- request: + method: delete + uri: https://api.cloudtruth.io/api/v1/projects/bbe13fe3-02b8-4bb0-af43-1616e38eb14f/ + body: + encoding: US-ASCII + string: '' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 204 + message: No Content + headers: Date: - - Tue, 03 Aug 2021 19:32:19 GMT + - Wed, 22 Sep 2021 15:29:19 GMT + Content-Length: + - '0' Connection: - - close + - keep-alive + Set-Cookie: + - AWSALB=7ABhrvAXJNecBKvGSvZUKQWwm03hanWe1l0YOEm7Bd5q7PUN5FVnJDUD0gBmzgabgZcGBVavE0HBWaXrz08lS5CwZhBhiuinGUftfeA93JDVwKo+FJHRq0aBVka/; + Expires=Wed, 29 Sep 2021 15:29:18 GMT; Path=/ + - AWSALBCORS=7ABhrvAXJNecBKvGSvZUKQWwm03hanWe1l0YOEm7Bd5q7PUN5FVnJDUD0gBmzgabgZcGBVavE0HBWaXrz08lS5CwZhBhiuinGUftfeA93JDVwKo+FJHRq0aBVka/; + Expires=Wed, 29 Sep 2021 15:29:18 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=wMIcrGfNBXvDy24EgeTCOnmNbjY04bqoXriGRmGUi1VbKu7EHuhV8+M8FFvRyuihkt/tGQ0UUFGERVywWXChJ0Ps1reaKhURsBw/Ew69lSMUbU9PffRy8kmH02OZhAsLIcqnUQC5kaiQnJnC0yLoyEzStOQyjRV55ruVW+ebMPBi; + Expires=Wed, 29 Sep 2021 15:29:18 GMT; Path=/ + - AWSALBTGCORS=wMIcrGfNBXvDy24EgeTCOnmNbjY04bqoXriGRmGUi1VbKu7EHuhV8+M8FFvRyuihkt/tGQ0UUFGERVywWXChJ0Ps1reaKhURsBw/Ew69lSMUbU9PffRy8kmH02OZhAsLIcqnUQC5kaiQnJnC0yLoyEzStOQyjRV55ruVW+ebMPBi; + Expires=Wed, 29 Sep 2021 15:29:18 GMT; Path=/; SameSite=None; Secure + - csrftoken=ZDMFjxO5vA28mfkqhbA5PFNZR8aF9L9uSDv2Hji3F37OTWQ0TPJkOB3trnwegIJP; + expires=Wed, 21 Sep 2022 15:29:19 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=fuzink4a0crxerdh3s2quvuo8xzpw6uy; expires=Wed, 06 Oct 2021 15:29:19 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Vary: + - Accept, Cookie, Origin + Allow: + - GET, PUT, PATCH, DELETE, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '' + recorded_at: Wed, 22 Sep 2021 15:29:18 GMT +- request: + method: post + uri: https://api.cloudtruth.io/api/v1/projects/ + body: + encoding: UTF-8 + string: '{"name":"TestProject"}' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Wed, 22 Sep 2021 15:29:19 GMT Content-Type: - application/json + Content-Length: + - '258' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=R9MMX2gWj79THtUVub0GqKpgyPAo3KvoXcvKbBluF9GCkKCCifpfH6Gnbw8lM8CwJ9YG1uD2VF+laATROgz99Jnvh5TKWkOf0NqCXfj4iziDDpn5NSczcQtUmnH1; + Expires=Wed, 29 Sep 2021 15:29:19 GMT; Path=/ + - AWSALBCORS=R9MMX2gWj79THtUVub0GqKpgyPAo3KvoXcvKbBluF9GCkKCCifpfH6Gnbw8lM8CwJ9YG1uD2VF+laATROgz99Jnvh5TKWkOf0NqCXfj4iziDDpn5NSczcQtUmnH1; + Expires=Wed, 29 Sep 2021 15:29:19 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=veHWvTV4pc/rr1+IEf4a587NIk+mxVhTe+bg2MkmwlX6u7sEAAZPOV1aXGiQuLFNhRh7qzLW7B3hUx9HlmwIGZjcyiRl3/brwvKdJ3aG6KoSlybvrzabO5Wh6RdNoxp1iBGTKGRQLsjiiBCWaQ8/KrtrOQXw6im9/vk37Pwa9n3Y; + Expires=Wed, 29 Sep 2021 15:29:19 GMT; Path=/ + - AWSALBTGCORS=veHWvTV4pc/rr1+IEf4a587NIk+mxVhTe+bg2MkmwlX6u7sEAAZPOV1aXGiQuLFNhRh7qzLW7B3hUx9HlmwIGZjcyiRl3/brwvKdJ3aG6KoSlybvrzabO5Wh6RdNoxp1iBGTKGRQLsjiiBCWaQ8/KrtrOQXw6im9/vk37Pwa9n3Y; + Expires=Wed, 29 Sep 2021 15:29:19 GMT; Path=/; SameSite=None; Secure + - csrftoken=19XWmvcbV6pn9s4lF4oo39Tr4qwnFeybKWPrF5BXLyS2nFmlXB8XGlk2ZcJ2cl3s; + expires=Wed, 21 Sep 2022 15:29:19 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=trju3pri4i655t6udgsff6w6d5i9ou9o; expires=Wed, 06 Oct 2021 15:29:19 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Location: + - https://api.cloudtruth.io/api/v1/projects/f9695eec-f34e-44a0-8188-45d7b67dde6c/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/f9695eec-f34e-44a0-8188-45d7b67dde6c/","id":"f9695eec-f34e-44a0-8188-45d7b67dde6c","name":"TestProject","description":"","created_at":"2021-09-22T15:29:19.458153Z","modified_at":"2021-09-22T15:29:19.458153Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:19 GMT +- request: + method: get + uri: https://api.cloudtruth.io/api/v1/projects/ + body: + encoding: US-ASCII + string: '' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 22 Sep 2021 15:29:19 GMT + Content-Type: + - application/json Content-Length: - - '610' + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=VYRBJVeTu7gEvLG1DKZDH/GliGLlagTHv8i2FylipO7GKgU4ehM1rLtiAw8tItrJBbEBt8bMfjVpdHShjzwKtbiLwF+vxNaKYidDAPo5wj+KhL3kSk0QcEvYdtCb; + Expires=Wed, 29 Sep 2021 15:29:19 GMT; Path=/ + - AWSALBCORS=VYRBJVeTu7gEvLG1DKZDH/GliGLlagTHv8i2FylipO7GKgU4ehM1rLtiAw8tItrJBbEBt8bMfjVpdHShjzwKtbiLwF+vxNaKYidDAPo5wj+KhL3kSk0QcEvYdtCb; + Expires=Wed, 29 Sep 2021 15:29:19 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=pLkoCL/bphCf9Vd51Fhrc63kBqnCJSYQ4xqFC0nVHHMNwKvH7lK3cfVIfmYjsLyQQDSzcYoCySkCbJ8+6Vy6x2mXsgDn2A1U/e1mUBgNQEFN6sEQrsx/klChUPFGc7+R/4/L5K4nbfUCF6Y+n7o086j3/lFlsqp4ngrrxxcJfyqI; + Expires=Wed, 29 Sep 2021 15:29:19 GMT; Path=/ + - AWSALBTGCORS=pLkoCL/bphCf9Vd51Fhrc63kBqnCJSYQ4xqFC0nVHHMNwKvH7lK3cfVIfmYjsLyQQDSzcYoCySkCbJ8+6Vy6x2mXsgDn2A1U/e1mUBgNQEFN6sEQrsx/klChUPFGc7+R/4/L5K4nbfUCF6Y+n7o086j3/lFlsqp4ngrrxxcJfyqI; + Expires=Wed, 29 Sep 2021 15:29:19 GMT; Path=/; SameSite=None; Secure + - csrftoken=gxcvESd6p6YbPIoqzNQWVAkmOGdyEUUskx3DUkQxuKpWf69MAVAjWLi0uEBCWJLf; + expires=Wed, 21 Sep 2022 15:29:19 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=qra4chdzzthmghh2dchbiledtctypyna; expires=Wed, 06 Oct 2021 15:29:19 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin + body: + encoding: UTF-8 + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f9695eec-f34e-44a0-8188-45d7b67dde6c/","id":"f9695eec-f34e-44a0-8188-45d7b67dde6c","name":"TestProject","description":"","created_at":"2021-09-22T15:29:19.458153Z","modified_at":"2021-09-22T15:29:19.458153Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:19 GMT +- request: + method: post + uri: https://api.cloudtruth.io/api/v1/projects/f9695eec-f34e-44a0-8188-45d7b67dde6c/parameters/ + body: + encoding: UTF-8 + string: '{"name":"one"}' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Wed, 22 Sep 2021 15:29:20 GMT + Content-Type: + - application/json + Content-Length: + - '1185' + Connection: + - keep-alive Set-Cookie: - - csrftoken=1sd0OESsxwAyVXwSAbSHB1Ybsi5Ksk0eA3EFdrggj4XYezQd4toFtWJ4ecbJYvBI; - expires=Tue, 02 Aug 2022 19:32:19 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=kcvb2ocpimqz0j92xalylpr7t0ce18c7; expires=Tue, 17 Aug 2021 19:32:19 + - AWSALB=q8Sfg73hRCtUW3QbF8GF1IaLqR+y8UAGuZHryXJaa5dvxZ5nJkZXlBk9jbusNyzF+AuyxwnVEXuY8lgZX6EnOPknT0N9QpM3mpPeFpsG7xG4p6IQuX3OnIALQ7XN; + Expires=Wed, 29 Sep 2021 15:29:20 GMT; Path=/ + - AWSALBCORS=q8Sfg73hRCtUW3QbF8GF1IaLqR+y8UAGuZHryXJaa5dvxZ5nJkZXlBk9jbusNyzF+AuyxwnVEXuY8lgZX6EnOPknT0N9QpM3mpPeFpsG7xG4p6IQuX3OnIALQ7XN; + Expires=Wed, 29 Sep 2021 15:29:20 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=5H4Kw+hfz5Uv82b9C2AdazvRvnn4Vce/onid9JK0JvQq3ooMWbDOXkZw4dQKjx0N3ovhvVeHyqQpiGj3rywE8iwyV6qLpFQklZtj3MdQqzpwyblK7GL/pvw2XqHUVMvPMejBCVUBr7Y2he5lsfw39yEHDb7pIjt61h+4/5og5p0f; + Expires=Wed, 29 Sep 2021 15:29:20 GMT; Path=/ + - AWSALBTGCORS=5H4Kw+hfz5Uv82b9C2AdazvRvnn4Vce/onid9JK0JvQq3ooMWbDOXkZw4dQKjx0N3ovhvVeHyqQpiGj3rywE8iwyV6qLpFQklZtj3MdQqzpwyblK7GL/pvw2XqHUVMvPMejBCVUBr7Y2he5lsfw39yEHDb7pIjt61h+4/5og5p0f; + Expires=Wed, 29 Sep 2021 15:29:20 GMT; Path=/; SameSite=None; Secure + - csrftoken=U3NFVOMGrrGNek4sSnJe2Kwn79vdct3G1CaRTAbsAaKybef2cY0Vx2N9GZQOpeZp; + expires=Wed, 21 Sep 2022 15:29:20 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=3il2b1m92r7phsykv754gprrz33spp9z; expires=Wed, 06 Oct 2021 15:29:20 GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Location: + - https://api.cloudtruth.io/api/v1/projects/f9695eec-f34e-44a0-8188-45d7b67dde6c/parameters/169b7f2e-3744-4392-9d89-51b15b7f0e2a/ + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + body: + encoding: UTF-8 + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/f9695eec-f34e-44a0-8188-45d7b67dde6c/parameters/169b7f2e-3744-4392-9d89-51b15b7f0e2a/","id":"169b7f2e-3744-4392-9d89-51b15b7f0e2a","name":"one","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:20.413518Z","modified_at":"2021-09-22T15:29:20.413518Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:20 GMT +- request: + method: post + uri: https://api.cloudtruth.io/api/v1/projects/f9695eec-f34e-44a0-8188-45d7b67dde6c/parameters/ + body: + encoding: UTF-8 + string: '{"name":"two"}' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Wed, 22 Sep 2021 15:29:20 GMT + Content-Type: + - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=pPI7rakaoP6S03jhcmHGRIZ0wZLQpl0toAksGcADwKNUSMEcRIN+ixqLc9TTv0ySQSneS3SJUUdI8Swka2SvRJhpAbykqeS1oHTnclZcZJy8+LUxoZ4kuuEid4e/; + Expires=Wed, 29 Sep 2021 15:29:20 GMT; Path=/ + - AWSALBCORS=pPI7rakaoP6S03jhcmHGRIZ0wZLQpl0toAksGcADwKNUSMEcRIN+ixqLc9TTv0ySQSneS3SJUUdI8Swka2SvRJhpAbykqeS1oHTnclZcZJy8+LUxoZ4kuuEid4e/; + Expires=Wed, 29 Sep 2021 15:29:20 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=R20f1yvJhRNPmEixbcm8Qal7Q3rGrBsJE3PFB2tXvwHwk+VmGHfpjtu7+JcBePaQ7pInoSWzVjEpavZXK7xsGMe073S160nyGZsS9dqJ03OcgaoTPUA+MchUvQa9uJnz3Uo72ABcTlSQP+woh/aTtclN5IvdAjX9OwN802yJFSZH; + Expires=Wed, 29 Sep 2021 15:29:20 GMT; Path=/ + - AWSALBTGCORS=R20f1yvJhRNPmEixbcm8Qal7Q3rGrBsJE3PFB2tXvwHwk+VmGHfpjtu7+JcBePaQ7pInoSWzVjEpavZXK7xsGMe073S160nyGZsS9dqJ03OcgaoTPUA+MchUvQa9uJnz3Uo72ABcTlSQP+woh/aTtclN5IvdAjX9OwN802yJFSZH; + Expires=Wed, 29 Sep 2021 15:29:20 GMT; Path=/; SameSite=None; Secure + - csrftoken=U7mlFbI3GgbiJ8wkEnZzpyoA6prHZuBQVMxh4MEXfwbWoeyt37AFIn7IVLjeyUlO; + expires=Wed, 21 Sep 2022 15:29:20 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=mihi2wf2gjqbkj7n5s7kbqg8xpq47sor; expires=Wed, 06 Oct 2021 15:29:20 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Location: + - https://api.cloudtruth.io/api/v1/projects/f9695eec-f34e-44a0-8188-45d7b67dde6c/parameters/9b114bca-f3da-4e7a-b73a-49efe8484b43/ + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/831751c5-e30c-4489-b3c5-969bb2abebd3/","id":"831751c5-e30c-4489-b3c5-969bb2abebd3","name":"TestProject","description":"","created_at":"2021-08-03T19:31:32.128299Z","modified_at":"2021-08-03T19:31:32.128335Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:32:19 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/f9695eec-f34e-44a0-8188-45d7b67dde6c/parameters/9b114bca-f3da-4e7a-b73a-49efe8484b43/","id":"9b114bca-f3da-4e7a-b73a-49efe8484b43","name":"two","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:20.859563Z","modified_at":"2021-09-22T15:29:20.859563Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:20 GMT recorded_with: VCR 6.0.0 diff --git a/spec/fixtures/vcr/Kubetruth_CtApi/_templates/_template/gets_template.yml b/spec/fixtures/vcr/Kubetruth_CtApi/_templates/_template/gets_template.yml index c220eae..697f290 100644 --- a/spec/fixtures/vcr/Kubetruth_CtApi/_templates/_template/gets_template.yml +++ b/spec/fixtures/vcr/Kubetruth_CtApi/_templates/_template/gets_template.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -10,7 +10,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -22,39 +22,58 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:44 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:09 GMT Content-Type: - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=H9WkgJAnyjh5SlF5kzOHML0xPzrquM0isansec83heawCb5zOTdVAy8PQXN8pOTVt/5KZL7ui5PzgmfBL3AD8ZI2OKU2dM5gHqnCqzR8LHDFWx+ZgrFzWh3UILfa; + Expires=Wed, 29 Sep 2021 15:30:09 GMT; Path=/ + - AWSALBCORS=H9WkgJAnyjh5SlF5kzOHML0xPzrquM0isansec83heawCb5zOTdVAy8PQXN8pOTVt/5KZL7ui5PzgmfBL3AD8ZI2OKU2dM5gHqnCqzR8LHDFWx+ZgrFzWh3UILfa; + Expires=Wed, 29 Sep 2021 15:30:09 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=yCnu4eHRB7WVtJWCvoqSa3mego86p5dPqg63NrYhmf2oYuPAKlbIEGN4nMDlgR/gK8pqyntY+GAbf5WwU/Lbaq52NseQM6lwC2QIrDsHSKdXWS4sw1GoRanSv6PZ/QdQAMnpj9WAQnBCOmE2+nYYSyhcskhheDbNwa6Dt7spZOsL; + Expires=Wed, 29 Sep 2021 15:30:09 GMT; Path=/ + - AWSALBTGCORS=yCnu4eHRB7WVtJWCvoqSa3mego86p5dPqg63NrYhmf2oYuPAKlbIEGN4nMDlgR/gK8pqyntY+GAbf5WwU/Lbaq52NseQM6lwC2QIrDsHSKdXWS4sw1GoRanSv6PZ/QdQAMnpj9WAQnBCOmE2+nYYSyhcskhheDbNwa6Dt7spZOsL; + Expires=Wed, 29 Sep 2021 15:30:09 GMT; Path=/; SameSite=None; Secure + - csrftoken=iGIUZ6Ci9PkjqvfxmwgC9pQhx0dViXlcvofSlTuiddR0Pe03YeSj9G8WF1ykAcST; + expires=Wed, 21 Sep 2022 15:30:09 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=su1ng8x0h022sztnrhurfcef477lpe5a; expires=Wed, 06 Oct 2021 15:30:09 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '610' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=5WlKNyBkiyxJ1QslbF4ZlJSd3iLKeIMaKlqlnYAXrNTnJ0q6YgP4kzafmVROidhU; - expires=Tue, 02 Aug 2022 19:33:44 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=04od70jvqejt79plpbfql7avob0cqk0u; expires=Tue, 17 Aug 2021 19:33:44 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/","id":"3220d04a-a44b-4909-8005-0fbfa27db0a5","name":"TestProject","description":"","created_at":"2021-08-03T19:33:36.867741Z","modified_at":"2021-08-03T19:33:36.867777Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:33:44 GMT + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/","id":"005feaee-fe78-4bf3-9b9f-143233e99923","name":"TestProject","description":"","created_at":"2021-09-22T15:30:05.910395Z","modified_at":"2021-09-22T15:30:08.659585Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:30:09 GMT - request: method: delete - uri: https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/ + uri: https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/ body: encoding: US-ASCII string: '' @@ -62,7 +81,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Authorization: - Api-Key Accept-Encoding: @@ -74,36 +93,44 @@ http_interactions: code: 204 message: No Content headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:45 GMT + - Wed, 22 Sep 2021 15:30:10 GMT + Content-Length: + - '0' Connection: - - close + - keep-alive + Set-Cookie: + - AWSALB=LJVloMcKEixRlpN+jPOvyfRepxuKrEhlp8d3Gnj45SpYFqXwHcaKYOrmtcF2qm3lOQZzU5CYVD4irzZja5l+RZLkBPyQUbnFxLpK2NwbXTtgLlB1TI6P1i0M55DS; + Expires=Wed, 29 Sep 2021 15:30:09 GMT; Path=/ + - AWSALBCORS=LJVloMcKEixRlpN+jPOvyfRepxuKrEhlp8d3Gnj45SpYFqXwHcaKYOrmtcF2qm3lOQZzU5CYVD4irzZja5l+RZLkBPyQUbnFxLpK2NwbXTtgLlB1TI6P1i0M55DS; + Expires=Wed, 29 Sep 2021 15:30:09 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=5nEFsTU/Vr5DpngiY7oqLt2SvcAfH1B8jf+WCW81O4Q2bLUA1ZS16ao45VP30d+/y9aaEMrvyB2RUjGSdqRiUsNOUlf3CavfXZnmGkuWhLHEB0CtUxSGsEZqXYxCyzksA6UybQGi7SS3MFiSW1TYfn9sB2o2hX8quKkTBh6fJQE0; + Expires=Wed, 29 Sep 2021 15:30:09 GMT; Path=/ + - AWSALBTGCORS=5nEFsTU/Vr5DpngiY7oqLt2SvcAfH1B8jf+WCW81O4Q2bLUA1ZS16ao45VP30d+/y9aaEMrvyB2RUjGSdqRiUsNOUlf3CavfXZnmGkuWhLHEB0CtUxSGsEZqXYxCyzksA6UybQGi7SS3MFiSW1TYfn9sB2o2hX8quKkTBh6fJQE0; + Expires=Wed, 29 Sep 2021 15:30:09 GMT; Path=/; SameSite=None; Secure + - csrftoken=XyZlIXmyE2PlOEyUYAgnjbBaHOlxlQ0og36catiUTbc1KYcmu3iCNs4YJGo6cg9q; + expires=Wed, 21 Sep 2022 15:30:10 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=oei63xxw7liwajtov64x2hfhhpyetnss; expires=Wed, 06 Oct 2021 15:30:10 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, PUT, PATCH, DELETE, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '0' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=AwGHypPDD5W2XcroyWEhTtQ4p1M4pWWuoIXoEa50L7XDWXgh7w5n87jNk9rsEh41; - expires=Tue, 02 Aug 2022 19:33:45 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=6kglbgqdy8qpdlsx57jk5vq13f7yzt2f; expires=Tue, 17 Aug 2021 19:33:45 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 string: '' - recorded_at: Tue, 03 Aug 2021 19:33:45 GMT + recorded_at: Wed, 22 Sep 2021 15:30:09 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: UTF-8 string: '{"name":"TestProject"}' @@ -111,7 +138,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -123,40 +150,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:46 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:10 GMT Content-Type: - application/json + Content-Length: + - '258' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=yNpItEqfdlUmjZWwpC1Jpb0crq9HcCrpfG22jxRttRXLrq3bh222Gg3RhZOxR3slNzOl3cSLsDvPj1bljPyHCNnHlQNBQ4huZm7ONxE1/rdi8h9Mr1MeSQUv3ROX; + Expires=Wed, 29 Sep 2021 15:30:10 GMT; Path=/ + - AWSALBCORS=yNpItEqfdlUmjZWwpC1Jpb0crq9HcCrpfG22jxRttRXLrq3bh222Gg3RhZOxR3slNzOl3cSLsDvPj1bljPyHCNnHlQNBQ4huZm7ONxE1/rdi8h9Mr1MeSQUv3ROX; + Expires=Wed, 29 Sep 2021 15:30:10 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=oomWSRMTVY2Qgb+ysZ+yH0laRd0MFCCm3IdIGotKTFovH4evbfDqr3c7NXOoUWUl5mdl+Ydtdw/uAoK/W4rSEUCP+QCytEUjfw7PJ0xx6qU9ZCaJP6EsGxLh2nTEC2+GlfSa2l+FtfwKFlLMoS4qyQ5PIuiMfKXk7WWdXfaaFdbk; + Expires=Wed, 29 Sep 2021 15:30:10 GMT; Path=/ + - AWSALBTGCORS=oomWSRMTVY2Qgb+ysZ+yH0laRd0MFCCm3IdIGotKTFovH4evbfDqr3c7NXOoUWUl5mdl+Ydtdw/uAoK/W4rSEUCP+QCytEUjfw7PJ0xx6qU9ZCaJP6EsGxLh2nTEC2+GlfSa2l+FtfwKFlLMoS4qyQ5PIuiMfKXk7WWdXfaaFdbk; + Expires=Wed, 29 Sep 2021 15:30:10 GMT; Path=/; SameSite=None; Secure + - csrftoken=osY2GK0PW0Hp8jz3TwB4TUwVTNytroTLCOsu6yQksbqtEYyT6V9exqDzZsHAXNrl; + expires=Wed, 21 Sep 2022 15:30:10 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=xxqzduyua837syys636obee4jefgvxwt; expires=Wed, 06 Oct 2021 15:30:10 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/ + - https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '255' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=T0HFlRUpxOEsQzKT4q2piwu8Jt4adAMZWC2TMFwOPG2HzuxjtsteaDTzBlVg7Ptb; - expires=Tue, 02 Aug 2022 19:33:46 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=qiz9vgmp38e2muisjkeix40blmpkozai; expires=Tue, 17 Aug 2021 19:33:46 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/","id":"95deb77d-5689-47b7-8b2a-f32aaca15ecf","name":"TestProject","description":"","created_at":"2021-08-03T19:33:46.953950Z","modified_at":"2021-08-03T19:33:46.953986Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:46 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/","id":"528cfac6-28cf-4100-91d3-f219cfeb909b","name":"TestProject","description":"","created_at":"2021-09-22T15:30:10.600521Z","modified_at":"2021-09-22T15:30:10.600521Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:10 GMT - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -164,7 +199,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -176,39 +211,58 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:48 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:11 GMT Content-Type: - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=qiAfnJ5rQuZ7PG5E5C1iYVsPKtdkYmHNH3sqoVZSOABQGON0MFUeABW3gz6aH5v8gCyMeqsqtP9sTNWw5x9FsuJQ1EllUReQE6ZFnDykw8V8QW+1GY70vnYTntok; + Expires=Wed, 29 Sep 2021 15:30:10 GMT; Path=/ + - AWSALBCORS=qiAfnJ5rQuZ7PG5E5C1iYVsPKtdkYmHNH3sqoVZSOABQGON0MFUeABW3gz6aH5v8gCyMeqsqtP9sTNWw5x9FsuJQ1EllUReQE6ZFnDykw8V8QW+1GY70vnYTntok; + Expires=Wed, 29 Sep 2021 15:30:10 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=6Tm3fY1XHGzebx3EML8uzNt1n2KWmlYXT6bg5pKgMSs8g/CtvPqiyI3VJZ7KfdbZeVumRxCv8PX694yVj6ZFby9J3eYV9zN4q9vNr9OYYGkb7zjeaKxAJk/vCCecVq/IsypdgYDPblEbUqGUUsYsCIoZbDqwAsawb1/KKcvzURkp; + Expires=Wed, 29 Sep 2021 15:30:10 GMT; Path=/ + - AWSALBTGCORS=6Tm3fY1XHGzebx3EML8uzNt1n2KWmlYXT6bg5pKgMSs8g/CtvPqiyI3VJZ7KfdbZeVumRxCv8PX694yVj6ZFby9J3eYV9zN4q9vNr9OYYGkb7zjeaKxAJk/vCCecVq/IsypdgYDPblEbUqGUUsYsCIoZbDqwAsawb1/KKcvzURkp; + Expires=Wed, 29 Sep 2021 15:30:10 GMT; Path=/; SameSite=None; Secure + - csrftoken=OMURJqrpR82xT9kJ0ShyzSvINwzLhNQJMCsEshdKI33VPEVGqwPBh65ASGKoPx7m; + expires=Wed, 21 Sep 2022 15:30:11 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=xekthsb2j5dw4o7xadwxryyh3swoemh0; expires=Wed, 06 Oct 2021 15:30:11 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '610' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=02YeXYfMijL5JJrWusnzonBLkuSKmvGeM7EaOMtU1eRyQqcI7NSkuF6M3eFlzgoL; - expires=Tue, 02 Aug 2022 19:33:48 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=yvvbqcqm5okcc6bw1rd8g7fimw35bjtd; expires=Tue, 17 Aug 2021 19:33:48 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/","id":"95deb77d-5689-47b7-8b2a-f32aaca15ecf","name":"TestProject","description":"","created_at":"2021-08-03T19:33:46.953950Z","modified_at":"2021-08-03T19:33:46.953986Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:33:48 GMT + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/","id":"528cfac6-28cf-4100-91d3-f219cfeb909b","name":"TestProject","description":"","created_at":"2021-09-22T15:30:10.600521Z","modified_at":"2021-09-22T15:30:10.600521Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:30:10 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/parameters/ + uri: https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/parameters/ body: encoding: UTF-8 string: '{"name":"one"}' @@ -216,7 +270,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -228,48 +282,56 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:49 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:11 GMT Content-Type: - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=SGovFr2o82yKTZiJH0aKSI/b4HQGgLVaDwXcrobxVVHZH3durU7VnuQo/htTw2LYVr7F2d6zLTq7Lf65qupRME9pG2UVDuyUq52cuhRK0INQRowshJNkdIbP8KNU; + Expires=Wed, 29 Sep 2021 15:30:11 GMT; Path=/ + - AWSALBCORS=SGovFr2o82yKTZiJH0aKSI/b4HQGgLVaDwXcrobxVVHZH3durU7VnuQo/htTw2LYVr7F2d6zLTq7Lf65qupRME9pG2UVDuyUq52cuhRK0INQRowshJNkdIbP8KNU; + Expires=Wed, 29 Sep 2021 15:30:11 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=mdF6eMTaZXMAMdaN7ZzXd9PlC+GhgTD00CVIsAetAuFktIYsCNGkyybVLl90WNsoUaW4mTmOL9frjts7ksYV09oZOt/qMXTxW0o02d/lGu7g+wj8mt/iWkYXj0YyjP6J8hkTBOIplHx28r/+cZhht7KhLIVQSt7QhEK2tGflNTIG; + Expires=Wed, 29 Sep 2021 15:30:11 GMT; Path=/ + - AWSALBTGCORS=mdF6eMTaZXMAMdaN7ZzXd9PlC+GhgTD00CVIsAetAuFktIYsCNGkyybVLl90WNsoUaW4mTmOL9frjts7ksYV09oZOt/qMXTxW0o02d/lGu7g+wj8mt/iWkYXj0YyjP6J8hkTBOIplHx28r/+cZhht7KhLIVQSt7QhEK2tGflNTIG; + Expires=Wed, 29 Sep 2021 15:30:11 GMT; Path=/; SameSite=None; Secure + - csrftoken=aHeLapAVRPtg3ZxC3EO4ioNqtiG50gIvXueGlBjZLncuPNGz1xV1oT23gzDAZylL; + expires=Wed, 21 Sep 2022 15:30:11 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=da95eqchodlbo1b3a63onty085pgxufh; expires=Wed, 06 Oct 2021 15:30:11 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/parameters/4a08421f-6095-4a60-aed1-a7c1dfbab1b9/ + - https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/parameters/eb4193b7-fac9-4608-a117-61e7041aba6b/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '688' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=LVT8Yi2tuHfDaLjPqGDdRB9rkeg6HOw8GPyZrZXHUSFIqDnZ7zXy8fky2PozMwC6; - expires=Tue, 02 Aug 2022 19:33:49 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=ul7a4ee4wppui4e79r2zx7wcrmnyou6p; expires=Tue, 17 Aug 2021 19:33:49 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/parameters/4a08421f-6095-4a60-aed1-a7c1dfbab1b9/","id":"4a08421f-6095-4a60-aed1-a7c1dfbab1b9","name":"one","description":"","secret":false,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null,"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/":null,"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/":null,"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/":null},"created_at":"2021-08-03T19:33:49.027694Z","modified_at":"2021-08-03T19:33:49.027735Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:49 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/parameters/eb4193b7-fac9-4608-a117-61e7041aba6b/","id":"eb4193b7-fac9-4608-a117-61e7041aba6b","name":"one","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:30:11.465805Z","modified_at":"2021-09-22T15:30:11.465805Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:11 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/parameters/ + uri: https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/parameters/ body: encoding: UTF-8 - string: '{"name":"two","secret":true}' + string: '{"name":"two"}' headers: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -281,40 +343,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:50 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:12 GMT Content-Type: - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=16eL9SXnrPHShYmKWivzZC7y1GdrTGX03cA2Nj7Pr7nzYNctAscETUJimo3Ks5NS6xLb145qKGnOjMpV39ctcJmoFFQSPg+RKPBu/CqVMnKCgW/GPljesOBHgRgy; + Expires=Wed, 29 Sep 2021 15:30:11 GMT; Path=/ + - AWSALBCORS=16eL9SXnrPHShYmKWivzZC7y1GdrTGX03cA2Nj7Pr7nzYNctAscETUJimo3Ks5NS6xLb145qKGnOjMpV39ctcJmoFFQSPg+RKPBu/CqVMnKCgW/GPljesOBHgRgy; + Expires=Wed, 29 Sep 2021 15:30:11 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=jpVmwCF58x3qHfLnicwRj6M+diZ8LHd7uotLCglxBrz1CnR1J+Q90D/7XantzSBTPDr5ucxPvtOGjj9hDU94atYPOXrLWZGaV+ve6HamWHdqdty6dJyx+HtWBdf9SloBcRxo20k9fq4XXPUb1ewU/X0h+mMoj2T353AxGovgw+j+; + Expires=Wed, 29 Sep 2021 15:30:11 GMT; Path=/ + - AWSALBTGCORS=jpVmwCF58x3qHfLnicwRj6M+diZ8LHd7uotLCglxBrz1CnR1J+Q90D/7XantzSBTPDr5ucxPvtOGjj9hDU94atYPOXrLWZGaV+ve6HamWHdqdty6dJyx+HtWBdf9SloBcRxo20k9fq4XXPUb1ewU/X0h+mMoj2T353AxGovgw+j+; + Expires=Wed, 29 Sep 2021 15:30:11 GMT; Path=/; SameSite=None; Secure + - csrftoken=L0VjIJ3pQ7Ky1Ba8PdPTsE7Q1yFrGbPBxFrvwWjNyM84HmMsXKkGIY1rZk3wXE4k; + expires=Wed, 21 Sep 2022 15:30:12 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=obvoe9vd00p5lpdl5ihuvodye0b19gh8; expires=Wed, 06 Oct 2021 15:30:12 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/parameters/a6d24c62-0227-470f-9324-94569a58b12b/ + - https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/parameters/554334c3-7fd6-45b9-9f66-91cd6ccc9b2f/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '687' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=c1PL0dy2kaIropFYAG0kQaEGF7cmQPKwO1nOb2HixTFncU3vMBoCIr62eashBayR; - expires=Tue, 02 Aug 2022 19:33:50 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=dlyn951ep8kpxla3rzyafhea518yuyzk; expires=Tue, 17 Aug 2021 19:33:50 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/parameters/a6d24c62-0227-470f-9324-94569a58b12b/","id":"a6d24c62-0227-470f-9324-94569a58b12b","name":"two","description":"","secret":true,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null,"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/":null,"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/":null,"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/":null},"created_at":"2021-08-03T19:33:50.336145Z","modified_at":"2021-08-03T19:33:50.336185Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:50 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/parameters/554334c3-7fd6-45b9-9f66-91cd6ccc9b2f/","id":"554334c3-7fd6-45b9-9f66-91cd6ccc9b2f","name":"two","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:30:11.981077Z","modified_at":"2021-09-22T15:30:11.981077Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:11 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/templates/ + uri: https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/templates/ body: encoding: UTF-8 string: '{"name":"one","body":"tmpl1 {{one}}"}' @@ -322,7 +392,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -334,41 +404,49 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:51 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:12 GMT Content-Type: - application/json + Content-Length: + - '519' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=dLdWQNRoDRTiTCB5JBIo3ZJpguoG0Lsw5M7XicXcMhFzPxxqiDi3sLso8VbdeUrp9NeHCI3xjwM30xD9o5dpYzQJJzKoOLz/w5UjJ5VZDuMDS9qDTCowZJYOllY8; + Expires=Wed, 29 Sep 2021 15:30:12 GMT; Path=/ + - AWSALBCORS=dLdWQNRoDRTiTCB5JBIo3ZJpguoG0Lsw5M7XicXcMhFzPxxqiDi3sLso8VbdeUrp9NeHCI3xjwM30xD9o5dpYzQJJzKoOLz/w5UjJ5VZDuMDS9qDTCowZJYOllY8; + Expires=Wed, 29 Sep 2021 15:30:12 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=rMbLrVKJ+8RhANXEK7KdUQAGiK5rzboFvV/rSf3BbCocdxjOF0Td7ws5g1pMx6E9IXDOuRcrNG45E6t3bwEvVxX4Xhb6Aq054o69HF/SAGCIS7XCdEMGOmTyI8TTZTwTaBQryHC0FMMuIle0BMyFKl6jBjQNWJ2vWzoubafKYNYV; + Expires=Wed, 29 Sep 2021 15:30:12 GMT; Path=/ + - AWSALBTGCORS=rMbLrVKJ+8RhANXEK7KdUQAGiK5rzboFvV/rSf3BbCocdxjOF0Td7ws5g1pMx6E9IXDOuRcrNG45E6t3bwEvVxX4Xhb6Aq054o69HF/SAGCIS7XCdEMGOmTyI8TTZTwTaBQryHC0FMMuIle0BMyFKl6jBjQNWJ2vWzoubafKYNYV; + Expires=Wed, 29 Sep 2021 15:30:12 GMT; Path=/; SameSite=None; Secure + - csrftoken=oK3QFUNDjrEFYkT2RWRx58NU6FmBIiVVnMr9jIrKvwzKuL72uv4pUrH0MJ3tD9xC; + expires=Wed, 21 Sep 2022 15:30:12 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=yr8k7xwuip5pdtn8x77zqa10wz4wcv5m; expires=Wed, 06 Oct 2021 15:30:12 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/templates/5dc4dcb0-dabc-465e-97b3-cf9c6940a35e/ + - https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/templates/333baa29-a01d-4f14-ab50-600af6fd1c33/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '478' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=qhjJu5UWtWYUT01vaaDaCeYkwHI5qIhcf5qSl3ooIDOnhrGD8LLmWxKARhlzZKNL; - expires=Tue, 02 Aug 2022 19:33:51 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=15zok75dazc38mm1xysv8uulwirhh8ey; expires=Tue, 17 Aug 2021 19:33:51 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/templates/5dc4dcb0-dabc-465e-97b3-cf9c6940a35e/","id":"5dc4dcb0-dabc-465e-97b3-cf9c6940a35e","name":"one","description":"","body":"tmpl1 - {{one}}","parameters":["https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/parameters/4a08421f-6095-4a60-aed1-a7c1dfbab1b9/"],"has_secret":false,"created_at":"2021-08-03T19:33:51.435622Z","modified_at":"2021-08-03T19:33:51.435660Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:51 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/templates/333baa29-a01d-4f14-ab50-600af6fd1c33/","id":"333baa29-a01d-4f14-ab50-600af6fd1c33","name":"one","description":"","body":"tmpl1 + {{one}}","parameters":["https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/parameters/eb4193b7-fac9-4608-a117-61e7041aba6b/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:30:12.540156Z","modified_at":"2021-09-22T15:30:12.540156Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:12 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/templates/ + uri: https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/templates/ body: encoding: UTF-8 string: '{"name":"two","body":"tmpl2 {{two}}"}' @@ -376,7 +454,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -388,41 +466,49 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:52 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:13 GMT Content-Type: - application/json + Content-Length: + - '519' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=UIz27P/iocYitipzdiXmfNIMYx9U9JvBxFpbA9j5/gyIwPz/tdjI5CvLoNJR6Ekhpo+LktNgCJEN0Y9H/briG6ibZBH1rMBseFq0N+Fyw2q05YZiGdY25ENlod13; + Expires=Wed, 29 Sep 2021 15:30:12 GMT; Path=/ + - AWSALBCORS=UIz27P/iocYitipzdiXmfNIMYx9U9JvBxFpbA9j5/gyIwPz/tdjI5CvLoNJR6Ekhpo+LktNgCJEN0Y9H/briG6ibZBH1rMBseFq0N+Fyw2q05YZiGdY25ENlod13; + Expires=Wed, 29 Sep 2021 15:30:12 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=LgD50/JoAZHXUW+gt56Di9WY5zwSxOkb5YgvMvDXBRGg85mg2jiAOD5xoAdrxSz8nrBvtg1LFATwBXknC64k4Z2ehYYb4PhyGQJIfOAW6u1087k0Ha2cudIDtLQNrI1xBMElrbim7qcq+oGCp/u64tryeFFfYe45GFPdTJiQJlHp; + Expires=Wed, 29 Sep 2021 15:30:12 GMT; Path=/ + - AWSALBTGCORS=LgD50/JoAZHXUW+gt56Di9WY5zwSxOkb5YgvMvDXBRGg85mg2jiAOD5xoAdrxSz8nrBvtg1LFATwBXknC64k4Z2ehYYb4PhyGQJIfOAW6u1087k0Ha2cudIDtLQNrI1xBMElrbim7qcq+oGCp/u64tryeFFfYe45GFPdTJiQJlHp; + Expires=Wed, 29 Sep 2021 15:30:12 GMT; Path=/; SameSite=None; Secure + - csrftoken=XjnTfeq3QfffvjSHxWkxGQa0TbcXtfXrJDF4cXNDyyzole4YD9UZKb2oQL9mcCv7; + expires=Wed, 21 Sep 2022 15:30:13 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=b519npwnmhbo19r5fljy7aty1viol62w; expires=Wed, 06 Oct 2021 15:30:13 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/templates/31f17e2f-b4c6-4414-a3d6-810b3f1012fb/ + - https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/templates/89d90523-6e29-4185-be0d-3eddd464e749/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '477' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=WMrvEe5Qc0yw8AxBGUMvTozAgNrgsfZrQWsxWRE2vEGjtnjXCiLUj5iYQEAKjpkz; - expires=Tue, 02 Aug 2022 19:33:52 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=x7hf0z3axo4h9tylhhs24bnu8zut7oro; expires=Tue, 17 Aug 2021 19:33:52 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/templates/31f17e2f-b4c6-4414-a3d6-810b3f1012fb/","id":"31f17e2f-b4c6-4414-a3d6-810b3f1012fb","name":"two","description":"","body":"tmpl2 - {{two}}","parameters":["https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/parameters/a6d24c62-0227-470f-9324-94569a58b12b/"],"has_secret":true,"created_at":"2021-08-03T19:33:52.338708Z","modified_at":"2021-08-03T19:33:52.338754Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:52 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/templates/89d90523-6e29-4185-be0d-3eddd464e749/","id":"89d90523-6e29-4185-be0d-3eddd464e749","name":"two","description":"","body":"tmpl2 + {{two}}","parameters":["https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/parameters/554334c3-7fd6-45b9-9f66-91cd6ccc9b2f/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:30:13.060913Z","modified_at":"2021-09-22T15:30:13.060913Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:12 GMT - request: method: get - uri: https://localhost:8000/api/v1/environments/ + uri: https://api.cloudtruth.io/api/v1/environments/ body: encoding: US-ASCII string: '' @@ -430,7 +516,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -442,50 +528,59 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:53 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:13 GMT Content-Type: - application/json + Content-Length: + - '3328' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=o0ANa9MAL9FSVn1Vy0qkkLjQkF/kOyDqGsh5fBn8LU5vPIFYL1czzfsNO5evmYxxwC3fCya2JKWy/KYyQ5JMQwyShBQK4pSUGmmWMSnpcJEiIis734+Mu+inU6Qq; + Expires=Wed, 29 Sep 2021 15:30:13 GMT; Path=/ + - AWSALBCORS=o0ANa9MAL9FSVn1Vy0qkkLjQkF/kOyDqGsh5fBn8LU5vPIFYL1czzfsNO5evmYxxwC3fCya2JKWy/KYyQ5JMQwyShBQK4pSUGmmWMSnpcJEiIis734+Mu+inU6Qq; + Expires=Wed, 29 Sep 2021 15:30:13 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=fWHDvS7McZDw7Oaw6vrWgmOky3B2a/ShSVrlVCdAYCurCl62fb1+IMEIacNKH5rAe3uMtBAdcRoyzu/Y2Jk6GQarHlHuyFI1W7p4XZDmGQoIThRrq87zdmLSAfgjZABo36ZuNPmhMZtVzrjEEm0i2X3Ag+3UX18On1JpiNFQtKOu; + Expires=Wed, 29 Sep 2021 15:30:13 GMT; Path=/ + - AWSALBTGCORS=fWHDvS7McZDw7Oaw6vrWgmOky3B2a/ShSVrlVCdAYCurCl62fb1+IMEIacNKH5rAe3uMtBAdcRoyzu/Y2Jk6GQarHlHuyFI1W7p4XZDmGQoIThRrq87zdmLSAfgjZABo36ZuNPmhMZtVzrjEEm0i2X3Ag+3UX18On1JpiNFQtKOu; + Expires=Wed, 29 Sep 2021 15:30:13 GMT; Path=/; SameSite=None; Secure + - csrftoken=ijEMTpdQxXwRjPnvZcngi32BdnMMjtJJEaLZndxt9oX9vcgIsch6D4CTW0MnnXGe; + expires=Wed, 21 Sep 2022 15:30:13 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=f2cjdk5xfj2g6n0yvlfbwjq3ed7jzwby; expires=Wed, 06 Oct 2021 15:30:13 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '1516' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=j8k6E3argHbLBHlWcnF7LowJA7lGel6ch6nqTB797AprIcDJG80okseTpwhCndz3; - expires=Tue, 02 Aug 2022 19:33:53 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=0wm98tn38cpnj54fx42zp0rsep7oske3; expires=Tue, 17 Aug 2021 19:33:53 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":4,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","id":"3ce72447-641f-418d-a12a-71173a56ffca","name":"default","description":"Default - environment, base for all environments.","parent":null,"created_at":"2021-08-02T14:22:36.043828Z","modified_at":"2021-08-03T19:32:57.263299Z"},{"url":"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/","id":"0293a31b-70a7-458c-afe4-162fa9febc1e","name":"development","description":"Development - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.086474Z","modified_at":"2021-08-03T19:32:58.205967Z"},{"url":"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/","id":"d5a11b75-2690-4363-83a3-873f3a98cef8","name":"production","description":"Production - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.142958Z","modified_at":"2021-08-02T14:22:36.143017Z"},{"url":"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/","id":"5694a5f3-a09c-40f1-b40b-74f260508516","name":"staging","description":"Staging - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.114024Z","modified_at":"2021-08-02T14:22:36.114565Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:33:53 GMT + string: '{"count":9,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","id":"e8bc190d-0354-4e66-91c9-64501e501ec5","name":"default","description":"The + auto-generated default environment.","parent":null,"created_at":"2021-07-20T18:14:09.023022Z","modified_at":"2021-09-22T15:29:49.941243Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","id":"c4de304d-5dd4-4a41-80ec-9a469f1aa4f5","name":"development","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.035255Z","modified_at":"2021-09-22T15:29:42.701230Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/","id":"12b9c81b-9002-423b-9ca7-22cece646d07","name":"dev-matt","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","created_at":"2021-07-21T19:53:37.534082Z","modified_at":"2021-07-26T22:01:23.472634Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/","id":"2281d9da-8376-4f45-baf2-372a71260dfa","name":"europe","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","created_at":"2021-07-21T19:53:47.438517Z","modified_at":"2021-07-26T22:01:29.331661Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/","id":"c99d6ab9-4674-4f76-bb43-da0b19124e18","name":"local","description":"for + local development","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-21T19:53:50.000541Z","modified_at":"2021-07-26T22:01:32.150839Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/","id":"ef133a2e-3c9c-4229-a509-e56332baff40","name":"ops","description":"The + ops environment - infrastructure that acts as the entry point to the other + environment''s infrastructure","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-21T20:05:10.325110Z","modified_at":"2021-07-26T22:01:35.184068Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","id":"cde7cf9d-8bf2-46cb-9e97-dee9b99e4335","name":"production","description":"for + real","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.058957Z","modified_at":"2021-09-15T19:15:15.144679Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/","id":"e4399ff4-a962-451b-adfb-7e504ad6bb6d","name":"staging","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.047049Z","modified_at":"2021-07-26T18:46:21.385162Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/","id":"3afc0523-4722-4fa1-aaea-5d49beaa284d","name":"usa","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","created_at":"2021-07-21T20:05:24.767679Z","modified_at":"2021-07-26T18:44:51.186840Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:30:13 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/parameters/4a08421f-6095-4a60-aed1-a7c1dfbab1b9/values/ + uri: https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/parameters/eb4193b7-fac9-4608-a117-61e7041aba6b/values/ body: encoding: UTF-8 - string: '{"environment":"3ce72447-641f-418d-a12a-71173a56ffca","dynamic":false,"static_value":"defaultone"}' + string: '{"environment":"e8bc190d-0354-4e66-91c9-64501e501ec5","external":false,"internal_value":"defaultone"}' headers: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -497,40 +592,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:54 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:14 GMT Content-Type: - application/json + Content-Length: + - '849' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=C6+BTF9R/m9WPkgvr1dFW/ryt0nqZpzHOwhRI4Q21Ln9lHgLapxaSvYrruHtaHmPgoxIPKv7PEEnxj21AxR7GOO1+HdvRDjbmMktDDVL2qKVDac2BhF4mNxc3Szk; + Expires=Wed, 29 Sep 2021 15:30:13 GMT; Path=/ + - AWSALBCORS=C6+BTF9R/m9WPkgvr1dFW/ryt0nqZpzHOwhRI4Q21Ln9lHgLapxaSvYrruHtaHmPgoxIPKv7PEEnxj21AxR7GOO1+HdvRDjbmMktDDVL2qKVDac2BhF4mNxc3Szk; + Expires=Wed, 29 Sep 2021 15:30:13 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=Kyw+QehuFI6nBxh5pYtVDGRxk14CCqSQ05M5HBqZq/R2G81JdL5k9J1PpcZp2rV6chVyOp28Dg+ke+6TG1w8XHqP5d69uc22mKCHQflAk02r4s3wO8bMSjNcKNHjGdiBkZCbAR7Pfuf12fZ45Rl9M/f6/oP0+bM7xDagUqcI/vyY; + Expires=Wed, 29 Sep 2021 15:30:13 GMT; Path=/ + - AWSALBTGCORS=Kyw+QehuFI6nBxh5pYtVDGRxk14CCqSQ05M5HBqZq/R2G81JdL5k9J1PpcZp2rV6chVyOp28Dg+ke+6TG1w8XHqP5d69uc22mKCHQflAk02r4s3wO8bMSjNcKNHjGdiBkZCbAR7Pfuf12fZ45Rl9M/f6/oP0+bM7xDagUqcI/vyY; + Expires=Wed, 29 Sep 2021 15:30:13 GMT; Path=/; SameSite=None; Secure + - csrftoken=3nS8oS8Wo4e3r0NmplIdx8UGsND0x2B5ziA1Ul3QOFh9VE1z5BJx2EMC53YVzAQK; + expires=Wed, 21 Sep 2022 15:30:14 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=ibznbgnhgrnoewqmj7kq3bhpb4ryqhh4; expires=Wed, 06 Oct 2021 15:30:14 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/parameters/4a08421f-6095-4a60-aed1-a7c1dfbab1b9/values/b0f9336f-5e33-44eb-8f2c-1483fd188843/ + - https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/parameters/eb4193b7-fac9-4608-a117-61e7041aba6b/values/b6fd5cfd-5796-4044-879a-08655771b2e7/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '662' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=M6QwqKrToXi225Rb8TMUpGC4KzSGaR1iIdJTkYeP5srPfoAAGTVkFebYXkGJRqcI; - expires=Tue, 02 Aug 2022 19:33:54 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=083sqzud1699s195hmpav89man73xd14; expires=Tue, 17 Aug 2021 19:33:54 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/parameters/4a08421f-6095-4a60-aed1-a7c1dfbab1b9/values/b0f9336f-5e33-44eb-8f2c-1483fd188843/","id":"b0f9336f-5e33-44eb-8f2c-1483fd188843","environment":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","parameter":"https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/parameters/4a08421f-6095-4a60-aed1-a7c1dfbab1b9/","dynamic":false,"dynamic_fqn":"","dynamic_filter":"","static_value":"defaultone","value":"defaultone","secret":false,"created_at":"2021-08-03T19:33:54.446984Z","modified_at":"2021-08-03T19:33:54.447020Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:54 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/parameters/eb4193b7-fac9-4608-a117-61e7041aba6b/values/b6fd5cfd-5796-4044-879a-08655771b2e7/","id":"b6fd5cfd-5796-4044-879a-08655771b2e7","environment":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","environment_name":"default","earliest_tag":null,"parameter":"https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/parameters/eb4193b7-fac9-4608-a117-61e7041aba6b/","external":false,"external_fqn":"","external_filter":"","external_error":null,"internal_value":"defaultone","value":"defaultone","secret":false,"created_at":"2021-09-22T15:30:14.027195Z","modified_at":"2021-09-22T15:30:14.027195Z","static_value":"defaultone","dynamic":false,"dynamic_error":null,"dynamic_filter":"","dynamic_fqn":""}' + recorded_at: Wed, 22 Sep 2021 15:30:13 GMT - request: method: get - uri: https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/templates/ + uri: https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/templates/ body: encoding: US-ASCII string: '' @@ -538,7 +641,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -550,40 +653,48 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:55 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:14 GMT Content-Type: - application/json + Content-Length: + - '1091' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=GvQZNcNxFbyPdgLr6lf5FA9u6UJWZncDliiSZChbtIlvEGQaFlnok5rLcyiAIChzE73PM3xhjqXzrfMl/pPAfyNtwtiHhLWC+mW5EQg2TLag3sUjbnSDQHzqJJIS; + Expires=Wed, 29 Sep 2021 15:30:14 GMT; Path=/ + - AWSALBCORS=GvQZNcNxFbyPdgLr6lf5FA9u6UJWZncDliiSZChbtIlvEGQaFlnok5rLcyiAIChzE73PM3xhjqXzrfMl/pPAfyNtwtiHhLWC+mW5EQg2TLag3sUjbnSDQHzqJJIS; + Expires=Wed, 29 Sep 2021 15:30:14 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=1hSyrnS8BEhoHh4D3Gh4vy1UEnqWms8/dMovdM9qqNw2IMiFvgMIt8fvSBDNEH+qUqBMsfITA3wIOY9p+YEgVggb1QF0dlcVJkLDynwQ8mNBbOZBXf1iaGCvL8ZF9fcHobiZYYHT+1gQ7n69s5KbOpAWk3F0gKXnfpw1IhhD2ztP; + Expires=Wed, 29 Sep 2021 15:30:14 GMT; Path=/ + - AWSALBTGCORS=1hSyrnS8BEhoHh4D3Gh4vy1UEnqWms8/dMovdM9qqNw2IMiFvgMIt8fvSBDNEH+qUqBMsfITA3wIOY9p+YEgVggb1QF0dlcVJkLDynwQ8mNBbOZBXf1iaGCvL8ZF9fcHobiZYYHT+1gQ7n69s5KbOpAWk3F0gKXnfpw1IhhD2ztP; + Expires=Wed, 29 Sep 2021 15:30:14 GMT; Path=/; SameSite=None; Secure + - csrftoken=Qex38EoOUHlxrWP9I1mj6lTJkgSsGbIchCdEZeHEwJTddMh6wOa5yw6Tf8WfCVJq; + expires=Wed, 21 Sep 2022 15:30:14 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=ptc5aoqlyx487nk9bf1b1yidq7dou65x; expires=Wed, 06 Oct 2021 15:30:14 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '1008' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=1UPwTGeqM8TXehzcV0LKlz4D18dyKh9kV9I4tScq0cxShrQlEezzdLFZv4KpO311; - expires=Tue, 02 Aug 2022 19:33:55 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=2so3v5tlf6mookobh5b57iin3rc22ar6; expires=Tue, 17 Aug 2021 19:33:55 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/templates/5dc4dcb0-dabc-465e-97b3-cf9c6940a35e/","id":"5dc4dcb0-dabc-465e-97b3-cf9c6940a35e","name":"one","description":"","body":"tmpl1 - {{one}}","parameters":["https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/parameters/4a08421f-6095-4a60-aed1-a7c1dfbab1b9/"],"has_secret":false,"created_at":"2021-08-03T19:33:51.435622Z","modified_at":"2021-08-03T19:33:51.435660Z"},{"url":"https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/templates/31f17e2f-b4c6-4414-a3d6-810b3f1012fb/","id":"31f17e2f-b4c6-4414-a3d6-810b3f1012fb","name":"two","description":"","body":"tmpl2 - {{two}}","parameters":["https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/parameters/a6d24c62-0227-470f-9324-94569a58b12b/"],"has_secret":true,"created_at":"2021-08-03T19:33:52.338708Z","modified_at":"2021-08-03T19:33:52.338754Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:33:55 GMT + string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/templates/333baa29-a01d-4f14-ab50-600af6fd1c33/","id":"333baa29-a01d-4f14-ab50-600af6fd1c33","name":"one","description":"","body":"tmpl1 + {{one}}","parameters":["https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/parameters/eb4193b7-fac9-4608-a117-61e7041aba6b/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:30:12.540156Z","modified_at":"2021-09-22T15:30:12.540156Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/templates/89d90523-6e29-4185-be0d-3eddd464e749/","id":"89d90523-6e29-4185-be0d-3eddd464e749","name":"two","description":"","body":"tmpl2 + {{two}}","parameters":["https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/parameters/554334c3-7fd6-45b9-9f66-91cd6ccc9b2f/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:30:13.060913Z","modified_at":"2021-09-22T15:30:13.060913Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:30:14 GMT - request: method: get - uri: https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/templates/5dc4dcb0-dabc-465e-97b3-cf9c6940a35e/?environment=3ce72447-641f-418d-a12a-71173a56ffca + uri: https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/templates/333baa29-a01d-4f14-ab50-600af6fd1c33/?environment=e8bc190d-0354-4e66-91c9-64501e501ec5 body: encoding: US-ASCII string: '' @@ -591,7 +702,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -603,34 +714,42 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:57 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:15 GMT Content-Type: - application/json + Content-Length: + - '522' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=3hy8zKJ1tTMXr+4wJoPL9eLzBidutdINZ0pz+v6L6UdE83XEsJgmOEYG7IRPHsyL8TE8cEqZEaeb07wDCpdzLJDaSH8pldnoULPaaEdkbnDwyQ+2QPwIP4dvss1n; + Expires=Wed, 29 Sep 2021 15:30:14 GMT; Path=/ + - AWSALBCORS=3hy8zKJ1tTMXr+4wJoPL9eLzBidutdINZ0pz+v6L6UdE83XEsJgmOEYG7IRPHsyL8TE8cEqZEaeb07wDCpdzLJDaSH8pldnoULPaaEdkbnDwyQ+2QPwIP4dvss1n; + Expires=Wed, 29 Sep 2021 15:30:14 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=/jXXmoLhtwslOVlul2Ijm6l8aUWThm3/rjogBnRwaqb/zC3P0NzC1ELgz5atvdLUX2xaikLRwQX01nQ+hayMQH6ASNXodsf7xlnwziz4RyELF2yT1AgDkRB8tqF3l65g+4gLp/pjB9D0+Jc7RJ+9QiUffM5yK6Cy/qx3+7jhWODE; + Expires=Wed, 29 Sep 2021 15:30:14 GMT; Path=/ + - AWSALBTGCORS=/jXXmoLhtwslOVlul2Ijm6l8aUWThm3/rjogBnRwaqb/zC3P0NzC1ELgz5atvdLUX2xaikLRwQX01nQ+hayMQH6ASNXodsf7xlnwziz4RyELF2yT1AgDkRB8tqF3l65g+4gLp/pjB9D0+Jc7RJ+9QiUffM5yK6Cy/qx3+7jhWODE; + Expires=Wed, 29 Sep 2021 15:30:14 GMT; Path=/; SameSite=None; Secure + - csrftoken=MLLMDiySE4dkZC02g6q5xg9DQf14cCAIGkeME3AKBYAMr0udTQ54AqOvjKiGYEiI; + expires=Wed, 21 Sep 2022 15:30:15 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=47x13rmgmoxxiqb0hw1aw7o36xvgt13o; expires=Wed, 06 Oct 2021 15:30:15 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, PUT, PATCH, DELETE, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '481' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=xsuNkOlMiJWHjJ1Y89EYwsLPTdTPOd2UvqLwytnRtqxOV48MMpTQvQCe9yVsnh5X; - expires=Tue, 02 Aug 2022 19:33:57 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=pbdkwzdk2m9icapm6rjcnspx6uqvefwi; expires=Tue, 17 Aug 2021 19:33:57 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/templates/5dc4dcb0-dabc-465e-97b3-cf9c6940a35e/","id":"5dc4dcb0-dabc-465e-97b3-cf9c6940a35e","name":"one","description":"","body":"tmpl1 - defaultone","parameters":["https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/parameters/4a08421f-6095-4a60-aed1-a7c1dfbab1b9/"],"has_secret":false,"created_at":"2021-08-03T19:33:51.435622Z","modified_at":"2021-08-03T19:33:51.435660Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:57 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/templates/333baa29-a01d-4f14-ab50-600af6fd1c33/","id":"333baa29-a01d-4f14-ab50-600af6fd1c33","name":"one","description":"","body":"tmpl1 + defaultone","parameters":["https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/parameters/eb4193b7-fac9-4608-a117-61e7041aba6b/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:30:12.540156Z","modified_at":"2021-09-22T15:30:12.540156Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:14 GMT recorded_with: VCR 6.0.0 diff --git a/spec/fixtures/vcr/Kubetruth_CtApi/_templates/_template/masks_secrets_in_log_for_templates_that_reference_them.yml b/spec/fixtures/vcr/Kubetruth_CtApi/_templates/_template/masks_secrets_in_log_for_templates_that_reference_them.yml index d6de6f7..91066e1 100644 --- a/spec/fixtures/vcr/Kubetruth_CtApi/_templates/_template/masks_secrets_in_log_for_templates_that_reference_them.yml +++ b/spec/fixtures/vcr/Kubetruth_CtApi/_templates/_template/masks_secrets_in_log_for_templates_that_reference_them.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -10,7 +10,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -22,39 +22,58 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:58 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:15 GMT Content-Type: - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=qXYmKPo5rJ8Io+/9SO3CyhkBDxG/W4aqCuKRwVzNRHnJGdaD1QiSAEFheS0qLlAWT2UAbBxHoYHfX9hJv0HV0A/oBCqqervsCYJgFhZyGL+B2Oc3+1nlk4lXapmk; + Expires=Wed, 29 Sep 2021 15:30:15 GMT; Path=/ + - AWSALBCORS=qXYmKPo5rJ8Io+/9SO3CyhkBDxG/W4aqCuKRwVzNRHnJGdaD1QiSAEFheS0qLlAWT2UAbBxHoYHfX9hJv0HV0A/oBCqqervsCYJgFhZyGL+B2Oc3+1nlk4lXapmk; + Expires=Wed, 29 Sep 2021 15:30:15 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=Jq8knPwFRwLg0n50ltVEJvulJ72VqovVIO4sbmZZTnEceviKbIzRaH0TKNcE8/g1mCh5Sg0aAPWnMoB2IVYSkaV+yXwXwU0Hdv6MdS+4jGu4Eu21CmzH1xYEMaKL+n2keJFDkdVkkR+dys+LOqkPS3aOZqwfzahhE5X82wFoQeI4; + Expires=Wed, 29 Sep 2021 15:30:15 GMT; Path=/ + - AWSALBTGCORS=Jq8knPwFRwLg0n50ltVEJvulJ72VqovVIO4sbmZZTnEceviKbIzRaH0TKNcE8/g1mCh5Sg0aAPWnMoB2IVYSkaV+yXwXwU0Hdv6MdS+4jGu4Eu21CmzH1xYEMaKL+n2keJFDkdVkkR+dys+LOqkPS3aOZqwfzahhE5X82wFoQeI4; + Expires=Wed, 29 Sep 2021 15:30:15 GMT; Path=/; SameSite=None; Secure + - csrftoken=UZ7HDCt5PkUbpcSQsogFWQUbRHBZ1nOxhjeo5H3tVFCB1kw0yGFCaOaLPNUErzkq; + expires=Wed, 21 Sep 2022 15:30:15 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=gs1la1vwmdcl8zbcintjp0ywebcrkbb3; expires=Wed, 06 Oct 2021 15:30:15 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '610' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=qbGwwJaKUyfP3zCbWugswgcLci3P4DoY7W8SoaOj1H3S2GYHkY9e8TiaFp45mbSu; - expires=Tue, 02 Aug 2022 19:33:58 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=drl9mhm05jkl2kgyrnw9undoexnpci59; expires=Tue, 17 Aug 2021 19:33:58 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/","id":"95deb77d-5689-47b7-8b2a-f32aaca15ecf","name":"TestProject","description":"","created_at":"2021-08-03T19:33:46.953950Z","modified_at":"2021-08-03T19:33:46.953986Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:33:58 GMT + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/","id":"528cfac6-28cf-4100-91d3-f219cfeb909b","name":"TestProject","description":"","created_at":"2021-09-22T15:30:10.600521Z","modified_at":"2021-09-22T15:30:14.045162Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:30:15 GMT - request: method: delete - uri: https://localhost:8000/api/v1/projects/95deb77d-5689-47b7-8b2a-f32aaca15ecf/ + uri: https://api.cloudtruth.io/api/v1/projects/528cfac6-28cf-4100-91d3-f219cfeb909b/ body: encoding: US-ASCII string: '' @@ -62,7 +81,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Authorization: - Api-Key Accept-Encoding: @@ -74,36 +93,44 @@ http_interactions: code: 204 message: No Content headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:34:00 GMT + - Wed, 22 Sep 2021 15:30:16 GMT + Content-Length: + - '0' Connection: - - close + - keep-alive + Set-Cookie: + - AWSALB=kFFdYnIjzQjFT151c2yQA6qTZhO2PrsBkE8B8eQS17XkckJ8v2xVVjLPH22ym12vbh1kz6EnBMaTKaxNGyq4Rfs9nxVdQ+/8w6RNfRYqH7dNj8if7CNmCDpFZ/xr; + Expires=Wed, 29 Sep 2021 15:30:15 GMT; Path=/ + - AWSALBCORS=kFFdYnIjzQjFT151c2yQA6qTZhO2PrsBkE8B8eQS17XkckJ8v2xVVjLPH22ym12vbh1kz6EnBMaTKaxNGyq4Rfs9nxVdQ+/8w6RNfRYqH7dNj8if7CNmCDpFZ/xr; + Expires=Wed, 29 Sep 2021 15:30:15 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=TauxA0cnNhVcTAjBuL+D/ucbWVKbD2khedGx/JJz8FVQDf8p5mCXGIReKbOFdFoV+lf4ut9QkIH1RonSbnHAfi/iRTiAHCqz8CKbd8yP1MdbJ6ZsfsAanoZi7BQa/BsLHD6cNOART+ldw4KltLJIDW4MJ3cuD62QQRy0vcy24soF; + Expires=Wed, 29 Sep 2021 15:30:15 GMT; Path=/ + - AWSALBTGCORS=TauxA0cnNhVcTAjBuL+D/ucbWVKbD2khedGx/JJz8FVQDf8p5mCXGIReKbOFdFoV+lf4ut9QkIH1RonSbnHAfi/iRTiAHCqz8CKbd8yP1MdbJ6ZsfsAanoZi7BQa/BsLHD6cNOART+ldw4KltLJIDW4MJ3cuD62QQRy0vcy24soF; + Expires=Wed, 29 Sep 2021 15:30:15 GMT; Path=/; SameSite=None; Secure + - csrftoken=8GActNI6DGP06lnDaTIpR5396c5CfTbOwWNcg2tloqaNOBUzA1N0CiC5000C6AfO; + expires=Wed, 21 Sep 2022 15:30:16 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=2gv55sz547jrnvhmc4v3eicu7pvtg2xz; expires=Wed, 06 Oct 2021 15:30:16 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, PUT, PATCH, DELETE, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '0' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=pZ9nlkzDXNSids2LriYahibxWoD8v69784SyUMwLqvHhvaEEWyuCUIqvMjIy6ORm; - expires=Tue, 02 Aug 2022 19:34:00 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=2a2njmb28rb36t67ltwdgj8vbrcusga9; expires=Tue, 17 Aug 2021 19:34:00 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 string: '' - recorded_at: Tue, 03 Aug 2021 19:33:59 GMT + recorded_at: Wed, 22 Sep 2021 15:30:15 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: UTF-8 string: '{"name":"TestProject"}' @@ -111,7 +138,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -123,40 +150,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:34:01 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:16 GMT Content-Type: - application/json + Content-Length: + - '258' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=NcPtWGro3Kth7KR0KGxv4weggo/Qy/gFen9BKAALH9ahFym2pq36UHhhZTbuRUrlAX8r6IfYZghEiyFR2tBb7fULJNbWOAlk7hhbHOccjCkuGO07q523REUgkW8J; + Expires=Wed, 29 Sep 2021 15:30:16 GMT; Path=/ + - AWSALBCORS=NcPtWGro3Kth7KR0KGxv4weggo/Qy/gFen9BKAALH9ahFym2pq36UHhhZTbuRUrlAX8r6IfYZghEiyFR2tBb7fULJNbWOAlk7hhbHOccjCkuGO07q523REUgkW8J; + Expires=Wed, 29 Sep 2021 15:30:16 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=7EBtym0sdSRmeGoq824ZvHqcziwjvnS17Li4U06cYo/+L0zJpj1T0gnqlJm5eUBOvJmaJiinpIsdl/+yKiPzMBMV7usXGKYuGgbHxu+hSZeBlhnjozijyR/FnjY3gnSmObQeXaMaKALGfYlrpmb9UX+5SMxTYCN5ba7i0Gxhkduy; + Expires=Wed, 29 Sep 2021 15:30:16 GMT; Path=/ + - AWSALBTGCORS=7EBtym0sdSRmeGoq824ZvHqcziwjvnS17Li4U06cYo/+L0zJpj1T0gnqlJm5eUBOvJmaJiinpIsdl/+yKiPzMBMV7usXGKYuGgbHxu+hSZeBlhnjozijyR/FnjY3gnSmObQeXaMaKALGfYlrpmb9UX+5SMxTYCN5ba7i0Gxhkduy; + Expires=Wed, 29 Sep 2021 15:30:16 GMT; Path=/; SameSite=None; Secure + - csrftoken=b3iedPMnzob0BUTt9Vq1srevCheiE6vxoL8TeHTnWVCiqxE3X6F1V6LUy65rFiYU; + expires=Wed, 21 Sep 2022 15:30:16 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=xu4d5n6sw0rxurpyqg0kife6zo88fl0s; expires=Wed, 06 Oct 2021 15:30:16 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/ + - https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '255' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=V8U3SGbU4ehy8gG50Azt3f4hAoVoF9ZFNyRKYNNK6kZANhHBsgFzeQLUFHwfosZs; - expires=Tue, 02 Aug 2022 19:34:01 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=ir9w69g5pes8ds9z32cicgworp5hmeox; expires=Tue, 17 Aug 2021 19:34:01 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/","id":"13d374ab-a678-4538-a918-94f3daf7622a","name":"TestProject","description":"","created_at":"2021-08-03T19:34:01.127019Z","modified_at":"2021-08-03T19:34:01.127054Z"}' - recorded_at: Tue, 03 Aug 2021 19:34:01 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/","id":"833c57f6-abdd-415f-8c65-09efc5f55e0e","name":"TestProject","description":"","created_at":"2021-09-22T15:30:16.657407Z","modified_at":"2021-09-22T15:30:16.657407Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:16 GMT - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -164,7 +199,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -176,39 +211,58 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:34:02 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:17 GMT Content-Type: - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=e2jKl31mrdXkUYiRkjKlLbNdj+hIcj7DanoRShyVh9aVEeM8Dl6Fu4YDSxXtgcAy1grQiQR64Gdp9BRC0ff3FCXiRyC0UD8gWR8SI+g1n9GefR812aLuD1pD0HmU; + Expires=Wed, 29 Sep 2021 15:30:16 GMT; Path=/ + - AWSALBCORS=e2jKl31mrdXkUYiRkjKlLbNdj+hIcj7DanoRShyVh9aVEeM8Dl6Fu4YDSxXtgcAy1grQiQR64Gdp9BRC0ff3FCXiRyC0UD8gWR8SI+g1n9GefR812aLuD1pD0HmU; + Expires=Wed, 29 Sep 2021 15:30:16 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=rKduY+q24hwCpLJJEhB+ZWdXq5kdlgXZwrDMthXKfMEhp6Q1pk7Jl/0WH39xRZ17MW3MoSJwYpbAR8k7VwwSnas1aFaz+C3vuu7QSi3UpTj/RYhU4piyem8BZT/9oFVf4xoj1qB1/x6xJPKuPm7Mx/qLVdioNVje+KNYiZ2mWpwh; + Expires=Wed, 29 Sep 2021 15:30:16 GMT; Path=/ + - AWSALBTGCORS=rKduY+q24hwCpLJJEhB+ZWdXq5kdlgXZwrDMthXKfMEhp6Q1pk7Jl/0WH39xRZ17MW3MoSJwYpbAR8k7VwwSnas1aFaz+C3vuu7QSi3UpTj/RYhU4piyem8BZT/9oFVf4xoj1qB1/x6xJPKuPm7Mx/qLVdioNVje+KNYiZ2mWpwh; + Expires=Wed, 29 Sep 2021 15:30:16 GMT; Path=/; SameSite=None; Secure + - csrftoken=TCBdRwF3hpP8571BXbzvmoPXnijtbYWVy8IbMr0lNs3QnjZLoOlUBwWlIvDSV4sQ; + expires=Wed, 21 Sep 2022 15:30:17 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=f1mo20mrkzgd89ru6effm2l9r3d2cgn0; expires=Wed, 06 Oct 2021 15:30:17 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '610' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=Wm8F2a0CQR1t9I7WzdpfMdwqjTkKaSVK4saFcwLI02HpQ31gmL3rhOAHtdZ2tIy1; - expires=Tue, 02 Aug 2022 19:34:02 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=r1s0jlj421jk1xsendfh3aumbuoiirj0; expires=Tue, 17 Aug 2021 19:34:02 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/","id":"13d374ab-a678-4538-a918-94f3daf7622a","name":"TestProject","description":"","created_at":"2021-08-03T19:34:01.127019Z","modified_at":"2021-08-03T19:34:01.127054Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:34:02 GMT + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/","id":"833c57f6-abdd-415f-8c65-09efc5f55e0e","name":"TestProject","description":"","created_at":"2021-09-22T15:30:16.657407Z","modified_at":"2021-09-22T15:30:16.657407Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:30:16 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/parameters/ + uri: https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/parameters/ body: encoding: UTF-8 string: '{"name":"one"}' @@ -216,7 +270,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -228,48 +282,56 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:34:03 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:17 GMT Content-Type: - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=5rngm2MZYSw7CotMk6qc1eCs1toXWLWkPSa7tb0H7CVqjmDtgqShhui60qZqbrWPCMXH+Z1esjhww0XoOK1y33ztXd/FqbrI/VxcdPmuEa2mZ/4q4UsNI2L6kmgq; + Expires=Wed, 29 Sep 2021 15:30:17 GMT; Path=/ + - AWSALBCORS=5rngm2MZYSw7CotMk6qc1eCs1toXWLWkPSa7tb0H7CVqjmDtgqShhui60qZqbrWPCMXH+Z1esjhww0XoOK1y33ztXd/FqbrI/VxcdPmuEa2mZ/4q4UsNI2L6kmgq; + Expires=Wed, 29 Sep 2021 15:30:17 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=AaUNIuupsUKUD17J/Hm8IViU3GYihPltpMidd+tQXh011cxdOcotTzGDH3W6adWjqMhxJzK0rF0G0gZnUBSH/lNl2zKP8eJg91HGYHdP6ugj70NfUL8yBpRCh5CEbfm6YZHDfXYOQ3594EjR6e/WN1pa5q86P26t/OAgSseGCuzm; + Expires=Wed, 29 Sep 2021 15:30:17 GMT; Path=/ + - AWSALBTGCORS=AaUNIuupsUKUD17J/Hm8IViU3GYihPltpMidd+tQXh011cxdOcotTzGDH3W6adWjqMhxJzK0rF0G0gZnUBSH/lNl2zKP8eJg91HGYHdP6ugj70NfUL8yBpRCh5CEbfm6YZHDfXYOQ3594EjR6e/WN1pa5q86P26t/OAgSseGCuzm; + Expires=Wed, 29 Sep 2021 15:30:17 GMT; Path=/; SameSite=None; Secure + - csrftoken=fCytc9D02gckZrRPjFLUb9r8pqvGXmLpsUaCWx3XoNoczk0KCe5PsvuS9OPlQ3Tp; + expires=Wed, 21 Sep 2022 15:30:17 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=q34kbfj6bxww75kpkqloecy62v1w0r8e; expires=Wed, 06 Oct 2021 15:30:17 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/parameters/5694de7e-a675-4f8d-87fd-85b5ec63cc72/ + - https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/parameters/9e2649e3-a243-4db6-b337-88237f322469/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '688' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=XP5pKRHBVeOTPhiF9c4nuwQ5faqJHkYqa5MfzxDUWG5c08G1H58BoQa6IXEijD8V; - expires=Tue, 02 Aug 2022 19:34:03 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=jepqqhlxkdwyqf8qmcvx1qcf4uj1ag6a; expires=Tue, 17 Aug 2021 19:34:03 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/parameters/5694de7e-a675-4f8d-87fd-85b5ec63cc72/","id":"5694de7e-a675-4f8d-87fd-85b5ec63cc72","name":"one","description":"","secret":false,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null,"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/":null,"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/":null,"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/":null},"created_at":"2021-08-03T19:34:03.213479Z","modified_at":"2021-08-03T19:34:03.213526Z"}' - recorded_at: Tue, 03 Aug 2021 19:34:03 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/parameters/9e2649e3-a243-4db6-b337-88237f322469/","id":"9e2649e3-a243-4db6-b337-88237f322469","name":"one","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:30:17.578601Z","modified_at":"2021-09-22T15:30:17.578601Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:17 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/parameters/ + uri: https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/parameters/ body: encoding: UTF-8 - string: '{"name":"two","secret":true}' + string: '{"name":"two"}' headers: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -281,40 +343,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:34:04 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:18 GMT Content-Type: - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=i9v40wAPxsd1x0cHjJdYtrrICjmYaZw7x5M/YM9pi/WHODphQLQ9CO2CP2QXKuuGudsN8Y+E+zY6lhsxSRa3YXRbP6GTcDcfgKtotI+wFgAhmC0kd36RgeSPswH6; + Expires=Wed, 29 Sep 2021 15:30:17 GMT; Path=/ + - AWSALBCORS=i9v40wAPxsd1x0cHjJdYtrrICjmYaZw7x5M/YM9pi/WHODphQLQ9CO2CP2QXKuuGudsN8Y+E+zY6lhsxSRa3YXRbP6GTcDcfgKtotI+wFgAhmC0kd36RgeSPswH6; + Expires=Wed, 29 Sep 2021 15:30:17 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=/1KONGl5p9Nq76r+mHZd9UveNEnFL6r5iLkgM+jEQjy5grELQpLJi0t1q3VNHBeSluD6iP1KLPCwe55k6BFKbqFUHosfifo5UPSYlllwgodKe6GQvs53zYk4+78GaR9N7VDmLpq+0f8LCGnCYZ18Jd4GnPja1B0P7pwJE/UnpuDX; + Expires=Wed, 29 Sep 2021 15:30:17 GMT; Path=/ + - AWSALBTGCORS=/1KONGl5p9Nq76r+mHZd9UveNEnFL6r5iLkgM+jEQjy5grELQpLJi0t1q3VNHBeSluD6iP1KLPCwe55k6BFKbqFUHosfifo5UPSYlllwgodKe6GQvs53zYk4+78GaR9N7VDmLpq+0f8LCGnCYZ18Jd4GnPja1B0P7pwJE/UnpuDX; + Expires=Wed, 29 Sep 2021 15:30:17 GMT; Path=/; SameSite=None; Secure + - csrftoken=beYc3QUiQ6LLFSrWOI3fCYFU9wFoOAwHtR2elrcFRXTL0YZz09R3Dxm1aQibqeZ7; + expires=Wed, 21 Sep 2022 15:30:18 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=kpcwvcxg64azprmj9u9bxogjvq6ic8sr; expires=Wed, 06 Oct 2021 15:30:18 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/parameters/4657dd62-3417-4916-a09d-5ae8670eb057/ + - https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/parameters/7f1c0d48-af5d-45f7-8bd7-aa1ac755a03f/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '687' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=iLtvVzEgocMLTfwUBxi07iFCryhZPREJRanCVTf9kf4DL51HKKpgNcz1wWr8rbzm; - expires=Tue, 02 Aug 2022 19:34:04 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=8rqouu2de3gnbm4il8tuqhhsfzh1fol8; expires=Tue, 17 Aug 2021 19:34:04 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/parameters/4657dd62-3417-4916-a09d-5ae8670eb057/","id":"4657dd62-3417-4916-a09d-5ae8670eb057","name":"two","description":"","secret":true,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null,"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/":null,"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/":null,"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/":null},"created_at":"2021-08-03T19:34:04.345954Z","modified_at":"2021-08-03T19:34:04.345989Z"}' - recorded_at: Tue, 03 Aug 2021 19:34:04 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/parameters/7f1c0d48-af5d-45f7-8bd7-aa1ac755a03f/","id":"7f1c0d48-af5d-45f7-8bd7-aa1ac755a03f","name":"two","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:30:18.121812Z","modified_at":"2021-09-22T15:30:18.121812Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:17 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/templates/ + uri: https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/templates/ body: encoding: UTF-8 string: '{"name":"one","body":"tmpl1 {{one}}"}' @@ -322,7 +392,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -334,41 +404,49 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:34:05 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:18 GMT Content-Type: - application/json + Content-Length: + - '519' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=1s4F2wHztbFavsjx6qbqlDxiEXNiaMZFu3xhuFkgGjH8XIujHcT2mMUvs8sCUsm1awJJ+Onrt8D5QQ2K74ezgLykJF1iFK7J5K/Zd3rugrdtyZYTDBKzAVBpe7V6; + Expires=Wed, 29 Sep 2021 15:30:18 GMT; Path=/ + - AWSALBCORS=1s4F2wHztbFavsjx6qbqlDxiEXNiaMZFu3xhuFkgGjH8XIujHcT2mMUvs8sCUsm1awJJ+Onrt8D5QQ2K74ezgLykJF1iFK7J5K/Zd3rugrdtyZYTDBKzAVBpe7V6; + Expires=Wed, 29 Sep 2021 15:30:18 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=NZf2IfUgSDqIaCViBmPjBP9zv/PXLAAiJFLSfPjiO2Dy7AAKgeA8YLii/zDCjEn6dkvyg0bwPjM+bpsOqBIm60jUZ4BN4MGXipfNXOVf0GuFtWGrhxepJF6zmHT1Ad5JbAvYrjlmN4bOOsdns9qh/5gL1Tb8kRBn6Ih/NQgpFFFy; + Expires=Wed, 29 Sep 2021 15:30:18 GMT; Path=/ + - AWSALBTGCORS=NZf2IfUgSDqIaCViBmPjBP9zv/PXLAAiJFLSfPjiO2Dy7AAKgeA8YLii/zDCjEn6dkvyg0bwPjM+bpsOqBIm60jUZ4BN4MGXipfNXOVf0GuFtWGrhxepJF6zmHT1Ad5JbAvYrjlmN4bOOsdns9qh/5gL1Tb8kRBn6Ih/NQgpFFFy; + Expires=Wed, 29 Sep 2021 15:30:18 GMT; Path=/; SameSite=None; Secure + - csrftoken=f5IjTat1Ewin7rSb6aOltsjSv1esGw6td6RsiYfQefwqvghD3fwdHrxMjqjpDj2R; + expires=Wed, 21 Sep 2022 15:30:18 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=vvxwwkvg7ookqke4o073reqrgcrmjzgq; expires=Wed, 06 Oct 2021 15:30:18 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/templates/c7ea0589-91ca-4934-967f-ca89c6b4a99e/ + - https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/templates/2115ae64-da94-4cad-9609-e15137ccc37e/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '478' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=2AHSuqecoXKNyvltyEjpyjxfzEilQ0HWlPe4uWt9xtbYDPxxeaZh5zIlLi1wUhj7; - expires=Tue, 02 Aug 2022 19:34:05 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=2p2wmow4abgftqdjh0lk5s11da7x19fb; expires=Tue, 17 Aug 2021 19:34:05 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/templates/c7ea0589-91ca-4934-967f-ca89c6b4a99e/","id":"c7ea0589-91ca-4934-967f-ca89c6b4a99e","name":"one","description":"","body":"tmpl1 - {{one}}","parameters":["https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/parameters/5694de7e-a675-4f8d-87fd-85b5ec63cc72/"],"has_secret":false,"created_at":"2021-08-03T19:34:05.629256Z","modified_at":"2021-08-03T19:34:05.629292Z"}' - recorded_at: Tue, 03 Aug 2021 19:34:05 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/templates/2115ae64-da94-4cad-9609-e15137ccc37e/","id":"2115ae64-da94-4cad-9609-e15137ccc37e","name":"one","description":"","body":"tmpl1 + {{one}}","parameters":["https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/parameters/9e2649e3-a243-4db6-b337-88237f322469/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:30:18.756440Z","modified_at":"2021-09-22T15:30:18.756440Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:18 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/templates/ + uri: https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/templates/ body: encoding: UTF-8 string: '{"name":"two","body":"tmpl2 {{two}}"}' @@ -376,7 +454,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -388,41 +466,110 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:34:06 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:19 GMT Content-Type: - application/json + Content-Length: + - '519' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=V94xVL5KC2AuMWjMJZmM9sbBLOfwg5dg9nt4GXf3xXGWsyoes4MNAnqFFm+jhH6akyrHwD0xhDYj4icnPIHoe5FZl0XmkqRDSCjDPGtbjjvdjOTWRuSNoz3YzIqo; + Expires=Wed, 29 Sep 2021 15:30:18 GMT; Path=/ + - AWSALBCORS=V94xVL5KC2AuMWjMJZmM9sbBLOfwg5dg9nt4GXf3xXGWsyoes4MNAnqFFm+jhH6akyrHwD0xhDYj4icnPIHoe5FZl0XmkqRDSCjDPGtbjjvdjOTWRuSNoz3YzIqo; + Expires=Wed, 29 Sep 2021 15:30:18 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=10N2zYk3++Kfsch/9T7bEm4otYHd7CAfZgcjYzFkytXl0a04yB+6jor0wvD1Yq+x4vURC0lZPalrjbtlLKLsv+G5jLlL3SRdXwV40X52makBPTjOB5RIOEvTxpTLkdoBbgq4hlg3KsDBi4GsiuGsh4eDTH9ZbAqFD9Yy+iuhUolv; + Expires=Wed, 29 Sep 2021 15:30:18 GMT; Path=/ + - AWSALBTGCORS=10N2zYk3++Kfsch/9T7bEm4otYHd7CAfZgcjYzFkytXl0a04yB+6jor0wvD1Yq+x4vURC0lZPalrjbtlLKLsv+G5jLlL3SRdXwV40X52makBPTjOB5RIOEvTxpTLkdoBbgq4hlg3KsDBi4GsiuGsh4eDTH9ZbAqFD9Yy+iuhUolv; + Expires=Wed, 29 Sep 2021 15:30:18 GMT; Path=/; SameSite=None; Secure + - csrftoken=WXC3q69c7SW8gyGZSyfWRbGQrMP8XDwbz1ebE42GoblblXTzxwGznKBTGAemvujq; + expires=Wed, 21 Sep 2022 15:30:19 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=kr6fx0yrxpycf4hhokmgr21xp97x75wi; expires=Wed, 06 Oct 2021 15:30:19 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/templates/4e24c0ed-19cb-4982-b8f0-e420f7f841a8/ + - https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/templates/acf7dcc8-90e0-482d-848d-a9ceb18d7d8b/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '477' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin + body: + encoding: UTF-8 + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/templates/acf7dcc8-90e0-482d-848d-a9ceb18d7d8b/","id":"acf7dcc8-90e0-482d-848d-a9ceb18d7d8b","name":"two","description":"","body":"tmpl2 + {{two}}","parameters":["https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/parameters/7f1c0d48-af5d-45f7-8bd7-aa1ac755a03f/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:30:19.770251Z","modified_at":"2021-09-22T15:30:19.770251Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:19 GMT +- request: + method: post + uri: https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/parameters/ + body: + encoding: UTF-8 + string: '{"name":"three","secret":true}' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Wed, 22 Sep 2021 15:30:20 GMT + Content-Type: + - application/json + Content-Length: + - '1186' + Connection: + - keep-alive Set-Cookie: - - csrftoken=nPqlhNKXPJ1Rgdn2wYvQQu8NbpEAdKbxsmSPmAioiY9sDu28qRd87PV7MRClDMHy; - expires=Tue, 02 Aug 2022 19:34:06 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=15xss7mb4yndjn2fxalq36c5r3xn6omb; expires=Tue, 17 Aug 2021 19:34:06 + - AWSALB=4x8tM4nBqcFWcyGRi8cW2agmBYCswl3RV7xIG8lxkwafA5ao/Xbd2tkpG+xc+VUSiGh4EfYgCiM1pV8P0uq5wflNpZDEeIagvF2obigZ4csFSEUoDaC45SOf9WbF; + Expires=Wed, 29 Sep 2021 15:30:20 GMT; Path=/ + - AWSALBCORS=4x8tM4nBqcFWcyGRi8cW2agmBYCswl3RV7xIG8lxkwafA5ao/Xbd2tkpG+xc+VUSiGh4EfYgCiM1pV8P0uq5wflNpZDEeIagvF2obigZ4csFSEUoDaC45SOf9WbF; + Expires=Wed, 29 Sep 2021 15:30:20 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=N0X0DpUhbeCzR0yVTpNyTmkQU6BoI31ooJyCH740byvhEPzVQNuqX6RiL5gzicwvrVbnbWkYC6YGuc6k4YSbT93HEjMt6hqv1bmm+BQR4mp7J3NIqMgABB2BUe0iUWZft+qm/gx2Kxphe5NA+O0Fb0hJO+4AMuZM6EnE1GcrR2Xk; + Expires=Wed, 29 Sep 2021 15:30:20 GMT; Path=/ + - AWSALBTGCORS=N0X0DpUhbeCzR0yVTpNyTmkQU6BoI31ooJyCH740byvhEPzVQNuqX6RiL5gzicwvrVbnbWkYC6YGuc6k4YSbT93HEjMt6hqv1bmm+BQR4mp7J3NIqMgABB2BUe0iUWZft+qm/gx2Kxphe5NA+O0Fb0hJO+4AMuZM6EnE1GcrR2Xk; + Expires=Wed, 29 Sep 2021 15:30:20 GMT; Path=/; SameSite=None; Secure + - csrftoken=0diLrWpf2ZpypfxT543DPRvM1Jm7oZpBsxGMBJ8GgmaCIa9PpnumdiyUeiyxtEU3; + expires=Wed, 21 Sep 2022 15:30:20 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=f1zt543tie8vhc2hv0e7djuxcr3ca6ue; expires=Wed, 06 Oct 2021 15:30:20 GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Location: + - https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/parameters/71db1723-f99c-4363-8364-c8258201de69/ + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/templates/4e24c0ed-19cb-4982-b8f0-e420f7f841a8/","id":"4e24c0ed-19cb-4982-b8f0-e420f7f841a8","name":"two","description":"","body":"tmpl2 - {{two}}","parameters":["https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/parameters/4657dd62-3417-4916-a09d-5ae8670eb057/"],"has_secret":true,"created_at":"2021-08-03T19:34:06.442902Z","modified_at":"2021-08-03T19:34:06.442937Z"}' - recorded_at: Tue, 03 Aug 2021 19:34:06 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/parameters/71db1723-f99c-4363-8364-c8258201de69/","id":"71db1723-f99c-4363-8364-c8258201de69","name":"three","description":"","secret":true,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:30:20.322962Z","modified_at":"2021-09-22T15:30:20.322962Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:20 GMT - request: method: get - uri: https://localhost:8000/api/v1/environments/ + uri: https://api.cloudtruth.io/api/v1/environments/ body: encoding: US-ASCII string: '' @@ -430,7 +577,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -442,50 +589,59 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:34:07 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:20 GMT Content-Type: - application/json + Content-Length: + - '3328' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=5GXI2rGsxenMd5TZ5Fq81kvAeH5tmx/4JGfOaY2zwHYeLQ2FtMQlvPIpr1BdQCQUovmEqRvFVDTAAeF2EiaAr7sndfc69eEBmoT5t5SbmPKl1SN4Mmvf+gIA7Hdh; + Expires=Wed, 29 Sep 2021 15:30:20 GMT; Path=/ + - AWSALBCORS=5GXI2rGsxenMd5TZ5Fq81kvAeH5tmx/4JGfOaY2zwHYeLQ2FtMQlvPIpr1BdQCQUovmEqRvFVDTAAeF2EiaAr7sndfc69eEBmoT5t5SbmPKl1SN4Mmvf+gIA7Hdh; + Expires=Wed, 29 Sep 2021 15:30:20 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=g618ZORg/lCUxSW9q3L0bFdCw7xMh57eOhtZ+SH1+mvA1X1Hz578S9ECJ6VkhFqLgioRCG+l1cnq+l3lA33+Qopn0F9sW0bif11kKTu+cLCMVfee2/c5YJy6ddM847R2HKa0T95Emr5zotclTusL6MTURivsazE/ZNPt7xgttI3x; + Expires=Wed, 29 Sep 2021 15:30:20 GMT; Path=/ + - AWSALBTGCORS=g618ZORg/lCUxSW9q3L0bFdCw7xMh57eOhtZ+SH1+mvA1X1Hz578S9ECJ6VkhFqLgioRCG+l1cnq+l3lA33+Qopn0F9sW0bif11kKTu+cLCMVfee2/c5YJy6ddM847R2HKa0T95Emr5zotclTusL6MTURivsazE/ZNPt7xgttI3x; + Expires=Wed, 29 Sep 2021 15:30:20 GMT; Path=/; SameSite=None; Secure + - csrftoken=xEgk2ziMAhczxVpgbyPU9K9acBPyGU7KK1Dj3RbhLxbH9ENok5a69m8Fr6POenri; + expires=Wed, 21 Sep 2022 15:30:20 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=tz9lncv5tfuyi75yd6mioijr8qf1jz47; expires=Wed, 06 Oct 2021 15:30:20 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '1516' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=F8k3oApoiLgtOq5P8XrhU0lHrdzKW6An5piLBBdr2iYN8rAMtLrspDgN9vOjsv2y; - expires=Tue, 02 Aug 2022 19:34:07 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=06i17w31ydo1vozmjb7csxzw7cse3jri; expires=Tue, 17 Aug 2021 19:34:07 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":4,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","id":"3ce72447-641f-418d-a12a-71173a56ffca","name":"default","description":"Default - environment, base for all environments.","parent":null,"created_at":"2021-08-02T14:22:36.043828Z","modified_at":"2021-08-03T19:33:54.436423Z"},{"url":"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/","id":"0293a31b-70a7-458c-afe4-162fa9febc1e","name":"development","description":"Development - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.086474Z","modified_at":"2021-08-03T19:32:58.205967Z"},{"url":"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/","id":"d5a11b75-2690-4363-83a3-873f3a98cef8","name":"production","description":"Production - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.142958Z","modified_at":"2021-08-02T14:22:36.143017Z"},{"url":"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/","id":"5694a5f3-a09c-40f1-b40b-74f260508516","name":"staging","description":"Staging - deployment environment","parent":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","created_at":"2021-08-02T14:22:36.114024Z","modified_at":"2021-08-02T14:22:36.114565Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:34:07 GMT + string: '{"count":9,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","id":"e8bc190d-0354-4e66-91c9-64501e501ec5","name":"default","description":"The + auto-generated default environment.","parent":null,"created_at":"2021-07-20T18:14:09.023022Z","modified_at":"2021-09-22T15:30:14.037814Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","id":"c4de304d-5dd4-4a41-80ec-9a469f1aa4f5","name":"development","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.035255Z","modified_at":"2021-09-22T15:29:42.701230Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/","id":"12b9c81b-9002-423b-9ca7-22cece646d07","name":"dev-matt","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/","created_at":"2021-07-21T19:53:37.534082Z","modified_at":"2021-07-26T22:01:23.472634Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/","id":"2281d9da-8376-4f45-baf2-372a71260dfa","name":"europe","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","created_at":"2021-07-21T19:53:47.438517Z","modified_at":"2021-07-26T22:01:29.331661Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/","id":"c99d6ab9-4674-4f76-bb43-da0b19124e18","name":"local","description":"for + local development","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-21T19:53:50.000541Z","modified_at":"2021-07-26T22:01:32.150839Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/","id":"ef133a2e-3c9c-4229-a509-e56332baff40","name":"ops","description":"The + ops environment - infrastructure that acts as the entry point to the other + environment''s infrastructure","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-21T20:05:10.325110Z","modified_at":"2021-07-26T22:01:35.184068Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","id":"cde7cf9d-8bf2-46cb-9e97-dee9b99e4335","name":"production","description":"for + real","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.058957Z","modified_at":"2021-09-15T19:15:15.144679Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/","id":"e4399ff4-a962-451b-adfb-7e504ad6bb6d","name":"staging","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","created_at":"2021-07-20T18:14:09.047049Z","modified_at":"2021-07-26T18:46:21.385162Z"},{"url":"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/","id":"3afc0523-4722-4fa1-aaea-5d49beaa284d","name":"usa","description":"","parent":"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/","created_at":"2021-07-21T20:05:24.767679Z","modified_at":"2021-07-26T18:44:51.186840Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:30:20 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/parameters/4657dd62-3417-4916-a09d-5ae8670eb057/values/ + uri: https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/parameters/71db1723-f99c-4363-8364-c8258201de69/values/ body: encoding: UTF-8 - string: '{"environment":"3ce72447-641f-418d-a12a-71173a56ffca","dynamic":false,"static_value":"defaulttwo"}' + string: '{"environment":"e8bc190d-0354-4e66-91c9-64501e501ec5","external":false,"internal_value":"defaultthree"}' headers: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -497,40 +653,110 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:34:09 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:22 GMT Content-Type: - application/json + Content-Length: + - '834' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=RJe4OpHnMLfRUZoT4Tn8RTx9vhs7ti5Xh4aylQxNmWnKJofuxh6Qt0Yi4GytvcDRjrXAKOahxEBzBMIvAMOUP3hoPfRqhb0Ja22T2NsOMaES9MYEs8fKxpgz0AFJ; + Expires=Wed, 29 Sep 2021 15:30:21 GMT; Path=/ + - AWSALBCORS=RJe4OpHnMLfRUZoT4Tn8RTx9vhs7ti5Xh4aylQxNmWnKJofuxh6Qt0Yi4GytvcDRjrXAKOahxEBzBMIvAMOUP3hoPfRqhb0Ja22T2NsOMaES9MYEs8fKxpgz0AFJ; + Expires=Wed, 29 Sep 2021 15:30:21 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=YcZaLOUzTCa/J0ixAIMlnema7cOctJdBnnzlx9UAwNFu3OThlrfql9hnZb6RlbrTf5mGTLQ8E7iJyHtkDGIS6ktb8ng1UVGCj0X59t3+Xd1VMe3nyzIq/KDPaoWBn0xXdZPeQqWi5EpxHik9BPBBzTGhkpIQIXHOg+RdelBBIzqY; + Expires=Wed, 29 Sep 2021 15:30:21 GMT; Path=/ + - AWSALBTGCORS=YcZaLOUzTCa/J0ixAIMlnema7cOctJdBnnzlx9UAwNFu3OThlrfql9hnZb6RlbrTf5mGTLQ8E7iJyHtkDGIS6ktb8ng1UVGCj0X59t3+Xd1VMe3nyzIq/KDPaoWBn0xXdZPeQqWi5EpxHik9BPBBzTGhkpIQIXHOg+RdelBBIzqY; + Expires=Wed, 29 Sep 2021 15:30:21 GMT; Path=/; SameSite=None; Secure + - csrftoken=rohifqxKenDZS1NYmX3ZVkrfrolxXEhKbYiwqGOKdL2MhO7j5dkM10mBR8cgYfWN; + expires=Wed, 21 Sep 2022 15:30:22 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=ynmyegwdgm1zvvdw0tan0du5b83eg16l; expires=Wed, 06 Oct 2021 15:30:22 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/parameters/4657dd62-3417-4916-a09d-5ae8670eb057/values/2aeccf9c-ff2a-44c0-8849-dd046446be7a/ + - https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/parameters/71db1723-f99c-4363-8364-c8258201de69/values/4bcaf861-3652-480e-90bc-3bdaef31bfb8/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '653' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin + body: + encoding: UTF-8 + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/parameters/71db1723-f99c-4363-8364-c8258201de69/values/4bcaf861-3652-480e-90bc-3bdaef31bfb8/","id":"4bcaf861-3652-480e-90bc-3bdaef31bfb8","environment":"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/","environment_name":"default","earliest_tag":null,"parameter":"https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/parameters/71db1723-f99c-4363-8364-c8258201de69/","external":false,"external_fqn":"","external_filter":"","external_error":null,"internal_value":null,"value":"defaultthree","secret":true,"created_at":"2021-09-22T15:30:21.402270Z","modified_at":"2021-09-22T15:30:21.812577Z","static_value":null,"dynamic":false,"dynamic_error":null,"dynamic_filter":"","dynamic_fqn":""}' + recorded_at: Wed, 22 Sep 2021 15:30:21 GMT +- request: + method: post + uri: https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/templates/ + body: + encoding: UTF-8 + string: '{"name":"three","body":"tmpl3 {{three}}"}' + headers: + Content-Type: + - application/json + User-Agent: + - kubetruth/1.0.4 + Accept: + - application/json + Authorization: + - Api-Key + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Wed, 22 Sep 2021 15:30:22 GMT + Content-Type: + - application/json + Content-Length: + - '522' + Connection: + - keep-alive Set-Cookie: - - csrftoken=DQ83SPjdFGgQJsucuDpYxhy0tpzkeLnbswW4g5sTONaOAkhxl9wmgzN7jR6Kta6F; - expires=Tue, 02 Aug 2022 19:34:09 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=1xocdvsgiy5txcpp05h2yij0si76qogd; expires=Tue, 17 Aug 2021 19:34:09 + - AWSALB=RsqvDsxgSJ3AXKCCnRI9ZXliSsX57ELgm/kV6IAShixU+yi8BO3gqa4zO+f82+V33wCAamR/dYU9O+OvD2kyKQsqSmYW4fnzi8OMBFTp+6BaWGMJhAx/4NmTUi5o; + Expires=Wed, 29 Sep 2021 15:30:22 GMT; Path=/ + - AWSALBCORS=RsqvDsxgSJ3AXKCCnRI9ZXliSsX57ELgm/kV6IAShixU+yi8BO3gqa4zO+f82+V33wCAamR/dYU9O+OvD2kyKQsqSmYW4fnzi8OMBFTp+6BaWGMJhAx/4NmTUi5o; + Expires=Wed, 29 Sep 2021 15:30:22 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=ljJwvgmuXrdvpvqdyXXaHWlAnWfIPVGD4GgUxPhjVR1fMpasU06o7AcQptMUq1zB73o5TzD9rHG46tv9hSm5xEzPb04tYVriohGdMY/3Ce3Q+UZZe5cjHfsGhw07KeBWHsBzpBZutyPEE0gC5Pg8OQZ6bnD2hh3wZGWlOf57hQA9; + Expires=Wed, 29 Sep 2021 15:30:22 GMT; Path=/ + - AWSALBTGCORS=ljJwvgmuXrdvpvqdyXXaHWlAnWfIPVGD4GgUxPhjVR1fMpasU06o7AcQptMUq1zB73o5TzD9rHG46tv9hSm5xEzPb04tYVriohGdMY/3Ce3Q+UZZe5cjHfsGhw07KeBWHsBzpBZutyPEE0gC5Pg8OQZ6bnD2hh3wZGWlOf57hQA9; + Expires=Wed, 29 Sep 2021 15:30:22 GMT; Path=/; SameSite=None; Secure + - csrftoken=39jE7ChnCWh7cNfan6bPPhb3z7AOZsxVwedy3J9QnyKc5WD5sD3P2BMxszfart9K; + expires=Wed, 21 Sep 2022 15:30:22 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=p3dzwn2ckhk9kk1a9ruh7di96u2fbsh1; expires=Wed, 06 Oct 2021 15:30:22 GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed + Location: + - https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/templates/82af4b7b-2b8a-44d1-8a37-7e81328af263/ + Vary: + - Accept, Cookie, Origin + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/parameters/4657dd62-3417-4916-a09d-5ae8670eb057/values/2aeccf9c-ff2a-44c0-8849-dd046446be7a/","id":"2aeccf9c-ff2a-44c0-8849-dd046446be7a","environment":"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/","parameter":"https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/parameters/4657dd62-3417-4916-a09d-5ae8670eb057/","dynamic":false,"dynamic_fqn":"","dynamic_filter":"","static_value":null,"value":"defaulttwo","secret":true,"created_at":"2021-08-03T19:34:08.261245Z","modified_at":"2021-08-03T19:34:08.261282Z"}' - recorded_at: Tue, 03 Aug 2021 19:34:09 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/templates/82af4b7b-2b8a-44d1-8a37-7e81328af263/","id":"82af4b7b-2b8a-44d1-8a37-7e81328af263","name":"three","description":"","body":"tmpl3 + {{three}}","parameters":["https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/parameters/71db1723-f99c-4363-8364-c8258201de69/"],"references":[],"referenced_by":[],"has_secret":true,"created_at":"2021-09-22T15:30:22.550589Z","modified_at":"2021-09-22T15:30:22.550589Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:22 GMT - request: method: get - uri: https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/templates/ + uri: https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/templates/ body: encoding: US-ASCII string: '' @@ -538,7 +764,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -550,40 +776,49 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:34:10 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:23 GMT Content-Type: - application/json + Content-Length: + - '1614' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=nH5zQ8f8RIWp1XNh6butQY8LeyqR1qzbM/j9HRrfcom+3GRDZnXn5UXdBc0fQ4CHF4jJG98PWB/fL2oSQSBFpA6yVks3/UCyoDx9RNZ/DieGFv5V7+Iv29GGUYA3; + Expires=Wed, 29 Sep 2021 15:30:22 GMT; Path=/ + - AWSALBCORS=nH5zQ8f8RIWp1XNh6butQY8LeyqR1qzbM/j9HRrfcom+3GRDZnXn5UXdBc0fQ4CHF4jJG98PWB/fL2oSQSBFpA6yVks3/UCyoDx9RNZ/DieGFv5V7+Iv29GGUYA3; + Expires=Wed, 29 Sep 2021 15:30:22 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=AtEJVpNtYcJ+z+RWVDYuc02G9IVe+9ZdWlYZiqCKt4jrqU1uapLZwzw5GuCBap1XtWAWU2KUd0H7zdDA4/mqG3hGT8QcIkzqkrUS+iAhMF0i/UHnimdwT05U7SY/vjqc80TJ6+wt7zqqQlsy3HqE+FTOfzCTKwwAXChxv/yiL22V; + Expires=Wed, 29 Sep 2021 15:30:22 GMT; Path=/ + - AWSALBTGCORS=AtEJVpNtYcJ+z+RWVDYuc02G9IVe+9ZdWlYZiqCKt4jrqU1uapLZwzw5GuCBap1XtWAWU2KUd0H7zdDA4/mqG3hGT8QcIkzqkrUS+iAhMF0i/UHnimdwT05U7SY/vjqc80TJ6+wt7zqqQlsy3HqE+FTOfzCTKwwAXChxv/yiL22V; + Expires=Wed, 29 Sep 2021 15:30:22 GMT; Path=/; SameSite=None; Secure + - csrftoken=pewUuqeNOpm0RRUQBDg3LWE3S3SAkdSD9xvdx6ghmqdr9jneAznof2BUaAVL7bU8; + expires=Wed, 21 Sep 2022 15:30:23 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=sjd8jqkh4yqgv9d2e3pa6f2yfvu98uim; expires=Wed, 06 Oct 2021 15:30:23 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '1008' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=PtJpr7ATv9iwqt73Xg7KaubG9wltdbmmBhgn16foGUIxDyT1aSWVfAG8bZGJLlN6; - expires=Tue, 02 Aug 2022 19:34:10 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=omz0km5h5ul3sil6dhrwz5pfru1mo3l7; expires=Tue, 17 Aug 2021 19:34:10 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/templates/c7ea0589-91ca-4934-967f-ca89c6b4a99e/","id":"c7ea0589-91ca-4934-967f-ca89c6b4a99e","name":"one","description":"","body":"tmpl1 - {{one}}","parameters":["https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/parameters/5694de7e-a675-4f8d-87fd-85b5ec63cc72/"],"has_secret":false,"created_at":"2021-08-03T19:34:05.629256Z","modified_at":"2021-08-03T19:34:05.629292Z"},{"url":"https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/templates/4e24c0ed-19cb-4982-b8f0-e420f7f841a8/","id":"4e24c0ed-19cb-4982-b8f0-e420f7f841a8","name":"two","description":"","body":"tmpl2 - {{two}}","parameters":["https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/parameters/4657dd62-3417-4916-a09d-5ae8670eb057/"],"has_secret":true,"created_at":"2021-08-03T19:34:06.442902Z","modified_at":"2021-08-03T19:34:06.442937Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:34:10 GMT + string: '{"count":3,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/templates/2115ae64-da94-4cad-9609-e15137ccc37e/","id":"2115ae64-da94-4cad-9609-e15137ccc37e","name":"one","description":"","body":"tmpl1 + {{one}}","parameters":["https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/parameters/9e2649e3-a243-4db6-b337-88237f322469/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:30:18.756440Z","modified_at":"2021-09-22T15:30:18.756440Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/templates/82af4b7b-2b8a-44d1-8a37-7e81328af263/","id":"82af4b7b-2b8a-44d1-8a37-7e81328af263","name":"three","description":"","body":"tmpl3 + {{three}}","parameters":["https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/parameters/71db1723-f99c-4363-8364-c8258201de69/"],"references":[],"referenced_by":[],"has_secret":true,"created_at":"2021-09-22T15:30:22.550589Z","modified_at":"2021-09-22T15:30:22.550589Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/templates/acf7dcc8-90e0-482d-848d-a9ceb18d7d8b/","id":"acf7dcc8-90e0-482d-848d-a9ceb18d7d8b","name":"two","description":"","body":"tmpl2 + {{two}}","parameters":["https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/parameters/7f1c0d48-af5d-45f7-8bd7-aa1ac755a03f/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:30:19.770251Z","modified_at":"2021-09-22T15:30:19.770251Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:30:22 GMT - request: method: get - uri: https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/templates/4e24c0ed-19cb-4982-b8f0-e420f7f841a8/?environment=3ce72447-641f-418d-a12a-71173a56ffca + uri: https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/templates/82af4b7b-2b8a-44d1-8a37-7e81328af263/?environment=e8bc190d-0354-4e66-91c9-64501e501ec5 body: encoding: US-ASCII string: '' @@ -591,7 +826,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -603,34 +838,42 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:34:12 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:23 GMT Content-Type: - application/json + Content-Length: + - '525' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=dmthnb5+W2hXl8fxTFiwu76pGpgJL1L3mhRCTF4XP0OIyGuYHCudM8PQOQ+Wukrn7pZJ2FbmoB7xEkl1oq0X9gH6onKG5ljyJyVKlto27SXJle5ymnhweUrqkb8V; + Expires=Wed, 29 Sep 2021 15:30:23 GMT; Path=/ + - AWSALBCORS=dmthnb5+W2hXl8fxTFiwu76pGpgJL1L3mhRCTF4XP0OIyGuYHCudM8PQOQ+Wukrn7pZJ2FbmoB7xEkl1oq0X9gH6onKG5ljyJyVKlto27SXJle5ymnhweUrqkb8V; + Expires=Wed, 29 Sep 2021 15:30:23 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=c9LUZOiYApFN6izH0eY8lOdCfPaIhcMWKVei75d1b1vWlLZJMzhe1HvrM2D9m886gqkrnPC1+YdTEulTB+tc3Sc8pHUlGpmcwq1xFpW2N7Br5ejE3gyugwBMZNoaIkkyJ0jS69zCYK9JjCwh2zP+S3Sui0ZiJuKAx14ZPDlS+wTa; + Expires=Wed, 29 Sep 2021 15:30:23 GMT; Path=/ + - AWSALBTGCORS=c9LUZOiYApFN6izH0eY8lOdCfPaIhcMWKVei75d1b1vWlLZJMzhe1HvrM2D9m886gqkrnPC1+YdTEulTB+tc3Sc8pHUlGpmcwq1xFpW2N7Br5ejE3gyugwBMZNoaIkkyJ0jS69zCYK9JjCwh2zP+S3Sui0ZiJuKAx14ZPDlS+wTa; + Expires=Wed, 29 Sep 2021 15:30:23 GMT; Path=/; SameSite=None; Secure + - csrftoken=bLKhTZzqhPR8ZxY6TTTHJBXhaSjdgMKr7rnVBLNhVzkVKUePPcPdV4skaiKHkdND; + expires=Wed, 21 Sep 2022 15:30:23 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=cxac1mpp0nbbxmyqixgua6abvwiblfu0; expires=Wed, 06 Oct 2021 15:30:23 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, PUT, PATCH, DELETE, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '480' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=3n8zSw1Zld1o2bPRzgkNev6i6DMOp46wzs9IT5flS59b93rrqENf4HhJCu1s1HBg; - expires=Tue, 02 Aug 2022 19:34:12 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=nnqo1ti3d1q1alo3o2p0cczbzoaaqgut; expires=Tue, 17 Aug 2021 19:34:12 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/templates/4e24c0ed-19cb-4982-b8f0-e420f7f841a8/","id":"4e24c0ed-19cb-4982-b8f0-e420f7f841a8","name":"two","description":"","body":"tmpl2 - defaulttwo","parameters":["https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/parameters/4657dd62-3417-4916-a09d-5ae8670eb057/"],"has_secret":true,"created_at":"2021-08-03T19:34:06.442902Z","modified_at":"2021-08-03T19:34:06.442937Z"}' - recorded_at: Tue, 03 Aug 2021 19:34:12 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/templates/82af4b7b-2b8a-44d1-8a37-7e81328af263/","id":"82af4b7b-2b8a-44d1-8a37-7e81328af263","name":"three","description":"","body":"tmpl3 + defaultthree","parameters":["https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/parameters/71db1723-f99c-4363-8364-c8258201de69/"],"references":[],"referenced_by":[],"has_secret":true,"created_at":"2021-09-22T15:30:22.550589Z","modified_at":"2021-09-22T15:30:22.550589Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:23 GMT recorded_with: VCR 6.0.0 diff --git a/spec/fixtures/vcr/Kubetruth_CtApi/_templates/_template_id/gets_id.yml b/spec/fixtures/vcr/Kubetruth_CtApi/_templates/_template_id/gets_id.yml index 5937108..46d89b0 100644 --- a/spec/fixtures/vcr/Kubetruth_CtApi/_templates/_template_id/gets_id.yml +++ b/spec/fixtures/vcr/Kubetruth_CtApi/_templates/_template_id/gets_id.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -10,7 +10,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -22,39 +22,58 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:23 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:00 GMT Content-Type: - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=qwxpgqvQqbhAbKEjqpv2Z6UD2NLhr8xr+8iIcRkF1nQphCrQY61DlggvrpKz940AKpTsOiMmVbF+0NpJBPDAGoQdvwJN04UtDNkuDjKDU+vV1wsnIYxOAiBQJdGV; + Expires=Wed, 29 Sep 2021 15:29:59 GMT; Path=/ + - AWSALBCORS=qwxpgqvQqbhAbKEjqpv2Z6UD2NLhr8xr+8iIcRkF1nQphCrQY61DlggvrpKz940AKpTsOiMmVbF+0NpJBPDAGoQdvwJN04UtDNkuDjKDU+vV1wsnIYxOAiBQJdGV; + Expires=Wed, 29 Sep 2021 15:29:59 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=YReMy3ZIZ4q5rfr41WKzLo8lgi4Bb0Of3PbNJw5spo61hcWuYHeKKCGp58lxB682x6DyZB9d5wDYIITlrFLb+mc97Zb4x3xBhNgxf4A20hFxyIiVJ6EQTYpKjUPLnide34qqw9ZkEkxKy1LVR/C68u6oxnPqMBUJtErJgXD3nAOA; + Expires=Wed, 29 Sep 2021 15:29:59 GMT; Path=/ + - AWSALBTGCORS=YReMy3ZIZ4q5rfr41WKzLo8lgi4Bb0Of3PbNJw5spo61hcWuYHeKKCGp58lxB682x6DyZB9d5wDYIITlrFLb+mc97Zb4x3xBhNgxf4A20hFxyIiVJ6EQTYpKjUPLnide34qqw9ZkEkxKy1LVR/C68u6oxnPqMBUJtErJgXD3nAOA; + Expires=Wed, 29 Sep 2021 15:29:59 GMT; Path=/; SameSite=None; Secure + - csrftoken=Cjy2YzRbwVUKhPsR6znN0JcfQAY9nhczqbaLbF9GHOYPEkfBFcZevGx6bzMkno6R; + expires=Wed, 21 Sep 2022 15:30:00 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=d9mb6pd4atkxb8lnmhkz9hrtilaf2q7t; expires=Wed, 06 Oct 2021 15:30:00 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '610' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=CtrNjKRYbOztMpLq7zRZXsmPyuJsUffiHq87FfKDsaG2JfSJMvUMi42ur9mVmReh; - expires=Tue, 02 Aug 2022 19:33:23 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=18flyxlyflwm4wv6z83shwfb7tf2i66n; expires=Tue, 17 Aug 2021 19:33:23 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/","id":"ef203154-caf8-42ad-80c9-eb7e39aea1e9","name":"TestProject","description":"","created_at":"2021-08-03T19:33:15.771596Z","modified_at":"2021-08-03T19:33:15.771631Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:33:23 GMT + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/","id":"3fdbc09e-2a93-4c1e-9f09-c38d548ac77e","name":"TestProject","description":"","created_at":"2021-09-22T15:29:56.240098Z","modified_at":"2021-09-22T15:29:59.016110Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:59 GMT - request: method: delete - uri: https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/ + uri: https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/ body: encoding: US-ASCII string: '' @@ -62,7 +81,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Authorization: - Api-Key Accept-Encoding: @@ -74,36 +93,44 @@ http_interactions: code: 204 message: No Content headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:25 GMT + - Wed, 22 Sep 2021 15:30:00 GMT + Content-Length: + - '0' Connection: - - close + - keep-alive + Set-Cookie: + - AWSALB=FBjuUQ16N7u08Q6EejVFgU/f9PwcpVNmvGrQ1JUAG0iWkj2YdtCeJUqhE3mbAS1z724uqA7HiyQmgcqK8WsASTzvrOWUOB0IXtctyrqU1khCX+U6ygsiyFLs29LT; + Expires=Wed, 29 Sep 2021 15:30:00 GMT; Path=/ + - AWSALBCORS=FBjuUQ16N7u08Q6EejVFgU/f9PwcpVNmvGrQ1JUAG0iWkj2YdtCeJUqhE3mbAS1z724uqA7HiyQmgcqK8WsASTzvrOWUOB0IXtctyrqU1khCX+U6ygsiyFLs29LT; + Expires=Wed, 29 Sep 2021 15:30:00 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=j+mc0Dz4JwN9BPaCIOjK7UqxShaYWQKJDc+vT2/I6OlON9c/i7nlQMU9wPLEe4Wd4jD9bOoi8oUXjfAaymehmhD6no5frFq/tGYBG5nXznV71auzcY/BCMvv2xEc9asprRKsS1A/AeU8mlSNpvNLxAoz0dhi4vgmxcwVFoDcZ1vA; + Expires=Wed, 29 Sep 2021 15:30:00 GMT; Path=/ + - AWSALBTGCORS=j+mc0Dz4JwN9BPaCIOjK7UqxShaYWQKJDc+vT2/I6OlON9c/i7nlQMU9wPLEe4Wd4jD9bOoi8oUXjfAaymehmhD6no5frFq/tGYBG5nXznV71auzcY/BCMvv2xEc9asprRKsS1A/AeU8mlSNpvNLxAoz0dhi4vgmxcwVFoDcZ1vA; + Expires=Wed, 29 Sep 2021 15:30:00 GMT; Path=/; SameSite=None; Secure + - csrftoken=dMmqNCdOSCCs8WNH4pwAUJcpEEobAWE7h92WfgY8t4GpgDlZ3fwiuzIUDkOe8C69; + expires=Wed, 21 Sep 2022 15:30:00 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=0by8fjb4n860x2p0wfznrihy2tgk5cdv; expires=Wed, 06 Oct 2021 15:30:00 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, PUT, PATCH, DELETE, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '0' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=A6ujqHlWvX9Tldd27bSKa0B549seip9QPH4kZ7CAya9tJzADkWAxKYvj4qZb1m7h; - expires=Tue, 02 Aug 2022 19:33:25 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=mk19ricpzuhsg13vtnf20eqbzs34j66p; expires=Tue, 17 Aug 2021 19:33:25 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 string: '' - recorded_at: Tue, 03 Aug 2021 19:33:24 GMT + recorded_at: Wed, 22 Sep 2021 15:30:00 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: UTF-8 string: '{"name":"TestProject"}' @@ -111,7 +138,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -123,40 +150,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:26 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:01 GMT Content-Type: - application/json + Content-Length: + - '258' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=xyg7wX1uvW4xJhHbNqM+dYMJfdzw9XU0q32y8OYnIKJb6I5aGZycu/ksJUDga5x4flLxOMjFT70CBkiGnLF0qL3TEChhit7t2QYgAsTyes4HBhuTeZgQEHsiQIMi; + Expires=Wed, 29 Sep 2021 15:30:00 GMT; Path=/ + - AWSALBCORS=xyg7wX1uvW4xJhHbNqM+dYMJfdzw9XU0q32y8OYnIKJb6I5aGZycu/ksJUDga5x4flLxOMjFT70CBkiGnLF0qL3TEChhit7t2QYgAsTyes4HBhuTeZgQEHsiQIMi; + Expires=Wed, 29 Sep 2021 15:30:00 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=z2xljt4oVQu9gY1jO+OWqoUz7Js/uvS1BsCKKcBWhMouBgRdphX8B3sBMNEPNBahQQyHreBJTkbg7XYNFOy/tAgIRF0wAN+xy32F0ieCkgblnyJSxHlHUOqWz4MdGr9cYnkBoOHomSBfL9JOuuAqtw2RAKMDgOHBRb86EhtJYSVg; + Expires=Wed, 29 Sep 2021 15:30:00 GMT; Path=/ + - AWSALBTGCORS=z2xljt4oVQu9gY1jO+OWqoUz7Js/uvS1BsCKKcBWhMouBgRdphX8B3sBMNEPNBahQQyHreBJTkbg7XYNFOy/tAgIRF0wAN+xy32F0ieCkgblnyJSxHlHUOqWz4MdGr9cYnkBoOHomSBfL9JOuuAqtw2RAKMDgOHBRb86EhtJYSVg; + Expires=Wed, 29 Sep 2021 15:30:00 GMT; Path=/; SameSite=None; Secure + - csrftoken=PoRiaHCXQ7oT8NVLSIVtyg00VoK6nDsaPG8TLatA5jBDNJZDlavNgzfdAbVlq2gc; + expires=Wed, 21 Sep 2022 15:30:01 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=29j6ltdfiz9gatbf725sxd4wsiqfa02o; expires=Wed, 06 Oct 2021 15:30:01 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/ + - https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '255' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=Hjh0cQLPG3c9kBc01zut9dCUx32UrLN4FV9guJXuuvoM2rDenpwqDvmtxMtl344B; - expires=Tue, 02 Aug 2022 19:33:26 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=dmhktrl5emb9o7q8ghvmzsegc64b3p66; expires=Tue, 17 Aug 2021 19:33:26 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/","id":"8142f9ea-3f8d-408e-972c-ab85227c5c09","name":"TestProject","description":"","created_at":"2021-08-03T19:33:26.178827Z","modified_at":"2021-08-03T19:33:26.178863Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:26 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/","id":"2fe9570b-89e4-4e6e-8859-d0ae1b23e45b","name":"TestProject","description":"","created_at":"2021-09-22T15:30:01.044112Z","modified_at":"2021-09-22T15:30:01.044112Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:00 GMT - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -164,7 +199,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -176,39 +211,58 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:27 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:01 GMT Content-Type: - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=bZHcBzJ1QgIBxOcZzXb34+ho/X+8O9rvmDzSJfIQf8AJSsU5QzwKjcEEqqCkbxC4OI0gDtnWj/b1Jb+Be03sADjMOSwUfJtREStg1ipQeJ+scg2hp0ivJp2+TW8M; + Expires=Wed, 29 Sep 2021 15:30:01 GMT; Path=/ + - AWSALBCORS=bZHcBzJ1QgIBxOcZzXb34+ho/X+8O9rvmDzSJfIQf8AJSsU5QzwKjcEEqqCkbxC4OI0gDtnWj/b1Jb+Be03sADjMOSwUfJtREStg1ipQeJ+scg2hp0ivJp2+TW8M; + Expires=Wed, 29 Sep 2021 15:30:01 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=bo5d31QTDuM6Dx6/HKqZ7SYKjTgrmY2pe8UTH65x5xK7POGB5hYF2VnPbNQzlGns3GCANjKGXrg0eo/CCTjBeZ+Jd5Ui5sg/R+YKB6HnLrAUGp6fPzjHhDV0p9NU0H8mX4TywEX0Tp/PHoJCbfRMu48MDdzOLjxVTasRmzvK53VO; + Expires=Wed, 29 Sep 2021 15:30:01 GMT; Path=/ + - AWSALBTGCORS=bo5d31QTDuM6Dx6/HKqZ7SYKjTgrmY2pe8UTH65x5xK7POGB5hYF2VnPbNQzlGns3GCANjKGXrg0eo/CCTjBeZ+Jd5Ui5sg/R+YKB6HnLrAUGp6fPzjHhDV0p9NU0H8mX4TywEX0Tp/PHoJCbfRMu48MDdzOLjxVTasRmzvK53VO; + Expires=Wed, 29 Sep 2021 15:30:01 GMT; Path=/; SameSite=None; Secure + - csrftoken=UZVcYySLca9TQ6lpcwhlTebJKOi7S92ineyyLQpr4DT5AeHIYZVeuiZWD3Im58YE; + expires=Wed, 21 Sep 2022 15:30:01 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=8817m0yujikv14yhbzki8dqq4409xgjv; expires=Wed, 06 Oct 2021 15:30:01 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '610' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=Kpxxzta4uhKCSNP5Sj14roMwEkcUZ09ok2i27HROJolzVjfDqJvqoO6ATjWRGG94; - expires=Tue, 02 Aug 2022 19:33:27 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=df66k44zd1kl0k5j4pyf0c65fzve9sle; expires=Tue, 17 Aug 2021 19:33:27 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/","id":"8142f9ea-3f8d-408e-972c-ab85227c5c09","name":"TestProject","description":"","created_at":"2021-08-03T19:33:26.178827Z","modified_at":"2021-08-03T19:33:26.178863Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:33:27 GMT + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/","id":"2fe9570b-89e4-4e6e-8859-d0ae1b23e45b","name":"TestProject","description":"","created_at":"2021-09-22T15:30:01.044112Z","modified_at":"2021-09-22T15:30:01.044112Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:30:01 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/parameters/ + uri: https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/parameters/ body: encoding: UTF-8 string: '{"name":"one"}' @@ -216,7 +270,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -228,48 +282,56 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:28 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:02 GMT Content-Type: - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=BismIclYP1T5N3QZtLFjk2Lm5AV5dAsSF5uIE/s8fh0PcK/9oad8klbtBe7BmGkMY/euZwAODgLwvWw7lFrQgXvaWUZHCSrNraYSycTUr64luEHVRvzZVuf4mmTN; + Expires=Wed, 29 Sep 2021 15:30:01 GMT; Path=/ + - AWSALBCORS=BismIclYP1T5N3QZtLFjk2Lm5AV5dAsSF5uIE/s8fh0PcK/9oad8klbtBe7BmGkMY/euZwAODgLwvWw7lFrQgXvaWUZHCSrNraYSycTUr64luEHVRvzZVuf4mmTN; + Expires=Wed, 29 Sep 2021 15:30:01 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=7AZiN4BUaUhbvJ2UMFS6KpCTMal/WtW0LKXQf3rl5S4zrUleEJHZlfd5fdUij8oLYS7RwF5QOx8OswegkIDYDKmC/WjYW89obVQ435opfKAwHCiYmmsu/BD+XlEb+yemQJEYEgdowT0ic57bPO1BJmpyx04ri4ISzYbiWawirBkO; + Expires=Wed, 29 Sep 2021 15:30:01 GMT; Path=/ + - AWSALBTGCORS=7AZiN4BUaUhbvJ2UMFS6KpCTMal/WtW0LKXQf3rl5S4zrUleEJHZlfd5fdUij8oLYS7RwF5QOx8OswegkIDYDKmC/WjYW89obVQ435opfKAwHCiYmmsu/BD+XlEb+yemQJEYEgdowT0ic57bPO1BJmpyx04ri4ISzYbiWawirBkO; + Expires=Wed, 29 Sep 2021 15:30:01 GMT; Path=/; SameSite=None; Secure + - csrftoken=UhWIW9nhBLGwYS0Nw2rioJAKjxXxJXekFderHgtXIl6EbmCTALTnYl8AKy1WzLWK; + expires=Wed, 21 Sep 2022 15:30:02 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=xup1jeyhiljmz4w17g5eg6bn4ej94k73; expires=Wed, 06 Oct 2021 15:30:02 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/parameters/682b8d58-d027-47ee-b24c-605f88c56ae1/ + - https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/parameters/60195402-d94e-47c3-8a9b-7df84af1b726/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '688' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=9o1qdr4NivNrc47PGHdbB29b1Qjc0AK4qw8xVWKCbptVFvNbv76OYNLWYxqfh3II; - expires=Tue, 02 Aug 2022 19:33:28 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=64sojgv3f4hb8mjfomdd8ljhrbs5o48h; expires=Tue, 17 Aug 2021 19:33:28 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/parameters/682b8d58-d027-47ee-b24c-605f88c56ae1/","id":"682b8d58-d027-47ee-b24c-605f88c56ae1","name":"one","description":"","secret":false,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null,"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/":null,"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/":null,"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/":null},"created_at":"2021-08-03T19:33:28.220718Z","modified_at":"2021-08-03T19:33:28.220753Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:28 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/parameters/60195402-d94e-47c3-8a9b-7df84af1b726/","id":"60195402-d94e-47c3-8a9b-7df84af1b726","name":"one","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:30:02.088486Z","modified_at":"2021-09-22T15:30:02.088486Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:01 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/parameters/ + uri: https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/parameters/ body: encoding: UTF-8 - string: '{"name":"two","secret":true}' + string: '{"name":"two"}' headers: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -281,40 +343,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:29 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:02 GMT Content-Type: - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=+IUFGg1OxmyRyqNaUYj81CXiPY5EAkUAWdSnH6Fbde/iG9DdrIM5zZIvo0Z0sqCqEHDT1ngCNSk3ICvOSyU7ThbZQe3eHoU0tqqdTr/TFvmv7/DcMDQbSpjQY6m2; + Expires=Wed, 29 Sep 2021 15:30:02 GMT; Path=/ + - AWSALBCORS=+IUFGg1OxmyRyqNaUYj81CXiPY5EAkUAWdSnH6Fbde/iG9DdrIM5zZIvo0Z0sqCqEHDT1ngCNSk3ICvOSyU7ThbZQe3eHoU0tqqdTr/TFvmv7/DcMDQbSpjQY6m2; + Expires=Wed, 29 Sep 2021 15:30:02 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=X5N4o6wxY0Be/etd+ud0w5lBmq/ENYbm7LZw4BNdSqcqhy4+dPrv/rV3A5UQuhYAzH+YAN5XIeGeKK1vRT3Np/QgdOnwRAgPovBh9paVe/DPZzo3UNt80t3mfT5ZeKzTqFVY8rQsW8ERqnCECrjoUnELCtyZNzTkq/dLrKaMcMrd; + Expires=Wed, 29 Sep 2021 15:30:02 GMT; Path=/ + - AWSALBTGCORS=X5N4o6wxY0Be/etd+ud0w5lBmq/ENYbm7LZw4BNdSqcqhy4+dPrv/rV3A5UQuhYAzH+YAN5XIeGeKK1vRT3Np/QgdOnwRAgPovBh9paVe/DPZzo3UNt80t3mfT5ZeKzTqFVY8rQsW8ERqnCECrjoUnELCtyZNzTkq/dLrKaMcMrd; + Expires=Wed, 29 Sep 2021 15:30:02 GMT; Path=/; SameSite=None; Secure + - csrftoken=syJkS13IP91Np9JbXTjfqJRxkjQN2ovH6B5uulexczBXXPR7TsgSWotAYSbj4Yed; + expires=Wed, 21 Sep 2022 15:30:02 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=r5ucfv1vibtm4bf881z23y7td5w02jq6; expires=Wed, 06 Oct 2021 15:30:02 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/parameters/81beefd1-748e-4515-8c29-2c9e3c88a339/ + - https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/parameters/806d825c-0673-429f-8892-907a20686f0b/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '687' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=fZYaI4W30S3gYF61JdclRgX3fbJz1x7UimW5fNQAJn44NfPxanJHBLlwvTqXtGvZ; - expires=Tue, 02 Aug 2022 19:33:29 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=wigdf1lnu4vl7618ns9s9mdgh0r428j3; expires=Tue, 17 Aug 2021 19:33:29 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/parameters/81beefd1-748e-4515-8c29-2c9e3c88a339/","id":"81beefd1-748e-4515-8c29-2c9e3c88a339","name":"two","description":"","secret":true,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null,"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/":null,"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/":null,"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/":null},"created_at":"2021-08-03T19:33:29.476960Z","modified_at":"2021-08-03T19:33:29.477005Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:29 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/parameters/806d825c-0673-429f-8892-907a20686f0b/","id":"806d825c-0673-429f-8892-907a20686f0b","name":"two","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:30:02.639759Z","modified_at":"2021-09-22T15:30:02.639759Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:02 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/templates/ + uri: https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/templates/ body: encoding: UTF-8 string: '{"name":"one","body":"tmpl1 {{one}}"}' @@ -322,7 +392,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -334,41 +404,49 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:30 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:03 GMT Content-Type: - application/json + Content-Length: + - '519' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=mmlqh1HM+b5GSNZPQ5Bp/MJM/Jf36525ktE3BWfeL7v2vgwj9gnbSdiLxDPq+KYaQlgba+l7mYHXNdDfigl8S3QolmzKDPBdOplBdQwXj6NpEZOrjEuRIbS34TFu; + Expires=Wed, 29 Sep 2021 15:30:02 GMT; Path=/ + - AWSALBCORS=mmlqh1HM+b5GSNZPQ5Bp/MJM/Jf36525ktE3BWfeL7v2vgwj9gnbSdiLxDPq+KYaQlgba+l7mYHXNdDfigl8S3QolmzKDPBdOplBdQwXj6NpEZOrjEuRIbS34TFu; + Expires=Wed, 29 Sep 2021 15:30:02 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=p5UJcEYoNGhG1VsN0DwS3qk9jUT8QutM1CMxwBThYmRH+QgPqyHrVd3WmfICN6PfW+lfM2U9zsa8dGlM7N/JUa0CkFrgLFgL7LHm6qFEiBg4bIsrg1zg4pKCL9f8ngoz6nzr2MjtI9aID+v9I236/Gg+vQV4DnIhYl1w2V2Lhbxn; + Expires=Wed, 29 Sep 2021 15:30:02 GMT; Path=/ + - AWSALBTGCORS=p5UJcEYoNGhG1VsN0DwS3qk9jUT8QutM1CMxwBThYmRH+QgPqyHrVd3WmfICN6PfW+lfM2U9zsa8dGlM7N/JUa0CkFrgLFgL7LHm6qFEiBg4bIsrg1zg4pKCL9f8ngoz6nzr2MjtI9aID+v9I236/Gg+vQV4DnIhYl1w2V2Lhbxn; + Expires=Wed, 29 Sep 2021 15:30:02 GMT; Path=/; SameSite=None; Secure + - csrftoken=rG9fiEaaOpJ90DAjsPBBHe25shUbHgYxxFM76xPNsyRg8lXEIRks0yAuO0hJ1Oi2; + expires=Wed, 21 Sep 2022 15:30:03 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=c0e1gam185t8hqwduqb90otccm3zrd22; expires=Wed, 06 Oct 2021 15:30:03 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/templates/c2c2bc90-0ae1-4308-93fa-70ce152536b2/ + - https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/templates/e8fdb4e7-1d9e-47c5-ace5-9c561fe4ccc8/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '478' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=IZzAl5mKL1jKimf9y6Gdk5Gjoyy6HSVPiBVAd5xIRNLeKZgKatcWcI1hcRSS5LMX; - expires=Tue, 02 Aug 2022 19:33:30 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=bm2jv2sh37uhly3efvlf9k6vhd7ldkie; expires=Tue, 17 Aug 2021 19:33:30 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/templates/c2c2bc90-0ae1-4308-93fa-70ce152536b2/","id":"c2c2bc90-0ae1-4308-93fa-70ce152536b2","name":"one","description":"","body":"tmpl1 - {{one}}","parameters":["https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/parameters/682b8d58-d027-47ee-b24c-605f88c56ae1/"],"has_secret":false,"created_at":"2021-08-03T19:33:30.745682Z","modified_at":"2021-08-03T19:33:30.745717Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:30 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/templates/e8fdb4e7-1d9e-47c5-ace5-9c561fe4ccc8/","id":"e8fdb4e7-1d9e-47c5-ace5-9c561fe4ccc8","name":"one","description":"","body":"tmpl1 + {{one}}","parameters":["https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/parameters/60195402-d94e-47c3-8a9b-7df84af1b726/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:30:03.199088Z","modified_at":"2021-09-22T15:30:03.199088Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:03 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/templates/ + uri: https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/templates/ body: encoding: UTF-8 string: '{"name":"two","body":"tmpl2 {{two}}"}' @@ -376,7 +454,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -388,41 +466,49 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:31 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:03 GMT Content-Type: - application/json + Content-Length: + - '519' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=Te/Hf2kR+eXPAY6TuCjjvyT76nqU6UHdd9GmgJDc0yItjU3Vphzb5XOpyb/zJGqcvy/h5LyWTttdPE/p1WpUYsHuslIlzUStMTrPgN+tIasY+OTwHidHC5PXVdK5; + Expires=Wed, 29 Sep 2021 15:30:03 GMT; Path=/ + - AWSALBCORS=Te/Hf2kR+eXPAY6TuCjjvyT76nqU6UHdd9GmgJDc0yItjU3Vphzb5XOpyb/zJGqcvy/h5LyWTttdPE/p1WpUYsHuslIlzUStMTrPgN+tIasY+OTwHidHC5PXVdK5; + Expires=Wed, 29 Sep 2021 15:30:03 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=Unr9Bv5hW82FfyLZ6iJzyu/9ASqDErhc0LAElGxxQrM03pSSMvHTg2sRaidKAWvKglCCinM2FgpBjYdFMPDUSS18lpI8ZG0IlLgx3Ii4/7aNrROuS95DKy1qJhVUEWio72OPcxUwDhZx8bFLhNNoCiWJeJA9FhmwZgcxV3NOlNZP; + Expires=Wed, 29 Sep 2021 15:30:03 GMT; Path=/ + - AWSALBTGCORS=Unr9Bv5hW82FfyLZ6iJzyu/9ASqDErhc0LAElGxxQrM03pSSMvHTg2sRaidKAWvKglCCinM2FgpBjYdFMPDUSS18lpI8ZG0IlLgx3Ii4/7aNrROuS95DKy1qJhVUEWio72OPcxUwDhZx8bFLhNNoCiWJeJA9FhmwZgcxV3NOlNZP; + Expires=Wed, 29 Sep 2021 15:30:03 GMT; Path=/; SameSite=None; Secure + - csrftoken=SWA9PlfBBPiippaGNjMey5liwax7EPpH75rddxI6lWwzOBg48BwZFqmS2JbObNL1; + expires=Wed, 21 Sep 2022 15:30:03 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=bp951kef89er5llcqjz7o0c1sl594bwn; expires=Wed, 06 Oct 2021 15:30:03 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/templates/fed7dfeb-3e3f-4f8b-b485-43afb93ba8df/ + - https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/templates/5c0710cd-2055-424d-8127-476c5ad4e624/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '477' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=JPvqlNxIbO1MR7f4QKlOrefZAyArbhZjrjX8vTm7WBtQr3cA1FiLhNvWmelBBMtU; - expires=Tue, 02 Aug 2022 19:33:31 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=q200qbmm3o26obh6jj0r3f8tgca88f9o; expires=Tue, 17 Aug 2021 19:33:31 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/templates/fed7dfeb-3e3f-4f8b-b485-43afb93ba8df/","id":"fed7dfeb-3e3f-4f8b-b485-43afb93ba8df","name":"two","description":"","body":"tmpl2 - {{two}}","parameters":["https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/parameters/81beefd1-748e-4515-8c29-2c9e3c88a339/"],"has_secret":true,"created_at":"2021-08-03T19:33:31.551893Z","modified_at":"2021-08-03T19:33:31.551933Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:31 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/templates/5c0710cd-2055-424d-8127-476c5ad4e624/","id":"5c0710cd-2055-424d-8127-476c5ad4e624","name":"two","description":"","body":"tmpl2 + {{two}}","parameters":["https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/parameters/806d825c-0673-429f-8892-907a20686f0b/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:30:03.777472Z","modified_at":"2021-09-22T15:30:03.777472Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:03 GMT - request: method: get - uri: https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/templates/ + uri: https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/templates/ body: encoding: US-ASCII string: '' @@ -430,7 +516,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -442,35 +528,43 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:32 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:04 GMT Content-Type: - application/json + Content-Length: + - '1091' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=0WPEL3sbiYpGTjpJzZd6S68/H8Q3fUbRTx0ba2nOjw6sJB4DWRlvXTcF+nWvwnIJowKPb4hwtv82xSzpPAUlOG4FoFGgPHxyRJ4+0ef/hZJb4EDMZ4XtFghcIiDs; + Expires=Wed, 29 Sep 2021 15:30:04 GMT; Path=/ + - AWSALBCORS=0WPEL3sbiYpGTjpJzZd6S68/H8Q3fUbRTx0ba2nOjw6sJB4DWRlvXTcF+nWvwnIJowKPb4hwtv82xSzpPAUlOG4FoFGgPHxyRJ4+0ef/hZJb4EDMZ4XtFghcIiDs; + Expires=Wed, 29 Sep 2021 15:30:04 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=pR4sEub2U7zQzowWEOmrDxWmymGvJ9ShFILyCupS0pA5wWwNWl+M7ZIvpGxHVXwInQxuada3LaudqtU9eD1krZwlG8u2b5ep05iDiiq6LLjt6LPjWpkrtAr4Hf8ZLI2dhhzBCghDMsv+uL3Qlt3hc0oJTYbkp0GSRPHPlllypmz+; + Expires=Wed, 29 Sep 2021 15:30:04 GMT; Path=/ + - AWSALBTGCORS=pR4sEub2U7zQzowWEOmrDxWmymGvJ9ShFILyCupS0pA5wWwNWl+M7ZIvpGxHVXwInQxuada3LaudqtU9eD1krZwlG8u2b5ep05iDiiq6LLjt6LPjWpkrtAr4Hf8ZLI2dhhzBCghDMsv+uL3Qlt3hc0oJTYbkp0GSRPHPlllypmz+; + Expires=Wed, 29 Sep 2021 15:30:04 GMT; Path=/; SameSite=None; Secure + - csrftoken=hAM38jaQhcQR5MEHPTIqBOg8lO1bCK9bVcFjOVN6i5WgRwSl1XL8Ddy7NBi8J7Dp; + expires=Wed, 21 Sep 2022 15:30:04 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=kc0xlh7nzrl4cngawsbnyd5cs5u0wiuf; expires=Wed, 06 Oct 2021 15:30:04 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '1008' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=urjfBrmlKUzuYIZSdJdSKzx4ckuftrMH5MC7mBCXQR4mwo6Qhx5RX8aaXvRYwS6s; - expires=Tue, 02 Aug 2022 19:33:32 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=n8ukmjpu7lfh7cl7893iin68umb27ox0; expires=Tue, 17 Aug 2021 19:33:32 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/templates/c2c2bc90-0ae1-4308-93fa-70ce152536b2/","id":"c2c2bc90-0ae1-4308-93fa-70ce152536b2","name":"one","description":"","body":"tmpl1 - {{one}}","parameters":["https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/parameters/682b8d58-d027-47ee-b24c-605f88c56ae1/"],"has_secret":false,"created_at":"2021-08-03T19:33:30.745682Z","modified_at":"2021-08-03T19:33:30.745717Z"},{"url":"https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/templates/fed7dfeb-3e3f-4f8b-b485-43afb93ba8df/","id":"fed7dfeb-3e3f-4f8b-b485-43afb93ba8df","name":"two","description":"","body":"tmpl2 - {{two}}","parameters":["https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/parameters/81beefd1-748e-4515-8c29-2c9e3c88a339/"],"has_secret":true,"created_at":"2021-08-03T19:33:31.551893Z","modified_at":"2021-08-03T19:33:31.551933Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:33:32 GMT + string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/templates/e8fdb4e7-1d9e-47c5-ace5-9c561fe4ccc8/","id":"e8fdb4e7-1d9e-47c5-ace5-9c561fe4ccc8","name":"one","description":"","body":"tmpl1 + {{one}}","parameters":["https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/parameters/60195402-d94e-47c3-8a9b-7df84af1b726/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:30:03.199088Z","modified_at":"2021-09-22T15:30:03.199088Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/templates/5c0710cd-2055-424d-8127-476c5ad4e624/","id":"5c0710cd-2055-424d-8127-476c5ad4e624","name":"two","description":"","body":"tmpl2 + {{two}}","parameters":["https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/parameters/806d825c-0673-429f-8892-907a20686f0b/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:30:03.777472Z","modified_at":"2021-09-22T15:30:03.777472Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:30:04 GMT recorded_with: VCR 6.0.0 diff --git a/spec/fixtures/vcr/Kubetruth_CtApi/_templates/_template_id/raises_if_template_doesn_t_exist.yml b/spec/fixtures/vcr/Kubetruth_CtApi/_templates/_template_id/raises_if_template_doesn_t_exist.yml index c4efc71..49f3714 100644 --- a/spec/fixtures/vcr/Kubetruth_CtApi/_templates/_template_id/raises_if_template_doesn_t_exist.yml +++ b/spec/fixtures/vcr/Kubetruth_CtApi/_templates/_template_id/raises_if_template_doesn_t_exist.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -10,7 +10,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -22,39 +22,58 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:34 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:04 GMT Content-Type: - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=RtgG3wsigu9aZWzAUyUyjpSdXvYH1wKN2ygMryQEeduvDCzdsyW6J4OYsrnj6WHcA8HUxZHEFDLJTMA9ctLXd/XmR1juzRKObj58UIfw8yF6ThW4iIlgmEsCvCNf; + Expires=Wed, 29 Sep 2021 15:30:04 GMT; Path=/ + - AWSALBCORS=RtgG3wsigu9aZWzAUyUyjpSdXvYH1wKN2ygMryQEeduvDCzdsyW6J4OYsrnj6WHcA8HUxZHEFDLJTMA9ctLXd/XmR1juzRKObj58UIfw8yF6ThW4iIlgmEsCvCNf; + Expires=Wed, 29 Sep 2021 15:30:04 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=8nq8YR0nuTPrz2QCDiu81BkfQMipDDxIsjRwebs53cVWilhvIZEveDI+++V211LIBRUGVTcKW6EXs7M6ejD3ghXksaXdDf5taRFwnBmDJbxGwXgaXxzpkUEWFgdCAxI7hvS0c81oj9l3Q7ayAyD/Rn+GxCWhnfRhtvVeBGgz9TwF; + Expires=Wed, 29 Sep 2021 15:30:04 GMT; Path=/ + - AWSALBTGCORS=8nq8YR0nuTPrz2QCDiu81BkfQMipDDxIsjRwebs53cVWilhvIZEveDI+++V211LIBRUGVTcKW6EXs7M6ejD3ghXksaXdDf5taRFwnBmDJbxGwXgaXxzpkUEWFgdCAxI7hvS0c81oj9l3Q7ayAyD/Rn+GxCWhnfRhtvVeBGgz9TwF; + Expires=Wed, 29 Sep 2021 15:30:04 GMT; Path=/; SameSite=None; Secure + - csrftoken=TuxSyPOK1xnChBH9d2QNjmoaEc5BhOZ5q7a5377AV16C6uDkyynt4fNDxotKN0JO; + expires=Wed, 21 Sep 2022 15:30:04 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=htewuo8d0nx7rj4e65nv4d3g3za3nl4n; expires=Wed, 06 Oct 2021 15:30:04 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '610' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=0D3SbIfYvkxx1hO2bxPHUntOpBmBpyPosTfYnjdMwKwZ7vpl49JIX5gb4sVeUVSi; - expires=Tue, 02 Aug 2022 19:33:34 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=ar3m5ipchfrs2k8mby1x0s26leghnfn6; expires=Tue, 17 Aug 2021 19:33:34 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/","id":"8142f9ea-3f8d-408e-972c-ab85227c5c09","name":"TestProject","description":"","created_at":"2021-08-03T19:33:26.178827Z","modified_at":"2021-08-03T19:33:26.178863Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:33:33 GMT + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/","id":"2fe9570b-89e4-4e6e-8859-d0ae1b23e45b","name":"TestProject","description":"","created_at":"2021-09-22T15:30:01.044112Z","modified_at":"2021-09-22T15:30:03.786279Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:30:04 GMT - request: method: delete - uri: https://localhost:8000/api/v1/projects/8142f9ea-3f8d-408e-972c-ab85227c5c09/ + uri: https://api.cloudtruth.io/api/v1/projects/2fe9570b-89e4-4e6e-8859-d0ae1b23e45b/ body: encoding: US-ASCII string: '' @@ -62,7 +81,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Authorization: - Api-Key Accept-Encoding: @@ -74,36 +93,44 @@ http_interactions: code: 204 message: No Content headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:35 GMT + - Wed, 22 Sep 2021 15:30:05 GMT + Content-Length: + - '0' Connection: - - close + - keep-alive + Set-Cookie: + - AWSALB=alE20EZCzT4Y6hMNf1Qf4DyFRE1+/EYAIcXhBbYAVfmCY8XKwl8iBhRUALERAUw3ecorvgO3NglFMWzfUyTvRrz/lZDckkzVpqHR7hDCJhssfQqilVFRf11wt3gg; + Expires=Wed, 29 Sep 2021 15:30:04 GMT; Path=/ + - AWSALBCORS=alE20EZCzT4Y6hMNf1Qf4DyFRE1+/EYAIcXhBbYAVfmCY8XKwl8iBhRUALERAUw3ecorvgO3NglFMWzfUyTvRrz/lZDckkzVpqHR7hDCJhssfQqilVFRf11wt3gg; + Expires=Wed, 29 Sep 2021 15:30:04 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=vt4fW/LYgP0DVN0tLLZxCsY7J5Kwf7VWWO9f9uIFRMePw6bvmRZcIyprHGLGv0n65q2hedi0/vYhE4RJx0u/4a1ZFK/W/flALGIrTDiNEMvUzKMvIqDC52g6YwtV6b2O2vMjw6VmF/8es8WcXIkU/gmRRVW3tHxrp97G2XfAN8/K; + Expires=Wed, 29 Sep 2021 15:30:04 GMT; Path=/ + - AWSALBTGCORS=vt4fW/LYgP0DVN0tLLZxCsY7J5Kwf7VWWO9f9uIFRMePw6bvmRZcIyprHGLGv0n65q2hedi0/vYhE4RJx0u/4a1ZFK/W/flALGIrTDiNEMvUzKMvIqDC52g6YwtV6b2O2vMjw6VmF/8es8WcXIkU/gmRRVW3tHxrp97G2XfAN8/K; + Expires=Wed, 29 Sep 2021 15:30:04 GMT; Path=/; SameSite=None; Secure + - csrftoken=tQbLQ6IYOpJwhYfCmsHo2n4Jhl5ZIgfxoeT2s8UFHW8Ret2do0ELljaUa0ghz5y7; + expires=Wed, 21 Sep 2022 15:30:05 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=4yyn4wtkhph8o18qy0zmykt3cj09cef7; expires=Wed, 06 Oct 2021 15:30:05 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, PUT, PATCH, DELETE, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '0' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=V7tj4dRFOlE2TJBFSweW0tXIbi4jvOOcdJpPXwUYLQKZwtCFyXNMEQyE3crbwyRn; - expires=Tue, 02 Aug 2022 19:33:35 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=h0h2riq9kzm61m1iv6nnjwwmpltmigwm; expires=Tue, 17 Aug 2021 19:33:35 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 string: '' - recorded_at: Tue, 03 Aug 2021 19:33:35 GMT + recorded_at: Wed, 22 Sep 2021 15:30:05 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: UTF-8 string: '{"name":"TestProject"}' @@ -111,7 +138,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -123,40 +150,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:36 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:05 GMT Content-Type: - application/json + Content-Length: + - '258' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=GcgPFTavhoWRuRN7UDjCc9JQZmHyeBlsnHbfPP3Z13lgW9yhV8q1tYQk077CcjvesC7Ab8X6MelzN+qjXlZ7Sr/oB0D/sqIPHDTwSOWVzbGc0BxthViRgl59G0or; + Expires=Wed, 29 Sep 2021 15:30:05 GMT; Path=/ + - AWSALBCORS=GcgPFTavhoWRuRN7UDjCc9JQZmHyeBlsnHbfPP3Z13lgW9yhV8q1tYQk077CcjvesC7Ab8X6MelzN+qjXlZ7Sr/oB0D/sqIPHDTwSOWVzbGc0BxthViRgl59G0or; + Expires=Wed, 29 Sep 2021 15:30:05 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=EGWWDO/M/XWeNK2pvDMPs7hXPLX+6K5ljyvbqU77fY+I/eRNkDFjAHDvbSD9cc/5hIjHpyaOx+b7oQxHrV12oscLuMCdOOc03VWyPELxFDFT50WA92xqjGvk0ZiDfezgv1byk4GjTxTi1uTF1nMSip2/I+fH3bOELSIkhyRAj8AL; + Expires=Wed, 29 Sep 2021 15:30:05 GMT; Path=/ + - AWSALBTGCORS=EGWWDO/M/XWeNK2pvDMPs7hXPLX+6K5ljyvbqU77fY+I/eRNkDFjAHDvbSD9cc/5hIjHpyaOx+b7oQxHrV12oscLuMCdOOc03VWyPELxFDFT50WA92xqjGvk0ZiDfezgv1byk4GjTxTi1uTF1nMSip2/I+fH3bOELSIkhyRAj8AL; + Expires=Wed, 29 Sep 2021 15:30:05 GMT; Path=/; SameSite=None; Secure + - csrftoken=cTpK2Unb6P0g7OIXJfiEZDGiDoH9IIiv4irkLqn0nIaOq3rrCD4wwNJL2Opw1oIb; + expires=Wed, 21 Sep 2022 15:30:05 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=gacxcc37o88y4w2t8qks80pcjfeyz531; expires=Wed, 06 Oct 2021 15:30:05 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/ + - https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '255' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=Eqk8FjPkmd54p1OQUASEXrnmNKZ8lC5IKQNq9wZ7cO9EWOsZayuuuVTSeE0ZxxuI; - expires=Tue, 02 Aug 2022 19:33:36 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=qwc43mgh1qw38ywc1w1om2rrpp6z3o6j; expires=Tue, 17 Aug 2021 19:33:36 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/","id":"3220d04a-a44b-4909-8005-0fbfa27db0a5","name":"TestProject","description":"","created_at":"2021-08-03T19:33:36.867741Z","modified_at":"2021-08-03T19:33:36.867777Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:36 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/","id":"005feaee-fe78-4bf3-9b9f-143233e99923","name":"TestProject","description":"","created_at":"2021-09-22T15:30:05.910395Z","modified_at":"2021-09-22T15:30:05.910395Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:05 GMT - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -164,7 +199,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -176,39 +211,58 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:38 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:06 GMT Content-Type: - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=Str87AqQm0xULv1LURKfQEMttPtGsA2RJVU840b7Nrk1HCEps1v2fII0TiM08+kHFTA49Qm4/UX01rbIMnHvGGgXx+iXDnr92OCjFjb4QTEkeMMpsM37bzC4Yssi; + Expires=Wed, 29 Sep 2021 15:30:06 GMT; Path=/ + - AWSALBCORS=Str87AqQm0xULv1LURKfQEMttPtGsA2RJVU840b7Nrk1HCEps1v2fII0TiM08+kHFTA49Qm4/UX01rbIMnHvGGgXx+iXDnr92OCjFjb4QTEkeMMpsM37bzC4Yssi; + Expires=Wed, 29 Sep 2021 15:30:06 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=WcFShzhzYS94VORt0JE03OGXJNuujmR5BR0V5W8CnBvOQnsDxM/jgJ1Jp4ETwGHUuY4tBWR/GAyWsyEAk2/kiWnoC+5emKAR1JnrzebtPwgx1zXYhCvVU2E2XR2poxPM2NNJdydmgC09mEYKlEjOvZuPsaMZKiHVDgbYvtgVxfT7; + Expires=Wed, 29 Sep 2021 15:30:06 GMT; Path=/ + - AWSALBTGCORS=WcFShzhzYS94VORt0JE03OGXJNuujmR5BR0V5W8CnBvOQnsDxM/jgJ1Jp4ETwGHUuY4tBWR/GAyWsyEAk2/kiWnoC+5emKAR1JnrzebtPwgx1zXYhCvVU2E2XR2poxPM2NNJdydmgC09mEYKlEjOvZuPsaMZKiHVDgbYvtgVxfT7; + Expires=Wed, 29 Sep 2021 15:30:06 GMT; Path=/; SameSite=None; Secure + - csrftoken=G3sT2odAUHYBBzvZYKpbUjiqDDxNtliU3RqR393lgYHuydx5mQERoj01tur6aoqb; + expires=Wed, 21 Sep 2022 15:30:06 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=oi64gu6rnazl46crgjzf9unuujviqvmo; expires=Wed, 06 Oct 2021 15:30:06 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '610' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=PWRQPbVyVPSDTpvYiD6B8FrNR9k3pk46y0wgfEfEKsaNUtSOhSaYDmIhxL8ucNfh; - expires=Tue, 02 Aug 2022 19:33:38 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=3w939atwhzaojbc9i0kkybj7whmkwa4b; expires=Tue, 17 Aug 2021 19:33:38 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/","id":"3220d04a-a44b-4909-8005-0fbfa27db0a5","name":"TestProject","description":"","created_at":"2021-08-03T19:33:36.867741Z","modified_at":"2021-08-03T19:33:36.867777Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:33:38 GMT + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/","id":"005feaee-fe78-4bf3-9b9f-143233e99923","name":"TestProject","description":"","created_at":"2021-09-22T15:30:05.910395Z","modified_at":"2021-09-22T15:30:05.910395Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:30:06 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/parameters/ + uri: https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/parameters/ body: encoding: UTF-8 string: '{"name":"one"}' @@ -216,7 +270,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -228,48 +282,56 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:39 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:06 GMT Content-Type: - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=I4s3G1kF0hSE+YV6i6Ktf7B6p8mZXVdPiMEnlDLEINY0oMeWCbyNlfM+EXmiW/N33GspCJw5intI/YQBjKg3TSY/5lRJ8qqpwZABbwpjPTbTaU0s/iF21wH71Pux; + Expires=Wed, 29 Sep 2021 15:30:06 GMT; Path=/ + - AWSALBCORS=I4s3G1kF0hSE+YV6i6Ktf7B6p8mZXVdPiMEnlDLEINY0oMeWCbyNlfM+EXmiW/N33GspCJw5intI/YQBjKg3TSY/5lRJ8qqpwZABbwpjPTbTaU0s/iF21wH71Pux; + Expires=Wed, 29 Sep 2021 15:30:06 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=8uhdW5P+YVpIjpXXGtC+n7cfj5zJ+RVIris05itPpbNI2BLtjWGfAjt3H6j6IeUbqfURHKqq+4WQNDjkDQGWf1YkEGVWygTqkt0WoYfgZ2xO5VCD5rzs/AXETJWRhuvg5styEDpatvDtZfPVj6isec12WdBhd5TnkeabxjcXnWe1; + Expires=Wed, 29 Sep 2021 15:30:06 GMT; Path=/ + - AWSALBTGCORS=8uhdW5P+YVpIjpXXGtC+n7cfj5zJ+RVIris05itPpbNI2BLtjWGfAjt3H6j6IeUbqfURHKqq+4WQNDjkDQGWf1YkEGVWygTqkt0WoYfgZ2xO5VCD5rzs/AXETJWRhuvg5styEDpatvDtZfPVj6isec12WdBhd5TnkeabxjcXnWe1; + Expires=Wed, 29 Sep 2021 15:30:06 GMT; Path=/; SameSite=None; Secure + - csrftoken=mihtx8CxPIWFZybwcxZCqpgouVjQ9xGttn1qz9HY7r3TKla9cLsVZD8y0CtgNuCQ; + expires=Wed, 21 Sep 2022 15:30:06 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=z9vw27qogsg1udh6ohslxejvlojmnaeb; expires=Wed, 06 Oct 2021 15:30:06 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/parameters/a52036fe-c344-4be6-92f4-42bcfdf32f49/ + - https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/parameters/36fe339e-ee00-470f-8e71-b1a8c59795ab/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '688' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=QOK8bgATORqb8zaIQ0eYBdGQ5RVxVC80OLhit4TbZZMjF0Z1ubGbii1E8vP53UJK; - expires=Tue, 02 Aug 2022 19:33:39 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=cg9hcptkxck251xksliwbivysjo2ug8x; expires=Tue, 17 Aug 2021 19:33:39 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/parameters/a52036fe-c344-4be6-92f4-42bcfdf32f49/","id":"a52036fe-c344-4be6-92f4-42bcfdf32f49","name":"one","description":"","secret":false,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null,"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/":null,"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/":null,"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/":null},"created_at":"2021-08-03T19:33:39.052095Z","modified_at":"2021-08-03T19:33:39.052130Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:39 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/parameters/36fe339e-ee00-470f-8e71-b1a8c59795ab/","id":"36fe339e-ee00-470f-8e71-b1a8c59795ab","name":"one","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:30:06.877088Z","modified_at":"2021-09-22T15:30:06.877088Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:06 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/parameters/ + uri: https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/parameters/ body: encoding: UTF-8 - string: '{"name":"two","secret":true}' + string: '{"name":"two"}' headers: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -281,40 +343,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:40 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:07 GMT Content-Type: - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=LVm28XvwR2UzUd66WdfC7phO8uinoyPd2rLA5gLlzEQE6LnDEnVin4bV6bVMMDSwB2RoIPDQE2tpeOvtNoert9xl5N6FwS0BIGjvNbeySvqaFjlBlz4laDsOaJzP; + Expires=Wed, 29 Sep 2021 15:30:07 GMT; Path=/ + - AWSALBCORS=LVm28XvwR2UzUd66WdfC7phO8uinoyPd2rLA5gLlzEQE6LnDEnVin4bV6bVMMDSwB2RoIPDQE2tpeOvtNoert9xl5N6FwS0BIGjvNbeySvqaFjlBlz4laDsOaJzP; + Expires=Wed, 29 Sep 2021 15:30:07 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=4mw0384ywBczJvPN30sLrmVjZkGn7AcCmjBXd6KPxLzNA0i7p/8ankuvsGno2RV1jHYnSMs5Wjs/fKOqL7fUqotMM/EGtst0aPC5rh+RHDBPhUePb5gXgdWv8kskftKyytjAWZc0+voNjM1zAS8jxoo6EYd/UNBHskXlKg/Kd3OL; + Expires=Wed, 29 Sep 2021 15:30:07 GMT; Path=/ + - AWSALBTGCORS=4mw0384ywBczJvPN30sLrmVjZkGn7AcCmjBXd6KPxLzNA0i7p/8ankuvsGno2RV1jHYnSMs5Wjs/fKOqL7fUqotMM/EGtst0aPC5rh+RHDBPhUePb5gXgdWv8kskftKyytjAWZc0+voNjM1zAS8jxoo6EYd/UNBHskXlKg/Kd3OL; + Expires=Wed, 29 Sep 2021 15:30:07 GMT; Path=/; SameSite=None; Secure + - csrftoken=Lwr9r9AihKswI9S8ZuSq4XxweiuuY7KkkaMevdLK9ZYKdHiVIiB0APf4hFN6m5g1; + expires=Wed, 21 Sep 2022 15:30:07 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=f5exqt1pyirjdnmsj69j2ef8v3ity43y; expires=Wed, 06 Oct 2021 15:30:07 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/parameters/de2e13a7-e0f3-4512-9199-253932262c55/ + - https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/parameters/9603a4b4-63ed-44fb-b299-325b1fe3f407/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '687' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=aFIo635O3SAEdFvW3t2nLwdQVFpp16hzgVXPyYl2dLAloIXYjxjgJCA1a4KsK5mY; - expires=Tue, 02 Aug 2022 19:33:40 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=ja8xmgkyk2pqlt7sow75baw1gkhn6pre; expires=Tue, 17 Aug 2021 19:33:40 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/parameters/de2e13a7-e0f3-4512-9199-253932262c55/","id":"de2e13a7-e0f3-4512-9199-253932262c55","name":"two","description":"","secret":true,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null,"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/":null,"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/":null,"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/":null},"created_at":"2021-08-03T19:33:40.231248Z","modified_at":"2021-08-03T19:33:40.231289Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:40 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/parameters/9603a4b4-63ed-44fb-b299-325b1fe3f407/","id":"9603a4b4-63ed-44fb-b299-325b1fe3f407","name":"two","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:30:07.488596Z","modified_at":"2021-09-22T15:30:07.488596Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:07 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/templates/ + uri: https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/templates/ body: encoding: UTF-8 string: '{"name":"one","body":"tmpl1 {{one}}"}' @@ -322,7 +392,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -334,41 +404,49 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:41 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:08 GMT Content-Type: - application/json + Content-Length: + - '519' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=BxcVZKS89e67JNsMKAdj1M3gC90OM0Vt7Pr9U64xDM9SuYRJ8O+dTf6dSo2vsMF6qa/7zuM8qti9TQ82Otx71prVNlaTEiuVp1jiA+OPJYU5n++2yoRqnz17EDsI; + Expires=Wed, 29 Sep 2021 15:30:07 GMT; Path=/ + - AWSALBCORS=BxcVZKS89e67JNsMKAdj1M3gC90OM0Vt7Pr9U64xDM9SuYRJ8O+dTf6dSo2vsMF6qa/7zuM8qti9TQ82Otx71prVNlaTEiuVp1jiA+OPJYU5n++2yoRqnz17EDsI; + Expires=Wed, 29 Sep 2021 15:30:07 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=XZrv+kVNW8VHhCaog6U2OwtfgGRRfhjvj2+gOiJ5EyUhwkZy1Nnwz31M2cVdPhHGlMmoJjvF4eO8jJB/7m78ZaMIc4M7M/kfAAT6vS73AJZIfiB6BIXB2T0Jrl+xtnysoRYT7yLjsy1ByJRy0zH8aZTocATnZfoRR8U8ylbGxXft; + Expires=Wed, 29 Sep 2021 15:30:07 GMT; Path=/ + - AWSALBTGCORS=XZrv+kVNW8VHhCaog6U2OwtfgGRRfhjvj2+gOiJ5EyUhwkZy1Nnwz31M2cVdPhHGlMmoJjvF4eO8jJB/7m78ZaMIc4M7M/kfAAT6vS73AJZIfiB6BIXB2T0Jrl+xtnysoRYT7yLjsy1ByJRy0zH8aZTocATnZfoRR8U8ylbGxXft; + Expires=Wed, 29 Sep 2021 15:30:07 GMT; Path=/; SameSite=None; Secure + - csrftoken=lX6NyhC5e6RbM7PIX4zoFDkkS8kfg0MQNtLT4AEm3B6RX3rKwYeGAqbzgKuHlbpz; + expires=Wed, 21 Sep 2022 15:30:08 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=bxnudffbdlzzkf57pj5jeozss1fcidjg; expires=Wed, 06 Oct 2021 15:30:08 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/templates/1643525a-b464-4633-a03f-304106fdbe07/ + - https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/templates/5caf57a6-dc2c-4ba4-a83c-9ff1b3fb234d/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '478' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=kQ8HpZG04SFoy2eDZpyBxbM9DSv3KY6kXQIamQx3tTs5XW9PwfeONzy6OWmBRYf7; - expires=Tue, 02 Aug 2022 19:33:41 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=gi63wpui4yotp8z4pwdzbmdmcb2cxdr4; expires=Tue, 17 Aug 2021 19:33:41 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/templates/1643525a-b464-4633-a03f-304106fdbe07/","id":"1643525a-b464-4633-a03f-304106fdbe07","name":"one","description":"","body":"tmpl1 - {{one}}","parameters":["https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/parameters/a52036fe-c344-4be6-92f4-42bcfdf32f49/"],"has_secret":false,"created_at":"2021-08-03T19:33:41.347589Z","modified_at":"2021-08-03T19:33:41.347633Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:41 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/templates/5caf57a6-dc2c-4ba4-a83c-9ff1b3fb234d/","id":"5caf57a6-dc2c-4ba4-a83c-9ff1b3fb234d","name":"one","description":"","body":"tmpl1 + {{one}}","parameters":["https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/parameters/36fe339e-ee00-470f-8e71-b1a8c59795ab/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:30:08.211344Z","modified_at":"2021-09-22T15:30:08.211344Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:08 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/templates/ + uri: https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/templates/ body: encoding: UTF-8 string: '{"name":"two","body":"tmpl2 {{two}}"}' @@ -376,7 +454,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -388,41 +466,49 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:42 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:08 GMT Content-Type: - application/json + Content-Length: + - '519' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=oxSDYiVapLw2Uy/ZeDTA2+LiAcTCpDpHA0f2tRYLVK2+XPUXHKHTGTbrBgKH3mqUk3QLtBMpUwoAp5ML9W6k+uP92MKc/nh8BsDfAxGZjR5bP460AFu/sxEzc0Vm; + Expires=Wed, 29 Sep 2021 15:30:08 GMT; Path=/ + - AWSALBCORS=oxSDYiVapLw2Uy/ZeDTA2+LiAcTCpDpHA0f2tRYLVK2+XPUXHKHTGTbrBgKH3mqUk3QLtBMpUwoAp5ML9W6k+uP92MKc/nh8BsDfAxGZjR5bP460AFu/sxEzc0Vm; + Expires=Wed, 29 Sep 2021 15:30:08 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=ZGUOH4xZIK/vfRxPQfMsrxtvmOKXMyw1Shr6rk89qh651Jh3pdRnxklq7twNYwadbJpXhfkQZc4kY/+og2f2a+LSxWSaiXLxtOEtysu8k7M3rA9jH3eBYZJm5UdwWMzT46MQpltzClIwzT1J9Qki7vo43C5lLI9H/YLJTnU+SPWc; + Expires=Wed, 29 Sep 2021 15:30:08 GMT; Path=/ + - AWSALBTGCORS=ZGUOH4xZIK/vfRxPQfMsrxtvmOKXMyw1Shr6rk89qh651Jh3pdRnxklq7twNYwadbJpXhfkQZc4kY/+og2f2a+LSxWSaiXLxtOEtysu8k7M3rA9jH3eBYZJm5UdwWMzT46MQpltzClIwzT1J9Qki7vo43C5lLI9H/YLJTnU+SPWc; + Expires=Wed, 29 Sep 2021 15:30:08 GMT; Path=/; SameSite=None; Secure + - csrftoken=4h5hzkjTfk6rRQVbqGCq5AZ2bztK8UOV9CMZQ9QFFHaYO41xWxr4s0EKstSBPONB; + expires=Wed, 21 Sep 2022 15:30:08 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=uy359qnwsdk5ua99frkab4tzcbytau5g; expires=Wed, 06 Oct 2021 15:30:08 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/templates/6f6c654b-7ce4-4bac-8072-3cb266ce0183/ + - https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/templates/556924f2-4aaf-4d44-9fb6-c1e0d8f162f3/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '477' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=h8S0t8jvcCiCe7Uk6C3cPPPpvvZgjvNg6ymChSgU9gYrfsYWDQMWeggTs6fsimmK; - expires=Tue, 02 Aug 2022 19:33:42 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=8tb825sl6rh5dkmcqsl04v1h2clqw7kl; expires=Tue, 17 Aug 2021 19:33:42 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/templates/6f6c654b-7ce4-4bac-8072-3cb266ce0183/","id":"6f6c654b-7ce4-4bac-8072-3cb266ce0183","name":"two","description":"","body":"tmpl2 - {{two}}","parameters":["https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/parameters/de2e13a7-e0f3-4512-9199-253932262c55/"],"has_secret":true,"created_at":"2021-08-03T19:33:42.201448Z","modified_at":"2021-08-03T19:33:42.201484Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:42 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/templates/556924f2-4aaf-4d44-9fb6-c1e0d8f162f3/","id":"556924f2-4aaf-4d44-9fb6-c1e0d8f162f3","name":"two","description":"","body":"tmpl2 + {{two}}","parameters":["https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/parameters/9603a4b4-63ed-44fb-b299-325b1fe3f407/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:30:08.650948Z","modified_at":"2021-09-22T15:30:08.650948Z"}' + recorded_at: Wed, 22 Sep 2021 15:30:08 GMT - request: method: get - uri: https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/templates/ + uri: https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/templates/ body: encoding: US-ASCII string: '' @@ -430,7 +516,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -442,35 +528,43 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:43 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:09 GMT Content-Type: - application/json + Content-Length: + - '1091' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=5Yu+3HDoMTSmEf3v8zugP8L0cQdBA4hFbKvUOpHr0Ny7gKSWGgdV7cjxaOBIoGkALkVEYl/7sU3JYGQT9mTADk9d/0hl8Or1FwfsVUQq5oJIcpQ6gJ7IB8z1tmBj; + Expires=Wed, 29 Sep 2021 15:30:08 GMT; Path=/ + - AWSALBCORS=5Yu+3HDoMTSmEf3v8zugP8L0cQdBA4hFbKvUOpHr0Ny7gKSWGgdV7cjxaOBIoGkALkVEYl/7sU3JYGQT9mTADk9d/0hl8Or1FwfsVUQq5oJIcpQ6gJ7IB8z1tmBj; + Expires=Wed, 29 Sep 2021 15:30:08 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=jlPExnwW2agS6p27cGxVDi2wk+rOMKcKl+lmigyoVaBjmirYsbkRJvgsxhiTzm/NLdWtrzP8Zeii+Qhuu3j0JO9KJSsVYYzFCEJ3Aq+Nmt3aJ8s80jXRl8XNkF22im3zlzXPkJRIkjbpjJovRSDHAULf9pY9ZS+lHnH9bI/yOxfr; + Expires=Wed, 29 Sep 2021 15:30:08 GMT; Path=/ + - AWSALBTGCORS=jlPExnwW2agS6p27cGxVDi2wk+rOMKcKl+lmigyoVaBjmirYsbkRJvgsxhiTzm/NLdWtrzP8Zeii+Qhuu3j0JO9KJSsVYYzFCEJ3Aq+Nmt3aJ8s80jXRl8XNkF22im3zlzXPkJRIkjbpjJovRSDHAULf9pY9ZS+lHnH9bI/yOxfr; + Expires=Wed, 29 Sep 2021 15:30:08 GMT; Path=/; SameSite=None; Secure + - csrftoken=6Wtq7ytuKQJX6qNpkeeLIaUY4kLSwjahXmtVtGsbnKsVzxC0KJrSHmJga9vd1Fuu; + expires=Wed, 21 Sep 2022 15:30:09 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=k4jwzpns8lttm95k7kqfvd98bt9dhimj; expires=Wed, 06 Oct 2021 15:30:09 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '1008' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=UBivtgcLuQJ9oLvEIhii6Y9TEdi7QrcJCWkIKO3pe9ST7Cd7DzSdIOwBTjOiICYD; - expires=Tue, 02 Aug 2022 19:33:43 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=spz6qhrwr3hi53u95xd5zjklju3pb4m1; expires=Tue, 17 Aug 2021 19:33:43 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/templates/1643525a-b464-4633-a03f-304106fdbe07/","id":"1643525a-b464-4633-a03f-304106fdbe07","name":"one","description":"","body":"tmpl1 - {{one}}","parameters":["https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/parameters/a52036fe-c344-4be6-92f4-42bcfdf32f49/"],"has_secret":false,"created_at":"2021-08-03T19:33:41.347589Z","modified_at":"2021-08-03T19:33:41.347633Z"},{"url":"https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/templates/6f6c654b-7ce4-4bac-8072-3cb266ce0183/","id":"6f6c654b-7ce4-4bac-8072-3cb266ce0183","name":"two","description":"","body":"tmpl2 - {{two}}","parameters":["https://localhost:8000/api/v1/projects/3220d04a-a44b-4909-8005-0fbfa27db0a5/parameters/de2e13a7-e0f3-4512-9199-253932262c55/"],"has_secret":true,"created_at":"2021-08-03T19:33:42.201448Z","modified_at":"2021-08-03T19:33:42.201484Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:33:43 GMT + string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/templates/5caf57a6-dc2c-4ba4-a83c-9ff1b3fb234d/","id":"5caf57a6-dc2c-4ba4-a83c-9ff1b3fb234d","name":"one","description":"","body":"tmpl1 + {{one}}","parameters":["https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/parameters/36fe339e-ee00-470f-8e71-b1a8c59795ab/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:30:08.211344Z","modified_at":"2021-09-22T15:30:08.211344Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/templates/556924f2-4aaf-4d44-9fb6-c1e0d8f162f3/","id":"556924f2-4aaf-4d44-9fb6-c1e0d8f162f3","name":"two","description":"","body":"tmpl2 + {{two}}","parameters":["https://api.cloudtruth.io/api/v1/projects/005feaee-fe78-4bf3-9b9f-143233e99923/parameters/9603a4b4-63ed-44fb-b299-325b1fe3f407/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:30:08.650948Z","modified_at":"2021-09-22T15:30:08.650948Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:30:08 GMT recorded_with: VCR 6.0.0 diff --git a/spec/fixtures/vcr/Kubetruth_CtApi/_templates/gets_templates.yml b/spec/fixtures/vcr/Kubetruth_CtApi/_templates/gets_templates.yml index fa50eea..26f44e3 100644 --- a/spec/fixtures/vcr/Kubetruth_CtApi/_templates/gets_templates.yml +++ b/spec/fixtures/vcr/Kubetruth_CtApi/_templates/gets_templates.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -10,7 +10,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -22,39 +22,58 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:02 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:51 GMT Content-Type: - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=jzTpJdDNnQTl46lf1SKW5xiY7GQkX9tKB5cZ2EXpPFP8Kq+zLdB48DEIl07lqnfVPlIQW30OUtwgD3/4V3Me/uECJK/eU6y9vNK06Lu84COcG9Lv/42zuyiQ5b/V; + Expires=Wed, 29 Sep 2021 15:29:50 GMT; Path=/ + - AWSALBCORS=jzTpJdDNnQTl46lf1SKW5xiY7GQkX9tKB5cZ2EXpPFP8Kq+zLdB48DEIl07lqnfVPlIQW30OUtwgD3/4V3Me/uECJK/eU6y9vNK06Lu84COcG9Lv/42zuyiQ5b/V; + Expires=Wed, 29 Sep 2021 15:29:50 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=VnE3wyQ7jFIGFuXIQBq5pSkYTvwkL1Tq/VVS3DkDjbyyeNC83r4jwXOHkb6CtRUakMXobvNfeHwYvMxuwZrqO4MSLHVRS+Fc9h5jaLeS2XT6r5kIAy07E9wGhqVPZMYZt6G86lsy5AB2etZTl0qURqwhp9QZxlOMZ1WJltffPrcQ; + Expires=Wed, 29 Sep 2021 15:29:50 GMT; Path=/ + - AWSALBTGCORS=VnE3wyQ7jFIGFuXIQBq5pSkYTvwkL1Tq/VVS3DkDjbyyeNC83r4jwXOHkb6CtRUakMXobvNfeHwYvMxuwZrqO4MSLHVRS+Fc9h5jaLeS2XT6r5kIAy07E9wGhqVPZMYZt6G86lsy5AB2etZTl0qURqwhp9QZxlOMZ1WJltffPrcQ; + Expires=Wed, 29 Sep 2021 15:29:50 GMT; Path=/; SameSite=None; Secure + - csrftoken=V5FipXtPwEWh4lJ9x6faj7dC28zqZnWO01oPP8C6E3iNIhNNAK45dggzAyzCwHyr; + expires=Wed, 21 Sep 2022 15:29:51 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=mq5092ez96icpxpn8aq4202lwm3s0hxp; expires=Wed, 06 Oct 2021 15:29:51 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '610' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=Ey99DQQhdEumMdL85bErBkF2od7kOl8Zb0xTiKa5V7KOpm6pK7qOQG2sO4OiiVhk; - expires=Tue, 02 Aug 2022 19:33:02 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=yb2b4x1mnpm3uixnh8qkl1mb4lgoa0mo; expires=Tue, 17 Aug 2021 19:33:02 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/","id":"57413c76-5a75-4500-b302-1bfb5dfc2fa9","name":"TestProject","description":"","created_at":"2021-08-03T19:32:50.165699Z","modified_at":"2021-08-03T19:32:50.165726Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:33:02 GMT + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/","id":"3d902f88-cf7b-4fa8-8430-2241ea665381","name":"TestProject","description":"","created_at":"2021-09-22T15:29:45.351374Z","modified_at":"2021-09-22T15:29:49.948725Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:50 GMT - request: method: delete - uri: https://localhost:8000/api/v1/projects/57413c76-5a75-4500-b302-1bfb5dfc2fa9/ + uri: https://api.cloudtruth.io/api/v1/projects/3d902f88-cf7b-4fa8-8430-2241ea665381/ body: encoding: US-ASCII string: '' @@ -62,7 +81,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Authorization: - Api-Key Accept-Encoding: @@ -74,36 +93,44 @@ http_interactions: code: 204 message: No Content headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:03 GMT + - Wed, 22 Sep 2021 15:29:51 GMT + Content-Length: + - '0' Connection: - - close + - keep-alive + Set-Cookie: + - AWSALB=mCOsBpS5CG7HZUyy65mN364KpKTveuomXnr0sMiDAOfFx7vbWbDFCYlW3IwO4JCDd0Wi5Vcj74PwfUavT7I42Mnxykk01Btwxjg9oDVwGrzixl6Icyrsb9pdemK6; + Expires=Wed, 29 Sep 2021 15:29:51 GMT; Path=/ + - AWSALBCORS=mCOsBpS5CG7HZUyy65mN364KpKTveuomXnr0sMiDAOfFx7vbWbDFCYlW3IwO4JCDd0Wi5Vcj74PwfUavT7I42Mnxykk01Btwxjg9oDVwGrzixl6Icyrsb9pdemK6; + Expires=Wed, 29 Sep 2021 15:29:51 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=suItoKHzxzXPduoM82IUqZC7Py8ifHUuX87DgJpoXmyKc/MTYgSktuwWuPtsXxnghXPjYW9medHL8jBSleL979Ye7MZUlYNoNtxH+3+S3IgHGBnmsB5Dz014U4J6N6L86Xpl3kepFcIfA15VYgy4tUIjGeZlLG5LmAKFKG7lmyLn; + Expires=Wed, 29 Sep 2021 15:29:51 GMT; Path=/ + - AWSALBTGCORS=suItoKHzxzXPduoM82IUqZC7Py8ifHUuX87DgJpoXmyKc/MTYgSktuwWuPtsXxnghXPjYW9medHL8jBSleL979Ye7MZUlYNoNtxH+3+S3IgHGBnmsB5Dz014U4J6N6L86Xpl3kepFcIfA15VYgy4tUIjGeZlLG5LmAKFKG7lmyLn; + Expires=Wed, 29 Sep 2021 15:29:51 GMT; Path=/; SameSite=None; Secure + - csrftoken=a7O0ZOkoLiMbfboMIio8Cn04HbEoPut7KsQk4sRUYzEeYX9QnrVj6lcgHu4rQCEj; + expires=Wed, 21 Sep 2022 15:29:51 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=o67ghf7d55wp8r2z63htb0yddq6zd3nx; expires=Wed, 06 Oct 2021 15:29:51 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, PUT, PATCH, DELETE, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '0' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=5D5eQUMtfbRyIeiZTtfxO47lKeOvkwypggBaOmhrHb2qGlwmjBkZ2TVAiO4scAeb; - expires=Tue, 02 Aug 2022 19:33:03 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=b2m6y5de10dc6nz00xihp8kufusfppfm; expires=Tue, 17 Aug 2021 19:33:03 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 string: '' - recorded_at: Tue, 03 Aug 2021 19:33:03 GMT + recorded_at: Wed, 22 Sep 2021 15:29:51 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: UTF-8 string: '{"name":"TestProject"}' @@ -111,7 +138,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -123,40 +150,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:05 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:52 GMT Content-Type: - application/json + Content-Length: + - '258' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=hVc4x5R52a/uH13e4wTQt0ZCOO7vcUoHnwOFmRT1fNmBPgL/uWpmWOCwt9xl2EI6Eyh/ZWAx97BJwO0SnMlLJiaM2IU0mDmXhyQvdoL0wzV9L/rk+Iv0wKQfWLuC; + Expires=Wed, 29 Sep 2021 15:29:51 GMT; Path=/ + - AWSALBCORS=hVc4x5R52a/uH13e4wTQt0ZCOO7vcUoHnwOFmRT1fNmBPgL/uWpmWOCwt9xl2EI6Eyh/ZWAx97BJwO0SnMlLJiaM2IU0mDmXhyQvdoL0wzV9L/rk+Iv0wKQfWLuC; + Expires=Wed, 29 Sep 2021 15:29:51 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=I9S9GOk9j9yzfzfo1CL/rb0+lmStiLboV2+dXlYPQwMQPzzvuUzT1KcZ3QJqGRs1iqhyjWLMXb+TJxK89rPfz0GYlLAWQ/cLVyQHNLa+6q66NEMBcmizPNH/LjcDpiWp1G5Iat/wS/i9rn4hpFJqTygC5KKfFmgAks6iZ0NwKcSd; + Expires=Wed, 29 Sep 2021 15:29:51 GMT; Path=/ + - AWSALBTGCORS=I9S9GOk9j9yzfzfo1CL/rb0+lmStiLboV2+dXlYPQwMQPzzvuUzT1KcZ3QJqGRs1iqhyjWLMXb+TJxK89rPfz0GYlLAWQ/cLVyQHNLa+6q66NEMBcmizPNH/LjcDpiWp1G5Iat/wS/i9rn4hpFJqTygC5KKfFmgAks6iZ0NwKcSd; + Expires=Wed, 29 Sep 2021 15:29:51 GMT; Path=/; SameSite=None; Secure + - csrftoken=h9yMzyI8KCpQvQwZ7M3L14wn5Lv3SmEyWlSgzD0vvBL2Qk2gXeHH41ARLBEpNtNC; + expires=Wed, 21 Sep 2022 15:29:52 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=5n4fcntzp57qzrtwp8r7jjo1gv1wxp4c; expires=Wed, 06 Oct 2021 15:29:52 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/ + - https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '255' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=eazeubmGbLyvTVe7rfCs406FIrrYlT5LYcHXU5ggl7iFbAdyXMnlM2RHk8beZxqU; - expires=Tue, 02 Aug 2022 19:33:05 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=f0f3jwoi3ffbq4v2fk268sfwjy5q8she; expires=Tue, 17 Aug 2021 19:33:05 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/","id":"8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205","name":"TestProject","description":"","created_at":"2021-08-03T19:33:05.155674Z","modified_at":"2021-08-03T19:33:05.155725Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:05 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/","id":"48142c51-145b-433c-872d-f24a893bf50f","name":"TestProject","description":"","created_at":"2021-09-22T15:29:52.012673Z","modified_at":"2021-09-22T15:29:52.012673Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:51 GMT - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -164,7 +199,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -176,39 +211,58 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:06 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:52 GMT Content-Type: - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=RhEIkCGN4Y4rQMS7q3C8RQOaZIW5OYMZxWxHH+Tl37uJN344Pd5wdQ5aP1AC3U4jlGZrzpcNv5n1SHbfKOoVhnO/e3qyIWY1rVwAH0FEBeCfCvpLlNSHpkQDb4Jg; + Expires=Wed, 29 Sep 2021 15:29:52 GMT; Path=/ + - AWSALBCORS=RhEIkCGN4Y4rQMS7q3C8RQOaZIW5OYMZxWxHH+Tl37uJN344Pd5wdQ5aP1AC3U4jlGZrzpcNv5n1SHbfKOoVhnO/e3qyIWY1rVwAH0FEBeCfCvpLlNSHpkQDb4Jg; + Expires=Wed, 29 Sep 2021 15:29:52 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=Ub3isYE1nC9itu2WkF2NIbWh9W7UvTjMBVYUadfoheqhv/jcvcdnucSWMH8gwQtcOdFi1Vz7G+5+nzKJE0Ts0s3yV+ESeeTCDAGQf6RqKOCKgk1YvPMV2wwsZx3QdyPIEBMIocR47kI5+cBKshe8vifEMog4i8ETick8yWTML1sN; + Expires=Wed, 29 Sep 2021 15:29:52 GMT; Path=/ + - AWSALBTGCORS=Ub3isYE1nC9itu2WkF2NIbWh9W7UvTjMBVYUadfoheqhv/jcvcdnucSWMH8gwQtcOdFi1Vz7G+5+nzKJE0Ts0s3yV+ESeeTCDAGQf6RqKOCKgk1YvPMV2wwsZx3QdyPIEBMIocR47kI5+cBKshe8vifEMog4i8ETick8yWTML1sN; + Expires=Wed, 29 Sep 2021 15:29:52 GMT; Path=/; SameSite=None; Secure + - csrftoken=YoHuJwBWa7HLVtTv4idxmA7BmZnKV1dE4KFhkZUsdE2W5Qq6mS1WJT3GLpBY1Yd3; + expires=Wed, 21 Sep 2022 15:29:52 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=aj6m0xkpaklpvstoqzly2gudjma39780; expires=Wed, 06 Oct 2021 15:29:52 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '610' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=pEzhpPrvAr468kzW52T5riCQWCgeCybZ5N7ZhvraLEOOhbyYEBKPMn8MfRhU3rZg; - expires=Tue, 02 Aug 2022 19:33:06 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=b54rrishrbw1h78yscmsecv2bedui9iy; expires=Tue, 17 Aug 2021 19:33:06 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/","id":"8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205","name":"TestProject","description":"","created_at":"2021-08-03T19:33:05.155674Z","modified_at":"2021-08-03T19:33:05.155725Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:33:06 GMT + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/","id":"48142c51-145b-433c-872d-f24a893bf50f","name":"TestProject","description":"","created_at":"2021-09-22T15:29:52.012673Z","modified_at":"2021-09-22T15:29:52.012673Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:52 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/parameters/ + uri: https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/parameters/ body: encoding: UTF-8 string: '{"name":"one"}' @@ -216,7 +270,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -228,48 +282,56 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:07 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:52 GMT Content-Type: - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=qS+ioBrRdiMoY662EMwFKvZ5TQ21X4CmytC82jV8G8LwugOHsDGQZg2ypdnL+Nj4D+8mJvIrNwtaNr2S+/9FbFJc3UchdfnnFLJ3RRcHv/LT0m0TtBNoCGu8Nquc; + Expires=Wed, 29 Sep 2021 15:29:52 GMT; Path=/ + - AWSALBCORS=qS+ioBrRdiMoY662EMwFKvZ5TQ21X4CmytC82jV8G8LwugOHsDGQZg2ypdnL+Nj4D+8mJvIrNwtaNr2S+/9FbFJc3UchdfnnFLJ3RRcHv/LT0m0TtBNoCGu8Nquc; + Expires=Wed, 29 Sep 2021 15:29:52 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=e/0VKqrGLtRhF82WhtJ3JVEc433kAd6eXFhYrAoQkC2dYrQ4XPkCPIsF2mokmy0z72Q+pd/d0GlstrwyNpz4ql3M8rKPaojaMycQfQIIJi7x0AKmtCAIxTPjZoZZ2jr8F1QLAKSQzX+lMZFecwSgVG7uZGjXqbra4Y5acZhI8VbQ; + Expires=Wed, 29 Sep 2021 15:29:52 GMT; Path=/ + - AWSALBTGCORS=e/0VKqrGLtRhF82WhtJ3JVEc433kAd6eXFhYrAoQkC2dYrQ4XPkCPIsF2mokmy0z72Q+pd/d0GlstrwyNpz4ql3M8rKPaojaMycQfQIIJi7x0AKmtCAIxTPjZoZZ2jr8F1QLAKSQzX+lMZFecwSgVG7uZGjXqbra4Y5acZhI8VbQ; + Expires=Wed, 29 Sep 2021 15:29:52 GMT; Path=/; SameSite=None; Secure + - csrftoken=Qd9AKUruEsTuYWDKyCPCC6g6DUuKwAr9anoad0xZIG8vaaQrLiKqIQBsWjeLwQ2L; + expires=Wed, 21 Sep 2022 15:29:52 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=moek4k014mlyua66i1aqj0bolzwlgkxq; expires=Wed, 06 Oct 2021 15:29:52 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/parameters/48182787-dc65-441f-a1e8-ef7a1d1a166f/ + - https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/parameters/56c17797-f4dc-4347-980f-f946185a6c55/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '688' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=UH3wwuUQId0AiIcpPT14qCS1lR2VAU6WsdrUmeMOUYLZqnQ8pJwek93aVHnDEN8P; - expires=Tue, 02 Aug 2022 19:33:07 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=ay1ru7ttna57013oeoux5vioq740q0jc; expires=Tue, 17 Aug 2021 19:33:07 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/parameters/48182787-dc65-441f-a1e8-ef7a1d1a166f/","id":"48182787-dc65-441f-a1e8-ef7a1d1a166f","name":"one","description":"","secret":false,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null,"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/":null,"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/":null,"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/":null},"created_at":"2021-08-03T19:33:07.248033Z","modified_at":"2021-08-03T19:33:07.248080Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:07 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/parameters/56c17797-f4dc-4347-980f-f946185a6c55/","id":"56c17797-f4dc-4347-980f-f946185a6c55","name":"one","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:52.860601Z","modified_at":"2021-09-22T15:29:52.860601Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:52 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/parameters/ + uri: https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/parameters/ body: encoding: UTF-8 - string: '{"name":"two","secret":true}' + string: '{"name":"two"}' headers: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -281,40 +343,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:08 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:53 GMT Content-Type: - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=ieaWD3YVIgRZuupsyfKGXLEyrzKgur1JopeCdMCchft2cmfQ0tj8JK5EEldmGnOGYNkOWs9D5o+hJBbVQhaGdF0nvUU6rWv/Tk0LJ4KLjL+IGev3x4ixZgrJhTlM; + Expires=Wed, 29 Sep 2021 15:29:53 GMT; Path=/ + - AWSALBCORS=ieaWD3YVIgRZuupsyfKGXLEyrzKgur1JopeCdMCchft2cmfQ0tj8JK5EEldmGnOGYNkOWs9D5o+hJBbVQhaGdF0nvUU6rWv/Tk0LJ4KLjL+IGev3x4ixZgrJhTlM; + Expires=Wed, 29 Sep 2021 15:29:53 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=C9dWuqrjGZrXm80/nECj/v5MIfIZdkzpVCdDuG7sfIuTj4QaoINE3zei66KOMDhHpdpCMj0p5L6l+5tmvblU8aIhRlWSYFx/9da+w6NvETBfx8BXPe0vO4mT0U4ULCERkG9t3O6weq6qyIWvCmxIiQDA2k1UHhwZEnKe9hlkIb99; + Expires=Wed, 29 Sep 2021 15:29:53 GMT; Path=/ + - AWSALBTGCORS=C9dWuqrjGZrXm80/nECj/v5MIfIZdkzpVCdDuG7sfIuTj4QaoINE3zei66KOMDhHpdpCMj0p5L6l+5tmvblU8aIhRlWSYFx/9da+w6NvETBfx8BXPe0vO4mT0U4ULCERkG9t3O6weq6qyIWvCmxIiQDA2k1UHhwZEnKe9hlkIb99; + Expires=Wed, 29 Sep 2021 15:29:53 GMT; Path=/; SameSite=None; Secure + - csrftoken=Kv4pvpLFHMXpdHiGUb9xp1GG89k7ipw2DDOiw215qWCJYTLo0JJ2NPhK0jJfHiFF; + expires=Wed, 21 Sep 2022 15:29:53 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=4dyx7oz4nep2bgp3h1niy45hh9hwq6e3; expires=Wed, 06 Oct 2021 15:29:53 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/parameters/9404371e-c001-4e91-921d-decd0619a043/ + - https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/parameters/cd5c8e33-a7b9-4797-b623-1fb91cc2165f/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '687' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=lEO2Bhgw0p8k5dBCPOa8hIqrjoqYtrcKqrK39lid30HDXloGlMH1hM28JQirbosO; - expires=Tue, 02 Aug 2022 19:33:08 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=s44er2xvc1xiaeyu3hf1ozitntt1a22x; expires=Tue, 17 Aug 2021 19:33:08 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/parameters/9404371e-c001-4e91-921d-decd0619a043/","id":"9404371e-c001-4e91-921d-decd0619a043","name":"two","description":"","secret":true,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null,"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/":null,"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/":null,"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/":null},"created_at":"2021-08-03T19:33:08.410454Z","modified_at":"2021-08-03T19:33:08.410505Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:08 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/parameters/cd5c8e33-a7b9-4797-b623-1fb91cc2165f/","id":"cd5c8e33-a7b9-4797-b623-1fb91cc2165f","name":"two","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:53.375030Z","modified_at":"2021-09-22T15:29:53.375030Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:53 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/templates/ + uri: https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/templates/ body: encoding: UTF-8 string: '{"name":"one","body":"tmpl1 {{one}}"}' @@ -322,7 +392,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -334,41 +404,49 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:09 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:53 GMT Content-Type: - application/json + Content-Length: + - '519' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=e4WWNpqGzmuRIWFXgehA5grJiCcqd/EmYZJ9johG2+gHi5JgImqPbnjkdsTJ8xRH4PDcLHs83IeSCuxa/mDT4exIyiGZYPdXmZPCzKC3xnyeUU8UkmLbAR/I3MpC; + Expires=Wed, 29 Sep 2021 15:29:53 GMT; Path=/ + - AWSALBCORS=e4WWNpqGzmuRIWFXgehA5grJiCcqd/EmYZJ9johG2+gHi5JgImqPbnjkdsTJ8xRH4PDcLHs83IeSCuxa/mDT4exIyiGZYPdXmZPCzKC3xnyeUU8UkmLbAR/I3MpC; + Expires=Wed, 29 Sep 2021 15:29:53 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=ZH9+81H2nxPO19OXGU+3DT4fU4EnIDCyBuHXyAs0ZrLq8mgAYQV+2zTknP73caToGsjH+qxO37lVGpjvxCCiaaxglb+2ZRgX1ncUcc5gOM00gq6Sn6LedxP3aG/VcQIvzvmPOuJWVRWxXTghDu27EyqoCMKLGUGH1uB51wHCN3xz; + Expires=Wed, 29 Sep 2021 15:29:53 GMT; Path=/ + - AWSALBTGCORS=ZH9+81H2nxPO19OXGU+3DT4fU4EnIDCyBuHXyAs0ZrLq8mgAYQV+2zTknP73caToGsjH+qxO37lVGpjvxCCiaaxglb+2ZRgX1ncUcc5gOM00gq6Sn6LedxP3aG/VcQIvzvmPOuJWVRWxXTghDu27EyqoCMKLGUGH1uB51wHCN3xz; + Expires=Wed, 29 Sep 2021 15:29:53 GMT; Path=/; SameSite=None; Secure + - csrftoken=ezyNnhOuGcQBm9Y57xCF5UPweCr9ousZlnQ2UV7pjyTlROdC4jlsHYMOYzl9jSOn; + expires=Wed, 21 Sep 2022 15:29:53 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=5ok55cfuzs4abi3fzfrlzwl9eqxxu7fr; expires=Wed, 06 Oct 2021 15:29:53 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/templates/3f9af3ce-b0b3-47ca-83cb-c8f0ef1705da/ + - https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/templates/192c9da4-68d3-4a51-aca2-b2d98f3f2de0/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '478' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=5mhZLoL9O81boeusuPLaYgXoK3eDvA8W6DSwSV6CxZSwIlfRTiyeS10TkOo6wvWK; - expires=Tue, 02 Aug 2022 19:33:09 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=e1hhw9hul4q2kloqpdz1leqym2cajb9x; expires=Tue, 17 Aug 2021 19:33:09 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/templates/3f9af3ce-b0b3-47ca-83cb-c8f0ef1705da/","id":"3f9af3ce-b0b3-47ca-83cb-c8f0ef1705da","name":"one","description":"","body":"tmpl1 - {{one}}","parameters":["https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/parameters/48182787-dc65-441f-a1e8-ef7a1d1a166f/"],"has_secret":false,"created_at":"2021-08-03T19:33:09.529409Z","modified_at":"2021-08-03T19:33:09.529448Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:09 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/templates/192c9da4-68d3-4a51-aca2-b2d98f3f2de0/","id":"192c9da4-68d3-4a51-aca2-b2d98f3f2de0","name":"one","description":"","body":"tmpl1 + {{one}}","parameters":["https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/parameters/56c17797-f4dc-4347-980f-f946185a6c55/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:29:53.902272Z","modified_at":"2021-09-22T15:29:53.902272Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:53 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/templates/ + uri: https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/templates/ body: encoding: UTF-8 string: '{"name":"two","body":"tmpl2 {{two}}"}' @@ -376,7 +454,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -388,41 +466,49 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:10 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:54 GMT Content-Type: - application/json + Content-Length: + - '519' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=T+jvbkQhs4BHh0aWDicMsd5xQlC//8DKuCVJGcGHwSMifc91yH18D8RgBay+TMvOuY8Hz4u+0gsIp3+BwFtRTIm25WXBeSGufKW/UDn66OFPLeDjoCHp/eGkCir4; + Expires=Wed, 29 Sep 2021 15:29:54 GMT; Path=/ + - AWSALBCORS=T+jvbkQhs4BHh0aWDicMsd5xQlC//8DKuCVJGcGHwSMifc91yH18D8RgBay+TMvOuY8Hz4u+0gsIp3+BwFtRTIm25WXBeSGufKW/UDn66OFPLeDjoCHp/eGkCir4; + Expires=Wed, 29 Sep 2021 15:29:54 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=d3VxsfQ8Nyd7OusGdcM9n2RdS/Wysrb/YcI3GSUCxWcoje/qjzdWpJnnXZMIPz2FZNRobxToGSur5v302+6v4ISgTp84mkRfT1ku2P3d2o7fcOUwXTZH+csiteE60s/wxw+I1DvG6UwHPx7qOabKKDy05Lvto9U9tG0/Ppibc0lH; + Expires=Wed, 29 Sep 2021 15:29:54 GMT; Path=/ + - AWSALBTGCORS=d3VxsfQ8Nyd7OusGdcM9n2RdS/Wysrb/YcI3GSUCxWcoje/qjzdWpJnnXZMIPz2FZNRobxToGSur5v302+6v4ISgTp84mkRfT1ku2P3d2o7fcOUwXTZH+csiteE60s/wxw+I1DvG6UwHPx7qOabKKDy05Lvto9U9tG0/Ppibc0lH; + Expires=Wed, 29 Sep 2021 15:29:54 GMT; Path=/; SameSite=None; Secure + - csrftoken=XjOSQxTe3Xz8Vndx7VQDAoeqqZaJ1Qe1EgW4iIqHfPEi0q0DghKrYGjDoaPdFl12; + expires=Wed, 21 Sep 2022 15:29:54 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=06bjzhnvx9zjlf0zi17v8vtkpfsc7yrm; expires=Wed, 06 Oct 2021 15:29:54 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/templates/14d922b4-c276-4300-bdd9-1974e4192c01/ + - https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/templates/f895d7c0-6a93-463a-a954-a01e57458813/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '477' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=9do7UfyDLADMysTAhBW1vw3v0IMeR1UBDuaapaEjvUFLfBn7KBqD8gia7xiFg3KF; - expires=Tue, 02 Aug 2022 19:33:10 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=vr9h6qbxlx6y2p8pjsy4q0t6o6ullknk; expires=Tue, 17 Aug 2021 19:33:10 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/templates/14d922b4-c276-4300-bdd9-1974e4192c01/","id":"14d922b4-c276-4300-bdd9-1974e4192c01","name":"two","description":"","body":"tmpl2 - {{two}}","parameters":["https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/parameters/9404371e-c001-4e91-921d-decd0619a043/"],"has_secret":true,"created_at":"2021-08-03T19:33:10.466953Z","modified_at":"2021-08-03T19:33:10.466990Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:10 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/templates/f895d7c0-6a93-463a-a954-a01e57458813/","id":"f895d7c0-6a93-463a-a954-a01e57458813","name":"two","description":"","body":"tmpl2 + {{two}}","parameters":["https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/parameters/cd5c8e33-a7b9-4797-b623-1fb91cc2165f/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:29:54.381122Z","modified_at":"2021-09-22T15:29:54.381122Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:54 GMT - request: method: get - uri: https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/templates/ + uri: https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/templates/ body: encoding: US-ASCII string: '' @@ -430,7 +516,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -442,35 +528,43 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:11 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:54 GMT Content-Type: - application/json + Content-Length: + - '1091' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=/C3VPhicc6KlAA2cIWOzEb7eGNUJgvWrDkqom12ffxkMnKtj+tRp6SyQ+/gBx7dVCRYrmxz2WUgnLEaXxyCtgWCEPoG+/hVuPMkD7LU1tKfvLKoN6vwtg3O3beQE; + Expires=Wed, 29 Sep 2021 15:29:54 GMT; Path=/ + - AWSALBCORS=/C3VPhicc6KlAA2cIWOzEb7eGNUJgvWrDkqom12ffxkMnKtj+tRp6SyQ+/gBx7dVCRYrmxz2WUgnLEaXxyCtgWCEPoG+/hVuPMkD7LU1tKfvLKoN6vwtg3O3beQE; + Expires=Wed, 29 Sep 2021 15:29:54 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=1/ErTrOuOksNb410HfFWHskuGZ3S8/hph8wEZIjxse8ZJCPv9ecqYrxG06rWkoX1h6XxaMIsFv7ztiykRHP+BkoeEKvg9muclJDUVAxAopiZSV3rXJdfK4biufbqoNp2NifcTMm7fh0Nui1iTmPZ1RuJuto3qBYMwc6tRIX5qZm7; + Expires=Wed, 29 Sep 2021 15:29:54 GMT; Path=/ + - AWSALBTGCORS=1/ErTrOuOksNb410HfFWHskuGZ3S8/hph8wEZIjxse8ZJCPv9ecqYrxG06rWkoX1h6XxaMIsFv7ztiykRHP+BkoeEKvg9muclJDUVAxAopiZSV3rXJdfK4biufbqoNp2NifcTMm7fh0Nui1iTmPZ1RuJuto3qBYMwc6tRIX5qZm7; + Expires=Wed, 29 Sep 2021 15:29:54 GMT; Path=/; SameSite=None; Secure + - csrftoken=AQgwLc1DTLkhRW0HkLVHeENIZ93NnNd86Gw8T3LjuoFAvOevAUf3Qi02AQx2cbmW; + expires=Wed, 21 Sep 2022 15:29:54 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=f6t8oo259ewtk9jgn2tdni5plkgjopyk; expires=Wed, 06 Oct 2021 15:29:54 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '1008' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=9Ukx2nLCvELfInG48rIdeGNaVtxbLBXjHaAeXMSeeVoA6RIndFsOw8Y6gCs2QTuh; - expires=Tue, 02 Aug 2022 19:33:11 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=t1b7ct1r2c6zvivjp66q0yu724xheg6e; expires=Tue, 17 Aug 2021 19:33:11 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/templates/3f9af3ce-b0b3-47ca-83cb-c8f0ef1705da/","id":"3f9af3ce-b0b3-47ca-83cb-c8f0ef1705da","name":"one","description":"","body":"tmpl1 - {{one}}","parameters":["https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/parameters/48182787-dc65-441f-a1e8-ef7a1d1a166f/"],"has_secret":false,"created_at":"2021-08-03T19:33:09.529409Z","modified_at":"2021-08-03T19:33:09.529448Z"},{"url":"https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/templates/14d922b4-c276-4300-bdd9-1974e4192c01/","id":"14d922b4-c276-4300-bdd9-1974e4192c01","name":"two","description":"","body":"tmpl2 - {{two}}","parameters":["https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/parameters/9404371e-c001-4e91-921d-decd0619a043/"],"has_secret":true,"created_at":"2021-08-03T19:33:10.466953Z","modified_at":"2021-08-03T19:33:10.466990Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:33:11 GMT + string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/templates/192c9da4-68d3-4a51-aca2-b2d98f3f2de0/","id":"192c9da4-68d3-4a51-aca2-b2d98f3f2de0","name":"one","description":"","body":"tmpl1 + {{one}}","parameters":["https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/parameters/56c17797-f4dc-4347-980f-f946185a6c55/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:29:53.902272Z","modified_at":"2021-09-22T15:29:53.902272Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/templates/f895d7c0-6a93-463a-a954-a01e57458813/","id":"f895d7c0-6a93-463a-a954-a01e57458813","name":"two","description":"","body":"tmpl2 + {{two}}","parameters":["https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/parameters/cd5c8e33-a7b9-4797-b623-1fb91cc2165f/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:29:54.381122Z","modified_at":"2021-09-22T15:29:54.381122Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:54 GMT recorded_with: VCR 6.0.0 diff --git a/spec/fixtures/vcr/Kubetruth_CtApi/_templates/memoizes_templates_.yml b/spec/fixtures/vcr/Kubetruth_CtApi/_templates/memoizes_templates_.yml index 150c48a..f101f42 100644 --- a/spec/fixtures/vcr/Kubetruth_CtApi/_templates/memoizes_templates_.yml +++ b/spec/fixtures/vcr/Kubetruth_CtApi/_templates/memoizes_templates_.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -10,7 +10,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -22,39 +22,58 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:12 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:55 GMT Content-Type: - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=pX0iU4nnyV9/t9Gt9MsVwNuiSc+4mmBbUOU8MltojNZxsP8fiySXpw0gqRhhF824LcR7xri2fyH5X1iMGih3zdG2xFOX5x9xcg0+Xs/O2dsxLg8njnYVWTNBiaHI; + Expires=Wed, 29 Sep 2021 15:29:55 GMT; Path=/ + - AWSALBCORS=pX0iU4nnyV9/t9Gt9MsVwNuiSc+4mmBbUOU8MltojNZxsP8fiySXpw0gqRhhF824LcR7xri2fyH5X1iMGih3zdG2xFOX5x9xcg0+Xs/O2dsxLg8njnYVWTNBiaHI; + Expires=Wed, 29 Sep 2021 15:29:55 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=NKWfjLtfXDAIPF1Ng/cwTuYvpCL2neX6cHCI47e22n4BWUer8HSkj5BbxxF2e6ItVC2nnvwQsF7BnPJeNFDtnXbEOa7vkmXBikxRgGtYZRnRf/ncniGqWDxo4EKfuNaTBDwc+wmtijIGuI/xYlaSTepN9FbdfdR7IYFiR84+9xFi; + Expires=Wed, 29 Sep 2021 15:29:55 GMT; Path=/ + - AWSALBTGCORS=NKWfjLtfXDAIPF1Ng/cwTuYvpCL2neX6cHCI47e22n4BWUer8HSkj5BbxxF2e6ItVC2nnvwQsF7BnPJeNFDtnXbEOa7vkmXBikxRgGtYZRnRf/ncniGqWDxo4EKfuNaTBDwc+wmtijIGuI/xYlaSTepN9FbdfdR7IYFiR84+9xFi; + Expires=Wed, 29 Sep 2021 15:29:55 GMT; Path=/; SameSite=None; Secure + - csrftoken=DkhycPTuDCHoBPnC8LU2Rvuu01aLhs3fEBgxBHHxfyglKLFPJh5vNfpjIYLNc8FG; + expires=Wed, 21 Sep 2022 15:29:55 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=67i6qbuk3wfbq5yxppg0ir53948g3hof; expires=Wed, 06 Oct 2021 15:29:55 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '610' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=WCDxWhMiO6VIhCcokqVl7st7F97q9ZKrYW7ys8OfVL4cJieBiiA5inz7gSfo8MVk; - expires=Tue, 02 Aug 2022 19:33:12 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=tmbbgvivm2far3rylzf68ucjyt0ikzuw; expires=Tue, 17 Aug 2021 19:33:12 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/","id":"8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205","name":"TestProject","description":"","created_at":"2021-08-03T19:33:05.155674Z","modified_at":"2021-08-03T19:33:05.155725Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:33:12 GMT + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/","id":"48142c51-145b-433c-872d-f24a893bf50f","name":"TestProject","description":"","created_at":"2021-09-22T15:29:52.012673Z","modified_at":"2021-09-22T15:29:54.392801Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:55 GMT - request: method: delete - uri: https://localhost:8000/api/v1/projects/8f9b8ac7-9db5-4bb5-9cf8-cf430b6f0205/ + uri: https://api.cloudtruth.io/api/v1/projects/48142c51-145b-433c-872d-f24a893bf50f/ body: encoding: US-ASCII string: '' @@ -62,7 +81,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Authorization: - Api-Key Accept-Encoding: @@ -74,36 +93,44 @@ http_interactions: code: 204 message: No Content headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:14 GMT + - Wed, 22 Sep 2021 15:29:55 GMT + Content-Length: + - '0' Connection: - - close + - keep-alive + Set-Cookie: + - AWSALB=7iZADyKIAen3lhOF7emgSTEnj7UTGU195BqeoRyiCU0lCURCsPh0XwfaaNk5rMtQMOENcEgRZEhYtyTbe8ufdr4QUHAOklsaGFAFTR7/GSh2+hhEKh5iPVApcN1P; + Expires=Wed, 29 Sep 2021 15:29:55 GMT; Path=/ + - AWSALBCORS=7iZADyKIAen3lhOF7emgSTEnj7UTGU195BqeoRyiCU0lCURCsPh0XwfaaNk5rMtQMOENcEgRZEhYtyTbe8ufdr4QUHAOklsaGFAFTR7/GSh2+hhEKh5iPVApcN1P; + Expires=Wed, 29 Sep 2021 15:29:55 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=AtM9P10XZFZocvuVn1nqunvwHci4J3+fm5JynDmwoNGV6lP51gsCvGRSS/F5w3xe6nzwKTKcPSjLrLn7u0/MzjKYutoW69mVy8LPJlLBARIS55QQlpag2sEnHfgime227EyrkIx8TKhrvJmGHy/uqmwW1cDIKzsQhtY75f0IzVzx; + Expires=Wed, 29 Sep 2021 15:29:55 GMT; Path=/ + - AWSALBTGCORS=AtM9P10XZFZocvuVn1nqunvwHci4J3+fm5JynDmwoNGV6lP51gsCvGRSS/F5w3xe6nzwKTKcPSjLrLn7u0/MzjKYutoW69mVy8LPJlLBARIS55QQlpag2sEnHfgime227EyrkIx8TKhrvJmGHy/uqmwW1cDIKzsQhtY75f0IzVzx; + Expires=Wed, 29 Sep 2021 15:29:55 GMT; Path=/; SameSite=None; Secure + - csrftoken=JNJb3WSeisv5Pzj5KRKC3j1dJqwqtqTxaxTQlmyKl8ybFGOm0OUMdFWMuxxVoY2X; + expires=Wed, 21 Sep 2022 15:29:55 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=jz8ui2ow09g3nl6k5m2g7jebz2bijf8s; expires=Wed, 06 Oct 2021 15:29:55 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, PUT, PATCH, DELETE, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '0' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=zuZZk4ShNHz4usWdgwllvgC6SqC02Mr89K2Dua5QsnU7MdAnmFxN91tNxzpwV3U6; - expires=Tue, 02 Aug 2022 19:33:14 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=j9lpdxxl203newdhxrlm6rlm5jgivbre; expires=Tue, 17 Aug 2021 19:33:14 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 string: '' - recorded_at: Tue, 03 Aug 2021 19:33:14 GMT + recorded_at: Wed, 22 Sep 2021 15:29:55 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: UTF-8 string: '{"name":"TestProject"}' @@ -111,7 +138,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -123,40 +150,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:15 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:56 GMT Content-Type: - application/json + Content-Length: + - '258' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=3aj4ZREPm6tqXJihT4mEmspUUpxCj4feBju56V92brCUZGJ1/xjoqWme11cBjidF4hy0IUfzhSXSLaioIWNAzHKtaSGtUo9crmKHD/MbUqGMq7yKDq2jmSCk0LnJ; + Expires=Wed, 29 Sep 2021 15:29:56 GMT; Path=/ + - AWSALBCORS=3aj4ZREPm6tqXJihT4mEmspUUpxCj4feBju56V92brCUZGJ1/xjoqWme11cBjidF4hy0IUfzhSXSLaioIWNAzHKtaSGtUo9crmKHD/MbUqGMq7yKDq2jmSCk0LnJ; + Expires=Wed, 29 Sep 2021 15:29:56 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=3lB+YrMSkGR1O/nOcFr4euX0/Rgogdhj5cQyG2SMtpHqgG5p0DELfPhC2Tqdhrd66uaNIK/DJuZRAe/6VE1Uh/UEHRXohJEsTp/okh6oWpAaCqfzdPpiUKTkgzz92gPbjXPJgsGR2525HS/V1RT34Ez8HRboPQw42cVePyiU7ZBx; + Expires=Wed, 29 Sep 2021 15:29:56 GMT; Path=/ + - AWSALBTGCORS=3lB+YrMSkGR1O/nOcFr4euX0/Rgogdhj5cQyG2SMtpHqgG5p0DELfPhC2Tqdhrd66uaNIK/DJuZRAe/6VE1Uh/UEHRXohJEsTp/okh6oWpAaCqfzdPpiUKTkgzz92gPbjXPJgsGR2525HS/V1RT34Ez8HRboPQw42cVePyiU7ZBx; + Expires=Wed, 29 Sep 2021 15:29:56 GMT; Path=/; SameSite=None; Secure + - csrftoken=QvkSSDHXGj1Z7OFgcrBn2zkNtcyc0qhpji3eX9RtRnljfYWBR3ub1OyIVucatiRK; + expires=Wed, 21 Sep 2022 15:29:56 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=vknf05r8c0rslv36xltsw3hreiqhbamo; expires=Wed, 06 Oct 2021 15:29:56 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/ + - https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '255' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=GOReG4ODoAUflllR3yZsOagZpjzJvQHMEyc08NHG95QfUOCf6nl8A2lSD444ream; - expires=Tue, 02 Aug 2022 19:33:15 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=ok4ab51seqygevigg2fmnwzd7gahnrpv; expires=Tue, 17 Aug 2021 19:33:15 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/","id":"ef203154-caf8-42ad-80c9-eb7e39aea1e9","name":"TestProject","description":"","created_at":"2021-08-03T19:33:15.771596Z","modified_at":"2021-08-03T19:33:15.771631Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:15 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/","id":"3fdbc09e-2a93-4c1e-9f09-c38d548ac77e","name":"TestProject","description":"","created_at":"2021-09-22T15:29:56.240098Z","modified_at":"2021-09-22T15:29:56.240098Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:56 GMT - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -164,7 +199,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -176,39 +211,58 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:16 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:56 GMT Content-Type: - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=r8AGfEyeBoj1mHi2SVSwT1KkqWbn1y/DwDynpsQGwOeuws9ytEraXYAHdJUwVl0vsKEY/SGxIF4Hu8q/B/E9aoW2cbaJILP84SNAv8bWDXrAjMbQ5+/cbFJKZ2Qk; + Expires=Wed, 29 Sep 2021 15:29:56 GMT; Path=/ + - AWSALBCORS=r8AGfEyeBoj1mHi2SVSwT1KkqWbn1y/DwDynpsQGwOeuws9ytEraXYAHdJUwVl0vsKEY/SGxIF4Hu8q/B/E9aoW2cbaJILP84SNAv8bWDXrAjMbQ5+/cbFJKZ2Qk; + Expires=Wed, 29 Sep 2021 15:29:56 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=f74gUezT2Ub3P4MxfyuMGrbR9GXM5Cei4NLH2b6/XjhpgpH88RHPkplqfncyDNj3NyeFaE30JpYHwRlBTga72LVXCzauWPqhc0p8/pNuDs6LbTDf9DfWjJZ7klfNG8s+2c97vEmB86agXQbb2Be2lbD2tWSB06G0cCL2vfGmGZx+; + Expires=Wed, 29 Sep 2021 15:29:56 GMT; Path=/ + - AWSALBTGCORS=f74gUezT2Ub3P4MxfyuMGrbR9GXM5Cei4NLH2b6/XjhpgpH88RHPkplqfncyDNj3NyeFaE30JpYHwRlBTga72LVXCzauWPqhc0p8/pNuDs6LbTDf9DfWjJZ7klfNG8s+2c97vEmB86agXQbb2Be2lbD2tWSB06G0cCL2vfGmGZx+; + Expires=Wed, 29 Sep 2021 15:29:56 GMT; Path=/; SameSite=None; Secure + - csrftoken=rFPaL8FlbTwsE8fzSsn3IyCXaWh9a8yUa1k2deQFJRYNRD7JM2w62DqOnR0LpNHm; + expires=Wed, 21 Sep 2022 15:29:56 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=0oo2guhan4lac3uckxxknz8wwk8pixcc; expires=Wed, 06 Oct 2021 15:29:56 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '610' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=ZRa6CR1hHNZV5bEsP6q9zbxCjQaRrVOqN1wD2tze0wv00WNLhyQu49Zhs2vo1oEt; - expires=Tue, 02 Aug 2022 19:33:16 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=bz62a53ogxzap1mihhpj318lcox1u3mf; expires=Tue, 17 Aug 2021 19:33:16 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/","id":"ef203154-caf8-42ad-80c9-eb7e39aea1e9","name":"TestProject","description":"","created_at":"2021-08-03T19:33:15.771596Z","modified_at":"2021-08-03T19:33:15.771631Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:33:16 GMT + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/","id":"3fdbc09e-2a93-4c1e-9f09-c38d548ac77e","name":"TestProject","description":"","created_at":"2021-09-22T15:29:56.240098Z","modified_at":"2021-09-22T15:29:56.240098Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:56 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/parameters/ + uri: https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/parameters/ body: encoding: UTF-8 string: '{"name":"one"}' @@ -216,7 +270,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -228,48 +282,56 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:18 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:57 GMT Content-Type: - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=t2KCPYjIsgBOUJPcBmnCwP7KKgukrDDInehvmNV472oQg4AC46PrWFpMk8S5kRHyGI4s9jOkbvZTZrgOs24ramF4SrMCrxmOSSUEkLpbpMXPgp3qEbQ7x8bmX1kV; + Expires=Wed, 29 Sep 2021 15:29:57 GMT; Path=/ + - AWSALBCORS=t2KCPYjIsgBOUJPcBmnCwP7KKgukrDDInehvmNV472oQg4AC46PrWFpMk8S5kRHyGI4s9jOkbvZTZrgOs24ramF4SrMCrxmOSSUEkLpbpMXPgp3qEbQ7x8bmX1kV; + Expires=Wed, 29 Sep 2021 15:29:57 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=qkevWD0zReD5sox3sogH3tyxPRoX1ZTXiwn6DuQ0s86lJE93QnQy6KCMijosnFxaBRborVCgueTafGNN492FtKOYjVrvpsNB8QcN2elBzMKcTW4px+zm6By6jr2oZ6/GU5pkaDOMNVkG6X/yi6YSvo44qemqhxynGz+WT4Ngwfjb; + Expires=Wed, 29 Sep 2021 15:29:57 GMT; Path=/ + - AWSALBTGCORS=qkevWD0zReD5sox3sogH3tyxPRoX1ZTXiwn6DuQ0s86lJE93QnQy6KCMijosnFxaBRborVCgueTafGNN492FtKOYjVrvpsNB8QcN2elBzMKcTW4px+zm6By6jr2oZ6/GU5pkaDOMNVkG6X/yi6YSvo44qemqhxynGz+WT4Ngwfjb; + Expires=Wed, 29 Sep 2021 15:29:57 GMT; Path=/; SameSite=None; Secure + - csrftoken=Y51uaSZwM1OBB0nDO9x4FMMqXYTaQQy8Wio4D6veGUfOfY7qb55yLKzX1N9J2ldA; + expires=Wed, 21 Sep 2022 15:29:57 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=v0ngye8o2zlkpviqmcvkk2g4f6irljo0; expires=Wed, 06 Oct 2021 15:29:57 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/parameters/ed763b43-e367-4fff-b743-31e1de7b5461/ + - https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/parameters/869f01c7-6ce8-4b11-9259-4f11a0fb4cba/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '688' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=VgNIhK5CRYxaPhaiymM7GDvSSmVAui8BUXjNB8Ervm2WTFTwrkM5pPnJP2FxRA0O; - expires=Tue, 02 Aug 2022 19:33:18 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=i5hyb4382hgnajmp106xln4ztvang1qg; expires=Tue, 17 Aug 2021 19:33:18 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/parameters/ed763b43-e367-4fff-b743-31e1de7b5461/","id":"ed763b43-e367-4fff-b743-31e1de7b5461","name":"one","description":"","secret":false,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null,"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/":null,"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/":null,"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/":null},"created_at":"2021-08-03T19:33:17.712578Z","modified_at":"2021-08-03T19:33:17.712620Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:18 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/parameters/869f01c7-6ce8-4b11-9259-4f11a0fb4cba/","id":"869f01c7-6ce8-4b11-9259-4f11a0fb4cba","name":"one","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:57.401607Z","modified_at":"2021-09-22T15:29:57.401607Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:57 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/parameters/ + uri: https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/parameters/ body: encoding: UTF-8 - string: '{"name":"two","secret":true}' + string: '{"name":"two"}' headers: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -281,40 +343,48 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:19 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:58 GMT Content-Type: - application/json + Content-Length: + - '1185' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=dKecfa82pA3cN3zEIpxJhzbOeH7TAMUvgDTOXQuXs/me5pN+fg8KYXGy6SR3XqIhJvQU2Ifj/xktsREe0u6KXHW+5rpo0TnyRC90MVeRbmKTY6HavQm/uBPRX3qP; + Expires=Wed, 29 Sep 2021 15:29:57 GMT; Path=/ + - AWSALBCORS=dKecfa82pA3cN3zEIpxJhzbOeH7TAMUvgDTOXQuXs/me5pN+fg8KYXGy6SR3XqIhJvQU2Ifj/xktsREe0u6KXHW+5rpo0TnyRC90MVeRbmKTY6HavQm/uBPRX3qP; + Expires=Wed, 29 Sep 2021 15:29:57 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=SskIDz5a2Udg8AvHpoSz8IRnfUNGcJnzl9ChSG1objw7xEinMROve+Keh5ofAhAvd2ivxtrSZLPQJp/e/o74TvRCp4/ekRszmg43FcGiI/9un1NuA3uKzq4JVKyaQEF4fK5x7fjR25vHZdjdpPA47B/3fkdYapG3skopQptDVc7M; + Expires=Wed, 29 Sep 2021 15:29:57 GMT; Path=/ + - AWSALBTGCORS=SskIDz5a2Udg8AvHpoSz8IRnfUNGcJnzl9ChSG1objw7xEinMROve+Keh5ofAhAvd2ivxtrSZLPQJp/e/o74TvRCp4/ekRszmg43FcGiI/9un1NuA3uKzq4JVKyaQEF4fK5x7fjR25vHZdjdpPA47B/3fkdYapG3skopQptDVc7M; + Expires=Wed, 29 Sep 2021 15:29:57 GMT; Path=/; SameSite=None; Secure + - csrftoken=SRfdVafqhBKQvkO2TLw4j2ZWHgD0VhXj4zImylAgH1sKtMt4Ed3ShDaB13VzO6vH; + expires=Wed, 21 Sep 2022 15:29:58 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=5rcnwxn4j8xq5fxdgcp17h0vw8zs0nu8; expires=Wed, 06 Oct 2021 15:29:58 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/parameters/654e9244-c5e0-4a87-a4d5-33d76fb1ff01/ + - https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/parameters/b5c7553a-6661-4829-9cc5-86537e836b91/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '687' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=oyOCt0gZzN5pGV7hZ3QAi0USQ9ktFl2e1CRgHCogDrhnTB75Lt9TlqBboVJnUG09; - expires=Tue, 02 Aug 2022 19:33:19 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=3f7cpbfyfqw1i3fn03y39nl00x26t38l; expires=Tue, 17 Aug 2021 19:33:19 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/parameters/654e9244-c5e0-4a87-a4d5-33d76fb1ff01/","id":"654e9244-c5e0-4a87-a4d5-33d76fb1ff01","name":"two","description":"","secret":true,"templates":[],"values":{"https://localhost:8000/api/v1/environments/3ce72447-641f-418d-a12a-71173a56ffca/":null,"https://localhost:8000/api/v1/environments/0293a31b-70a7-458c-afe4-162fa9febc1e/":null,"https://localhost:8000/api/v1/environments/d5a11b75-2690-4363-83a3-873f3a98cef8/":null,"https://localhost:8000/api/v1/environments/5694a5f3-a09c-40f1-b40b-74f260508516/":null},"created_at":"2021-08-03T19:33:18.985656Z","modified_at":"2021-08-03T19:33:18.985693Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:19 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/parameters/b5c7553a-6661-4829-9cc5-86537e836b91/","id":"b5c7553a-6661-4829-9cc5-86537e836b91","name":"two","description":"","secret":false,"type":"string","rules":[],"templates":[],"values":{"https://api.cloudtruth.io/api/v1/environments/e8bc190d-0354-4e66-91c9-64501e501ec5/":null,"https://api.cloudtruth.io/api/v1/environments/c4de304d-5dd4-4a41-80ec-9a469f1aa4f5/":null,"https://api.cloudtruth.io/api/v1/environments/12b9c81b-9002-423b-9ca7-22cece646d07/":null,"https://api.cloudtruth.io/api/v1/environments/2281d9da-8376-4f45-baf2-372a71260dfa/":null,"https://api.cloudtruth.io/api/v1/environments/c99d6ab9-4674-4f76-bb43-da0b19124e18/":null,"https://api.cloudtruth.io/api/v1/environments/ef133a2e-3c9c-4229-a509-e56332baff40/":null,"https://api.cloudtruth.io/api/v1/environments/cde7cf9d-8bf2-46cb-9e97-dee9b99e4335/":null,"https://api.cloudtruth.io/api/v1/environments/e4399ff4-a962-451b-adfb-7e504ad6bb6d/":null,"https://api.cloudtruth.io/api/v1/environments/3afc0523-4722-4fa1-aaea-5d49beaa284d/":null},"created_at":"2021-09-22T15:29:58.017189Z","modified_at":"2021-09-22T15:29:58.017189Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:57 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/templates/ + uri: https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/templates/ body: encoding: UTF-8 string: '{"name":"one","body":"tmpl1 {{one}}"}' @@ -322,7 +392,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -334,41 +404,49 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:20 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:58 GMT Content-Type: - application/json + Content-Length: + - '519' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=rEeLILgzPjJJ5WoxsGlcVRbdW77aZUb197NTJtHISiDueW6ccOIgqyGIYo5tuSgS78tmlUdYkHC8D9l+Rx5CPBueOz3Sx7R9tPqw5y6gqr3/BJTkKnKnpZ5gnh58; + Expires=Wed, 29 Sep 2021 15:29:58 GMT; Path=/ + - AWSALBCORS=rEeLILgzPjJJ5WoxsGlcVRbdW77aZUb197NTJtHISiDueW6ccOIgqyGIYo5tuSgS78tmlUdYkHC8D9l+Rx5CPBueOz3Sx7R9tPqw5y6gqr3/BJTkKnKnpZ5gnh58; + Expires=Wed, 29 Sep 2021 15:29:58 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=qEE6U0A4mKCDB39uqvWWzJL8zssHWXo1CVnN0hy582n7Zo+GIMOCuAk2eHu7kVsNLqdugm9pDoq7Gexjd3RczgeoPGTsvGVVbKc7VZj/k9foQ9nRk3OHhOjnHlCnw3sJXxUVx2TKNEsvlm+ZHr+sVFMGyyusNvzEohfWcigDgWgX; + Expires=Wed, 29 Sep 2021 15:29:58 GMT; Path=/ + - AWSALBTGCORS=qEE6U0A4mKCDB39uqvWWzJL8zssHWXo1CVnN0hy582n7Zo+GIMOCuAk2eHu7kVsNLqdugm9pDoq7Gexjd3RczgeoPGTsvGVVbKc7VZj/k9foQ9nRk3OHhOjnHlCnw3sJXxUVx2TKNEsvlm+ZHr+sVFMGyyusNvzEohfWcigDgWgX; + Expires=Wed, 29 Sep 2021 15:29:58 GMT; Path=/; SameSite=None; Secure + - csrftoken=0KNtKSrLGU96iPFAnyBs7UH1MRnpy7hS8LfpylB5QnGTOPWCGkDToXt0yelmUNKl; + expires=Wed, 21 Sep 2022 15:29:58 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=v7d35gf06pwxpitqirvqob0fnzonceh6; expires=Wed, 06 Oct 2021 15:29:58 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/templates/75710296-9c75-409b-9930-58120abfa19a/ + - https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/templates/d6bbfbea-0a7a-4dda-abd0-f09e249dab71/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '478' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=5pWdn8sdIIaJQfZ9jS6dKTN9pNpVM1X721gf4rPM9hZg0URoQnajFH9cYNn5sNRM; - expires=Tue, 02 Aug 2022 19:33:20 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=z28qih0dw5b328zmxcpuxxzakz9b2ag6; expires=Tue, 17 Aug 2021 19:33:20 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/templates/75710296-9c75-409b-9930-58120abfa19a/","id":"75710296-9c75-409b-9930-58120abfa19a","name":"one","description":"","body":"tmpl1 - {{one}}","parameters":["https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/parameters/ed763b43-e367-4fff-b743-31e1de7b5461/"],"has_secret":false,"created_at":"2021-08-03T19:33:20.386259Z","modified_at":"2021-08-03T19:33:20.386351Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:20 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/templates/d6bbfbea-0a7a-4dda-abd0-f09e249dab71/","id":"d6bbfbea-0a7a-4dda-abd0-f09e249dab71","name":"one","description":"","body":"tmpl1 + {{one}}","parameters":["https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/parameters/869f01c7-6ce8-4b11-9259-4f11a0fb4cba/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:29:58.526928Z","modified_at":"2021-09-22T15:29:58.526928Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:58 GMT - request: method: post - uri: https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/templates/ + uri: https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/templates/ body: encoding: UTF-8 string: '{"name":"two","body":"tmpl2 {{two}}"}' @@ -376,7 +454,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -388,41 +466,49 @@ http_interactions: code: 201 message: Created headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:21 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:59 GMT Content-Type: - application/json + Content-Length: + - '519' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=qnKQjLs0k7BKKPYi+eAgq3zMQOchyuJyqUnKVLHZPumg30oJeIALf6ivHNZGGHzuN3eFHsewO8aup7Wz5INU00frk6q/jCyhtpQp15k8csZLuXRABKfX4CJyDSdg; + Expires=Wed, 29 Sep 2021 15:29:58 GMT; Path=/ + - AWSALBCORS=qnKQjLs0k7BKKPYi+eAgq3zMQOchyuJyqUnKVLHZPumg30oJeIALf6ivHNZGGHzuN3eFHsewO8aup7Wz5INU00frk6q/jCyhtpQp15k8csZLuXRABKfX4CJyDSdg; + Expires=Wed, 29 Sep 2021 15:29:58 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=JUDA6Dm/K64qby1QPnDJCdYYv6ImJLBOSP/M7yfFe1b9o0i3XVN1nHpewzLsKIrpCg44GykSwB6N0ZbsB6ZJf2D9j6+Y5GyW++zo50gzBncZPswXGNwvz7DH6yGhsXsLfPZpqvyLZBxqYh3cIGDUSUmuuQg7H9R8TJ+wx1neJJI8; + Expires=Wed, 29 Sep 2021 15:29:58 GMT; Path=/ + - AWSALBTGCORS=JUDA6Dm/K64qby1QPnDJCdYYv6ImJLBOSP/M7yfFe1b9o0i3XVN1nHpewzLsKIrpCg44GykSwB6N0ZbsB6ZJf2D9j6+Y5GyW++zo50gzBncZPswXGNwvz7DH6yGhsXsLfPZpqvyLZBxqYh3cIGDUSUmuuQg7H9R8TJ+wx1neJJI8; + Expires=Wed, 29 Sep 2021 15:29:58 GMT; Path=/; SameSite=None; Secure + - csrftoken=wZ5BoVwHpnwWU60kMiIXCex25PYbyOHOJElXJ0V9SfOHpBvFtiDSvWJWC6s7NLQM; + expires=Wed, 21 Sep 2022 15:29:59 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=en2jvph777ifmllg6twsnp8vgql1tezm; expires=Wed, 06 Oct 2021 15:29:59 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Location: - - https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/templates/512bb619-7a89-4b49-a375-5ac8cd6c8219/ + - https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/templates/91d72483-2368-4568-a78e-fd803d4944cb/ Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '477' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=b22H8BHH5POizrx9rz63mUOCjbhLozgXvuehIvUWDrdXEvX2Hu75UaTSLHlJiKqQ; - expires=Tue, 02 Aug 2022 19:33:21 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=s9t9nw5437hmphya5h8kmpb1yxe43elq; expires=Tue, 17 Aug 2021 19:33:21 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"url":"https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/templates/512bb619-7a89-4b49-a375-5ac8cd6c8219/","id":"512bb619-7a89-4b49-a375-5ac8cd6c8219","name":"two","description":"","body":"tmpl2 - {{two}}","parameters":["https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/parameters/654e9244-c5e0-4a87-a4d5-33d76fb1ff01/"],"has_secret":true,"created_at":"2021-08-03T19:33:21.386933Z","modified_at":"2021-08-03T19:33:21.386982Z"}' - recorded_at: Tue, 03 Aug 2021 19:33:21 GMT + string: '{"url":"https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/templates/91d72483-2368-4568-a78e-fd803d4944cb/","id":"91d72483-2368-4568-a78e-fd803d4944cb","name":"two","description":"","body":"tmpl2 + {{two}}","parameters":["https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/parameters/b5c7553a-6661-4829-9cc5-86537e836b91/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:29:59.007151Z","modified_at":"2021-09-22T15:29:59.007151Z"}' + recorded_at: Wed, 22 Sep 2021 15:29:58 GMT - request: method: get - uri: https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/templates/ + uri: https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/templates/ body: encoding: US-ASCII string: '' @@ -430,7 +516,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -442,35 +528,43 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:33:22 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:29:59 GMT Content-Type: - application/json + Content-Length: + - '1091' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=8bs5/bt3VRzZ0lIc3rkR2IP4IMq2Kx3SFMmjAiWxloteUVsrbzCsZf/LyIGuMa2qlrFGle+Db3CYxMYE1+f6xZEalN1vILBvmV0E/Emgwm7daVwKx2nWqLVuSiFx; + Expires=Wed, 29 Sep 2021 15:29:59 GMT; Path=/ + - AWSALBCORS=8bs5/bt3VRzZ0lIc3rkR2IP4IMq2Kx3SFMmjAiWxloteUVsrbzCsZf/LyIGuMa2qlrFGle+Db3CYxMYE1+f6xZEalN1vILBvmV0E/Emgwm7daVwKx2nWqLVuSiFx; + Expires=Wed, 29 Sep 2021 15:29:59 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=xWLZu+Fiz2PIsXHR20I8Kauudb5z3v+gqbeYCGYGT/zcRBYfwUIUbRQWqnaT3iog62EgChgVBduA2myQTU/lEKh7aNqzX9kEb8+AgWyCuJmFzIP/odIHC4RVnEiCNlHZvRu0dU2W8X7jXTaBW5mac6UCHN2kGdCqhi6oGZe56CUX; + Expires=Wed, 29 Sep 2021 15:29:59 GMT; Path=/ + - AWSALBTGCORS=xWLZu+Fiz2PIsXHR20I8Kauudb5z3v+gqbeYCGYGT/zcRBYfwUIUbRQWqnaT3iog62EgChgVBduA2myQTU/lEKh7aNqzX9kEb8+AgWyCuJmFzIP/odIHC4RVnEiCNlHZvRu0dU2W8X7jXTaBW5mac6UCHN2kGdCqhi6oGZe56CUX; + Expires=Wed, 29 Sep 2021 15:29:59 GMT; Path=/; SameSite=None; Secure + - csrftoken=4AVGGc5c31uFm2Y6G2htWQ0hlZp8zL44ltYUteGLV6QZypot8iotKx8riqczdP9B; + expires=Wed, 21 Sep 2022 15:29:59 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=qpyye9nut8pfgr3n0vik4f3iyc4o371x; expires=Wed, 06 Oct 2021 15:29:59 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '1008' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=kaUU0e4YjYZSqpc2vMfPQVRWFtXSvHf4iHaWCBjoY4a6cZ8Cn996gah5cFTvrpiu; - expires=Tue, 02 Aug 2022 19:33:22 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=9o20i972qz2sf2igoqvy20xpisz2ig1y; expires=Tue, 17 Aug 2021 19:33:22 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/templates/75710296-9c75-409b-9930-58120abfa19a/","id":"75710296-9c75-409b-9930-58120abfa19a","name":"one","description":"","body":"tmpl1 - {{one}}","parameters":["https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/parameters/ed763b43-e367-4fff-b743-31e1de7b5461/"],"has_secret":false,"created_at":"2021-08-03T19:33:20.386259Z","modified_at":"2021-08-03T19:33:20.386351Z"},{"url":"https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/templates/512bb619-7a89-4b49-a375-5ac8cd6c8219/","id":"512bb619-7a89-4b49-a375-5ac8cd6c8219","name":"two","description":"","body":"tmpl2 - {{two}}","parameters":["https://localhost:8000/api/v1/projects/ef203154-caf8-42ad-80c9-eb7e39aea1e9/parameters/654e9244-c5e0-4a87-a4d5-33d76fb1ff01/"],"has_secret":true,"created_at":"2021-08-03T19:33:21.386933Z","modified_at":"2021-08-03T19:33:21.386982Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:33:22 GMT + string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/templates/d6bbfbea-0a7a-4dda-abd0-f09e249dab71/","id":"d6bbfbea-0a7a-4dda-abd0-f09e249dab71","name":"one","description":"","body":"tmpl1 + {{one}}","parameters":["https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/parameters/869f01c7-6ce8-4b11-9259-4f11a0fb4cba/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:29:58.526928Z","modified_at":"2021-09-22T15:29:58.526928Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/templates/91d72483-2368-4568-a78e-fd803d4944cb/","id":"91d72483-2368-4568-a78e-fd803d4944cb","name":"two","description":"","body":"tmpl2 + {{two}}","parameters":["https://api.cloudtruth.io/api/v1/projects/3fdbc09e-2a93-4c1e-9f09-c38d548ac77e/parameters/b5c7553a-6661-4829-9cc5-86537e836b91/"],"references":[],"referenced_by":[],"has_secret":false,"created_at":"2021-09-22T15:29:59.007151Z","modified_at":"2021-09-22T15:29:59.007151Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:29:59 GMT recorded_with: VCR 6.0.0 diff --git a/spec/fixtures/vcr/Kubetruth_CtApi/validate_async/does_api_requests_concurrently.yml b/spec/fixtures/vcr/Kubetruth_CtApi/validate_async/does_api_requests_concurrently.yml index a50d3d9..878d3a7 100644 --- a/spec/fixtures/vcr/Kubetruth_CtApi/validate_async/does_api_requests_concurrently.yml +++ b/spec/fixtures/vcr/Kubetruth_CtApi/validate_async/does_api_requests_concurrently.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://localhost:8000/api/v1/projects/ + uri: https://api.cloudtruth.io/api/v1/projects/ body: encoding: US-ASCII string: '' @@ -10,7 +10,7 @@ http_interactions: Content-Type: - application/json User-Agent: - - kubetruth/1.0.1 + - kubetruth/1.0.4 Accept: - application/json Authorization: @@ -22,34 +22,53 @@ http_interactions: code: 200 message: OK headers: - Server: - - undisclosed Date: - - Tue, 03 Aug 2021 19:34:13 GMT - Connection: - - close + - Wed, 22 Sep 2021 15:30:24 GMT Content-Type: - application/json + Content-Length: + - '4888' + Connection: + - keep-alive + Set-Cookie: + - AWSALB=/kgKK3bUwalnkBBk+fUBZgaQvhH23CY/BPwc2XSo7BknmYiQTglfuzfAU9ZZLjyYdz58+Kueg+93IhcaFTGgW8KN6I6a9kmJrjYXfBCwxSCIMf1ixqEsnaHDx7xa; + Expires=Wed, 29 Sep 2021 15:30:24 GMT; Path=/ + - AWSALBCORS=/kgKK3bUwalnkBBk+fUBZgaQvhH23CY/BPwc2XSo7BknmYiQTglfuzfAU9ZZLjyYdz58+Kueg+93IhcaFTGgW8KN6I6a9kmJrjYXfBCwxSCIMf1ixqEsnaHDx7xa; + Expires=Wed, 29 Sep 2021 15:30:24 GMT; Path=/; SameSite=None; Secure + - AWSALBTG=rBJeMPL2ucOjTYB0fwbNhJ1AVEFE0Ssq3r+/dauGv1WvHtYE9T2qnO9Db6+RrCNxYC/X0cy9uPVNIuKY06jTODSBk1CIAYDlxUzzRBw/xWMDh6X/vLUpBjeNgpoWjV3/pKt+F3Qc0r0JYvRJSBAtmMTvl6o8KU35iOeiSq16ir65; + Expires=Wed, 29 Sep 2021 15:30:24 GMT; Path=/ + - AWSALBTGCORS=rBJeMPL2ucOjTYB0fwbNhJ1AVEFE0Ssq3r+/dauGv1WvHtYE9T2qnO9Db6+RrCNxYC/X0cy9uPVNIuKY06jTODSBk1CIAYDlxUzzRBw/xWMDh6X/vLUpBjeNgpoWjV3/pKt+F3Qc0r0JYvRJSBAtmMTvl6o8KU35iOeiSq16ir65; + Expires=Wed, 29 Sep 2021 15:30:24 GMT; Path=/; SameSite=None; Secure + - csrftoken=4sNVwTOEnjrKO5hGMr7abbDpl1tG7LNHrXLlvZ10KdBoll03dZ42LxHeCleKyWEY; + expires=Wed, 21 Sep 2022 15:30:24 GMT; Max-Age=31449600; Path=/; SameSite=Lax + - sessionid=a6k2pp0z5up92kytu5o1aslmecbl296w; expires=Wed, 06 Oct 2021 15:30:24 + GMT; Max-Age=1209600; Path=/; Secure + Server: + - undisclosed Vary: - Accept, Cookie, Origin Allow: - GET, POST, HEAD, OPTIONS X-Frame-Options: - DENY - Content-Length: - - '610' X-Content-Type-Options: - nosniff Referrer-Policy: - same-origin - Set-Cookie: - - csrftoken=ErUN0pHBKV10JBtt4wU2GI2HzEYOI4RfGsgeMabG6XtfXQBS2GtLfLQuaDSkTbp7; - expires=Tue, 02 Aug 2022 19:34:13 GMT; Max-Age=31449600; Path=/; SameSite=Lax - - sessionid=4mqe404lk6uf2gjr357snmttjwij36x1; expires=Tue, 17 Aug 2021 19:34:13 - GMT; Max-Age=1209600; Path=/; Secure body: encoding: UTF-8 - string: '{"count":2,"next":null,"previous":null,"results":[{"url":"https://localhost:8000/api/v1/projects/650a3510-56d7-4af9-93ae-ee9db1c50a18/","id":"650a3510-56d7-4af9-93ae-ee9db1c50a18","name":"MyFirstProject","description":"A - first project workspace to experiment with","created_at":"2021-08-02T14:22:36.009207Z","modified_at":"2021-08-02T14:22:36.009254Z"},{"url":"https://localhost:8000/api/v1/projects/13d374ab-a678-4538-a918-94f3daf7622a/","id":"13d374ab-a678-4538-a918-94f3daf7622a","name":"TestProject","description":"","created_at":"2021-08-03T19:34:01.127019Z","modified_at":"2021-08-03T19:34:01.127054Z"}]}' - recorded_at: Tue, 03 Aug 2021 19:34:13 GMT + string: '{"count":17,"next":null,"previous":null,"results":[{"url":"https://api.cloudtruth.io/api/v1/projects/1a7b786e-9c62-4258-aef2-6cfd75c41a59/","id":"1a7b786e-9c62-4258-aef2-6cfd75c41a59","name":"cfdemo","description":"Configuration + used to demo a CloudFormation prototype integration","created_at":"2021-07-21T20:05:26.661951Z","modified_at":"2021-07-26T18:44:53.124105Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/4fe2fe3c-c663-41af-8d63-ec5527a621c0/","id":"4fe2fe3c-c663-41af-8d63-ec5527a621c0","name":"common","description":"Shared + across all projects","created_at":"2021-07-21T20:22:47.273990Z","modified_at":"2021-07-26T18:45:24.199158Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/dcb265f5-ce89-4e00-8b28-7ce873747b97/","id":"dcb265f5-ce89-4e00-8b28-7ce873747b97","name":"common-service","description":"The + config common across just services","created_at":"2021-07-21T20:24:07.189252Z","modified_at":"2021-07-26T18:46:23.320973Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/8f3c29e6-3383-496f-a8e9-26dc6f25eb3c/","id":"8f3c29e6-3383-496f-a8e9-26dc6f25eb3c","name":"default","description":"The + auto-generated default project.","created_at":"2021-07-21T20:24:25.911923Z","modified_at":"2021-07-26T18:46:34.255479Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5/","id":"daf9dcaa-9b5d-42fe-8fc3-3a69cfcf4dc5","name":"deploy","description":"Configuration + needed for the deploy process from CI","created_at":"2021-07-21T20:24:38.629815Z","modified_at":"2021-07-26T18:46:51.707890Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/244cec03-28c2-47cc-85ae-303bda5ba6cf/","id":"244cec03-28c2-47cc-85ae-303bda5ba6cf","name":"deploytest","description":"test + the ability for kubetruth apply a deployment","created_at":"2021-08-19T13:36:42.635514Z","modified_at":"2021-09-01T16:05:27.884111Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/f7fbefb5-a083-483d-bc33-131065854a06/","id":"f7fbefb5-a083-483d-bc33-131065854a06","name":"filetest","description":"","created_at":"2021-08-27T18:06:21.251281Z","modified_at":"2021-08-27T18:59:13.539538Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/de0e3a04-a86c-4ad2-b358-08a1743813ce/","id":"de0e3a04-a86c-4ad2-b358-08a1743813ce","name":"inflatetest","description":"","created_at":"2021-08-06T15:38:52.135503Z","modified_at":"2021-08-06T15:38:52.135524Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/530170b8-2193-4b37-a572-72860891740a/","id":"530170b8-2193-4b37-a572-72860891740a","name":"k8s-myapp-nginx","description":"","created_at":"2021-09-08T15:25:27.550873Z","modified_at":"2021-09-10T13:58:16.939366Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/5e2e8c45-fd14-4611-8e75-d825b97e01e8/","id":"5e2e8c45-fd14-4611-8e75-d825b97e01e8","name":"kubetruth","description":"Configuration + for managing kubetruth","created_at":"2021-07-23T16:17:57.275843Z","modified_at":"2021-09-16T15:08:10.717054Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/1703265e-03d4-4e75-8b94-713d34afda67/","id":"1703265e-03d4-4e75-8b94-713d34afda67","name":"service","description":"The + config for the backend service","created_at":"2021-07-23T16:18:02.643856Z","modified_at":"2021-07-26T18:49:56.904159Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/75732f0b-c0c9-4479-9293-f87bc5a8969c/","id":"75732f0b-c0c9-4479-9293-f87bc5a8969c","name":"service-demo1","description":"The + config for demo backend service","created_at":"2021-07-23T16:18:04.391855Z","modified_at":"2021-07-26T18:49:58.780103Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cb32e767-36b2-4bdc-836f-a85014837a93/","id":"cb32e767-36b2-4bdc-836f-a85014837a93","name":"service-demo2","description":"The + config for demo2 service","created_at":"2021-07-23T16:18:26.748760Z","modified_at":"2021-07-26T18:50:23.926198Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/2913f375-83ab-46b2-aeff-4158cd4d35c7/","id":"2913f375-83ab-46b2-aeff-4158cd4d35c7","name":"service-demo3","description":"The + config for demo3 service","created_at":"2021-07-23T16:18:29.507805Z","modified_at":"2021-07-26T18:50:25.974144Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/9d70bf39-7e52-46f2-87d9-6ed29f627b6b/","id":"9d70bf39-7e52-46f2-87d9-6ed29f627b6b","name":"templatetest","description":"","created_at":"2021-08-04T14:29:09.639496Z","modified_at":"2021-08-04T14:29:09.639518Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/833c57f6-abdd-415f-8c65-09efc5f55e0e/","id":"833c57f6-abdd-415f-8c65-09efc5f55e0e","name":"TestProject","description":"","created_at":"2021-09-22T15:30:16.657407Z","modified_at":"2021-09-22T15:30:22.562231Z"},{"url":"https://api.cloudtruth.io/api/v1/projects/cd9c51fc-1328-4fbe-beac-333627afa8ab/","id":"cd9c51fc-1328-4fbe-beac-333627afa8ab","name":"web","description":"The + config for the web frontend","created_at":"2021-07-23T16:18:31.102443Z","modified_at":"2021-07-26T18:50:28.022395Z"}]}' + recorded_at: Wed, 22 Sep 2021 15:30:24 GMT recorded_with: VCR 6.0.0 diff --git a/spec/kubetruth/ctapi_spec.rb b/spec/kubetruth/ctapi_spec.rb index bc56eb6..283838d 100644 --- a/spec/kubetruth/ctapi_spec.rb +++ b/spec/kubetruth/ctapi_spec.rb @@ -20,6 +20,21 @@ module Kubetruth instance } + def create_project_fixture + @project_name = "TestProject" + existing = ctapi.apis[:projects].projects_list.results + existing.each do |proj| + if proj.name == @project_name + ctapi.apis[:projects].projects_destroy(proj.id) + end + end + + ctapi.apis[:projects].projects_create(CloudtruthClient::ProjectCreate.new(name: @project_name)) + @project_id = ctapi.projects[@project_name] + @one_param = ctapi.apis[:projects].projects_parameters_create(@project_id, CloudtruthClient::ParameterCreate.new(name: "one")) + @two_param = ctapi.apis[:projects].projects_parameters_create(@project_id, CloudtruthClient::ParameterCreate.new(name: "two")) + end + describe "instance" do it "fails if not configured" do @@ -73,9 +88,13 @@ module Kubetruth describe "#projects" do + before(:each) do + create_project_fixture + end + it "gets projects" do - expect(ctapi.projects).to match hash_including("MyFirstProject") - expect(ctapi.project_names).to match array_including("MyFirstProject") + expect(ctapi.projects).to match hash_including(@project_name) + expect(ctapi.project_names).to match array_including(@project_name) end it "memoizes projects " do @@ -87,9 +106,13 @@ module Kubetruth describe "#project_id" do + before(:each) do + create_project_fixture + end + it "gets id" do - expect(ctapi.projects).to match hash_including("MyFirstProject") - expect(ctapi.project_id("MyFirstProject")).to be_present + expect(ctapi.projects).to match hash_including(@project_name) + expect(ctapi.project_id(@project_name)).to be_present expect(Logging.contents).to_not match(/Unknown project, retrying/) end @@ -99,22 +122,10 @@ module Kubetruth end - describe "#parameters" do before(:each) do - @project_name = "TestProject" - existing = ctapi.apis[:projects].projects_list.results - existing.each do |proj| - if proj.name == @project_name - ctapi.apis[:projects].projects_destroy(proj.id) - end - end - - ctapi.apis[:projects].projects_create(CloudtruthClient::ProjectCreate.new(name: @project_name)) - @project_id = ctapi.projects[@project_name] - @one_param = ctapi.apis[:projects].projects_parameters_create(@project_id, CloudtruthClient::ParameterCreate.new(name: "one")) - @two_param = ctapi.apis[:projects].projects_parameters_create(@project_id, CloudtruthClient::ParameterCreate.new(name: "two")) + create_project_fixture end it "gets parameters" do @@ -125,7 +136,7 @@ module Kubetruth it "doesn't expose secret in debug log" do three_param = ctapi.apis[:projects].projects_parameters_create(@project_id, CloudtruthClient::ParameterCreate.new(name: "three", secret: true)) - ctapi.apis[:projects].projects_parameters_values_create(three_param.id, @project_id, CloudtruthClient::ValueCreate.new(environment: ctapi.environment_id("default"), dynamic: false, static_value: "defaultthree")) + ctapi.apis[:projects].projects_parameters_values_create(three_param.id, @project_id, CloudtruthClient::ValueCreate.new(environment: ctapi.environment_id("default"), external: false, internal_value: "defaultthree")) params = ctapi.parameters(project: @project_name) secrets = params.find {|p| p.secret } expect(secrets.size).to_not eq(0) @@ -134,10 +145,10 @@ module Kubetruth end it "uses environment to get values" do - ctapi.apis[:projects].projects_parameters_values_create(@one_param.id, @project_id, CloudtruthClient::ValueCreate.new(environment: ctapi.environment_id("default"), dynamic: false, static_value: "defaultone")) - ctapi.apis[:projects].projects_parameters_values_create(@one_param.id, @project_id, CloudtruthClient::ValueCreate.new(environment: ctapi.environment_id("development"), dynamic: false, static_value: "developmentone")) - ctapi.apis[:projects].projects_parameters_values_create(@two_param.id, @project_id, CloudtruthClient::ValueCreate.new(environment: ctapi.environment_id("default"), dynamic: false, static_value: "defaulttwo")) - ctapi.apis[:projects].projects_parameters_values_create(@two_param.id, @project_id, CloudtruthClient::ValueCreate.new(environment: ctapi.environment_id("development"), dynamic: false, static_value: "developmenttwo")) + ctapi.apis[:projects].projects_parameters_values_create(@one_param.id, @project_id, CloudtruthClient::ValueCreate.new(environment: ctapi.environment_id("default"), external: false, internal_value: "defaultone")) + ctapi.apis[:projects].projects_parameters_values_create(@one_param.id, @project_id, CloudtruthClient::ValueCreate.new(environment: ctapi.environment_id("development"), external: false, internal_value: "developmentone")) + ctapi.apis[:projects].projects_parameters_values_create(@two_param.id, @project_id, CloudtruthClient::ValueCreate.new(environment: ctapi.environment_id("default"), external: false, internal_value: "defaulttwo")) + ctapi.apis[:projects].projects_parameters_values_create(@two_param.id, @project_id, CloudtruthClient::ValueCreate.new(environment: ctapi.environment_id("development"), external: false, internal_value: "developmenttwo")) params = ctapi.parameters(project: @project_name, environment: "default") expect(params.collect(&:value)).to eq(["defaultone", "defaulttwo"]) @@ -145,23 +156,23 @@ module Kubetruth expect(params.collect(&:value)).to eq(["developmentone", "developmenttwo"]) end + it "gets types with parameters" do + bool_param = ctapi.apis[:projects].projects_parameters_create(@project_id, CloudtruthClient::ParameterCreate.new(name: "bool_param", type: CloudtruthClient::ParameterTypeEnum::BOOL)) + int_param = ctapi.apis[:projects].projects_parameters_create(@project_id, CloudtruthClient::ParameterCreate.new(name: "int_param", type: CloudtruthClient::ParameterTypeEnum::INTEGER)) + ctapi.apis[:projects].projects_parameters_values_create(bool_param.id, @project_id, CloudtruthClient::ValueCreate.new(environment: ctapi.environment_id("default"), external: false, internal_value: "true")) + ctapi.apis[:projects].projects_parameters_values_create(int_param.id, @project_id, CloudtruthClient::ValueCreate.new(environment: ctapi.environment_id("default"), external: false, internal_value: "3")) + + params = ctapi.parameters(project: @project_name) + expect(params.find {|p| p.key == "bool_param" }.value).to eq(true) + expect(params.find {|p| p.key == "int_param" }.value).to eq(3) + end + end describe "#templates" do before(:each) do - @project_name = "TestProject" - existing = ctapi.apis[:projects].projects_list.results - existing.each do |proj| - if proj.name == @project_name - ctapi.apis[:projects].projects_destroy(proj.id) - end - end - - ctapi.apis[:projects].projects_create(CloudtruthClient::ProjectCreate.new(name: @project_name)) - @project_id = ctapi.projects[@project_name] - @one_param = ctapi.apis[:projects].projects_parameters_create(@project_id, CloudtruthClient::ParameterCreate.new(name: "one")) - @two_param = ctapi.apis[:projects].projects_parameters_create(@project_id, CloudtruthClient::ParameterCreate.new(name: "two", secret: true)) + create_project_fixture @one_tmpl = ctapi.apis[:projects].projects_templates_create(@project_id, CloudtruthClient::TemplateCreate.new(name: "one", body: "tmpl1 {{one}}")) @two_tmpl = ctapi.apis[:projects].projects_templates_create(@project_id, CloudtruthClient::TemplateCreate.new(name: "two", body: "tmpl2 {{two}}")) end @@ -193,15 +204,18 @@ module Kubetruth describe "#template" do it "gets template" do - ctapi.apis[:projects].projects_parameters_values_create(@one_param.id, @project_id, CloudtruthClient::ValueCreate.new(environment: ctapi.environment_id("default"), dynamic: false, static_value: "defaultone")) + ctapi.apis[:projects].projects_parameters_values_create(@one_param.id, @project_id, CloudtruthClient::ValueCreate.new(environment: ctapi.environment_id("default"), external: false, internal_value: "defaultone")) expect(ctapi.template("one", project: @project_name, environment: "default")).to eq("tmpl1 defaultone") expect(Logging.contents).to match(/Template Retrieve query result.*tmpl1 defaultone/) end it "masks secrets in log for templates that reference them" do - ctapi.apis[:projects].projects_parameters_values_create(@two_param.id, @project_id, CloudtruthClient::ValueCreate.new(environment: ctapi.environment_id("default"), dynamic: false, static_value: "defaulttwo")) - expect(ctapi.template("two", project: @project_name, environment: "default")).to eq("tmpl2 defaulttwo") - expect(Logging.contents).to_not match(/Template Retrieve query result.*tmpl2 defaulttwo/) + @three_param = ctapi.apis[:projects].projects_parameters_create(@project_id, CloudtruthClient::ParameterCreate.new(name: "three", secret: true)) + ctapi.apis[:projects].projects_parameters_values_create(@three_param.id, @project_id, CloudtruthClient::ValueCreate.new(environment: ctapi.environment_id("default"), external: false, internal_value: "defaultthree")) + @three_tmpl = ctapi.apis[:projects].projects_templates_create(@project_id, CloudtruthClient::TemplateCreate.new(name: "three", body: "tmpl3 {{three}}")) + + expect(ctapi.template("three", project: @project_name, environment: "default")).to eq("tmpl3 defaultthree") + expect(Logging.contents).to_not match(/Template Retrieve query result.*tmpl3 defaultthree/) expect(Logging.contents).to match(/Template Retrieve query result.*/) end