From 02b3aaf492d74c88a2504bfa3d0c114e8b51991b Mon Sep 17 00:00:00 2001 From: Jeremy Meng Date: Fri, 5 Nov 2021 23:09:10 +0000 Subject: [PATCH 1/4] [core-rest-pipeline] handle `x-www-form-urlencoded` form data Currently `formDataPolicy` doesn't support x-www-form-urlencoded form data. Sending request with such form data would cause `write EPIPE` error. This PR adds handling of `x-www-form-urlencoded` form data. With this the workaround in container registry library can be removed. --- .../src/containerRegistryTokenCredential.ts | 114 +++--------------- sdk/core/core-rest-pipeline/CHANGELOG.md | 2 + .../src/policies/formDataPolicy.browser.ts | 38 +++--- .../src/policies/formDataPolicy.ts | 9 +- .../core-rest-pipeline/src/util/helpers.ts | 24 ++++ .../test/formDataPolicy.spec.ts | 72 +++++++++++ 6 files changed, 142 insertions(+), 117 deletions(-) create mode 100644 sdk/core/core-rest-pipeline/test/formDataPolicy.spec.ts diff --git a/sdk/containerregistry/container-registry/src/containerRegistryTokenCredential.ts b/sdk/containerregistry/container-registry/src/containerRegistryTokenCredential.ts index 8b68764b1973..3cd2f406fda9 100644 --- a/sdk/containerregistry/container-registry/src/containerRegistryTokenCredential.ts +++ b/sdk/containerregistry/container-registry/src/containerRegistryTokenCredential.ts @@ -1,11 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { createSerializer, OperationOptions, OperationSpec } from "@azure/core-client"; import { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-auth"; -import { AcrAccessToken, AcrRefreshToken, GeneratedClient } from "./generated"; -import * as Mappers from "./generated/models/mappers"; -import * as Parameters from "./generated/models/parameters"; +import { GeneratedClient } from "./generated"; import { base64decode } from "./utils/base64"; export interface ContainerRegistryGetTokenOptions extends GetTokenOptions { @@ -45,60 +42,6 @@ export class ContainerRegistryRefreshTokenCredential implements TokenCredential } } -const customExchangeAadTokenForAcrRefreshTokenOperationSpec: OperationSpec = { - path: "/oauth2/exchange", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.AcrRefreshToken - }, - default: { - bodyMapper: Mappers.AcrErrors - } - }, - // formDataParameters: [Parameters.aadAccesstoken], - requestBody: { - parameterPath: ["options", "payload"], - mapper: { - type: { - name: "Stream" - } - } - }, - urlParameters: [Parameters.url], - headerParameters: [Parameters.contentType3, Parameters.accept4], - serializer: createSerializer(Mappers, /* isXml */ false) -}; - -interface CustomAuthOptions extends OperationOptions { - payload: string; -} - -const customExchangeAcrRefreshTokenForAcrAccessTokenOperationSpec: OperationSpec = { - path: "/oauth2/token", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.AcrAccessToken - }, - default: { - bodyMapper: Mappers.AcrErrors - } - }, - // formDataParameters: [Parameters.acrRefreshToken], - requestBody: { - parameterPath: ["options", "payload"], - mapper: { - type: { - name: "Stream" - } - } - }, - urlParameters: [Parameters.url], - headerParameters: [Parameters.contentType3, Parameters.accept4], - serializer: createSerializer(Mappers, /* isXml */ false) -}; - export class ContainerRegistryTokenService { constructor(private authClient: GeneratedClient) {} @@ -107,28 +50,14 @@ export class ContainerRegistryTokenService { service: string, options: GetTokenOptions ): Promise { - // const acrRefreshToken = await this.authClient.authentication.exchangeAadTokenForAcrRefreshToken( - // { - // aadAccesstoken: { - // grantType: "access_token", - // service, - // aadAccesstoken: aadAccessToken, - // } - // } - // ); - - // TODO: (jeremymeng) revert custom sendOperationRequest call after FormData is working in core - const payload = `grant_type=access_token&service=${encodeURIComponent( - service - )}&access_token=${encodeURIComponent(aadAccessToken)}`; - const customOptions: CustomAuthOptions = { - payload - }; - const acrRefreshToken = await this.authClient.sendOperationRequest( - { options: { ...options, ...customOptions } }, - customExchangeAadTokenForAcrRefreshTokenOperationSpec + const acrRefreshToken = await this.authClient.authentication.exchangeAadAccessTokenForAcrRefreshToken( + "access_token", + service, + { + ...options, + accessToken: aadAccessToken + } ); - if (!acrRefreshToken.refreshToken) { throw new Error("Failed to exchange AAD access token for an ACR refresh token."); } @@ -162,27 +91,12 @@ export class ContainerRegistryTokenService { grantType: "refresh_token" | "password", options: GetTokenOptions ): Promise { - // const acrAccessToken = await this.authClient.authentication.exchangeAcrRefreshTokenForAcrAccessToken( - // { - // acrRefreshToken: { - // grantType: "refresh_token", - // acrRefreshToken, - // service, - // scope - // } - // } - // ); - - // TODO: (jeremymeng) revert custom sendOperationRequest call after FormData is working in core - const payload = `grant_type=${grantType}&service=${encodeURIComponent(service)}&refresh_token=${ - acrRefreshToken ? encodeURIComponent(acrRefreshToken) : "" - }&scope=${encodeURIComponent(scope)}`; - const customOptions: CustomAuthOptions = { - payload - }; - const acrAccessToken = await this.authClient.sendOperationRequest( - { options: { ...options, ...customOptions } }, - customExchangeAcrRefreshTokenForAcrAccessTokenOperationSpec + const acrAccessToken = await this.authClient.authentication.exchangeAcrRefreshTokenForAcrAccessToken( + service, + scope, + acrRefreshToken, + grantType, + options ); if (!acrAccessToken.accessToken) { diff --git a/sdk/core/core-rest-pipeline/CHANGELOG.md b/sdk/core/core-rest-pipeline/CHANGELOG.md index 7e5085ebdeec..f7abf80c259e 100644 --- a/sdk/core/core-rest-pipeline/CHANGELOG.md +++ b/sdk/core/core-rest-pipeline/CHANGELOG.md @@ -8,6 +8,8 @@ ### Bugs Fixed +- Form data of `application/x-www-form-urlencoded` are now sent properly. + ### Other Changes ## 1.3.2 (2021-11-04) diff --git a/sdk/core/core-rest-pipeline/src/policies/formDataPolicy.browser.ts b/sdk/core/core-rest-pipeline/src/policies/formDataPolicy.browser.ts index 7b75c2f6f8b6..8004dfa15185 100644 --- a/sdk/core/core-rest-pipeline/src/policies/formDataPolicy.browser.ts +++ b/sdk/core/core-rest-pipeline/src/policies/formDataPolicy.browser.ts @@ -3,6 +3,7 @@ import { PipelineResponse, PipelineRequest, SendRequest } from "../interfaces"; import { PipelinePolicy } from "../pipeline"; +import { urlEncode } from "../util/helpers"; /** * The programmatic identifier of the formDataPolicy. @@ -17,25 +18,30 @@ export function formDataPolicy(): PipelinePolicy { name: formDataPolicyName, async sendRequest(request: PipelineRequest, next: SendRequest): Promise { if (request.formData) { - const formData = request.formData; - const requestForm = new FormData(); - for (const formKey of Object.keys(formData)) { - const formValue = formData[formKey]; - if (Array.isArray(formValue)) { - for (const subValue of formValue) { - requestForm.append(formKey, subValue); + const contentType = request.headers.get("Content-Type"); + if (contentType && contentType.indexOf("application/x-www-form-urlencoded") !== -1) { + request.body = urlEncode(request.formData); + request.formData = undefined; + } else { + const formData = request.formData; + const requestForm = new FormData(); + for (const formKey of Object.keys(formData)) { + const formValue = formData[formKey]; + if (Array.isArray(formValue)) { + for (const subValue of formValue) { + requestForm.append(formKey, subValue); + } + } else { + requestForm.append(formKey, formValue); } - } else { - requestForm.append(formKey, formValue); } - } - request.body = requestForm; - request.formData = undefined; - const contentType = request.headers.get("Content-Type"); - if (contentType && contentType.indexOf("multipart/form-data") !== -1) { - // browser will automatically apply a suitable content-type header - request.headers.delete("Content-Type"); + request.body = requestForm; + request.formData = undefined; + if (contentType && contentType.indexOf("multipart/form-data") !== -1) { + // browser will automatically apply a suitable content-type header + request.headers.delete("Content-Type"); + } } } return next(request); diff --git a/sdk/core/core-rest-pipeline/src/policies/formDataPolicy.ts b/sdk/core/core-rest-pipeline/src/policies/formDataPolicy.ts index ca67860eb255..ecfdcd403223 100644 --- a/sdk/core/core-rest-pipeline/src/policies/formDataPolicy.ts +++ b/sdk/core/core-rest-pipeline/src/policies/formDataPolicy.ts @@ -4,6 +4,7 @@ import FormData from "form-data"; import { PipelineResponse, PipelineRequest, SendRequest, FormDataMap } from "../interfaces"; import { PipelinePolicy } from "../pipeline"; +import { urlEncode } from "../util/helpers"; /** * The programmatic identifier of the formDataPolicy. @@ -18,7 +19,13 @@ export function formDataPolicy(): PipelinePolicy { name: formDataPolicyName, async sendRequest(request: PipelineRequest, next: SendRequest): Promise { if (request.formData) { - prepareFormData(request.formData, request); + const contentType = request.headers.get("Content-Type"); + if (contentType && contentType.indexOf("application/x-www-form-urlencoded") !== -1) { + request.body = urlEncode(request.formData); + request.formData = undefined; + } else { + prepareFormData(request.formData, request); + } } return next(request); } diff --git a/sdk/core/core-rest-pipeline/src/util/helpers.ts b/sdk/core/core-rest-pipeline/src/util/helpers.ts index adf8dff61422..0c9d1753bd5c 100644 --- a/sdk/core/core-rest-pipeline/src/util/helpers.ts +++ b/sdk/core/core-rest-pipeline/src/util/helpers.ts @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. +import { FormDataMap } from "../interfaces"; + /** * A constant that indicates whether the environment the code is running is Node.JS. * @internal @@ -57,3 +59,25 @@ export function isObject(input: unknown): input is UnknownObject { !(input instanceof Date) ); } + +/** + * @internal + * @returns result of form data encoded for application/x-www-form-urlencoded content type. + * See https://www.w3.org/TR/html401/interact/forms.html#h-17.13.4 for more details. + */ +export function urlEncode(formData: FormDataMap) { + const result: string[] = []; + for (const formKey of Object.keys(formData)) { + const formValue = formData[formKey]; + let value = ""; + if (Array.isArray(formValue)) { + for (const subValue of formValue) { + value += `${encodeURIComponent(formKey)}=${encodeURIComponent(String(subValue))}`; + } + } else { + value += `${encodeURIComponent(formKey)}=${encodeURIComponent(String(formValue))}`; + } + result.push(value); + } + return result.join("&"); +} diff --git a/sdk/core/core-rest-pipeline/test/formDataPolicy.spec.ts b/sdk/core/core-rest-pipeline/test/formDataPolicy.spec.ts new file mode 100644 index 000000000000..253ba9c5b30f --- /dev/null +++ b/sdk/core/core-rest-pipeline/test/formDataPolicy.spec.ts @@ -0,0 +1,72 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { assert } from "chai"; +import * as sinon from "sinon"; +import { + createPipelineRequest, + SendRequest, + PipelineResponse, + createHttpHeaders, + formDataPolicy +} from "../src"; + +describe.only("formDataPolicy", function() { + afterEach(function() { + sinon.restore(); + }); + + it("prepares x-www-form-urlencoded form data correctly", async function() { + const request = createPipelineRequest({ + url: "https://bing.com", + headers: createHttpHeaders({ + "Content-Type": "application/x-www-form-urlencoded" + }) + }); + request.formData = { + service: "registry.azurecr.io", + scope: "repository:library/hello-world:metadata_read" + }; + const successResponse: PipelineResponse = { + headers: createHttpHeaders(), + request, + status: 200 + }; + const next = sinon.stub, ReturnType>(); + next.resolves(successResponse); + + const policy = formDataPolicy(); + + const result = await policy.sendRequest(request, next); + + assert.isUndefined(result.request.formData); + assert.strictEqual( + result.request.body, + `service=registry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read` + ); + }); + + it("prepares multipart/form-data form data correctly", async function() { + const request = createPipelineRequest({ + url: "https://bing.com", + headers: createHttpHeaders({ + "Content-Type": "multipart/form-data" + }) + }); + request.formData = { a: "va", b: "vb" }; + const successResponse: PipelineResponse = { + headers: createHttpHeaders(), + request, + status: 200 + }; + const next = sinon.stub, ReturnType>(); + next.resolves(successResponse); + + const policy = formDataPolicy(); + + const result = await policy.sendRequest(request, next); + + assert.isUndefined(result.request.formData); + assert.strictEqual(result.request.body?.toString(), "[object FormData]"); + }); +}); From 75add0464b9b4f5594640d422a49d1d6c982041f Mon Sep 17 00:00:00 2001 From: Jeremy Meng Date: Fri, 5 Nov 2021 23:54:16 +0000 Subject: [PATCH 2/4] Remove .only --- sdk/core/core-rest-pipeline/test/formDataPolicy.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/core/core-rest-pipeline/test/formDataPolicy.spec.ts b/sdk/core/core-rest-pipeline/test/formDataPolicy.spec.ts index 253ba9c5b30f..084dd499541a 100644 --- a/sdk/core/core-rest-pipeline/test/formDataPolicy.spec.ts +++ b/sdk/core/core-rest-pipeline/test/formDataPolicy.spec.ts @@ -11,7 +11,7 @@ import { formDataPolicy } from "../src"; -describe.only("formDataPolicy", function() { +describe("formDataPolicy", function() { afterEach(function() { sinon.restore(); }); From cb23c07dd6c95a62cb94918a8b47c33cba79d0c4 Mon Sep 17 00:00:00 2001 From: Jeremy Meng Date: Mon, 8 Nov 2021 12:13:25 -0800 Subject: [PATCH 3/4] Update recordings --- ...st_repositories_with_anonymous_access.json | 20 +-- ...ting_properties_with_anonymous_access.json | 20 +-- ...ding_deletes_repository_of_given_name.json | 66 ++++---- .../recording_should_list_repositories.json | 40 ++--- ...ing_should_list_repositories_by_pages.json | 60 +++---- ...ories_by_pages_with_continuationtoken.json | 40 ++--- .../recording_deletes_a_given_tag.json | 66 ++++---- .../recording_sets_manifest_properties.json | 104 ++++++------ .../recording_sets_repository_properties.json | 92 ++++++----- .../recording_sets_tag_properties.json | 86 +++++----- ...ording_should_list_registry_manifests.json | 42 ++--- ...ould_list_registry_manifests_by_pages.json | 76 ++++----- ...fests_by_pages_with_continuationtoken.json | 46 +++--- .../recording_should_list_tags.json | 44 +++--- .../recording_should_list_tags_by_pages.json | 66 ++++---- ..._tags_by_pages_with_continuationtoken.json | 42 ++--- ...stry_artifact_properties_for_a_digest.json | 48 +++--- ...egistry_artifact_properties_for_a_tag.json | 68 ++++---- ...cording_should_retrive_tag_properties.json | 42 ++--- ...list_repositories_with_anonymous_access.js | 23 +-- ...etting_properties_with_anonymous_access.js | 25 +-- ...ording_deletes_repository_of_given_name.js | 103 ++++++------ .../recording_should_list_repositories.js | 72 +++++---- ...rding_should_list_repositories_by_pages.js | 93 ++++++----- ...itories_by_pages_with_continuationtoken.js | 74 +++++---- .../recording_deletes_a_given_tag.js | 97 ++++++------ .../recording_sets_manifest_properties.js | 148 ++++++++++-------- .../recording_sets_repository_properties.js | 128 ++++++++------- .../recording_sets_tag_properties.js | 122 ++++++++------- ...ecording_should_list_registry_manifests.js | 72 +++++---- ...should_list_registry_manifests_by_pages.js | 105 +++++++------ ...nifests_by_pages_with_continuationtoken.js | 80 +++++----- .../recording_should_list_tags.js | 74 +++++---- .../recording_should_list_tags_by_pages.js | 101 ++++++------ ...st_tags_by_pages_with_continuationtoken.js | 76 +++++---- ...gistry_artifact_properties_for_a_digest.js | 82 +++++----- ..._registry_artifact_properties_for_a_tag.js | 101 ++++++------ ...recording_should_retrive_tag_properties.js | 76 +++++---- 38 files changed, 1483 insertions(+), 1237 deletions(-) diff --git a/sdk/containerregistry/container-registry/recordings/browsers/anonymous_access_tests/recording_should_list_repositories_with_anonymous_access.json b/sdk/containerregistry/container-registry/recordings/browsers/anonymous_access_tests/recording_should_list_repositories_with_anonymous_access.json index 393e2872dfbc..72ecf1dd777c 100644 --- a/sdk/containerregistry/container-registry/recordings/browsers/anonymous_access_tests/recording_should_list_repositories_with_anonymous_access.json +++ b/sdk/containerregistry/container-registry/recordings/browsers/anonymous_access_tests/recording_should_list_repositories_with_anonymous_access.json @@ -14,30 +14,32 @@ "connection": "keep-alive", "content-length": "196", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:28 GMT", + "date": "Mon, 08 Nov 2021 20:12:20 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"registry:catalog:*\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "dc979d96-9f0f-436f-acd7-f06ba60bd53b" + "x-ms-correlation-request-id": "d43d1c3e-a22f-439a-bcb0-d9f545982082" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=password&service=myregistry.azurecr.io&refresh_token=&scope=registry%3Acatalog%3A*", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=registry%3Acatalog%3A*&refresh_token=&grant_type=password", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:28 GMT", + "date": "Mon, 08 Nov 2021 20:12:20 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "c3dd5108-38eb-4aa6-bf71-48a8f920ee01", + "x-ms-correlation-request-id": "cbad8563-c6ff-4af0-912c-70ee3ab86d49", "x-ms-ratelimit-remaining-calls-per-second": "166.65" } }, @@ -55,12 +57,12 @@ "connection": "keep-alive", "content-length": "112", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:28 GMT", + "date": "Mon, 08 Nov 2021 20:12:20 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "c08c7a94-2faf-440e-a9c0-8550390803be" + "x-ms-correlation-request-id": "b9637021-9a44-4e32-97a0-a7d46ba347da" } } ], @@ -68,5 +70,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "fc066e23b2fc33b080eb748a9f6d47dc" + "hash": "944c0fe162180c72a6cfcd9f5c8d72c9" } \ No newline at end of file diff --git a/sdk/containerregistry/container-registry/recordings/browsers/anonymous_access_tests/recording_should_throw_error_setting_properties_with_anonymous_access.json b/sdk/containerregistry/container-registry/recordings/browsers/anonymous_access_tests/recording_should_throw_error_setting_properties_with_anonymous_access.json index 2cfaeec31433..94d71367ecc1 100644 --- a/sdk/containerregistry/container-registry/recordings/browsers/anonymous_access_tests/recording_should_throw_error_setting_properties_with_anonymous_access.json +++ b/sdk/containerregistry/container-registry/recordings/browsers/anonymous_access_tests/recording_should_throw_error_setting_properties_with_anonymous_access.json @@ -14,30 +14,32 @@ "connection": "keep-alive", "content-length": "223", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:28 GMT", + "date": "Mon, 08 Nov 2021 20:12:23 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_write\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "4970a64f-e6ea-469f-9457-784291d9be69" + "x-ms-correlation-request-id": "ae664832-c34e-45c1-8ce4-70fe01f2ca72" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=password&service=myregistry.azurecr.io&refresh_token=&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write&refresh_token=&grant_type=password", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:28 GMT", + "date": "Mon, 08 Nov 2021 20:12:23 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "6649916e-3736-4df6-b19e-dadcd02ca629", + "x-ms-correlation-request-id": "4fcfb3cc-04d7-4d9e-8890-3597b1ac84c2", "x-ms-ratelimit-remaining-calls-per-second": "166.633333" } }, @@ -55,13 +57,13 @@ "connection": "keep-alive", "content-length": "223", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:28 GMT", + "date": "Mon, 08 Nov 2021 20:12:23 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_write\",error=\"insufficient_scope\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "5b719c23-b186-4d68-82b7-a2602d57582f" + "x-ms-correlation-request-id": "4fc1dd94-5b56-4f99-8538-c84d73a2c7e8" } } ], @@ -69,5 +71,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "e44e177d78e4bcdd2775021346a85bea" + "hash": "fb7e8a0dad4e54cf9a74e89f2a79739d" } \ No newline at end of file diff --git a/sdk/containerregistry/container-registry/recordings/browsers/containerregistryclient_tests/recording_deletes_repository_of_given_name.json b/sdk/containerregistry/container-registry/recordings/browsers/containerregistryclient_tests/recording_deletes_repository_of_given_name.json index 31970bb6b273..8fed91f222e9 100644 --- a/sdk/containerregistry/container-registry/recordings/browsers/containerregistryclient_tests/recording_deletes_repository_of_given_name.json +++ b/sdk/containerregistry/container-registry/recordings/browsers/containerregistryclient_tests/recording_deletes_repository_of_given_name.json @@ -14,13 +14,13 @@ "connection": "keep-alive", "content-length": "211", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:30 GMT", + "date": "Mon, 08 Nov 2021 20:12:27 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/busybox:delete\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "4e4c4b46-0e51-45ee-9532-2a5f2123fd49" + "x-ms-correlation-request-id": "05f3b850-8863-4afc-9e81-3e80de704e47" } }, { @@ -34,53 +34,57 @@ "cache-control": "no-store, no-cache", "content-length": "1351", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:29 GMT", + "date": "Mon, 08 Nov 2021 20:12:27 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+bno\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12071.7 - NCUS ProdSlices", - "x-ms-request-id": "5fd77b3c-fee4-46d4-8294-f2623a8a9e00" + "x-ms-ests-server": "2.1.12197.4 - EUS ProdSlices", + "x-ms-request-id": "970270a0-39e5-4a40-a68d-349af926da00" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/exchange", - "query": {}, + "query": { + "api-version": "2021-07-01" + }, "requestBody": "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token", "status": 200, "response": "{\"refresh_token\":\"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:30 GMT", + "date": "Mon, 08 Nov 2021 20:12:28 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "65fdc811-6262-4ba6-aaf4-f1f03f04fbef", - "x-ms-ratelimit-remaining-calls-per-second": "166.466667" + "x-ms-correlation-request-id": "c879b25e-7407-492d-9eee-3583856e5241", + "x-ms-ratelimit-remaining-calls-per-second": "166.533333" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fbusybox%3Adelete", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fbusybox%3Adelete&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:30 GMT", + "date": "Mon, 08 Nov 2021 20:12:28 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "a00c8736-5411-4e7d-a4ae-72c50c623385", - "x-ms-ratelimit-remaining-calls-per-second": "166.45" + "x-ms-correlation-request-id": "9c5291aa-7f51-467d-bb0f-a2dc1c298217", + "x-ms-ratelimit-remaining-calls-per-second": "166.516667" } }, { @@ -91,21 +95,21 @@ }, "requestBody": null, "status": 202, - "response": "{\"manifestsDeleted\":[\"sha256:149ff441a10b7e05b3c60da0916f98405e9bb551923fefd930079d1a55c01ce0\",\"sha256:52f73a0a43a16cf37cd0720c90887ce972fe60ee06a687ee71fb93a7ca601df7\",\"sha256:75c155e143b2cd2c2cfc3574b944cb2bff5a989f038d70769b5f4c430e4a1822\",\"sha256:7698c9fb8475863d79c9f76ebd48341448ece7865a0066e7d9d39adda53c1a35\",\"sha256:829b46ecdbdda76abbfe33b8a66332a02aa1593acc434541b4069ce5927bb811\",\"sha256:96a17b68467be2bbf8df538d24cf8615c9790ed5d1a5f895e78bb2ae95405105\",\"sha256:a78428bd5e3428ea3f71f14eb5c2e3a38316098eb99430b3e49f49a63994bb0d\",\"sha256:c71cb4f7e8ececaffb34037c2637dc86820e4185100e18b4d02d613a9bd772af\",\"sha256:e2992f6a4bd258e6c3ad3c4449ba42010ef114ff643afbb27dc5f8a98f590b13\",\"sha256:ed88784ce1c8a3aac3745f5a6edadf2e8f901e86a524e66221178f280013109c\",\"sha256:febcf61cd6e1ac9628f6ac14fa40836d16f3c6ddef3b303ff0321606e55ddd0b\"],\"tagsDeleted\":[\"latest\"]}\n", + "response": "{\"manifestsDeleted\":[\"sha256:06b206c1f1a38094697c7e8bf868f9d326e56a256bc516dbb8ff0ee9c1178999\",\"sha256:15e927f78df2cc772b70713543d6b651e3cd8370abf86b2ea4644a9fba21107f\",\"sha256:399e1e4a0d587717dc9e3a85150cec8498cb6dc73dcb7eddb94959fedb331104\",\"sha256:4ecc3dc2e06a24df931cb719c3784611d15721c3cb64ab069141071b73f6598b\",\"sha256:53c212bcc0501f011c232df0fb6c837651d0b2f3257b6478a50c0e006b0dabc5\",\"sha256:6066ca124f8c2686b7ae71aa1d6583b28c6dc3df3bdc386f2c89b92162c597d9\",\"sha256:77df281071dd7e01972ec2c4a33c1a6c00d13b24238375fd6622fce97f622fa2\",\"sha256:86824a27910bd2a8c6a8478fe99206e6cf4bcada7cb8435c0060cbe885559e53\",\"sha256:b70f0f45692830c2990b42f770aa29488c20ac41f1c3dcaa242920b73cb1399b\",\"sha256:c71cb4f7e8ececaffb34037c2637dc86820e4185100e18b4d02d613a9bd772af\",\"sha256:ce53e9b0310447d0e851ff0d2c9b90f358dbffe719a723147e84b93a4799396c\"],\"tagsDeleted\":[\"latest\"]}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", "content-length": "862", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:32 GMT", + "date": "Mon, 08 Nov 2021 20:12:29 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0544fa68-15b7-42fb-ab7f-8f4069a9e6e6", - "x-ms-correlation-request-id": "5588435b-0d8d-4ac1-abd0-8fc104fe2d73", + "x-ms-client-request-id": "c24859c1-5307-4fa3-93d5-93f1c4b88e1b", + "x-ms-correlation-request-id": "2b56b65e-ef2a-4ae6-8bce-f5148c581165", "x-ms-ratelimit-remaining-calls-per-second": "8.000000", - "x-ms-request-id": "a36ba656-3d7a-4cfe-b72e-59429d75e432" + "x-ms-request-id": "a8901f4a-8447-4a7e-bc2e-9a8785b44f97" } }, { @@ -122,31 +126,33 @@ "connection": "keep-alive", "content-length": "196", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:32 GMT", + "date": "Mon, 08 Nov 2021 20:12:29 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"registry:catalog:*\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "843f23e2-01d7-441a-9d61-735f1ae4f2eb" + "x-ms-correlation-request-id": "25a315f8-79df-45c1-afe6-3c753f6a8b2a" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=registry%3Acatalog%3A*", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=registry%3Acatalog%3A*&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:32 GMT", + "date": "Mon, 08 Nov 2021 20:12:29 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "aab82995-96fb-47bb-80ed-75e32ce72a08", - "x-ms-ratelimit-remaining-calls-per-second": "166.433333" + "x-ms-correlation-request-id": "6f6470d3-e5dc-4cf4-9933-545edd9b2ebc", + "x-ms-ratelimit-remaining-calls-per-second": "166.5" } }, { @@ -163,12 +169,12 @@ "connection": "keep-alive", "content-length": "65", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:32 GMT", + "date": "Mon, 08 Nov 2021 20:12:29 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "6c2d28f0-3b75-40b7-9aee-d4630018c0f1" + "x-ms-correlation-request-id": "5ea08842-7768-450f-a9d8-892b4e873fe3" } } ], @@ -176,5 +182,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "2aa8e21cc13bd18514d38300459b969c" + "hash": "60be3f3388fbcdf9836939a931bac74b" } \ No newline at end of file diff --git a/sdk/containerregistry/container-registry/recordings/browsers/containerregistryclient_tests/recording_should_list_repositories.json b/sdk/containerregistry/container-registry/recordings/browsers/containerregistryclient_tests/recording_should_list_repositories.json index 5eef0ec347ea..6f2c0a22b25e 100644 --- a/sdk/containerregistry/container-registry/recordings/browsers/containerregistryclient_tests/recording_should_list_repositories.json +++ b/sdk/containerregistry/container-registry/recordings/browsers/containerregistryclient_tests/recording_should_list_repositories.json @@ -14,13 +14,13 @@ "connection": "keep-alive", "content-length": "196", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:28 GMT", + "date": "Mon, 08 Nov 2021 20:12:23 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"registry:catalog:*\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "e25f4ff6-c8a0-48a9-b870-96c8d690fa5c" + "x-ms-correlation-request-id": "1661bcad-e4fb-4cd4-ac71-b89bf114d094" } }, { @@ -34,53 +34,57 @@ "cache-control": "no-store, no-cache", "content-length": "1351", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:28 GMT", + "date": "Mon, 08 Nov 2021 20:12:23 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+bno\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12071.7 - NCUS ProdSlices", - "x-ms-request-id": "dc78aba5-f7d3-4519-9080-6175ccd57700" + "x-ms-ests-server": "2.1.12197.4 - NCUS ProdSlices", + "x-ms-request-id": "2d569c2f-a280-459c-b60c-0972f7aca200" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/exchange", - "query": {}, + "query": { + "api-version": "2021-07-01" + }, "requestBody": "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token", "status": 200, "response": "{\"refresh_token\":\"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:29 GMT", + "date": "Mon, 08 Nov 2021 20:12:24 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "0efa825b-c368-448c-95b9-7a8f0c93dd78", - "x-ms-ratelimit-remaining-calls-per-second": "166.016667" + "x-ms-correlation-request-id": "f1e50c68-1998-40eb-aadc-360a8adc6ebb", + "x-ms-ratelimit-remaining-calls-per-second": "166.65" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=registry%3Acatalog%3A*", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=registry%3Acatalog%3A*&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:29 GMT", + "date": "Mon, 08 Nov 2021 20:12:26 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "fd5725ad-9a28-4dcf-a0b7-62dd1b590465", - "x-ms-ratelimit-remaining-calls-per-second": "166" + "x-ms-correlation-request-id": "d3af64c0-2745-4ae0-a216-453e77ff6f3d", + "x-ms-ratelimit-remaining-calls-per-second": "166.633333" } }, { @@ -97,12 +101,12 @@ "connection": "keep-alive", "content-length": "83", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:29 GMT", + "date": "Mon, 08 Nov 2021 20:12:26 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "9e581a75-4cef-44f1-b7cf-6994b0158fbd" + "x-ms-correlation-request-id": "9f2140d1-39c1-4210-8216-8bae2860a0b1" } } ], @@ -110,5 +114,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "1df1afbf20980927edb80a7c58f0e4ec" + "hash": "60fe6c7c8096cec0abb867fa593e1d41" } \ No newline at end of file diff --git a/sdk/containerregistry/container-registry/recordings/browsers/containerregistryclient_tests/recording_should_list_repositories_by_pages.json b/sdk/containerregistry/container-registry/recordings/browsers/containerregistryclient_tests/recording_should_list_repositories_by_pages.json index 90a8f1b26373..5a7f2037d8c0 100644 --- a/sdk/containerregistry/container-registry/recordings/browsers/containerregistryclient_tests/recording_should_list_repositories_by_pages.json +++ b/sdk/containerregistry/container-registry/recordings/browsers/containerregistryclient_tests/recording_should_list_repositories_by_pages.json @@ -15,13 +15,13 @@ "connection": "keep-alive", "content-length": "196", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:29 GMT", + "date": "Mon, 08 Nov 2021 20:12:26 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"registry:catalog:*\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "46e7dbc0-f544-447c-a80c-7fd69ab2a694" + "x-ms-correlation-request-id": "bd44b64a-053e-4bc8-a9ae-609765184c5c" } }, { @@ -35,53 +35,57 @@ "cache-control": "no-store, no-cache", "content-length": "1351", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:28 GMT", + "date": "Mon, 08 Nov 2021 20:12:26 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+bno\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12071.7 - EUS ProdSlices", - "x-ms-request-id": "2fefb0ce-b6a8-4a55-b46a-ba67affc8800" + "x-ms-ests-server": "2.1.12197.4 - NCUS ProdSlices", + "x-ms-request-id": "9ef99053-7386-456f-a5a7-00fd62759c00" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/exchange", - "query": {}, + "query": { + "api-version": "2021-07-01" + }, "requestBody": "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token", "status": 200, "response": "{\"refresh_token\":\"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:29 GMT", + "date": "Mon, 08 Nov 2021 20:12:26 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "2e1e4f4e-7aaf-4a74-824c-016c50e2b140", - "x-ms-ratelimit-remaining-calls-per-second": "165.983333" + "x-ms-correlation-request-id": "086a92e1-e68d-4a73-9b04-238d4f4fef49", + "x-ms-ratelimit-remaining-calls-per-second": "166.616667" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=registry%3Acatalog%3A*", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=registry%3Acatalog%3A*&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:29 GMT", + "date": "Mon, 08 Nov 2021 20:12:26 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "e22fba79-f071-4d42-b736-64d15beae5f2", - "x-ms-ratelimit-remaining-calls-per-second": "165.966667" + "x-ms-correlation-request-id": "2cfe3eab-55df-4572-829c-9eae6306681b", + "x-ms-ratelimit-remaining-calls-per-second": "166.6" } }, { @@ -99,13 +103,13 @@ "connection": "keep-alive", "content-length": "29", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:29 GMT", + "date": "Mon, 08 Nov 2021 20:12:26 GMT", "docker-distribution-api-version": "registry/2.0", "link": "; rel=\"next\"", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "35791b70-4e44-4f92-ac16-70f3c7ab3771" + "x-ms-correlation-request-id": "5d91b348-59c0-471f-b1aa-5fd13367259d" } }, { @@ -125,31 +129,33 @@ "connection": "keep-alive", "content-length": "196", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:29 GMT", + "date": "Mon, 08 Nov 2021 20:12:27 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"registry:catalog:*\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "a931ebdf-57a1-4350-bf72-5f3dbf21a037" + "x-ms-correlation-request-id": "0344101a-0946-481b-83c7-ccd5c0a3ad55" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=registry%3Acatalog%3A*", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=registry%3Acatalog%3A*&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:29 GMT", + "date": "Mon, 08 Nov 2021 20:12:27 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "9707e2ed-4386-4c8c-b118-95fda6658c08", - "x-ms-ratelimit-remaining-calls-per-second": "165.95" + "x-ms-correlation-request-id": "a3d7c7a5-4bee-4f44-b364-5f169f7da6fd", + "x-ms-ratelimit-remaining-calls-per-second": "166.583333" } }, { @@ -169,13 +175,13 @@ "connection": "keep-alive", "content-length": "33", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:29 GMT", + "date": "Mon, 08 Nov 2021 20:12:27 GMT", "docker-distribution-api-version": "registry/2.0", "link": "; rel=\"next\"", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "fd8e510b-21cb-4258-ba7b-f2271e18c857" + "x-ms-correlation-request-id": "a0dea16e-1cdf-4850-8c88-5505cc6edede" } } ], @@ -183,5 +189,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "560939fb427c889df77338359840c177" + "hash": "fc02f17a2a02f9262eabcce7ffdf8310" } \ No newline at end of file diff --git a/sdk/containerregistry/container-registry/recordings/browsers/containerregistryclient_tests/recording_should_list_repositories_by_pages_with_continuationtoken.json b/sdk/containerregistry/container-registry/recordings/browsers/containerregistryclient_tests/recording_should_list_repositories_by_pages_with_continuationtoken.json index 12fc0d1164b6..cd22e0e70e03 100644 --- a/sdk/containerregistry/container-registry/recordings/browsers/containerregistryclient_tests/recording_should_list_repositories_by_pages_with_continuationtoken.json +++ b/sdk/containerregistry/container-registry/recordings/browsers/containerregistryclient_tests/recording_should_list_repositories_by_pages_with_continuationtoken.json @@ -17,13 +17,13 @@ "connection": "keep-alive", "content-length": "196", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:29 GMT", + "date": "Mon, 08 Nov 2021 20:12:27 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"registry:catalog:*\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "d1dc524b-4be9-4d18-89ba-c42fd934103b" + "x-ms-correlation-request-id": "ee062151-6009-47c7-bd26-9569c60183f2" } }, { @@ -37,53 +37,57 @@ "cache-control": "no-store, no-cache", "content-length": "1351", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:29 GMT", + "date": "Mon, 08 Nov 2021 20:12:27 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+bno\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12071.7 - EUS ProdSlices", - "x-ms-request-id": "5f51747f-c4cb-4aea-ba18-7bc3adfd9400" + "x-ms-ests-server": "2.1.12197.4 - WUS2 ProdSlices", + "x-ms-request-id": "ef4acac9-1f78-47a5-8d3f-ce4c37cca300" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/exchange", - "query": {}, + "query": { + "api-version": "2021-07-01" + }, "requestBody": "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token", "status": 200, "response": "{\"refresh_token\":\"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:30 GMT", + "date": "Mon, 08 Nov 2021 20:12:27 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "9c5fd413-0ae7-43a0-9993-219948861d03", - "x-ms-ratelimit-remaining-calls-per-second": "166.5" + "x-ms-correlation-request-id": "665d846f-5dd2-4b0c-9373-8e7aa3494442", + "x-ms-ratelimit-remaining-calls-per-second": "166.566667" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=registry%3Acatalog%3A*", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=registry%3Acatalog%3A*&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:30 GMT", + "date": "Mon, 08 Nov 2021 20:12:27 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "6767dc7b-2aaa-468a-9151-2bb35581bb15", - "x-ms-ratelimit-remaining-calls-per-second": "166.483333" + "x-ms-correlation-request-id": "756a702e-4a8a-4286-8950-79fcc4c4169e", + "x-ms-ratelimit-remaining-calls-per-second": "166.55" } }, { @@ -103,13 +107,13 @@ "connection": "keep-alive", "content-length": "33", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:30 GMT", + "date": "Mon, 08 Nov 2021 20:12:27 GMT", "docker-distribution-api-version": "registry/2.0", "link": "; rel=\"next\"", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "0d2d7074-9bd4-41ff-9c8c-e08f8967810c" + "x-ms-correlation-request-id": "2af0be04-7246-49ad-a6e3-1a26477d73d5" } } ], @@ -117,5 +121,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "e593725a8cf45856e0d1352da94c06c7" + "hash": "838b466a3e16bacc8d8fd4a2d8337956" } \ No newline at end of file diff --git a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_deletes_a_given_tag.json b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_deletes_a_given_tag.json index 071aa126c368..b02090f352c4 100644 --- a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_deletes_a_given_tag.json +++ b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_deletes_a_given_tag.json @@ -14,13 +14,13 @@ "connection": "keep-alive", "content-length": "215", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:40 GMT", + "date": "Mon, 08 Nov 2021 20:12:42 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:delete\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "1ed7da38-6df9-4679-9d25-3ad0afc59cf3" + "x-ms-correlation-request-id": "f0f4f380-f017-48bb-b766-f991074b0ca8" } }, { @@ -34,53 +34,57 @@ "cache-control": "no-store, no-cache", "content-length": "1351", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:40 GMT", + "date": "Mon, 08 Nov 2021 20:12:42 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+bno\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12071.7 - NCUS ProdSlices", - "x-ms-request-id": "5fd77b3c-fee4-46d4-8294-f2629e8b9e00" + "x-ms-ests-server": "2.1.12197.4 - WUS2 ProdSlices", + "x-ms-request-id": "ef4acac9-1f78-47a5-8d3f-ce4c9ccea300" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/exchange", - "query": {}, + "query": { + "api-version": "2021-07-01" + }, "requestBody": "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token", "status": 200, "response": "{\"refresh_token\":\"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:40 GMT", + "date": "Mon, 08 Nov 2021 20:12:43 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "f22e256b-6bb2-485d-9541-fb71469fd334", - "x-ms-ratelimit-remaining-calls-per-second": "165.866667" + "x-ms-correlation-request-id": "e5ca7efb-f170-4f2e-bacb-e3c46fdc7aa4", + "x-ms-ratelimit-remaining-calls-per-second": "165.933333" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Adelete", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Adelete&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "close", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:40 GMT", + "date": "Mon, 08 Nov 2021 20:12:43 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "32828fbf-5430-48d9-a012-e2ae6b638c4d", - "x-ms-ratelimit-remaining-calls-per-second": "165.85" + "x-ms-correlation-request-id": "4e719b2f-9e82-493b-aab3-6c728a0bc2a4", + "x-ms-ratelimit-remaining-calls-per-second": "165.916667" } }, { @@ -96,16 +100,16 @@ "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", "content-length": "0", - "date": "Mon, 20 Sep 2021 18:55:41 GMT", + "date": "Mon, 08 Nov 2021 20:12:43 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3ca9205c-1cb7-4940-b6fa-90b49e749f08", - "x-ms-correlation-request-id": "5eac0f8a-a3a4-4f85-89f8-cca33bced93a", - "x-ms-int-docker-content-digest": "sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f", + "x-ms-client-request-id": "30eb1510-00a8-4f35-9fdf-4ca0de3f2daf", + "x-ms-correlation-request-id": "4d594bb3-1955-485b-9544-b3fb19801168", + "x-ms-int-docker-content-digest": "sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51", "x-ms-ratelimit-remaining-calls-per-second": "8.000000", - "x-ms-request-id": "65e557f7-60fb-46d3-a028-fd3443602bea" + "x-ms-request-id": "d2068ba0-43fc-4f57-8d1f-90a9f2353253" } }, { @@ -122,31 +126,33 @@ "connection": "keep-alive", "content-length": "222", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:41 GMT", + "date": "Mon, 08 Nov 2021 20:12:43 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_read\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "f2aa59e5-3ed4-4753-91e9-19905d51c669" + "x-ms-correlation-request-id": "2bcad3c4-396f-4686-ad12-bd43245afd1f" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:41 GMT", + "date": "Mon, 08 Nov 2021 20:12:43 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "7d686796-2326-4a8e-861c-f2270c8a9ac7", - "x-ms-ratelimit-remaining-calls-per-second": "165.816667" + "x-ms-correlation-request-id": "7ba24929-9c08-46a3-aeb0-b4f5668058f5", + "x-ms-ratelimit-remaining-calls-per-second": "165.9" } }, { @@ -163,12 +169,12 @@ "connection": "keep-alive", "content-length": "81", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:41 GMT", + "date": "Mon, 08 Nov 2021 20:12:43 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "a0178a37-b8de-4f91-9d12-048aa3ec3b44" + "x-ms-correlation-request-id": "c330bdf4-a5d7-4372-b1bc-576c7fc2de26" } } ], @@ -176,5 +182,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "815be5cab9022543070ebe8639679e33" + "hash": "503559f581395a68f8d8bab889f4d905" } \ No newline at end of file diff --git a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_sets_manifest_properties.json b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_sets_manifest_properties.json index 454ad6ca1e90..a351e944b96b 100644 --- a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_sets_manifest_properties.json +++ b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_sets_manifest_properties.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "GET", - "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", + "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409", "query": { "api-version": "2021-07-01" }, @@ -14,13 +14,13 @@ "connection": "keep-alive", "content-length": "222", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:36 GMT", + "date": "Mon, 08 Nov 2021 20:12:37 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_read\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "720f60cc-0a70-4a8f-9f17-3a2f5d4bbbd1" + "x-ms-correlation-request-id": "a99caa61-ff9e-4324-9a8d-3407f27c68b2" } }, { @@ -34,80 +34,84 @@ "cache-control": "no-store, no-cache", "content-length": "1351", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:35 GMT", + "date": "Mon, 08 Nov 2021 20:12:37 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+bno\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12071.7 - SCUS ProdSlices", - "x-ms-request-id": "e6d45875-ada7-44c4-a82c-eee5db48d800" + "x-ms-ests-server": "2.1.12197.4 - WUS2 ProdSlices", + "x-ms-request-id": "ef4acac9-1f78-47a5-8d3f-ce4ca5cda300" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/exchange", - "query": {}, + "query": { + "api-version": "2021-07-01" + }, "requestBody": "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token", "status": 200, "response": "{\"refresh_token\":\"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:36 GMT", + "date": "Mon, 08 Nov 2021 20:12:37 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "1dfeddae-fb68-4d08-a30f-2a9d779be2b5", - "x-ms-ratelimit-remaining-calls-per-second": "166.183333" + "x-ms-correlation-request-id": "d7807d02-4077-4aef-83d6-74b10f1d111a", + "x-ms-ratelimit-remaining-calls-per-second": "166.25" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:36 GMT", + "date": "Mon, 08 Nov 2021 20:12:37 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "c8a841b0-b354-438c-ae97-7036b1712ae5", - "x-ms-ratelimit-remaining-calls-per-second": "166.166667" + "x-ms-correlation-request-id": "9b38e7c6-4b2d-4225-961a-1d784e2267a2", + "x-ms-ratelimit-remaining-calls-per-second": "166.233333" } }, { "method": "GET", - "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", + "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409", "query": { "api-version": "2021-07-01" }, "requestBody": null, "status": 200, - "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552\",\"imageSize\":525,\"createdTime\":\"2021-07-12T19:20:00.913255Z\",\"lastUpdateTime\":\"2021-07-12T19:20:00.913255Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineDetails\":\"{\\\"state\\\":\\\"Scan Failed\\\",\\\"link\\\":\\\"https://aka.ms/test\\\",\\\"scanner\\\":\\\"Azure Security Monitoring-Qualys Scanner\\\",\\\"result\\\":{\\\"version\\\":\\\"9/20/2021 6:54:56 PM\\\",\\\"summary\\\":[{\\\"severity\\\":\\\"High\\\",\\\"count\\\":0},{\\\"severity\\\":\\\"Medium\\\",\\\"count\\\":0},{\\\"severity\\\":\\\"Low\\\",\\\"count\\\":0}]}}\",\"quarantineState\":\"Passed\"}}}\n", + "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409\",\"imageSize\":4727,\"createdTime\":\"2021-10-06T21:01:30.4148083Z\",\"lastUpdateTime\":\"2021-10-06T21:01:30.4148083Z\",\"architecture\":\"386\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", - "content-length": "822", + "content-length": "481", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:36 GMT", + "date": "Mon, 08 Nov 2021 20:12:37 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "2cab4b41-d156-43e4-9f25-177656326e05" + "x-ms-correlation-request-id": "3819be80-2d61-4e58-8c4c-99c6aea176ad" } }, { "method": "PATCH", - "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", + "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409", "query": { "api-version": "2021-07-01" }, @@ -119,58 +123,60 @@ "connection": "keep-alive", "content-length": "223", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:36 GMT", + "date": "Mon, 08 Nov 2021 20:12:37 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_write\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "98673034-4a0c-409c-9597-785987b61cc3" + "x-ms-correlation-request-id": "729b9f8b-d2a3-4b57-806a-3f5c0e8c93fa" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:36 GMT", + "date": "Mon, 08 Nov 2021 20:12:37 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "b92895a7-345a-433b-9bde-bf04fb2f8e3f", - "x-ms-ratelimit-remaining-calls-per-second": "166.15" + "x-ms-correlation-request-id": "0b8083d9-46d5-41a1-bc84-83fdffc280d5", + "x-ms-ratelimit-remaining-calls-per-second": "166.216667" } }, { "method": "PATCH", - "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", + "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409", "query": { "api-version": "2021-07-01" }, "requestBody": "{\"deleteEnabled\":false,\"writeEnabled\":false,\"listEnabled\":false,\"readEnabled\":false}", "status": 200, - "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552\",\"imageSize\":525,\"createdTime\":\"2021-07-12T19:20:00.913255Z\",\"lastUpdateTime\":\"2021-07-12T19:20:00.913255Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":false,\"readEnabled\":false,\"listEnabled\":false,\"quarantineDetails\":\"{\\\"state\\\":\\\"Scan Failed\\\",\\\"link\\\":\\\"https://aka.ms/test\\\",\\\"scanner\\\":\\\"Azure Security Monitoring-Qualys Scanner\\\",\\\"result\\\":{\\\"version\\\":\\\"9/20/2021 6:54:56 PM\\\",\\\"summary\\\":[{\\\"severity\\\":\\\"High\\\",\\\"count\\\":0},{\\\"severity\\\":\\\"Medium\\\",\\\"count\\\":0},{\\\"severity\\\":\\\"Low\\\",\\\"count\\\":0}]}}\",\"quarantineState\":\"Passed\"}}}\n", + "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409\",\"imageSize\":4727,\"createdTime\":\"2021-10-06T21:01:30.4148083Z\",\"lastUpdateTime\":\"2021-10-06T21:01:30.4148083Z\",\"architecture\":\"386\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":false,\"readEnabled\":false,\"listEnabled\":false}}}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", - "content-length": "826", + "content-length": "485", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:36 GMT", + "date": "Mon, 08 Nov 2021 20:12:37 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "3d81c831-7122-4084-9ba2-09330e0a02cb" + "x-ms-correlation-request-id": "5ec54e9c-5783-4824-a8e5-20a4961238d6" } }, { "method": "PATCH", - "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", + "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409", "query": { "api-version": "2021-07-01" }, @@ -182,53 +188,55 @@ "connection": "keep-alive", "content-length": "223", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:36 GMT", + "date": "Mon, 08 Nov 2021 20:12:38 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_write\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "0ba33a25-4041-4d0b-8e44-fff1c3efdc3c" + "x-ms-correlation-request-id": "2ce7b500-09d9-457a-9a5a-667801296c1b" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:36 GMT", + "date": "Mon, 08 Nov 2021 20:12:38 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "431aa561-5045-4916-ad02-e89834d1e1d8", - "x-ms-ratelimit-remaining-calls-per-second": "166.133333" + "x-ms-correlation-request-id": "3352267b-ec3a-478c-a48c-286a509d4610", + "x-ms-ratelimit-remaining-calls-per-second": "166.2" } }, { "method": "PATCH", - "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", + "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409", "query": { "api-version": "2021-07-01" }, "requestBody": "{\"deleteEnabled\":true,\"writeEnabled\":true,\"listEnabled\":true,\"readEnabled\":true}", "status": 200, - "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552\",\"imageSize\":525,\"createdTime\":\"2021-07-12T19:20:00.913255Z\",\"lastUpdateTime\":\"2021-07-12T19:20:00.913255Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineDetails\":\"{\\\"state\\\":\\\"Scan Failed\\\",\\\"link\\\":\\\"https://aka.ms/test\\\",\\\"scanner\\\":\\\"Azure Security Monitoring-Qualys Scanner\\\",\\\"result\\\":{\\\"version\\\":\\\"9/20/2021 6:54:56 PM\\\",\\\"summary\\\":[{\\\"severity\\\":\\\"High\\\",\\\"count\\\":0},{\\\"severity\\\":\\\"Medium\\\",\\\"count\\\":0},{\\\"severity\\\":\\\"Low\\\",\\\"count\\\":0}]}}\",\"quarantineState\":\"Passed\"}}}\n", + "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409\",\"imageSize\":4727,\"createdTime\":\"2021-10-06T21:01:30.4148083Z\",\"lastUpdateTime\":\"2021-10-06T21:01:30.4148083Z\",\"architecture\":\"386\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", - "content-length": "822", + "content-length": "481", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:37 GMT", + "date": "Mon, 08 Nov 2021 20:12:38 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "1b63d516-66a4-4844-b9bf-2fb682cdc664" + "x-ms-correlation-request-id": "052334cf-d63a-4ac6-95f9-9e9364bd8e25" } } ], @@ -236,5 +244,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "2c8be288e9704c25a56a29ef19783417" + "hash": "48eeeb767cb4ec2789da7be9989dd286" } \ No newline at end of file diff --git a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_sets_repository_properties.json b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_sets_repository_properties.json index 83ff39911137..f9820c0be03c 100644 --- a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_sets_repository_properties.json +++ b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_sets_repository_properties.json @@ -14,13 +14,13 @@ "connection": "keep-alive", "content-length": "222", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:37 GMT", + "date": "Mon, 08 Nov 2021 20:12:38 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_read\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "3f609bf3-bb4f-47e2-bf6d-be53bb375f4c" + "x-ms-correlation-request-id": "f0252f76-e130-41e7-9c1b-d8db63f65420" } }, { @@ -34,53 +34,57 @@ "cache-control": "no-store, no-cache", "content-length": "1351", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:36 GMT", + "date": "Mon, 08 Nov 2021 20:12:38 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+bno\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12071.7 - NCUS ProdSlices", - "x-ms-request-id": "ec2db47b-ecd5-4c02-9710-6d51365c5900" + "x-ms-ests-server": "2.1.12197.4 - EUS ProdSlices", + "x-ms-request-id": "71f6950c-80a4-4861-a742-0fc4715fce00" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/exchange", - "query": {}, + "query": { + "api-version": "2021-07-01" + }, "requestBody": "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token", "status": 200, "response": "{\"refresh_token\":\"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:37 GMT", + "date": "Mon, 08 Nov 2021 20:12:38 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "623c1cac-88aa-4a1d-bb80-e045795ceaca", - "x-ms-ratelimit-remaining-calls-per-second": "166.116667" + "x-ms-correlation-request-id": "f628e014-7189-486c-8cc1-b755a1b9a81b", + "x-ms-ratelimit-remaining-calls-per-second": "166.183333" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:37 GMT", + "date": "Mon, 08 Nov 2021 20:12:38 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "cad2a306-c747-4aaa-a4ce-3b6a7053b110", - "x-ms-ratelimit-remaining-calls-per-second": "166.1" + "x-ms-correlation-request-id": "0a0b5430-82d7-4f28-8d00-a1653d3ffad0", + "x-ms-ratelimit-remaining-calls-per-second": "166.166667" } }, { @@ -91,18 +95,18 @@ }, "requestBody": null, "status": 200, - "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"createdTime\":\"2021-06-01T17:44:40.7113043Z\",\"lastUpdateTime\":\"2021-09-20T18:54:55.2071419Z\",\"manifestCount\":34,\"tagCount\":3,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"teleportEnabled\":false}}\n", + "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"createdTime\":\"2021-06-01T17:44:40.7113043Z\",\"lastUpdateTime\":\"2021-11-08T20:11:57.224559Z\",\"manifestCount\":47,\"tagCount\":3,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", - "content-length": "323", + "content-length": "298", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:37 GMT", + "date": "Mon, 08 Nov 2021 20:12:38 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "a25fbe79-06dc-43b4-a13f-db9d741e4bcc" + "x-ms-correlation-request-id": "2beaf8ed-64f0-44b3-a222-03f34ce220a8" } }, { @@ -119,31 +123,33 @@ "connection": "keep-alive", "content-length": "223", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:37 GMT", + "date": "Mon, 08 Nov 2021 20:12:39 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_write\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "68c12af5-638c-4c02-bedb-6b71684c5965" + "x-ms-correlation-request-id": "bac745af-d845-4777-988f-8bd8cfacd824" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:37 GMT", + "date": "Mon, 08 Nov 2021 20:12:39 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "22a3f887-49e7-4e61-a8ea-8675ed33f4d4", - "x-ms-ratelimit-remaining-calls-per-second": "166.083333" + "x-ms-correlation-request-id": "c8471669-c002-4683-8415-e10d5ab11537", + "x-ms-ratelimit-remaining-calls-per-second": "166.15" } }, { @@ -154,18 +160,18 @@ }, "requestBody": "{\"deleteEnabled\":false,\"writeEnabled\":false,\"listEnabled\":false,\"readEnabled\":false}", "status": 200, - "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"createdTime\":\"2021-06-01T17:44:40.7113043Z\",\"lastUpdateTime\":\"2021-09-20T18:54:55.2071419Z\",\"manifestCount\":34,\"tagCount\":3,\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":false,\"readEnabled\":false,\"listEnabled\":false,\"teleportEnabled\":false}}\n", + "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"createdTime\":\"2021-06-01T17:44:40.7113043Z\",\"lastUpdateTime\":\"2021-11-08T20:11:57.224559Z\",\"manifestCount\":47,\"tagCount\":3,\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":false,\"readEnabled\":false,\"listEnabled\":false}}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", - "content-length": "327", + "content-length": "302", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:37 GMT", + "date": "Mon, 08 Nov 2021 20:12:39 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "ac447934-1d1f-49df-8c5b-53fd498c575b" + "x-ms-correlation-request-id": "10ca9027-c101-4133-ba09-81c1409be677" } }, { @@ -182,31 +188,33 @@ "connection": "keep-alive", "content-length": "223", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:37 GMT", + "date": "Mon, 08 Nov 2021 20:12:39 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_write\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "4c28a769-6156-4b43-9512-a3d2212827c1" + "x-ms-correlation-request-id": "773d83d2-ab9d-4d7f-9324-ae0550453136" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:37 GMT", + "date": "Mon, 08 Nov 2021 20:12:39 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "0819081d-ba1b-4a9d-811a-c6a0f4cfd405", - "x-ms-ratelimit-remaining-calls-per-second": "166.066667" + "x-ms-correlation-request-id": "11e8e115-275c-4430-978e-d4007598f242", + "x-ms-ratelimit-remaining-calls-per-second": "166.133333" } }, { @@ -217,18 +225,18 @@ }, "requestBody": "{\"deleteEnabled\":true,\"writeEnabled\":true,\"listEnabled\":true,\"readEnabled\":true}", "status": 200, - "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"createdTime\":\"2021-06-01T17:44:40.7113043Z\",\"lastUpdateTime\":\"2021-09-20T18:54:55.2071419Z\",\"manifestCount\":34,\"tagCount\":3,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"teleportEnabled\":false}}\n", + "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"createdTime\":\"2021-06-01T17:44:40.7113043Z\",\"lastUpdateTime\":\"2021-11-08T20:11:57.224559Z\",\"manifestCount\":47,\"tagCount\":3,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", - "content-length": "323", + "content-length": "298", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:38 GMT", + "date": "Mon, 08 Nov 2021 20:12:39 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "4f6eb795-8cfe-4a20-a9b8-0069915959c4" + "x-ms-correlation-request-id": "6bc4077c-cc90-4edc-8295-76b6f894cfbc" } } ], @@ -236,5 +244,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "df74719a8ffc8dca8a5e9ce6acd71977" + "hash": "3654ebb234b5adbdb4e8b1650623c215" } \ No newline at end of file diff --git a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_sets_tag_properties.json b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_sets_tag_properties.json index b4b0d2e6a835..eca64c472900 100644 --- a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_sets_tag_properties.json +++ b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_sets_tag_properties.json @@ -14,13 +14,13 @@ "connection": "keep-alive", "content-length": "222", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:39 GMT", + "date": "Mon, 08 Nov 2021 20:12:41 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_read\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "19911c5a-1191-4b89-9cc8-28c3eafa4e2f" + "x-ms-correlation-request-id": "98012215-f9f2-4c48-becf-f3cce6565311" } }, { @@ -34,53 +34,57 @@ "cache-control": "no-store, no-cache", "content-length": "1351", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:39 GMT", + "date": "Mon, 08 Nov 2021 20:12:41 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+bno\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12071.7 - EUS ProdSlices", - "x-ms-request-id": "5f51747f-c4cb-4aea-ba18-7bc387ff9400" + "x-ms-ests-server": "2.1.12197.4 - WUS2 ProdSlices", + "x-ms-request-id": "ef4acac9-1f78-47a5-8d3f-ce4c74cea300" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/exchange", - "query": {}, + "query": { + "api-version": "2021-07-01" + }, "requestBody": "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token", "status": 200, "response": "{\"refresh_token\":\"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:39 GMT", + "date": "Mon, 08 Nov 2021 20:12:42 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "61027f2f-c11f-47f6-aa0c-8b3560f1097c", - "x-ms-ratelimit-remaining-calls-per-second": "165.933333" + "x-ms-correlation-request-id": "fe162939-4f0c-40dc-a141-417ecfcc78f6", + "x-ms-ratelimit-remaining-calls-per-second": "166" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:39 GMT", + "date": "Mon, 08 Nov 2021 20:12:42 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "c96fcde1-735b-4a37-aca3-8f15aa062b03", - "x-ms-ratelimit-remaining-calls-per-second": "165.916667" + "x-ms-correlation-request-id": "af54a872-16c9-413d-b63a-9a4f99a6212f", + "x-ms-ratelimit-remaining-calls-per-second": "165.983333" } }, { @@ -91,18 +95,18 @@ }, "requestBody": null, "status": 200, - "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"test1\",\"digest\":\"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f\",\"createdTime\":\"2021-06-11T19:11:38.7001063Z\",\"lastUpdateTime\":\"2021-09-20T18:50:54.0904821Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n", + "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"test1\",\"digest\":\"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51\",\"createdTime\":\"2021-06-11T19:11:38.7001063Z\",\"lastUpdateTime\":\"2021-11-08T19:55:53.3335808Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", "content-length": "388", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:39 GMT", + "date": "Mon, 08 Nov 2021 20:12:42 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "67aa7b0e-8970-4b06-be9b-1a553083c990" + "x-ms-correlation-request-id": "4d20f6a2-1456-4886-95e2-ec6a220481aa" } }, { @@ -119,31 +123,33 @@ "connection": "keep-alive", "content-length": "223", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:40 GMT", + "date": "Mon, 08 Nov 2021 20:12:42 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_write\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "3bd02494-b149-4f89-a34a-0a99256bdd60" + "x-ms-correlation-request-id": "4164a6ec-7216-4fcd-b71f-b9c79be45385" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:40 GMT", + "date": "Mon, 08 Nov 2021 20:12:42 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "ef6c2793-634a-41e1-acd5-a301d2b36e86", - "x-ms-ratelimit-remaining-calls-per-second": "165.9" + "x-ms-correlation-request-id": "ae808dca-ab28-4922-bebd-baf0c7645b1b", + "x-ms-ratelimit-remaining-calls-per-second": "165.966667" } }, { @@ -154,18 +160,18 @@ }, "requestBody": "{\"deleteEnabled\":false,\"writeEnabled\":false,\"listEnabled\":false,\"readEnabled\":false}", "status": 200, - "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"test1\",\"digest\":\"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f\",\"createdTime\":\"2021-06-11T19:11:38.7001063Z\",\"lastUpdateTime\":\"2021-09-20T18:50:54.0904821Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":false,\"readEnabled\":false,\"listEnabled\":false}}}\n", + "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"test1\",\"digest\":\"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51\",\"createdTime\":\"2021-06-11T19:11:38.7001063Z\",\"lastUpdateTime\":\"2021-11-08T19:55:53.3335808Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":false,\"readEnabled\":false,\"listEnabled\":false}}}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", "content-length": "392", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:40 GMT", + "date": "Mon, 08 Nov 2021 20:12:42 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "b33dc0f8-d726-4879-9a3e-bad4fbbe5183" + "x-ms-correlation-request-id": "5b92b3d0-4388-4932-9dda-7899c49abe23" } }, { @@ -182,31 +188,33 @@ "connection": "keep-alive", "content-length": "223", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:40 GMT", + "date": "Mon, 08 Nov 2021 20:12:42 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_write\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "6547b6b0-16a5-47fe-bac6-5fd6f3d1006e" + "x-ms-correlation-request-id": "981a17d0-67e2-488d-82c8-eca5e1b8e605" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:40 GMT", + "date": "Mon, 08 Nov 2021 20:12:42 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "b9ba10b9-b8e4-405e-8c2c-f36a603ca6d1", - "x-ms-ratelimit-remaining-calls-per-second": "165.883333" + "x-ms-correlation-request-id": "091285e7-1a0b-421b-a1aa-543c9b728b80", + "x-ms-ratelimit-remaining-calls-per-second": "165.95" } }, { @@ -217,18 +225,18 @@ }, "requestBody": "{\"deleteEnabled\":true,\"writeEnabled\":true,\"listEnabled\":true,\"readEnabled\":true}", "status": 200, - "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"test1\",\"digest\":\"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f\",\"createdTime\":\"2021-06-11T19:11:38.7001063Z\",\"lastUpdateTime\":\"2021-09-20T18:50:54.0904821Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n", + "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"test1\",\"digest\":\"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51\",\"createdTime\":\"2021-06-11T19:11:38.7001063Z\",\"lastUpdateTime\":\"2021-11-08T19:55:53.3335808Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", "content-length": "388", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:40 GMT", + "date": "Mon, 08 Nov 2021 20:12:42 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "334e416c-b14d-4b36-9d6f-4f43dc55b516" + "x-ms-correlation-request-id": "a5a6b387-e028-4217-8b3b-0a97d1afe970" } } ], @@ -236,5 +244,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "a40bfbcb757977e469cae2d38fa0085d" + "hash": "ead3c5fc7c77a2abae45f363dc3af7f2" } \ No newline at end of file diff --git a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_registry_manifests.json b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_registry_manifests.json index af3d249abb81..94b02bc22810 100644 --- a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_registry_manifests.json +++ b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_registry_manifests.json @@ -14,13 +14,13 @@ "connection": "keep-alive", "content-length": "222", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:32 GMT", + "date": "Mon, 08 Nov 2021 20:12:29 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_read\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "9d9b1b30-264e-4d7a-a381-f51de9cdfab5" + "x-ms-correlation-request-id": "77faf1a6-4886-4a5a-b45f-cc3a99181c3e" } }, { @@ -34,53 +34,57 @@ "cache-control": "no-store, no-cache", "content-length": "1351", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:31 GMT", + "date": "Mon, 08 Nov 2021 20:12:29 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+bno\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12071.7 - NCUS ProdSlices", - "x-ms-request-id": "ec2db47b-ecd5-4c02-9710-6d51775b5900" + "x-ms-ests-server": "2.1.12197.4 - EUS ProdSlices", + "x-ms-request-id": "d8a95ab3-96a4-4d35-8486-59c97bb9d900" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/exchange", - "query": {}, + "query": { + "api-version": "2021-07-01" + }, "requestBody": "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token", "status": 200, "response": "{\"refresh_token\":\"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:32 GMT", + "date": "Mon, 08 Nov 2021 20:12:30 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "70a2408c-7245-44da-9bf0-033660d99650", - "x-ms-ratelimit-remaining-calls-per-second": "166.416667" + "x-ms-correlation-request-id": "d37ea4dd-babd-4a82-9493-9d6278125c6f", + "x-ms-ratelimit-remaining-calls-per-second": "166.483333" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:32 GMT", + "date": "Mon, 08 Nov 2021 20:12:30 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "464d8c58-e76e-47ea-a1ca-e4936e538a55", - "x-ms-ratelimit-remaining-calls-per-second": "166.4" + "x-ms-correlation-request-id": "cfa85c64-5977-458e-ae82-5a9959d32c5e", + "x-ms-ratelimit-remaining-calls-per-second": "166.466667" } }, { @@ -91,18 +95,18 @@ }, "requestBody": null, "status": 200, - "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:04ebe37e000dcd9b1386af0e2d9aad726cbd1581f82067bea5cd2532b1f06310\",\"imageSize\":528,\"createdTime\":\"2021-06-11T19:19:17.6685388Z\",\"lastUpdateTime\":\"2021-06-11T19:19:17.6685388Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:0dc4e9a14237cae2d8e96e9e310116091c5ed4934448d7cfd22b122778964f11\",\"imageSize\":527,\"createdTime\":\"2021-06-11T19:19:17.5875184Z\",\"lastUpdateTime\":\"2021-06-11T19:19:17.5875184Z\",\"architecture\":\"mips64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:0dd359f0ea0f644cbc1aa467681654c6b4332015ae37af2916b0dfb73b83fd52\",\"imageSize\":527,\"createdTime\":\"2021-06-11T19:19:17.6307166Z\",\"lastUpdateTime\":\"2021-06-11T19:19:17.6307166Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:0fe98d7debd9049c50b597ef1f85b7c1e8cc81f59c8d623fcb2250e8bec85b38\",\"imageSize\":5850,\"createdTime\":\"2021-08-17T16:55:59.3686577Z\",\"lastUpdateTime\":\"2021-08-17T16:55:59.3686577Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:121373e88baca4c1ef533014de2759e002961de035607dd35d00886b052e37cf\",\"imageSize\":527,\"createdTime\":\"2021-06-11T19:19:17.3343432Z\",\"lastUpdateTime\":\"2021-06-11T19:19:17.3343432Z\",\"architecture\":\"arm64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"imageSize\":525,\"createdTime\":\"2021-06-11T19:11:38.3530937Z\",\"lastUpdateTime\":\"2021-06-11T19:11:38.3530937Z\",\"architecture\":\"amd64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552\",\"imageSize\":525,\"createdTime\":\"2021-07-12T19:20:00.913255Z\",\"lastUpdateTime\":\"2021-07-12T19:20:00.913255Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:4fb0dd2040e4a909567fb8fd36338a00e727926da9e8f93fa1fe58cbc3b9af9c\",\"imageSize\":5830,\"createdTime\":\"2021-09-20T18:50:55.4008325Z\",\"lastUpdateTime\":\"2021-09-20T18:50:55.4008325Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\",\"imageSize\":525,\"createdTime\":\"2021-06-01T17:44:41.0103898Z\",\"lastUpdateTime\":\"2021-06-01T17:44:41.0103898Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"imageSize\":5325,\"createdTime\":\"2021-06-01T17:44:41.177556Z\",\"lastUpdateTime\":\"2021-06-01T17:44:41.177556Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb\",\"imageSize\":525,\"createdTime\":\"2021-07-12T19:20:00.3959063Z\",\"lastUpdateTime\":\"2021-07-12T19:20:00.3959063Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f\",\"imageSize\":61958,\"createdTime\":\"2021-09-20T18:50:53.9769732Z\",\"lastUpdateTime\":\"2021-09-20T18:50:53.9769732Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"test-delete\",\"test1\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172\",\"imageSize\":525,\"createdTime\":\"2021-07-12T19:20:00.5061197Z\",\"lastUpdateTime\":\"2021-07-12T19:20:00.5061197Z\",\"architecture\":\"s390x\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1\",\"imageSize\":1125,\"createdTime\":\"2021-06-01T17:44:41.7420809Z\",\"lastUpdateTime\":\"2021-06-01T17:44:41.7420809Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:842295d11871c16bbce4d30cabc9b0f1e0cc40e49975f538179529d7798f77d8\",\"imageSize\":527,\"createdTime\":\"2021-06-11T19:19:17.2116157Z\",\"lastUpdateTime\":\"2021-06-11T19:19:17.2116157Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"imageSize\":525,\"createdTime\":\"2021-06-01T17:44:41.9901717Z\",\"lastUpdateTime\":\"2021-06-01T17:44:41.9901717Z\",\"architecture\":\"mips64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0\",\"imageSize\":1125,\"createdTime\":\"2021-06-11T19:11:39.292044Z\",\"lastUpdateTime\":\"2021-06-11T19:11:39.292044Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:930490f97e5b921535c153e0e7110d251134cc4b72bbb8133c6a5065cc68580d\",\"imageSize\":4745,\"createdTime\":\"2021-06-11T19:19:16.7766065Z\",\"lastUpdateTime\":\"2021-06-11T19:19:16.7766065Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722\",\"imageSize\":525,\"createdTime\":\"2021-07-12T19:20:00.9631551Z\",\"lastUpdateTime\":\"2021-07-12T19:20:00.9631551Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\",\"imageSize\":525,\"createdTime\":\"2021-06-01T17:44:41.698893Z\",\"lastUpdateTime\":\"2021-06-01T17:44:41.698893Z\",\"architecture\":\"arm64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:9cd47e9327430990c932b19596f8760e7d1a0be0311bb31bab3170bec5f27358\",\"imageSize\":527,\"createdTime\":\"2021-06-11T19:19:16.8871039Z\",\"lastUpdateTime\":\"2021-06-11T19:19:16.8871039Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:9f6ad537c5132bcce57f7a0a20e317228d382c3cd61edae14650eec68b2b345c\",\"imageSize\":5325,\"createdTime\":\"2021-06-11T19:11:38.2304296Z\",\"lastUpdateTime\":\"2021-06-11T19:11:38.2304296Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":false,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69\",\"imageSize\":525,\"createdTime\":\"2021-07-12T19:20:00.5421832Z\",\"lastUpdateTime\":\"2021-07-12T19:20:00.5421832Z\",\"architecture\":\"arm64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114\",\"imageSize\":525,\"createdTime\":\"2021-07-12T19:20:00.7917219Z\",\"lastUpdateTime\":\"2021-07-12T19:20:00.7917219Z\",\"architecture\":\"riscv64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\",\"imageSize\":525,\"createdTime\":\"2021-06-01T17:44:41.6023044Z\",\"lastUpdateTime\":\"2021-06-01T17:44:41.6023044Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:c10e75f6e5442f446b7c053ff2f360a4052f759c59be9a4c7d144f60207c6eda\",\"imageSize\":528,\"createdTime\":\"2021-06-11T19:19:18.1427653Z\",\"lastUpdateTime\":\"2021-06-11T19:19:18.1427653Z\",\"architecture\":\"s390x\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"imageSize\":525,\"createdTime\":\"2021-06-01T17:44:41.5396886Z\",\"lastUpdateTime\":\"2021-06-01T17:44:41.5396886Z\",\"architecture\":\"386\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:ccff0c7e8498c0bd8d4705e663084c25810fd064a184671a050e1a43b86fb091\",\"imageSize\":527,\"createdTime\":\"2021-06-11T19:19:17.7388458Z\",\"lastUpdateTime\":\"2021-06-11T19:19:17.7388458Z\",\"architecture\":\"386\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:dca71257cd2e72840a21f0323234bb2e33fea6d949fa0f21c5102146f583486b\",\"imageSize\":527,\"createdTime\":\"2021-06-11T19:19:16.6208398Z\",\"lastUpdateTime\":\"2021-06-11T19:19:16.6208398Z\",\"architecture\":\"amd64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:dd295b166e7a35d810b7d286c62fee3c575fdde553182271fc0e5fb01ac81b15\",\"imageSize\":5833,\"createdTime\":\"2021-09-20T18:50:54.9019432Z\",\"lastUpdateTime\":\"2021-09-20T18:50:54.9019432Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e\",\"imageSize\":5850,\"createdTime\":\"2021-07-12T19:19:59.5452001Z\",\"lastUpdateTime\":\"2021-07-12T19:19:59.5452001Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\",\"imageSize\":525,\"createdTime\":\"2021-06-01T17:44:41.8244996Z\",\"lastUpdateTime\":\"2021-06-01T17:44:41.8244996Z\",\"architecture\":\"s390x\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\",\"imageSize\":525,\"createdTime\":\"2021-06-01T17:44:40.7616804Z\",\"lastUpdateTime\":\"2021-06-01T17:44:40.7616804Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:e70692d3144e0ddb23e2ecf72d4b78f1e9ffcb32a9c863b98a35d43adfb42ad8\",\"imageSize\":1125,\"createdTime\":\"2021-08-17T16:56:00.1861796Z\",\"lastUpdateTime\":\"2021-08-17T16:56:00.1861796Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n", + "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:01433e86a06b752f228e3c17394169a5e21a0995f153268a9b36a16d4f2b2184\",\"imageSize\":5216,\"createdTime\":\"2021-10-06T21:01:30.4926548Z\",\"lastUpdateTime\":\"2021-10-06T21:01:30.4926548Z\",\"architecture\":\"arm64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:04ebe37e000dcd9b1386af0e2d9aad726cbd1581f82067bea5cd2532b1f06310\",\"imageSize\":528,\"createdTime\":\"2021-06-11T19:19:17.6685388Z\",\"lastUpdateTime\":\"2021-06-11T19:19:17.6685388Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:0dc4e9a14237cae2d8e96e9e310116091c5ed4934448d7cfd22b122778964f11\",\"imageSize\":527,\"createdTime\":\"2021-06-11T19:19:17.5875184Z\",\"lastUpdateTime\":\"2021-06-11T19:19:17.5875184Z\",\"architecture\":\"mips64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:0dd359f0ea0f644cbc1aa467681654c6b4332015ae37af2916b0dfb73b83fd52\",\"imageSize\":527,\"createdTime\":\"2021-06-11T19:19:17.6307166Z\",\"lastUpdateTime\":\"2021-06-11T19:19:17.6307166Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:0fe98d7debd9049c50b597ef1f85b7c1e8cc81f59c8d623fcb2250e8bec85b38\",\"imageSize\":5850,\"createdTime\":\"2021-08-17T16:55:59.3686577Z\",\"lastUpdateTime\":\"2021-08-17T16:55:59.3686577Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:121373e88baca4c1ef533014de2759e002961de035607dd35d00886b052e37cf\",\"imageSize\":527,\"createdTime\":\"2021-06-11T19:19:17.3343432Z\",\"lastUpdateTime\":\"2021-06-11T19:19:17.3343432Z\",\"architecture\":\"arm64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"imageSize\":525,\"createdTime\":\"2021-06-11T19:11:38.3530937Z\",\"lastUpdateTime\":\"2021-06-11T19:11:38.3530937Z\",\"architecture\":\"amd64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409\",\"imageSize\":4727,\"createdTime\":\"2021-10-06T21:01:30.4148083Z\",\"lastUpdateTime\":\"2021-10-06T21:01:30.4148083Z\",\"architecture\":\"386\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:31801872aacfc6245ba5277e07dc2c9a482a473c87d625f25c3e6d5de930b35d\",\"imageSize\":5871,\"createdTime\":\"2021-11-08T19:55:54.7994646Z\",\"lastUpdateTime\":\"2021-11-08T19:55:54.7994646Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51\",\"imageSize\":61625,\"createdTime\":\"2021-11-08T19:55:53.1835258Z\",\"lastUpdateTime\":\"2021-11-08T19:55:53.1835258Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"test-delete\",\"test1\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552\",\"imageSize\":525,\"createdTime\":\"2021-07-12T19:20:00.913255Z\",\"lastUpdateTime\":\"2021-07-12T19:20:00.913255Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:4fb0dd2040e4a909567fb8fd36338a00e727926da9e8f93fa1fe58cbc3b9af9c\",\"imageSize\":5830,\"createdTime\":\"2021-09-20T18:50:55.4008325Z\",\"lastUpdateTime\":\"2021-09-20T18:50:55.4008325Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\",\"imageSize\":525,\"createdTime\":\"2021-06-01T17:44:41.0103898Z\",\"lastUpdateTime\":\"2021-06-01T17:44:41.0103898Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"imageSize\":5325,\"createdTime\":\"2021-06-01T17:44:41.177556Z\",\"lastUpdateTime\":\"2021-06-01T17:44:41.177556Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:563c31a6b24347d3f367df5dc33890ab1aec20e9470e5d998f3b6a8fc6eb5763\",\"imageSize\":5806,\"createdTime\":\"2021-11-08T19:55:54.8679861Z\",\"lastUpdateTime\":\"2021-11-08T19:55:54.8679861Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb\",\"imageSize\":525,\"createdTime\":\"2021-07-12T19:20:00.3959063Z\",\"lastUpdateTime\":\"2021-07-12T19:20:00.3959063Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f\",\"imageSize\":61958,\"createdTime\":\"2021-09-20T18:50:53.9769732Z\",\"lastUpdateTime\":\"2021-09-20T18:50:53.9769732Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172\",\"imageSize\":525,\"createdTime\":\"2021-07-12T19:20:00.5061197Z\",\"lastUpdateTime\":\"2021-07-12T19:20:00.5061197Z\",\"architecture\":\"s390x\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:7b8b7289d0536a08eabdf71c20246e23f7116641db7e1d278592236ea4dcb30c\",\"imageSize\":5691,\"createdTime\":\"2021-10-06T21:01:31.7709273Z\",\"lastUpdateTime\":\"2021-10-06T21:01:31.7709273Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1\",\"imageSize\":1125,\"createdTime\":\"2021-06-01T17:44:41.7420809Z\",\"lastUpdateTime\":\"2021-06-01T17:44:41.7420809Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:842295d11871c16bbce4d30cabc9b0f1e0cc40e49975f538179529d7798f77d8\",\"imageSize\":527,\"createdTime\":\"2021-06-11T19:19:17.2116157Z\",\"lastUpdateTime\":\"2021-06-11T19:19:17.2116157Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"imageSize\":525,\"createdTime\":\"2021-06-01T17:44:41.9901717Z\",\"lastUpdateTime\":\"2021-06-01T17:44:41.9901717Z\",\"architecture\":\"mips64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0\",\"imageSize\":1125,\"createdTime\":\"2021-06-11T19:11:39.292044Z\",\"lastUpdateTime\":\"2021-06-11T19:11:39.292044Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:930490f97e5b921535c153e0e7110d251134cc4b72bbb8133c6a5065cc68580d\",\"imageSize\":4745,\"createdTime\":\"2021-06-11T19:19:16.7766065Z\",\"lastUpdateTime\":\"2021-06-11T19:19:16.7766065Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722\",\"imageSize\":525,\"createdTime\":\"2021-07-12T19:20:00.9631551Z\",\"lastUpdateTime\":\"2021-07-12T19:20:00.9631551Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\",\"imageSize\":525,\"createdTime\":\"2021-06-01T17:44:41.698893Z\",\"lastUpdateTime\":\"2021-06-01T17:44:41.698893Z\",\"architecture\":\"arm64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:98c9722322be649df94780d3fbe594fce7996234b259f27eac9428b84050c849\",\"imageSize\":4996,\"createdTime\":\"2021-10-06T21:01:30.2509309Z\",\"lastUpdateTime\":\"2021-10-06T21:01:30.2509309Z\",\"architecture\":\"riscv64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:9ade9cc2e26189a19c2e8854b9c8f1e14829b51c55a630ee675a5a9540ef6ccf\",\"imageSize\":61611,\"createdTime\":\"2021-10-06T21:01:29.283756Z\",\"lastUpdateTime\":\"2021-10-06T21:01:29.283756Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:9cd47e9327430990c932b19596f8760e7d1a0be0311bb31bab3170bec5f27358\",\"imageSize\":527,\"createdTime\":\"2021-06-11T19:19:16.8871039Z\",\"lastUpdateTime\":\"2021-06-11T19:19:16.8871039Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:9f6ad537c5132bcce57f7a0a20e317228d382c3cd61edae14650eec68b2b345c\",\"imageSize\":5325,\"createdTime\":\"2021-06-11T19:11:38.2304296Z\",\"lastUpdateTime\":\"2021-06-11T19:11:38.2304296Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":false,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69\",\"imageSize\":525,\"createdTime\":\"2021-07-12T19:20:00.5421832Z\",\"lastUpdateTime\":\"2021-07-12T19:20:00.5421832Z\",\"architecture\":\"arm64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:b836bb24a270b9cc935962d8228517fde0f16990e88893d935efcb1b14c0017a\",\"imageSize\":5925,\"createdTime\":\"2021-10-06T21:01:31.2908944Z\",\"lastUpdateTime\":\"2021-10-06T21:01:31.2908944Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114\",\"imageSize\":525,\"createdTime\":\"2021-07-12T19:20:00.7917219Z\",\"lastUpdateTime\":\"2021-07-12T19:20:00.7917219Z\",\"architecture\":\"riscv64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\",\"imageSize\":525,\"createdTime\":\"2021-06-01T17:44:41.6023044Z\",\"lastUpdateTime\":\"2021-06-01T17:44:41.6023044Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:c10e75f6e5442f446b7c053ff2f360a4052f759c59be9a4c7d144f60207c6eda\",\"imageSize\":528,\"createdTime\":\"2021-06-11T19:19:18.1427653Z\",\"lastUpdateTime\":\"2021-06-11T19:19:18.1427653Z\",\"architecture\":\"s390x\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:c2f204d26b4ea353651385001bb6bc371d8c4edcd9daf61d00ad365d927e00c0\",\"imageSize\":6088,\"createdTime\":\"2021-10-06T21:01:29.9953911Z\",\"lastUpdateTime\":\"2021-10-06T21:01:29.9953911Z\",\"architecture\":\"mips64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:c7b6944911848ce39b44ed660d95fb54d69bbd531de724c7ce6fc9f743c0b861\",\"imageSize\":5270,\"createdTime\":\"2021-10-06T21:01:29.8786957Z\",\"lastUpdateTime\":\"2021-10-06T21:01:29.8786957Z\",\"architecture\":\"s390x\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"imageSize\":525,\"createdTime\":\"2021-06-01T17:44:41.5396886Z\",\"lastUpdateTime\":\"2021-06-01T17:44:41.5396886Z\",\"architecture\":\"386\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:ccff0c7e8498c0bd8d4705e663084c25810fd064a184671a050e1a43b86fb091\",\"imageSize\":527,\"createdTime\":\"2021-06-11T19:19:17.7388458Z\",\"lastUpdateTime\":\"2021-06-11T19:19:17.7388458Z\",\"architecture\":\"386\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:dca71257cd2e72840a21f0323234bb2e33fea6d949fa0f21c5102146f583486b\",\"imageSize\":527,\"createdTime\":\"2021-06-11T19:19:16.6208398Z\",\"lastUpdateTime\":\"2021-06-11T19:19:16.6208398Z\",\"architecture\":\"amd64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:dd295b166e7a35d810b7d286c62fee3c575fdde553182271fc0e5fb01ac81b15\",\"imageSize\":5833,\"createdTime\":\"2021-09-20T18:50:54.9019432Z\",\"lastUpdateTime\":\"2021-09-20T18:50:54.9019432Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e\",\"imageSize\":5850,\"createdTime\":\"2021-07-12T19:19:59.5452001Z\",\"lastUpdateTime\":\"2021-07-12T19:19:59.5452001Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\",\"imageSize\":525,\"createdTime\":\"2021-06-01T17:44:41.8244996Z\",\"lastUpdateTime\":\"2021-06-01T17:44:41.8244996Z\",\"architecture\":\"s390x\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\",\"imageSize\":525,\"createdTime\":\"2021-06-01T17:44:40.7616804Z\",\"lastUpdateTime\":\"2021-06-01T17:44:40.7616804Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:e70692d3144e0ddb23e2ecf72d4b78f1e9ffcb32a9c863b98a35d43adfb42ad8\",\"imageSize\":1125,\"createdTime\":\"2021-08-17T16:56:00.1861796Z\",\"lastUpdateTime\":\"2021-08-17T16:56:00.1861796Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:f130bd2d67e6e9280ac6d0a6c83857bfaf70234e8ef4236876eccfbd30973b1c\",\"imageSize\":5000,\"createdTime\":\"2021-10-06T21:01:30.3566409Z\",\"lastUpdateTime\":\"2021-10-06T21:01:30.3566409Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:f54a58bc1aac5ea1a25d796ae155dc228b3f0e11d046ae276b39c4bf2f13d8c4\",\"imageSize\":4473,\"createdTime\":\"2021-10-06T21:01:30.0499098Z\",\"lastUpdateTime\":\"2021-10-06T21:01:30.0499098Z\",\"architecture\":\"amd64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:33 GMT", + "date": "Mon, 08 Nov 2021 20:12:33 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "d2527c30-6056-4388-9540-4d798c246b17" + "x-ms-correlation-request-id": "1c24d0e0-718a-4705-825a-3411b3ee8752" } } ], @@ -110,5 +114,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "b85e23044bcbe5b84e7333015277bdb5" + "hash": "b4e5b9ebf8a5df6c1f766943aff21720" } \ No newline at end of file diff --git a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages.json b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages.json index a80976ce34e0..f4b08368831c 100644 --- a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages.json +++ b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages.json @@ -15,13 +15,13 @@ "connection": "keep-alive", "content-length": "222", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:33 GMT", + "date": "Mon, 08 Nov 2021 20:12:33 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_read\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "2d9159f6-e861-46c3-8268-6a9914397426" + "x-ms-correlation-request-id": "1f7fbe28-d8bc-486f-a6a2-9e3e54d76044" } }, { @@ -35,53 +35,57 @@ "cache-control": "no-store, no-cache", "content-length": "1351", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:33 GMT", + "date": "Mon, 08 Nov 2021 20:12:33 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+bno\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12071.7 - EUS ProdSlices", - "x-ms-request-id": "f9438168-a6f1-4f67-8bd7-038848b99f00" + "x-ms-ests-server": "2.1.12197.4 - WUS2 ProdSlices", + "x-ms-request-id": "cae198f3-c033-4021-bf27-398e8e11b200" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/exchange", - "query": {}, + "query": { + "api-version": "2021-07-01" + }, "requestBody": "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token", "status": 200, "response": "{\"refresh_token\":\"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:33 GMT", + "date": "Mon, 08 Nov 2021 20:12:34 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "715207f3-a289-43d0-af09-b51b8c7ef358", - "x-ms-ratelimit-remaining-calls-per-second": "166.383333" + "x-ms-correlation-request-id": "5e9594ea-7380-457c-996a-d5646dbc8bb8", + "x-ms-ratelimit-remaining-calls-per-second": "166.45" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:33 GMT", + "date": "Mon, 08 Nov 2021 20:12:34 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "6cd6f07e-0075-4fe1-b1aa-1fb43449eab1", - "x-ms-ratelimit-remaining-calls-per-second": "166.366667" + "x-ms-correlation-request-id": "007d1b79-e1df-4c2a-b2ac-4634a0c4e1e5", + "x-ms-ratelimit-remaining-calls-per-second": "166.433333" } }, { @@ -93,26 +97,26 @@ }, "requestBody": null, "status": 200, - "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:04ebe37e000dcd9b1386af0e2d9aad726cbd1581f82067bea5cd2532b1f06310\",\"imageSize\":528,\"createdTime\":\"2021-06-11T19:19:17.6685388Z\",\"lastUpdateTime\":\"2021-06-11T19:19:17.6685388Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n", + "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:01433e86a06b752f228e3c17394169a5e21a0995f153268a9b36a16d4f2b2184\",\"imageSize\":5216,\"createdTime\":\"2021-10-06T21:01:30.4926548Z\",\"lastUpdateTime\":\"2021-10-06T21:01:30.4926548Z\",\"architecture\":\"arm64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", - "content-length": "514", + "content-length": "486", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:34 GMT", + "date": "Mon, 08 Nov 2021 20:12:34 GMT", "docker-distribution-api-version": "registry/2.0", - "link": "; rel=\"next\"", + "link": "; rel=\"next\"", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "e29cef65-4b4b-4a8b-830f-c1539d851464" + "x-ms-correlation-request-id": "35428971-b0ad-488b-b0ef-cde3ae1a9714" } }, { "method": "GET", "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests", "query": { - "last": "sha256:04ebe37e000dcd9b1386af0e2d9aad726cbd1581f82067bea5cd2532b1f06310", + "last": "sha256:01433e86a06b752f228e3c17394169a5e21a0995f153268a9b36a16d4f2b2184", "n": "1", "orderby": "", "api-version": "2021-07-01" @@ -125,57 +129,59 @@ "connection": "keep-alive", "content-length": "222", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:34 GMT", + "date": "Mon, 08 Nov 2021 20:12:34 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_read\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "22983c85-29d7-4f4d-8a71-fa108ea66bb1" + "x-ms-correlation-request-id": "33f4b463-dea0-40de-984a-17e8971bcf27" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:34 GMT", + "date": "Mon, 08 Nov 2021 20:12:34 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "4733af10-dab1-4c46-ab14-928795dd3d93", - "x-ms-ratelimit-remaining-calls-per-second": "166.35" + "x-ms-correlation-request-id": "4ba6502e-bed0-4177-8f6f-eec57f240277", + "x-ms-ratelimit-remaining-calls-per-second": "166.416667" } }, { "method": "GET", "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests", "query": { - "last": "sha256:04ebe37e000dcd9b1386af0e2d9aad726cbd1581f82067bea5cd2532b1f06310", + "last": "sha256:01433e86a06b752f228e3c17394169a5e21a0995f153268a9b36a16d4f2b2184", "n": "1", "orderby": "", "api-version": "2021-07-01" }, "requestBody": null, "status": 200, - "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:0dc4e9a14237cae2d8e96e9e310116091c5ed4934448d7cfd22b122778964f11\",\"imageSize\":527,\"createdTime\":\"2021-06-11T19:19:17.5875184Z\",\"lastUpdateTime\":\"2021-06-11T19:19:17.5875184Z\",\"architecture\":\"mips64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n", + "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:04ebe37e000dcd9b1386af0e2d9aad726cbd1581f82067bea5cd2532b1f06310\",\"imageSize\":528,\"createdTime\":\"2021-06-11T19:19:17.6685388Z\",\"lastUpdateTime\":\"2021-06-11T19:19:17.6685388Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", - "content-length": "515", + "content-length": "487", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:34 GMT", + "date": "Mon, 08 Nov 2021 20:12:34 GMT", "docker-distribution-api-version": "registry/2.0", - "link": "; rel=\"next\"", + "link": "; rel=\"next\"", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "2fc1a36d-d84a-4b71-94bf-074408e4f8e1" + "x-ms-correlation-request-id": "06e61a06-6828-49d5-81e5-95bdc3121954" } } ], @@ -183,5 +189,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "40f33eb5e86bedc7299cc0693375666a" + "hash": "97ac2eea2c11219acdaa276fcf1eb7e8" } \ No newline at end of file diff --git a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages_with_continuationtoken.json b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages_with_continuationtoken.json index eb4710b97c2a..c788e87e4042 100644 --- a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages_with_continuationtoken.json +++ b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages_with_continuationtoken.json @@ -17,13 +17,13 @@ "connection": "keep-alive", "content-length": "222", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:34 GMT", + "date": "Mon, 08 Nov 2021 20:12:34 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_read\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "0896b69e-c65c-44bb-8e94-50728d0c0b17" + "x-ms-correlation-request-id": "cbf68ab4-f5f4-4f77-80c0-934c68bf2a02" } }, { @@ -37,53 +37,57 @@ "cache-control": "no-store, no-cache", "content-length": "1351", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:33 GMT", + "date": "Mon, 08 Nov 2021 20:12:34 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+bno\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12071.7 - NCUS ProdSlices", - "x-ms-request-id": "ec2db47b-ecd5-4c02-9710-6d51bc5b5900" + "x-ms-ests-server": "2.1.12197.4 - NCUS ProdSlices", + "x-ms-request-id": "ccb20cb1-6f40-4498-b2d4-32c2ec72a000" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/exchange", - "query": {}, + "query": { + "api-version": "2021-07-01" + }, "requestBody": "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token", "status": 200, "response": "{\"refresh_token\":\"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:34 GMT", + "date": "Mon, 08 Nov 2021 20:12:34 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "ae905a0d-5131-477d-9c32-9216f0afcdc4", - "x-ms-ratelimit-remaining-calls-per-second": "166.333333" + "x-ms-correlation-request-id": "2a158fc0-cb28-43e9-ad50-b1ea1cf11624", + "x-ms-ratelimit-remaining-calls-per-second": "166.4" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:34 GMT", + "date": "Mon, 08 Nov 2021 20:12:34 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "a2b02305-88c9-4387-a55b-284b761d415a", - "x-ms-ratelimit-remaining-calls-per-second": "166.316667" + "x-ms-correlation-request-id": "9c8beccf-e02d-436c-ac39-b8d4563b47eb", + "x-ms-ratelimit-remaining-calls-per-second": "166.383333" } }, { @@ -97,19 +101,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552\",\"imageSize\":525,\"createdTime\":\"2021-07-12T19:20:00.913255Z\",\"lastUpdateTime\":\"2021-07-12T19:20:00.913255Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n", + "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409\",\"imageSize\":4727,\"createdTime\":\"2021-10-06T21:01:30.4148083Z\",\"lastUpdateTime\":\"2021-10-06T21:01:30.4148083Z\",\"architecture\":\"386\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", - "content-length": "512", + "content-length": "484", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:34 GMT", + "date": "Mon, 08 Nov 2021 20:12:35 GMT", "docker-distribution-api-version": "registry/2.0", - "link": "; rel=\"next\"", + "link": "; rel=\"next\"", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "0f2be2e7-22e6-45b0-8896-923b7d187a72" + "x-ms-correlation-request-id": "2411f3da-dd3a-430a-a3e4-3e936b66e7e4" } } ], @@ -117,5 +121,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "8a5054c8b72577bfd5c7726083315b41" + "hash": "904150fe2750a64bc315583ba21e8634" } \ No newline at end of file diff --git a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_tags.json b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_tags.json index fd68b140b7b8..546342338f5d 100644 --- a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_tags.json +++ b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_tags.json @@ -14,13 +14,13 @@ "connection": "keep-alive", "content-length": "222", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:34 GMT", + "date": "Mon, 08 Nov 2021 20:12:35 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_read\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "2d9783a6-81a8-44a6-8f23-df1b22eb547e" + "x-ms-correlation-request-id": "a77af777-138c-4c9e-b53b-40808444aa5d" } }, { @@ -34,53 +34,57 @@ "cache-control": "no-store, no-cache", "content-length": "1351", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:34 GMT", + "date": "Mon, 08 Nov 2021 20:12:35 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+bno\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12071.7 - WUS2 ProdSlices", - "x-ms-request-id": "b102480f-11dc-49c5-9950-a4469df58f00" + "x-ms-ests-server": "2.1.12197.4 - WUS2 ProdSlices", + "x-ms-request-id": "ef4acac9-1f78-47a5-8d3f-ce4c59cda300" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/exchange", - "query": {}, + "query": { + "api-version": "2021-07-01" + }, "requestBody": "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token", "status": 200, "response": "{\"refresh_token\":\"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:35 GMT", + "date": "Mon, 08 Nov 2021 20:12:35 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "ace88359-6ef1-4570-8089-8ac408f17649", - "x-ms-ratelimit-remaining-calls-per-second": "166.3" + "x-ms-correlation-request-id": "9d03d526-d6d2-41f2-aee4-b46357b6ff30", + "x-ms-ratelimit-remaining-calls-per-second": "166.366667" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:35 GMT", + "date": "Mon, 08 Nov 2021 20:12:35 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "ed547d2a-e9f6-4a28-bb5d-606383493f5b", - "x-ms-ratelimit-remaining-calls-per-second": "166.283333" + "x-ms-correlation-request-id": "a4a42259-aadd-41ba-8b9c-e164a8ca2b1c", + "x-ms-ratelimit-remaining-calls-per-second": "166.35" } }, { @@ -91,18 +95,18 @@ }, "requestBody": null, "status": 200, - "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-06-01T17:44:40.8107647Z\",\"lastUpdateTime\":\"2021-06-01T17:44:40.8107647Z\",\"signed\":false,\"quarantineState\":\"Passed\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"test-delete\",\"digest\":\"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f\",\"createdTime\":\"2021-09-20T18:54:55.6044202Z\",\"lastUpdateTime\":\"2021-09-20T18:54:55.6044202Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"test1\",\"digest\":\"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f\",\"createdTime\":\"2021-06-11T19:11:38.7001063Z\",\"lastUpdateTime\":\"2021-09-20T18:50:54.0904821Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n", + "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-06-01T17:44:40.8107647Z\",\"lastUpdateTime\":\"2021-06-01T17:44:40.8107647Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"test-delete\",\"digest\":\"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51\",\"createdTime\":\"2021-11-08T20:11:57.5087151Z\",\"lastUpdateTime\":\"2021-11-08T20:11:57.5087151Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"test1\",\"digest\":\"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51\",\"createdTime\":\"2021-06-11T19:11:38.7001063Z\",\"lastUpdateTime\":\"2021-11-08T19:55:53.3335808Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", - "content-length": "1049", + "content-length": "1022", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:35 GMT", + "date": "Mon, 08 Nov 2021 20:12:35 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "d0d209a5-64c8-4394-9ffa-59712d6ad289" + "x-ms-correlation-request-id": "212ed344-b6d9-4856-9527-47fcfac899ba" } } ], @@ -110,5 +114,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "bf6dd3e03f10e54287cb8ef760a04a1c" + "hash": "76dd37467bbf1e0c99121b2a85871dfa" } \ No newline at end of file diff --git a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_tags_by_pages.json b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_tags_by_pages.json index f81721a82757..81b3ac2b2cc4 100644 --- a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_tags_by_pages.json +++ b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_tags_by_pages.json @@ -15,13 +15,13 @@ "connection": "keep-alive", "content-length": "222", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:35 GMT", + "date": "Mon, 08 Nov 2021 20:12:35 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_read\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "338dd7b8-cd5a-47c0-8ff4-bc76275e21cd" + "x-ms-correlation-request-id": "79c6ad55-c897-4bce-89eb-a5c6893f2399" } }, { @@ -35,53 +35,57 @@ "cache-control": "no-store, no-cache", "content-length": "1351", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:34 GMT", + "date": "Mon, 08 Nov 2021 20:12:35 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+bno\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12071.7 - NCUS ProdSlices", - "x-ms-request-id": "ec2db47b-ecd5-4c02-9710-6d51d65b5900" + "x-ms-ests-server": "2.1.12197.4 - WUS2 ProdSlices", + "x-ms-request-id": "ef4acac9-1f78-47a5-8d3f-ce4c6ecda300" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/exchange", - "query": {}, + "query": { + "api-version": "2021-07-01" + }, "requestBody": "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token", "status": 200, "response": "{\"refresh_token\":\"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:35 GMT", + "date": "Mon, 08 Nov 2021 20:12:35 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "f1ddf19b-50fe-4f29-9366-51f933c044e9", - "x-ms-ratelimit-remaining-calls-per-second": "166.266667" + "x-ms-correlation-request-id": "46a51247-c88f-4e7a-9842-f5c0881c8913", + "x-ms-ratelimit-remaining-calls-per-second": "166.333333" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:35 GMT", + "date": "Mon, 08 Nov 2021 20:12:36 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "9b039dc8-ce3e-4be2-b59a-cab955ace42a", - "x-ms-ratelimit-remaining-calls-per-second": "166.25" + "x-ms-correlation-request-id": "5d15798e-75c8-40e5-9ee2-79e599636e7e", + "x-ms-ratelimit-remaining-calls-per-second": "166.316667" } }, { @@ -93,19 +97,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-06-01T17:44:40.8107647Z\",\"lastUpdateTime\":\"2021-06-01T17:44:40.8107647Z\",\"signed\":false,\"quarantineState\":\"Passed\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n", + "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-06-01T17:44:40.8107647Z\",\"lastUpdateTime\":\"2021-06-01T17:44:40.8107647Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", - "content-length": "419", + "content-length": "392", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:35 GMT", + "date": "Mon, 08 Nov 2021 20:12:36 GMT", "docker-distribution-api-version": "registry/2.0", "link": "; rel=\"next\"", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "eb070393-fbeb-4e5a-a1f8-0fc46fafaccd" + "x-ms-correlation-request-id": "e2fd9c79-6ebd-4664-a176-57ff6a57c255" } }, { @@ -125,31 +129,33 @@ "connection": "keep-alive", "content-length": "222", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:35 GMT", + "date": "Mon, 08 Nov 2021 20:12:36 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_read\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "983566cc-b6dd-47b2-bbba-86e77ab85d15" + "x-ms-correlation-request-id": "65fade7c-d6f0-4f67-b665-4cc55aefc7ff" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:35 GMT", + "date": "Mon, 08 Nov 2021 20:12:36 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "dfeb23f6-09ed-4930-ac97-2e9c46dee4d8", - "x-ms-ratelimit-remaining-calls-per-second": "166.233333" + "x-ms-correlation-request-id": "46ff7ea1-aa88-431d-9e04-810022100c01", + "x-ms-ratelimit-remaining-calls-per-second": "166.3" } }, { @@ -163,19 +169,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"test-delete\",\"digest\":\"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f\",\"createdTime\":\"2021-09-20T18:54:55.6044202Z\",\"lastUpdateTime\":\"2021-09-20T18:54:55.6044202Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n", + "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"test-delete\",\"digest\":\"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51\",\"createdTime\":\"2021-11-08T20:11:57.5087151Z\",\"lastUpdateTime\":\"2021-11-08T20:11:57.5087151Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", "content-length": "397", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:35 GMT", + "date": "Mon, 08 Nov 2021 20:12:36 GMT", "docker-distribution-api-version": "registry/2.0", "link": "; rel=\"next\"", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "4618b7c4-c189-401b-a92a-3b431131a3a0" + "x-ms-correlation-request-id": "82297739-6337-47d7-b5b2-96bec2fa1e5a" } } ], @@ -183,5 +189,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "af5d1aa0b90933f1252cacbe1fecdb19" + "hash": "35f46853ffc81bf71e1df4b08cfef74c" } \ No newline at end of file diff --git a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_tags_by_pages_with_continuationtoken.json b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_tags_by_pages_with_continuationtoken.json index aabb3b8fa652..b7432fa1a9ea 100644 --- a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_tags_by_pages_with_continuationtoken.json +++ b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_list_tags_by_pages_with_continuationtoken.json @@ -17,13 +17,13 @@ "connection": "keep-alive", "content-length": "222", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:35 GMT", + "date": "Mon, 08 Nov 2021 20:12:36 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_read\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "fae8db55-097f-41fe-9577-6fd63d363c17" + "x-ms-correlation-request-id": "4a103332-70f7-47ea-b9b8-111cf59ff200" } }, { @@ -37,53 +37,57 @@ "cache-control": "no-store, no-cache", "content-length": "1351", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:35 GMT", + "date": "Mon, 08 Nov 2021 20:12:36 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+bno\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12071.7 - EUS ProdSlices", - "x-ms-request-id": "2fefb0ce-b6a8-4a55-b46a-ba67fafd8800" + "x-ms-ests-server": "2.1.12197.4 - EUS ProdSlices", + "x-ms-request-id": "ad7839d5-4e10-4518-b087-69a6349ec900" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/exchange", - "query": {}, + "query": { + "api-version": "2021-07-01" + }, "requestBody": "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token", "status": 200, "response": "{\"refresh_token\":\"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:36 GMT", + "date": "Mon, 08 Nov 2021 20:12:36 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "f95e4ca0-5480-4ae2-a243-dc0586d70587", - "x-ms-ratelimit-remaining-calls-per-second": "166.216667" + "x-ms-correlation-request-id": "c4551686-a13e-4518-8680-d8c7bb766b79", + "x-ms-ratelimit-remaining-calls-per-second": "166.283333" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:36 GMT", + "date": "Mon, 08 Nov 2021 20:12:36 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "816b62b9-5f5f-4f38-9349-d6b648224ae0", - "x-ms-ratelimit-remaining-calls-per-second": "166.2" + "x-ms-correlation-request-id": "eec151d0-c79a-484c-b6e6-3e08728c3513", + "x-ms-ratelimit-remaining-calls-per-second": "166.266667" } }, { @@ -97,18 +101,18 @@ }, "requestBody": null, "status": 200, - "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"test1\",\"digest\":\"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f\",\"createdTime\":\"2021-06-11T19:11:38.7001063Z\",\"lastUpdateTime\":\"2021-09-20T18:50:54.0904821Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n", + "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"test1\",\"digest\":\"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51\",\"createdTime\":\"2021-06-11T19:11:38.7001063Z\",\"lastUpdateTime\":\"2021-11-08T19:55:53.3335808Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", "content-length": "391", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:36 GMT", + "date": "Mon, 08 Nov 2021 20:12:37 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "73ecab57-e72f-43a4-9c7a-6ab1cc3f70ca" + "x-ms-correlation-request-id": "9d5a9cd3-58ba-4b44-affb-8d9aa2332025" } } ], @@ -116,5 +120,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "5203dfc8df356c7925660291ed0b7726" + "hash": "411fc10aeb3e1b9c38baeeaa97f968da" } \ No newline at end of file diff --git a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_digest.json b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_digest.json index 4646b3691feb..e48aa5b2fec0 100644 --- a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_digest.json +++ b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_digest.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "GET", - "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", + "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409", "query": { "api-version": "2021-07-01" }, @@ -14,13 +14,13 @@ "connection": "keep-alive", "content-length": "222", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:39 GMT", + "date": "Mon, 08 Nov 2021 20:12:41 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_read\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "fe53cb9b-edaf-440e-8d13-8b1e27774028" + "x-ms-correlation-request-id": "d089374d-d553-4c10-a62f-d53f03d4c9cc" } }, { @@ -34,75 +34,79 @@ "cache-control": "no-store, no-cache", "content-length": "1351", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:38 GMT", + "date": "Mon, 08 Nov 2021 20:12:41 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+bno\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12071.7 - NCUS ProdSlices", - "x-ms-request-id": "dc78aba5-f7d3-4519-9080-61756ed77700" + "x-ms-ests-server": "2.1.12197.4 - SCUS ProdSlices", + "x-ms-request-id": "59f1e6a0-a5a7-496f-b6bc-55124aecea00" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/exchange", - "query": {}, + "query": { + "api-version": "2021-07-01" + }, "requestBody": "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token", "status": 200, "response": "{\"refresh_token\":\"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:39 GMT", + "date": "Mon, 08 Nov 2021 20:12:41 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "aec770bc-931f-4358-8b6d-f6658f3dd5b0", - "x-ms-ratelimit-remaining-calls-per-second": "165.966667" + "x-ms-correlation-request-id": "369c2b6b-ced3-4db1-a4c1-f7e870432715", + "x-ms-ratelimit-remaining-calls-per-second": "166.033333" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:39 GMT", + "date": "Mon, 08 Nov 2021 20:12:41 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "3ecb4ccf-7a42-4aef-885a-61a7e6c1706d", - "x-ms-ratelimit-remaining-calls-per-second": "165.95" + "x-ms-correlation-request-id": "a39d1f98-8224-40ca-b080-15db43fbd971", + "x-ms-ratelimit-remaining-calls-per-second": "166.016667" } }, { "method": "GET", - "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", + "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409", "query": { "api-version": "2021-07-01" }, "requestBody": null, "status": 200, - "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552\",\"imageSize\":525,\"createdTime\":\"2021-07-12T19:20:00.913255Z\",\"lastUpdateTime\":\"2021-07-12T19:20:00.913255Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineDetails\":\"{\\\"state\\\":\\\"Scan Failed\\\",\\\"link\\\":\\\"https://aka.ms/test\\\",\\\"scanner\\\":\\\"Azure Security Monitoring-Qualys Scanner\\\",\\\"result\\\":{\\\"version\\\":\\\"9/20/2021 6:54:56 PM\\\",\\\"summary\\\":[{\\\"severity\\\":\\\"High\\\",\\\"count\\\":0},{\\\"severity\\\":\\\"Medium\\\",\\\"count\\\":0},{\\\"severity\\\":\\\"Low\\\",\\\"count\\\":0}]}}\",\"quarantineState\":\"Passed\"}}}\n", + "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409\",\"imageSize\":4727,\"createdTime\":\"2021-10-06T21:01:30.4148083Z\",\"lastUpdateTime\":\"2021-10-06T21:01:30.4148083Z\",\"architecture\":\"386\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", - "content-length": "822", + "content-length": "481", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:39 GMT", + "date": "Mon, 08 Nov 2021 20:12:41 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "9529d5f4-c20a-404b-91ab-1a5c1769b8b2" + "x-ms-correlation-request-id": "412576c7-037d-4363-8bbd-8e876ec9bb84" } } ], @@ -110,5 +114,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "e9a3dcf7780d2ac9f7a1a1d869952b6b" + "hash": "522923b27b72c55232f8f7750b76367d" } \ No newline at end of file diff --git a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_tag.json b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_tag.json index 4a17b8ef1fbc..c8eeb635a706 100644 --- a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_tag.json +++ b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_tag.json @@ -14,13 +14,13 @@ "connection": "keep-alive", "content-length": "222", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:38 GMT", + "date": "Mon, 08 Nov 2021 20:12:40 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_read\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "2576601b-3be7-476d-bb95-a10a6f18c31d" + "x-ms-correlation-request-id": "0c396baa-f851-47d7-8759-80f8e04b5a9d" } }, { @@ -34,53 +34,57 @@ "cache-control": "no-store, no-cache", "content-length": "1351", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:38 GMT", + "date": "Mon, 08 Nov 2021 20:12:40 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+bno\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12071.7 - WUS2 ProdSlices", - "x-ms-request-id": "c7fae17c-8ec8-4498-8397-6152e024b200" + "x-ms-ests-server": "2.1.12197.4 - NCUS ProdSlices", + "x-ms-request-id": "2d569c2f-a280-459c-b60c-0972f6aea200" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/exchange", - "query": {}, + "query": { + "api-version": "2021-07-01" + }, "requestBody": "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token", "status": 200, "response": "{\"refresh_token\":\"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:38 GMT", + "date": "Mon, 08 Nov 2021 20:12:40 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "dc882fb0-acb6-4cc5-9599-38f9c28f3518", - "x-ms-ratelimit-remaining-calls-per-second": "166.016667" + "x-ms-correlation-request-id": "5c50e682-ba2b-436b-bd30-b4fee1b0b865", + "x-ms-ratelimit-remaining-calls-per-second": "166.083333" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:38 GMT", + "date": "Mon, 08 Nov 2021 20:12:40 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "004ca3bf-3a27-4c83-9cfe-393a2bab28bd", - "x-ms-ratelimit-remaining-calls-per-second": "166" + "x-ms-correlation-request-id": "71d6f3aa-3abf-475c-b2ca-e7e9e34f9033", + "x-ms-ratelimit-remaining-calls-per-second": "166.066667" } }, { @@ -91,23 +95,23 @@ }, "requestBody": null, "status": 200, - "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"test1\",\"digest\":\"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f\",\"createdTime\":\"2021-06-11T19:11:38.7001063Z\",\"lastUpdateTime\":\"2021-09-20T18:50:54.0904821Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n", + "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"test1\",\"digest\":\"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51\",\"createdTime\":\"2021-06-11T19:11:38.7001063Z\",\"lastUpdateTime\":\"2021-11-08T19:55:53.3335808Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", "content-length": "388", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:38 GMT", + "date": "Mon, 08 Nov 2021 20:12:40 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "90742bb9-c58d-478b-a63e-5c3350ebd06d" + "x-ms-correlation-request-id": "ccbef00f-d54c-455b-9c41-2c4423931b34" } }, { "method": "GET", - "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f", + "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51", "query": { "api-version": "2021-07-01" }, @@ -119,53 +123,55 @@ "connection": "keep-alive", "content-length": "222", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:39 GMT", + "date": "Mon, 08 Nov 2021 20:12:40 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_read\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "584f668a-5bd2-406d-a55a-5f3120d1d5fe" + "x-ms-correlation-request-id": "c7ddbdaa-8b04-4827-87cc-23f3bdd20fba" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:39 GMT", + "date": "Mon, 08 Nov 2021 20:12:40 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "c8c7cc45-49fe-49d1-877f-91e7a82aed18", - "x-ms-ratelimit-remaining-calls-per-second": "165.983333" + "x-ms-correlation-request-id": "bcfa2315-be2e-4b12-90ba-dc75bcadc414", + "x-ms-ratelimit-remaining-calls-per-second": "166.05" } }, { "method": "GET", - "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f", + "url": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51", "query": { "api-version": "2021-07-01" }, "requestBody": null, "status": 200, - "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f\",\"imageSize\":61958,\"createdTime\":\"2021-09-20T18:50:53.9769732Z\",\"lastUpdateTime\":\"2021-09-20T18:50:53.9769732Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"test-delete\",\"test1\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"architecture\":\"mips64le\",\"os\":\"linux\"},{\"digest\":\"sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114\",\"architecture\":\"riscv64\",\"os\":\"linux\"},{\"digest\":\"sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172\",\"architecture\":\"s390x\",\"os\":\"linux\"},{\"digest\":\"sha256:dd295b166e7a35d810b7d286c62fee3c575fdde553182271fc0e5fb01ac81b15\",\"architecture\":\"amd64\",\"os\":\"windows\"},{\"digest\":\"sha256:4fb0dd2040e4a909567fb8fd36338a00e727926da9e8f93fa1fe58cbc3b9af9c\",\"architecture\":\"amd64\",\"os\":\"windows\"}]}}\n", + "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51\",\"imageSize\":61625,\"createdTime\":\"2021-11-08T19:55:53.1835258Z\",\"lastUpdateTime\":\"2021-11-08T19:55:53.1835258Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"test-delete\",\"test1\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:f54a58bc1aac5ea1a25d796ae155dc228b3f0e11d046ae276b39c4bf2f13d8c4\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:7b8b7289d0536a08eabdf71c20246e23f7116641db7e1d278592236ea4dcb30c\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:f130bd2d67e6e9280ac6d0a6c83857bfaf70234e8ef4236876eccfbd30973b1c\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:01433e86a06b752f228e3c17394169a5e21a0995f153268a9b36a16d4f2b2184\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:c2f204d26b4ea353651385001bb6bc371d8c4edcd9daf61d00ad365d927e00c0\",\"architecture\":\"mips64le\",\"os\":\"linux\"},{\"digest\":\"sha256:b836bb24a270b9cc935962d8228517fde0f16990e88893d935efcb1b14c0017a\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:98c9722322be649df94780d3fbe594fce7996234b259f27eac9428b84050c849\",\"architecture\":\"riscv64\",\"os\":\"linux\"},{\"digest\":\"sha256:c7b6944911848ce39b44ed660d95fb54d69bbd531de724c7ce6fc9f743c0b861\",\"architecture\":\"s390x\",\"os\":\"linux\"},{\"digest\":\"sha256:31801872aacfc6245ba5277e07dc2c9a482a473c87d625f25c3e6d5de930b35d\",\"architecture\":\"amd64\",\"os\":\"windows\"},{\"digest\":\"sha256:563c31a6b24347d3f367df5dc33890ab1aec20e9470e5d998f3b6a8fc6eb5763\",\"architecture\":\"amd64\",\"os\":\"windows\"}]}}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", "content-length": "1835", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:39 GMT", + "date": "Mon, 08 Nov 2021 20:12:41 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "3130626c-a5d7-4424-8105-fa3e676fceee" + "x-ms-correlation-request-id": "3a639581-b550-4ec2-a422-4c414f22c94e" } } ], @@ -173,5 +179,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "81bae046d5126220e0791e91ea2f2232" + "hash": "40be44c8d3e22cf96e7b9b7947b32ec0" } \ No newline at end of file diff --git a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_retrive_tag_properties.json b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_retrive_tag_properties.json index a446e04471cc..5d12f7bfdc33 100644 --- a/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_retrive_tag_properties.json +++ b/sdk/containerregistry/container-registry/recordings/browsers/repository_and_artifact_tests/recording_should_retrive_tag_properties.json @@ -14,13 +14,13 @@ "connection": "keep-alive", "content-length": "222", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:38 GMT", + "date": "Mon, 08 Nov 2021 20:12:39 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "www-authenticate": "Bearer realm=\"https://myregistry.azurecr.io/oauth2/token\",service=\"myregistry.azurecr.io\",scope=\"repository:library/hello-world:metadata_read\"", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "6c572c4b-7f58-4cd6-a18f-064fd9ea9148" + "x-ms-correlation-request-id": "5ff2dde2-ee8b-47e5-8ffb-3d5b371dc8e6" } }, { @@ -34,53 +34,57 @@ "cache-control": "no-store, no-cache", "content-length": "1351", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:37 GMT", + "date": "Mon, 08 Nov 2021 20:12:39 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+bno\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12071.7 - WUS2 ProdSlices", - "x-ms-request-id": "5d2d65aa-7596-4507-aee1-ca310c3b9700" + "x-ms-ests-server": "2.1.12197.4 - WUS2 ProdSlices", + "x-ms-request-id": "ef4acac9-1f78-47a5-8d3f-ce4c11cea300" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/exchange", - "query": {}, + "query": { + "api-version": "2021-07-01" + }, "requestBody": "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token", "status": 200, "response": "{\"refresh_token\":\"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:38 GMT", + "date": "Mon, 08 Nov 2021 20:12:40 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "9b8ef432-19f2-4646-a197-a155de17c967", - "x-ms-ratelimit-remaining-calls-per-second": "166.05" + "x-ms-correlation-request-id": "cc3d7100-dfef-46d8-b2f2-3dcb59619ef7", + "x-ms-ratelimit-remaining-calls-per-second": "166.116667" } }, { "method": "POST", "url": "https://myregistry.azurecr.io/oauth2/token", - "query": {}, - "requestBody": "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read", + "query": { + "api-version": "2021-07-01" + }, + "requestBody": "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token", "status": 200, "response": "{\"access_token\":\"access_token\"}", "responseHeaders": { "connection": "keep-alive", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:38 GMT", + "date": "Mon, 08 Nov 2021 20:12:40 GMT", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", - "x-ms-correlation-request-id": "3a44e5a0-4ddb-43f6-ad80-e3a5883bbeef", - "x-ms-ratelimit-remaining-calls-per-second": "166.033333" + "x-ms-correlation-request-id": "1279eeb0-2a49-4383-9cc1-694fbd4dd6d9", + "x-ms-ratelimit-remaining-calls-per-second": "166.1" } }, { @@ -91,18 +95,18 @@ }, "requestBody": null, "status": 200, - "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"test1\",\"digest\":\"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f\",\"createdTime\":\"2021-06-11T19:11:38.7001063Z\",\"lastUpdateTime\":\"2021-09-20T18:50:54.0904821Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n", + "response": "{\"registry\":\"myregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"test1\",\"digest\":\"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51\",\"createdTime\":\"2021-06-11T19:11:38.7001063Z\",\"lastUpdateTime\":\"2021-11-08T19:55:53.3335808Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n", "responseHeaders": { "access-control-expose-headers": "Docker-Content-Digest, WWW-Authenticate, Link, X-Ms-Correlation-Request-Id", "connection": "keep-alive", "content-length": "388", "content-type": "application/json; charset=utf-8", - "date": "Mon, 20 Sep 2021 18:55:38 GMT", + "date": "Mon, 08 Nov 2021 20:12:40 GMT", "docker-distribution-api-version": "registry/2.0", "server": "openresty", "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "d0265b70-5ad4-4bfd-b5e7-56fd53124e4c" + "x-ms-correlation-request-id": "bec63c62-4913-40dd-90a2-e92e3012c69c" } } ], @@ -110,5 +114,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "7f2f4399079c95ce16922a097580f751" + "hash": "9ad36bbb1839140335a17ae22a8951f2" } \ No newline at end of file diff --git a/sdk/containerregistry/container-registry/recordings/node/anonymous_access_tests/recording_should_list_repositories_with_anonymous_access.js b/sdk/containerregistry/container-registry/recordings/node/anonymous_access_tests/recording_should_list_repositories_with_anonymous_access.js index e6363d2c8de3..421aa6630f22 100644 --- a/sdk/containerregistry/container-registry/recordings/node/anonymous_access_tests/recording_should_list_repositories_with_anonymous_access.js +++ b/sdk/containerregistry/container-registry/recordings/node/anonymous_access_tests/recording_should_list_repositories_with_anonymous_access.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "f524cc3eaf0f0c60159570d26aaf8719"; +module.exports.hash = "6e2d53030688d68fea1002128770e796"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -11,13 +11,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:23 GMT', + 'Mon, 08 Nov 2021 20:10:16 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '196', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -35,26 +35,27 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '4790f72d-f920-4f8f-82b3-5da72341b4ba', + '53051afe-7b8f-4899-a720-2680d17cf855', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=password&service=myregistry.azurecr.io&refresh_token=&scope=registry%3Acatalog%3A*") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=registry%3Acatalog%3A*&refresh_token=&grant_type=password") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:23 GMT', + 'Mon, 08 Nov 2021 20:10:16 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - 'e7edab1a-a928-4b79-88e0-fe9f627a167c', + '8315e6ff-6302-4dbe-a601-ec601da6e30d', 'x-ms-ratelimit-remaining-calls-per-second', '166.65', 'Strict-Transport-Security', @@ -68,13 +69,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:23 GMT', + 'Mon, 08 Nov 2021 20:10:16 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '112', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -90,7 +91,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - 'a6ab3158-f5e2-4e05-a90b-54931b3aee59', + 'f350accc-db9d-4bcf-a82b-a3a570fa8dca', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); diff --git a/sdk/containerregistry/container-registry/recordings/node/anonymous_access_tests/recording_should_throw_error_setting_properties_with_anonymous_access.js b/sdk/containerregistry/container-registry/recordings/node/anonymous_access_tests/recording_should_throw_error_setting_properties_with_anonymous_access.js index a61832e3c608..bce1d32c6c8e 100644 --- a/sdk/containerregistry/container-registry/recordings/node/anonymous_access_tests/recording_should_throw_error_setting_properties_with_anonymous_access.js +++ b/sdk/containerregistry/container-registry/recordings/node/anonymous_access_tests/recording_should_throw_error_setting_properties_with_anonymous_access.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "36127f43aefa7c87e3b14a44690b4280"; +module.exports.hash = "9bffdd9e78d97841b9f11917b9f35378"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -11,13 +11,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:23 GMT', + 'Mon, 08 Nov 2021 20:10:17 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '223', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -35,28 +35,29 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '05a3ea4b-dd6d-496b-95c4-0c04706c58c9', + '14ea2103-d3f8-4f4d-82e9-288d17885e1e', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=password&service=myregistry.azurecr.io&refresh_token=&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write&refresh_token=&grant_type=password") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:23 GMT', + 'Mon, 08 Nov 2021 20:10:17 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '2d9568a1-5273-480a-8ef7-98345077f033', + '7ee112df-b7fd-4e9b-9260-9adfaee5d5a4', 'x-ms-ratelimit-remaining-calls-per-second', - '166.633333', + '166.65', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -68,13 +69,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:23 GMT', + 'Mon, 08 Nov 2021 20:10:17 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '223', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -92,7 +93,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '537a71ed-04aa-4834-8fbb-20d39467214e', + '2686d567-5612-4dce-8ec5-7a29ac91a5bc', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); diff --git a/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_deletes_repository_of_given_name.js b/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_deletes_repository_of_given_name.js index 65fe6aaa9fda..123d96ac6dc2 100644 --- a/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_deletes_repository_of_given_name.js +++ b/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_deletes_repository_of_given_name.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "ba43551d9e76cf88d114b3ef81134b9b"; +module.exports.hash = "62f8cb8ea39bed2f53833d16c5a95b41"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -11,13 +11,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:26 GMT', + 'Mon, 08 Nov 2021 20:10:24 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '211', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -35,7 +35,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '6185e8e4-8e01-45e8-94da-b853bc27afe2', + 'd965ee40-23f0-4f0d-8740-baec26f1138d', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -46,8 +46,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -61,19 +59,23 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '3b06bc5f-d348-4c35-a7d1-b41102829a00', + '3a93e144-1fe5-4959-af00-e315d7f4c600', 'x-ms-ests-server', - '2.1.12025.15 - NCUS ProdSlices', + '2.1.12197.4 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AlzdW5BmMAVGoUHF3MZMP_M; expires=Wed, 20-Oct-2021 18:54:26 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Au4OQuxvsF9GuSI6l3vVj-4; expires=Wed, 08-Dec-2021 20:10:24 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrEwAgNGEeS37vTK7DEBa2ktIs1JYB53Ml8cXrTfE4C9xHgxJr_k087seu1GwpECcAshNaFFtRR-CeIyQqbtb2aJZlNnejc3BGAuTyRCeTDEr9XZ9y0EIduX_JRWPHbPy0aHglKSW78NGlt4kasrxT6ro-f9gBfCH7yOAkHp5Hv_MgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrqEQNDroo09IUJalL-tsGujr-7g0RyyO5hH33My9XoUVhe332BoQq3lxMuZ-r0ffigyk4jZ_bbp5DAUpl7oPx9mCzJV6UCMufHUuAXWdc3-g2QSO5MEuo41SXo6JmWpr9yp1UpevAG-rCVFUflUjeqdZ7j3uVNiz6Hq7wCZ6ZUNYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:26 GMT' + 'Mon, 08 Nov 2021 20:10:23 GMT', + 'Connection', + 'close', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) @@ -94,25 +96,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'a8477190-69d6-4500-b10a-edf9e538a800', + '88ac39c9-f386-4446-8186-1be97185af00', 'x-ms-ests-server', - '2.1.12071.7 - WUS2 ProdSlices', + '2.1.12197.4 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=Ah2a3HAsSIFFgy7EGUgGtcs; expires=Wed, 20-Oct-2021 18:54:26 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AqOsKn5NUg9JmK_r0ki6HNU; expires=Wed, 08-Dec-2021 20:10:24 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrbJFVy2Y0dt9BkCBTfs_-k8lO3PwXusBNzXDwkSiE6IpLC1d948xv0094EMwZW_JKJ3yI67haYk_50F-W8wSv6US1vV2AElb3sQso7It3idgA7Sm-2Wgl4Khmrwgz06aFj_Yh8oXqvDr4fnFSNHy2J25p8woh1zKBXPOyPD4W6lMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr_sYxAC4jUwuBl89mbqR5hr5eEGNP7LJdwYI32F6HgLbs_GmwiCbCIbZEPujGts9efLgwtO3XWk3Jchm05saGLhe0ci-ihJPgRsWqlgwf2ewg6Rir-Z6IwomyV8GMSlpOmd1xKV6atT6tdr4Bi-k01lieacqz7JDBKlzOKNShGTEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:26 GMT', + 'Mon, 08 Nov 2021 20:10:23 GMT', + 'Connection', + 'close', 'Content-Length', '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=454ba46c-11dd-4e00-a566-0e1e9032c89b&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.2&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=50ae7b87-842e-403a-8426-63c1490a56d7&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -129,61 +133,65 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'ad5c7372-4d10-4042-b615-46b719ecb200', + 'cac94cd0-6c34-4e4c-a518-d911fc49cb00', 'x-ms-ests-server', - '2.1.12071.7 - SCUS ProdSlices', + '2.1.12197.4 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AtySsEJguFdLj02iXA5S4vhGOXJzAQAAAOLP2tgOAAAA; expires=Wed, 20-Oct-2021 18:54:26 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Ak-KXlTguGxOnDlBQs5YpEhGOXJzAQAAADB7G9kOAAAA; expires=Wed, 08-Dec-2021 20:10:24 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:26 GMT', + 'Mon, 08 Nov 2021 20:10:24 GMT', + 'Connection', + 'close', 'Content-Length', '1351' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .post('/oauth2/exchange', "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token") + .query(true) .reply(200, {"refresh_token":"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:26 GMT', + 'Mon, 08 Nov 2021 20:10:24 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - 'd2f18ec7-ddb4-4f0e-91d0-9ed34ad25c59', + 'f8ea5feb-d84e-4c4f-bed7-10241ff4b690', 'x-ms-ratelimit-remaining-calls-per-second', - '166.533333', + '166.65', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fbusybox%3Adelete") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fbusybox%3Adelete&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:26 GMT', + 'Mon, 08 Nov 2021 20:10:25 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - 'e10f6d39-7e83-48b9-bc51-8ea7ca0d9802', + '91cf54af-f6ba-4c32-bbb8-a0a95bac9a82', 'x-ms-ratelimit-remaining-calls-per-second', - '166.516667', + '166.65', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -191,17 +199,17 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .delete('/acr/v1/library%2Fbusybox') .query(true) - .reply(202, {"manifestsDeleted":["sha256:149ff441a10b7e05b3c60da0916f98405e9bb551923fefd930079d1a55c01ce0","sha256:52f73a0a43a16cf37cd0720c90887ce972fe60ee06a687ee71fb93a7ca601df7","sha256:75c155e143b2cd2c2cfc3574b944cb2bff5a989f038d70769b5f4c430e4a1822","sha256:7698c9fb8475863d79c9f76ebd48341448ece7865a0066e7d9d39adda53c1a35","sha256:829b46ecdbdda76abbfe33b8a66332a02aa1593acc434541b4069ce5927bb811","sha256:96a17b68467be2bbf8df538d24cf8615c9790ed5d1a5f895e78bb2ae95405105","sha256:a78428bd5e3428ea3f71f14eb5c2e3a38316098eb99430b3e49f49a63994bb0d","sha256:c71cb4f7e8ececaffb34037c2637dc86820e4185100e18b4d02d613a9bd772af","sha256:e2992f6a4bd258e6c3ad3c4449ba42010ef114ff643afbb27dc5f8a98f590b13","sha256:ed88784ce1c8a3aac3745f5a6edadf2e8f901e86a524e66221178f280013109c","sha256:febcf61cd6e1ac9628f6ac14fa40836d16f3c6ddef3b303ff0321606e55ddd0b"],"tagsDeleted":["latest"]}, [ + .reply(202, {"manifestsDeleted":["sha256:06b206c1f1a38094697c7e8bf868f9d326e56a256bc516dbb8ff0ee9c1178999","sha256:15e927f78df2cc772b70713543d6b651e3cd8370abf86b2ea4644a9fba21107f","sha256:399e1e4a0d587717dc9e3a85150cec8498cb6dc73dcb7eddb94959fedb331104","sha256:4ecc3dc2e06a24df931cb719c3784611d15721c3cb64ab069141071b73f6598b","sha256:53c212bcc0501f011c232df0fb6c837651d0b2f3257b6478a50c0e006b0dabc5","sha256:6066ca124f8c2686b7ae71aa1d6583b28c6dc3df3bdc386f2c89b92162c597d9","sha256:77df281071dd7e01972ec2c4a33c1a6c00d13b24238375fd6622fce97f622fa2","sha256:86824a27910bd2a8c6a8478fe99206e6cf4bcada7cb8435c0060cbe885559e53","sha256:b70f0f45692830c2990b42f770aa29488c20ac41f1c3dcaa242920b73cb1399b","sha256:c71cb4f7e8ececaffb34037c2637dc86820e4185100e18b4d02d613a9bd772af","sha256:ce53e9b0310447d0e851ff0d2c9b90f358dbffe719a723147e84b93a4799396c"],"tagsDeleted":["latest"]}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:28 GMT', + 'Mon, 08 Nov 2021 20:10:26 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '862', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -217,13 +225,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Client-Request-Id', - 'a9535496-9867-4ced-b8bd-96b0d660f8c2', + '7b3c680b-508e-4e21-b15c-9cb69a5b78bb', 'X-Ms-Correlation-Request-Id', - '7f3d0123-a2f2-47e4-8aad-286783d16822', + 'f5507fe7-b823-4322-801a-dbcea0ca8444', 'X-Ms-Ratelimit-Remaining-Calls-Per-Second', '8.000000', 'X-Ms-Request-Id', - '66bb2dba-dc4b-411c-b204-855740fb197c', + '3d46a10e-f0cb-478c-98cc-dedd3433ede1', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -235,13 +243,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:28 GMT', + 'Mon, 08 Nov 2021 20:10:27 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '196', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -259,28 +267,29 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '53146e25-f479-48dc-a51d-44bf57319ade', + 'e4c18706-1709-4312-81c5-aa6e6bfe0a76', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=registry%3Acatalog%3A*") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=registry%3Acatalog%3A*&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:28 GMT', + 'Mon, 08 Nov 2021 20:10:27 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '425e70cd-7e97-46ff-a8c1-a61249f87b36', + '5812a737-e243-4042-bb71-340d81a34ff2', 'x-ms-ratelimit-remaining-calls-per-second', - '166.5', + '166.65', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -292,13 +301,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:28 GMT', + 'Mon, 08 Nov 2021 20:10:27 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '65', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -314,7 +323,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '3e938e9c-609f-4a17-95e3-bdfb43abf3f7', + '6d1845b3-31bc-4a01-aaf2-f690bf89ef96', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); diff --git a/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories.js b/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories.js index ef3a2af626bc..b538ff36e17b 100644 --- a/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories.js +++ b/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "ca59f050c25f4831997ca8a98d00f949"; +module.exports.hash = "604f083c9e50776791ae9851719c21c9"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -11,13 +11,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:24 GMT', + 'Mon, 08 Nov 2021 20:10:17 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '196', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -35,7 +35,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '9ab2abb5-0665-497b-a0eb-a65b8c85e16d', + '0d2ed71d-d9ef-45dc-96d9-ac6b2110ddf4', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -46,8 +46,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -61,19 +59,23 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6b743675-a3e3-46ad-8689-c800c0109c00', + '21700992-e626-47ec-ba81-083e7b6fd300', 'x-ms-ests-server', - '2.1.12071.7 - SCUS ProdSlices', + '2.1.12197.4 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=Aib0ebj9bzlLl86HyD1iwO8; expires=Wed, 20-Oct-2021 18:54:24 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=As7rR3vm_dtApLakjHCTc8s; expires=Wed, 08-Dec-2021 20:10:17 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrvrrV3C8wzMQvoLiWy8N51PV2c_1ynmSikNK_rqscTCFcSEpB4jguRsmQD_4QOaa5vtLjBwSrK5rVbNkmv-Ikzn5YMfr2RJVkB8qqXwU06sbIJdKbdgPbTd79Of2leKCJrUplMl28_DlKwgAhqToGSEpl3su7ejjjKsddHAzMqYMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr-Ra49hpCGUW-0bJtK_EzVXIczR5XBUDKqe_ht5Q0CVHcqD_-tGvtSnHWEinaUMXIORDBnrCuu7kAhynAi6vXdJzUMwmytJoDN7Mw214mAhdisjcCAzbbCSysOdIYrmApdHDHgC6Mwnab-ilk5ejnrhx8JQ-QBQ510Kt-0WbXxckgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:24 GMT' + 'Mon, 08 Nov 2021 20:10:17 GMT', + 'Connection', + 'close', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) @@ -94,25 +96,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '53a49f77-302f-4706-b843-2f80aecf6d00', + '63e7e88e-e096-4f91-bc96-1f7ed0d5e800', 'x-ms-ests-server', - '2.1.12071.7 - NCUS ProdSlices', + '2.1.12197.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=Akkvt2ueJBFCi3-jZPz2COs; expires=Wed, 20-Oct-2021 18:54:24 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AjytkSzEj35Eu-YtVuPZ_z0; expires=Wed, 08-Dec-2021 20:10:18 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrSCXeEh6qaFU9bKUp-89wJpF53wF4RGZfIgHJii2QvytxSorawZ6U7rFCm3VvkqcPEfPKw6S_Rf8PR-M_14juadNpnnFewGOMCAMkjlbWwzYJO9ycVkxzZyuxf53g0oGZb3m5TNn4NyAQkJuSyMDU7LUzLk_5gjn_I9BhVSaT53UgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevruIP__ozQNsS2L3gXpV3vTPf264SPPNVuLfUd04K3hhmMEypAUASRC2XRGvaKP8LNaNHLrydTJslxEGPMXX162FmStPR_cUvDP9v3CSNnTn_C_dDtogSTjBkkPFDNE_jvXPK2Kx8ivf4u9n34SxJidSwYxy4nkrejBEczWZKN1UkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:24 GMT', + 'Mon, 08 Nov 2021 20:10:17 GMT', + 'Connection', + 'close', 'Content-Length', '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=3202aae1-81ab-46f7-9d80-df7471205f2a&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.2&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=9c6adc41-2607-43b9-a35a-70bc732c8aab&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -129,38 +133,41 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'a8477190-69d6-4500-b10a-edf99938a800', + 'b67c51e4-baca-476e-a116-a55695d49d00', 'x-ms-ests-server', - '2.1.12071.7 - WUS2 ProdSlices', + '2.1.12197.4 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=ApqaQM3s6oRLqdVwAsjdMXRGOXJzAQAAAN_P2tgOAAAA; expires=Wed, 20-Oct-2021 18:54:24 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AqaHutRg2PhJjrVxNQhuOXlGOXJzAQAAACl7G9kOAAAA; expires=Wed, 08-Dec-2021 20:10:18 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:24 GMT', + 'Mon, 08 Nov 2021 20:10:17 GMT', + 'Connection', + 'close', 'Content-Length', '1351' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .post('/oauth2/exchange', "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token") + .query(true) .reply(200, {"refresh_token":"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:24 GMT', + 'Mon, 08 Nov 2021 20:10:18 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '7302b052-ce32-4f0d-8ce2-03024d3d8062', + '5fe3d9e0-1676-4faa-bbf1-fcb0728a4794', 'x-ms-ratelimit-remaining-calls-per-second', '166.65', 'Strict-Transport-Security', @@ -168,22 +175,23 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=registry%3Acatalog%3A*") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=registry%3Acatalog%3A*&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:24 GMT', + 'Mon, 08 Nov 2021 20:10:19 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '21bdd9a4-1621-4d67-b5f0-4ecae688c878', + '19bed536-0c7e-4688-acbe-ec7d70d28ff2', 'x-ms-ratelimit-remaining-calls-per-second', - '166.633333', + '166.65', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -195,13 +203,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:24 GMT', + 'Mon, 08 Nov 2021 20:10:19 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '83', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -217,7 +225,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '5ef4a26c-c4cc-448e-b587-54083783ff10', + 'b96d7db4-3d38-4a9c-95b4-de70675e6c65', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); diff --git a/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories_by_pages.js b/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories_by_pages.js index e116bb2c97fe..44d86f45803a 100644 --- a/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories_by_pages.js +++ b/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories_by_pages.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "4e52e66c6380de07d75137aac625b609"; +module.exports.hash = "8f5bedd6f486e16f38ab5bfe9683f9bd"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -11,13 +11,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:25 GMT', + 'Mon, 08 Nov 2021 20:10:19 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '196', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -35,7 +35,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '3174008f-c454-4dd0-bf06-76056cae5911', + '875736fb-967d-4c17-9e4b-8fecd11494ea', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -59,19 +59,21 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '8a369753-c5ba-45a6-b13e-678ce1e08900', + 'ff3d1132-a188-46d1-9f5b-65edeb0dc001', 'x-ms-ests-server', - '2.1.12025.15 - SCUS ProdSlices', + '2.1.12171.15 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AiIekRvRFoVHg6pnQyMwd5U; expires=Wed, 20-Oct-2021 18:54:25 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Ajfj1SEp5xpJitmAXwuxdEQ; expires=Wed, 08-Dec-2021 20:10:19 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrB5ZS9M-cQbfIVKP90LosJW1b8xijbB25nPNhIylyvO_vcpYxTilzVqA3OVXKRcUh9OYcqlHdWFAq0bRztN3P5DQuT5hzaQx15aA81V1GpA8-ls0uh4Y-IVXTm5QZroyqgvrOh3AXyFiH6Cj0HDiS6z-8iyQjX1KGI4Xq4cWgE0QgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr8kZk3FdeF8seM1IQiIexIPLtIf_QFcVaeMWUy2Mxy8fPol0009MaPfz640PxltunBx3Y-5AKxlULuqvEJEA0KngIsqxh7gxwHoYQrhx3-EOx9KUOEO9Fgs4J8BaT4guAB4KC1r7U4Ys3nVvJNi41UMSh8Z8HL20GL_Aj97f1bjogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:25 GMT', + 'Mon, 08 Nov 2021 20:10:19 GMT', + 'Connection', + 'close', 'Content-Length', '980' ]); @@ -94,25 +96,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '06b0be8f-5119-48ce-bef3-aef96e22a300', + '5bcbda75-7f69-42fa-b72a-21a2fcd69600', 'x-ms-ests-server', - '2.1.12071.7 - WUS2 ProdSlices', + '2.1.12197.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AqDGwuYbSuNJnpHbnzNkJR0; expires=Wed, 20-Oct-2021 18:54:25 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgJElj8iKOZOuaeaY_rZSBs; expires=Wed, 08-Dec-2021 20:10:20 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrM_2595hEcwUW_seVxd8N2u4TozPnIPWBpnr4YKB4zA5ltfC49V6xs7iIBmw4dUhFTYSxxp2Tv-yF7YJQ-fPGdWKDBIDlry7LRZOMzHLns0ZhcV6K3QpBH9mIglurwaQFh6pN6heb5c-wdSH-aysl_XUhmVojL2Qzta2TsNfQvYogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrUSRDOSzyHiKdO4YPMdaFsgGUZeh_wc6oMwnoQiL2fJGGiyUpQSCKfL54P95bkJItHMLq90Zv4vqlHzVso-qUpWh__OqfQSQJN_go2LaIvXwUJd2UcVRLdYYsSn90HZm9aeU1edeGDWA1_Yw2m9bp_CqajWjiQcpd46EItkjEWrQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:25 GMT', + 'Mon, 08 Nov 2021 20:10:19 GMT', + 'Connection', + 'close', 'Content-Length', '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=4204d485-77ee-42dd-a7f3-704b933cbb2a&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.2&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=0fdf75b4-3b55-45bb-a696-eeca7a7b6ee8&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -129,61 +133,65 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '67b50e10-157f-49cf-a64b-487d7dc38600', + '786b46af-f0e4-44d6-9f50-0e7b8850af00', 'x-ms-ests-server', - '2.1.12071.7 - NCUS ProdSlices', + '2.1.12197.4 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=Ak6giRl3hDNEszdAg4tTFB9GOXJzAQAAAODP2tgOAAAA; expires=Wed, 20-Oct-2021 18:54:25 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AihWwKPsLetJjURCtU3os1FGOXJzAQAAACx7G9kOAAAA; expires=Wed, 08-Dec-2021 20:10:20 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:25 GMT', + 'Mon, 08 Nov 2021 20:10:19 GMT', + 'Connection', + 'close', 'Content-Length', '1351' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .post('/oauth2/exchange', "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token") + .query(true) .reply(200, {"refresh_token":"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:25 GMT', + 'Mon, 08 Nov 2021 20:10:20 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - 'f769180e-c691-4c85-a15c-6ef420c31817', + 'd35f5571-697c-4a2c-a321-b5d0ad305d6f', 'x-ms-ratelimit-remaining-calls-per-second', - '166.616667', + '166.65', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=registry%3Acatalog%3A*") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=registry%3Acatalog%3A*&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:25 GMT', + 'Mon, 08 Nov 2021 20:10:20 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '9e164bda-bf21-4d8e-a17c-1d4a4f266b41', + '3fc806b9-a092-4b89-89b4-c5e484d1955e', 'x-ms-ratelimit-remaining-calls-per-second', - '166.6', + '166.65', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -195,13 +203,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:25 GMT', + 'Mon, 08 Nov 2021 20:10:21 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '29', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -219,7 +227,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '80531ff1-4475-4f4c-85dc-8c9f8f8e791f', + '4f076c97-b51c-46b4-92e4-58cc88ea3a85', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -231,13 +239,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:25 GMT', + 'Mon, 08 Nov 2021 20:10:21 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '196', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -255,28 +263,29 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '981d8e3d-1c23-4976-b799-8dd8ac839b0d', + 'ed1f1647-91e5-42b6-8e44-dbc3fe004dca', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=registry%3Acatalog%3A*") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=registry%3Acatalog%3A*&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:25 GMT', + 'Mon, 08 Nov 2021 20:10:21 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '61c0f792-7a37-4d9d-b7fe-ea555abf8f0b', + 'a03bf11b-302f-4d30-9644-ea4cceeca026', 'x-ms-ratelimit-remaining-calls-per-second', - '166.583333', + '166.65', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -288,13 +297,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:25 GMT', + 'Mon, 08 Nov 2021 20:10:22 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '33', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -312,7 +321,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - 'c7339d3e-d90b-4d66-b481-43e194d378ad', + '8d0faa19-bc75-49ca-8c96-913df1b0973b', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); diff --git a/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories_by_pages_with_continuationtoken.js b/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories_by_pages_with_continuationtoken.js index 13147d7b0265..3d3604dc85be 100644 --- a/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories_by_pages_with_continuationtoken.js +++ b/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories_by_pages_with_continuationtoken.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "44dcb4ad6e61ea51e4b864bb390e984a"; +module.exports.hash = "2b783c7894a3e8227c1145cc1af9caed"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -11,13 +11,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:25 GMT', + 'Mon, 08 Nov 2021 20:10:22 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '196', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -35,7 +35,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - 'af8df282-2f4e-40a2-855b-89153c9bd7f8', + 'e3e42692-32f9-45ca-b57a-c43aecde4960', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -59,19 +59,21 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '98658f05-f599-4d9a-b9de-9e7a1bb3a600', + 'f9173078-3bbe-4b6b-aa83-a31e0d7b0c01', 'x-ms-ests-server', - '2.1.12071.7 - EUS ProdSlices', + '2.1.12171.15 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AmUCTyYTYuNFpZnbD9FCzn4; expires=Wed, 20-Oct-2021 18:54:25 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=ArlGpx5Q4LtLg3kRGbycxzY; expires=Wed, 08-Dec-2021 20:10:22 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrPqsahlrPKi_ktnxpsvO5wMmhhJhe9EsH9bdiKl0P4hARR-v7GqrlNfsreUzCOxqbgbvusOicpkakcnRzzWcm1BUrnhijI29K2kL8ucVVfez9Pht7dlbdJMaq4zuzyIpdBdmrXdhUTeHy31W5CCGBWdBoJgY0Xdl5GinbDaTELlwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrJoKF9ASL_xIc-ZEc5khGb6xXDgKA1fGAXcroqWjIWfqUkku2Nxb_FlghzFUDFjnvXj4h8hdU6OIecsWTDYLi0lYaPZEPGU2TPMEkD0-0Y4aluJ-6_MJCNECpdIRn1SYhfjig0bjilNH7q3MuwuyESu8Zd0LuwkXaSCVROO1xnAggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:25 GMT', + 'Mon, 08 Nov 2021 20:10:21 GMT', + 'Connection', + 'close', 'Content-Length', '980' ]); @@ -94,32 +96,32 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '67b50e10-157f-49cf-a64b-487d95c38600', + '52de8148-e744-4819-95af-274ced86d900', 'x-ms-ests-server', - '2.1.12071.7 - NCUS ProdSlices', + '2.1.12197.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=Aok4O44QuDdEtRZEG0SPsGE; expires=Wed, 20-Oct-2021 18:54:25 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AioYRgWH08BFuwFeMh520gE; expires=Wed, 08-Dec-2021 20:10:22 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrROmqy9cIFG0ropRe6UATEbWwaF7kUsTZC7VrGECEO6FUJYqTlxka1VB9aI6CmBQxSkNmCj_ud6ZNLDyWH0jHwuvEsthuR8KgjamjC8DAuG_PKhWdajuFmPaslzVV2i0twDa_BcCHpg7Jph1uxo2bK_BU8SPRFuXAOawMiaZqDbcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrdoazMEy0vYXjrDTKrRLFCxESjkMCKXcbIPx2B9-D-ISlLbdGQLz2z4akMm7sUNKJuCMrJhu4nBJJTDfRc5Oz2WDztolMa3kSDdPw7WftUDFLyhdFxQggAty0BbVxDC5sXp8uRA4RKnneEUh0ZmfAeRo5PsKPyKy71OBU7L6qC3wgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:25 GMT', + 'Mon, 08 Nov 2021 20:10:22 GMT', + 'Connection', + 'close', 'Content-Length', '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=dcacde35-bd57-4597-a273-b96502ea95f9&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.2&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=6865ec10-caa1-4947-807f-23f9b4447f22&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1351', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -131,59 +133,65 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '0c2eb0f8-facc-4ede-99e3-5a5531558300', + 'd7f440cd-9a28-421d-a0e0-3122c6b2a400', 'x-ms-ests-server', - '2.1.12071.7 - SCUS ProdSlices', + '2.1.12197.4 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AiVwPzH8DepAjgTkAmCeVBZGOXJzAQAAAOHP2tgOAAAA; expires=Wed, 20-Oct-2021 18:54:26 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AqTALiFgRapHu-QqvUuWseNGOXJzAQAAAC57G9kOAAAA; expires=Wed, 08-Dec-2021 20:10:22 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:26 GMT' + 'Mon, 08 Nov 2021 20:10:22 GMT', + 'Connection', + 'close', + 'Content-Length', + '1351' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .post('/oauth2/exchange', "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token") + .query(true) .reply(200, {"refresh_token":"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:26 GMT', + 'Mon, 08 Nov 2021 20:10:23 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '00fb279d-46ce-4360-9217-f9f4c1d43ec9', + 'a839f9ee-9bb2-4ef5-98c3-9a6159c67205', 'x-ms-ratelimit-remaining-calls-per-second', - '166.566667', + '166.65', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=registry%3Acatalog%3A*") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=registry%3Acatalog%3A*&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:26 GMT', + 'Mon, 08 Nov 2021 20:10:23 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '2405fb6d-fb5a-4d60-8737-72fe3ff4a2c8', + '34f3dfd3-de98-480d-83c3-b5662528d315', 'x-ms-ratelimit-remaining-calls-per-second', - '166.55', + '166.65', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -195,13 +203,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:26 GMT', + 'Mon, 08 Nov 2021 20:10:23 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '33', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -219,7 +227,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '633016fd-a80b-4bc0-b93c-e19c10b0fec5', + '179b2f8d-5ec1-44b0-86bf-2ae21ad21ee1', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_deletes_a_given_tag.js b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_deletes_a_given_tag.js index f0fd58d84324..40b17e5fe193 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_deletes_a_given_tag.js +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_deletes_a_given_tag.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "3661319ad1a9b76e42df18b646eca69e"; +module.exports.hash = "4194055396c3bb2fcf5a29d50b7be017"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -11,13 +11,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:39 GMT', + 'Mon, 08 Nov 2021 20:10:59 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '215', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -35,7 +35,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '3965e550-60ce-41ce-822e-f7ea928ab32c', + 'd6e457ec-6780-4642-afbb-0af650e33af7', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -59,19 +59,21 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'f6ca2445-cc47-4a53-90c9-0765e9a9e900', + 'a0e82b78-c75a-468e-aebb-42c687ab8a00', 'x-ms-ests-server', - '2.1.12025.15 - EUS ProdSlices', + '2.1.12197.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=An8xqW0purRLpK9Ql486WKA; expires=Wed, 20-Oct-2021 18:54:39 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Ap5wOS9ZE-NPk-b4HgF4z44; expires=Wed, 08-Dec-2021 20:10:59 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrAJMveoOGZ0X-_KBLhJG2yVO_HDYpz4vpYqVFpGb9bV839wDUeqAppHOLwSCtZvkUG9gbBWOQuzGOu02eJO1--8SuIE9y6Y8ptiJIy9oFjKLdlTp_VbvgVvmFmHzAHvOmsFije3pJTY_2jCqak-XjoY--7dKyobwVL7DIlgVOrAogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrbrMokZcxTAvPvJpmDhtSb0PrhCZvwqD_zbY1UM0ICPd0EUJXI_6LbnfonBCovXEODrnwKf4ipSoXp2twvM2wqZ_CxpzTqiNhRDtscB4Le_dF1f-lZrfDKO6sSbJA8QGozBq4LL84NHOf2QcO4d2xv6YYejfIFgoLH4kg4AFjFw4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:39 GMT', + 'Mon, 08 Nov 2021 20:10:59 GMT', + 'Connection', + 'close', 'Content-Length', '980' ]); @@ -94,25 +96,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '0c2eb0f8-facc-4ede-99e3-5a55e8578300', + '79312e1a-cf1e-4567-87e0-6132dc795800', 'x-ms-ests-server', - '2.1.12071.7 - SCUS ProdSlices', + '2.1.12197.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AvBKblbm8xlMgEa3rTH04ok; expires=Wed, 20-Oct-2021 18:54:39 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Ar8EmcITutdMnJ3At5_8rik; expires=Wed, 08-Dec-2021 20:10:59 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrMpU6jnw2IwRtn4BNQQLRefhE6mcntRvHDcqBk4dyboa67GlbGRxESUwdKHlaqk8iGekEHoY4O6Z6rU6IdiuD-FKNOPwXZhweT5rwp8s6_8h_Osme09PZOKRPvw69SDElVn0Z4Jtx0IUsAo7aJFmK6lTlLmH6YEhyKzYRFIarQZogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr-nktAwrllua-Br6YDezzkTsAGADJZG7O_nlWycYifobsrhvURgiwk8X4epwaERgD0t9mFNSpyveokvSySutp5vA3YZYIa3G9UhUlKZzBbaQu7nxpaPPVYImPhnyvIIXvns_SnaFCLFR8ze64vjT0OSWBE6FmzDw1YW9Qr6FWNjkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:39 GMT', + 'Mon, 08 Nov 2021 20:10:59 GMT', + 'Connection', + 'close', 'Content-Length', '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=70c1288a-b2c8-4b4c-90be-aacc99909718&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.2&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=b7d0464a-651b-4bfb-821d-3e98dab8efaf&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -129,51 +133,55 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'a8477190-69d6-4500-b10a-edf9123ba800', + '2e3987b2-98f1-4ef6-9c25-5f32c6bbac00', 'x-ms-ests-server', - '2.1.12071.7 - WUS2 ProdSlices', + '2.1.12197.4 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AsV2slAEj2dAg9DiqUhwrGVGOXJzAQAAAO7P2tgOAAAA; expires=Wed, 20-Oct-2021 18:54:39 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AprhsOncnWBNvWbBnZQ2H_dGOXJzAQAAAFN7G9kOAAAA; expires=Wed, 08-Dec-2021 20:11:00 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:39 GMT', + 'Mon, 08 Nov 2021 20:10:59 GMT', + 'Connection', + 'close', 'Content-Length', '1351' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .post('/oauth2/exchange', "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token") + .query(true) .reply(200, {"refresh_token":"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:39 GMT', + 'Mon, 08 Nov 2021 20:11:00 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '62841f07-70ff-4d58-a263-41c21974a244', + 'fa2e0f85-d040-47b7-9a35-6cb771a2a5df', 'x-ms-ratelimit-remaining-calls-per-second', - '165.933333', + '166.483333', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Adelete") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Adelete&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:39 GMT', + 'Mon, 08 Nov 2021 20:11:00 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', @@ -181,9 +189,9 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'X-Ms-Correlation-Request-Id', - '3e6a08e6-f389-4af5-9515-b777d1fa8131', + '0491f124-095c-490f-910d-952406aabb1d', 'x-ms-ratelimit-remaining-calls-per-second', - '165.916667', + '166.466667', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -195,11 +203,11 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:40 GMT', + 'Mon, 08 Nov 2021 20:11:01 GMT', 'Content-Length', '0', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -215,15 +223,15 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Client-Request-Id', - 'e8cd0866-d0af-40e7-b3a1-b18596d9d226', + '2db72572-3268-4106-9ec1-f8e2b0113cf8', 'X-Ms-Correlation-Request-Id', - '8dc2a373-e397-482f-9b0b-3c57cd4ef654', + '46fe73f2-7f17-43ce-8c2d-5975b34a99fc', 'X-Ms-Int-Docker-Content-Digest', - 'sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f', + 'sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51', 'X-Ms-Ratelimit-Remaining-Calls-Per-Second', '8.000000', 'X-Ms-Request-Id', - 'dd3c9270-2733-4501-ab4c-d694dcba0422', + '45b5f620-89c9-4817-b8ab-4626467cb2a7', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -235,13 +243,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:40 GMT', + 'Mon, 08 Nov 2021 20:11:01 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '222', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -259,28 +267,29 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '6333fdf8-02fc-43cb-bd9b-61c15eb9c284', + 'e8368ce4-58cd-47e2-aa62-fc9845ee1761', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:40 GMT', + 'Mon, 08 Nov 2021 20:11:01 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '427abe10-1000-4d17-a83d-abbc0a091709', + 'a63fd3c2-d7cb-4cf3-bef9-2309e40213a2', 'x-ms-ratelimit-remaining-calls-per-second', - '166.65', + '166.566667', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -292,13 +301,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:40 GMT', + 'Mon, 08 Nov 2021 20:11:01 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '81', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -314,7 +323,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '624986e4-1671-4440-ba52-5209512320e9', + '1d025783-e956-4733-9371-bc97e4b38583', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_manifest_properties.js b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_manifest_properties.js index baf5faddbd42..876d11b4b01c 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_manifest_properties.js +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_manifest_properties.js @@ -1,23 +1,23 @@ let nock = require('nock'); -module.exports.hash = "71a5fab2c0596ece5e16b878f673a474"; +module.exports.hash = "57bd3838b9b7d7171f2359a08cdd722e"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .get('/acr/v1/library%2Fhello-world/_manifests/sha256%3A3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552') + .get('/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409') .query(true) .reply(401, {"errors":[{"code":"UNAUTHORIZED","message":"authentication required, visit https://aka.ms/acr/authorization for more information.","detail":[{"Type":"repository","Name":"library/hello-world","Action":"metadata_read"}]}]}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:33 GMT', + 'Mon, 08 Nov 2021 20:10:42 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '222', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -35,7 +35,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - 'ec5d7f8d-018f-4381-9cd8-83d8db0a8c30', + '85c39aa7-44ba-4421-922a-566cf460f20e', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -46,8 +46,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -61,19 +59,23 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '02a21142-99c4-44d3-87ed-0c340df2f400', + '06f52aeb-9095-46d3-b312-86c761652701', 'x-ms-ests-server', - '2.1.12025.15 - EUS ProdSlices', + '2.1.12197.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AkWsj-ep5n5OpObEPTRRnMM; expires=Wed, 20-Oct-2021 18:54:33 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AvqrOs7Ku25Np4vHrfornG0; expires=Wed, 08-Dec-2021 20:10:42 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevroa_bw7KUibC9RIAQdRNuW-BL8nCBbqcx98Lrkm8T04HgVkOTjJteow8OM9VCmkN8f6TmsLemoyNMh9vSqGSHxJbJZjIvmkkMC3rPPbwv80Yin6WXzu6L0HaKOHO_HVbjhMVlKc1Txxk7mJO496CkNTg9w6LinQ8uPXnrJ4JIdj8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrRh-fBQ6DutbyuY33-jsXOwTVOKG9T6CKh0bEnKqogQRStIljCmtFZ41BdCcspA07nHKm7u1f6TLHVdZXFBAKxcPNQCo9agOqQe8qy6dytv1Pt_eIiaZ2pfryFzVFV_FfHw8H5ljasoYcKCRnp_diELRLNHqGcx0_INbCjRN9aXcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:33 GMT' + 'Mon, 08 Nov 2021 20:10:42 GMT', + 'Connection', + 'close', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) @@ -94,32 +96,32 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '06b0be8f-5119-48ce-bef3-aef98523a300', + 'fced77c5-56dd-490a-8fb5-c4106805aa00', 'x-ms-ests-server', - '2.1.12071.7 - WUS2 ProdSlices', + '2.1.12197.4 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AkC67OSQNdRBoswwnYplfyE; expires=Wed, 20-Oct-2021 18:54:33 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AqLKu90mSwhIsHLlNW1377U; expires=Wed, 08-Dec-2021 20:10:42 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrJJylfpTo6XmNiamCfoUMIHrPh6SI4cMg3eEsYNYvQhbi15XaMg2NOhkzB5RMp1NjB3W7PlXbliaZpzYT7l8zFBCM2kElbxXQNBCZQW9YaeTtlcWySv_D5rdFHPp7bHRJdzjJ9FLn0eI3zc7hGqjS7lzxe0_4MbeVVDr5BC7BojEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrxcJ21BXTiMooK6XFgsHsOwfyDFTEuvx_jQf_f4I_gj8b_G8aybEpyywY9Hqx4L_JxfB0-PPwAPyvjVCxA18KuexyRnksJYBybiDFhwnbyHPY_gMsz84_AW-dR3GivgLDsvVCUF0VvWi3aY9l-yXH_ZDmeGpdAIn2H24EDJAaafkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:33 GMT', + 'Mon, 08 Nov 2021 20:10:42 GMT', + 'Connection', + 'close', 'Content-Length', '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=81c2543d-abda-4dfb-a9de-24dba8838d39&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.2&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=114f4673-0ee2-4f2f-bcd2-87dd6c9874c5&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1351', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -131,77 +133,83 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '67b50e10-157f-49cf-a64b-487deec48600', + '0d91988f-39df-4efb-a121-62bee96a9f00', 'x-ms-ests-server', - '2.1.12071.7 - NCUS ProdSlices', + '2.1.12197.4 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=ArPlLgFv0-pHvEB3J3Uk4Y5GOXJzAQAAAOrP2tgOAAAA; expires=Wed, 20-Oct-2021 18:54:34 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Am0Xj-kEMgBMusvmoPHTQPhGOXJzAQAAAEJ7G9kOAAAA; expires=Wed, 08-Dec-2021 20:10:43 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:34 GMT' + 'Mon, 08 Nov 2021 20:10:42 GMT', + 'Connection', + 'close', + 'Content-Length', + '1351' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .post('/oauth2/exchange', "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token") + .query(true) .reply(200, {"refresh_token":"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:34 GMT', + 'Mon, 08 Nov 2021 20:10:43 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '623c0829-9ee8-4bf4-9531-6268d3cb9c0e', + 'e02c57fc-5bc0-43b4-adc0-1951c59379d2', 'x-ms-ratelimit-remaining-calls-per-second', - '166.25', + '166.633333', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:34 GMT', + 'Mon, 08 Nov 2021 20:10:43 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - 'f99e8c99-231b-406a-82ac-8de7e4a01c6c', + '8e94b4af-24ea-419c-94c2-1c30e75043c0', 'x-ms-ratelimit-remaining-calls-per-second', - '166.233333', + '166.633333', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .get('/acr/v1/library%2Fhello-world/_manifests/sha256%3A3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552') + .get('/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409') .query(true) - .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","manifest":{"digest":"sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552","imageSize":525,"createdTime":"2021-07-12T19:20:00.913255Z","lastUpdateTime":"2021-07-12T19:20:00.913255Z","architecture":"ppc64le","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineDetails":"{\"state\":\"Scan Failed\",\"link\":\"https://aka.ms/test\",\"scanner\":\"Azure Security Monitoring-Qualys Scanner\",\"result\":{\"version\":\"9/20/2021 6:50:56 PM\",\"summary\":[{\"severity\":\"High\",\"count\":0},{\"severity\":\"Medium\",\"count\":0},{\"severity\":\"Low\",\"count\":0}]}}","quarantineState":"Passed"}}}, [ + .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","manifest":{"digest":"sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409","imageSize":4727,"createdTime":"2021-10-06T21:01:30.4148083Z","lastUpdateTime":"2021-10-06T21:01:30.4148083Z","architecture":"386","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:34 GMT', + 'Mon, 08 Nov 2021 20:10:44 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', - '822', + '481', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -217,25 +225,25 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - 'da5d7d22-493f-4f11-b661-a0ab99e5aaf2', + 'f6c0df1b-9adf-4743-89b0-e10135433d36', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .patch('/acr/v1/library%2Fhello-world/_manifests/sha256%3A3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552', {"deleteEnabled":false,"writeEnabled":false,"listEnabled":false,"readEnabled":false}) + .patch('/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409', {"deleteEnabled":false,"writeEnabled":false,"listEnabled":false,"readEnabled":false}) .query(true) .reply(401, {"errors":[{"code":"UNAUTHORIZED","message":"authentication required, visit https://aka.ms/acr/authorization for more information.","detail":[{"Type":"repository","Name":"library/hello-world","Action":"metadata_write"}]}]}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:34 GMT', + 'Mon, 08 Nov 2021 20:10:44 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '223', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -253,46 +261,47 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '79b88717-54d4-472e-abe8-fdfdb54c5999', + 'b8d6c5dc-10b5-456e-af58-ce98847803c3', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:34 GMT', + 'Mon, 08 Nov 2021 20:10:44 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - 'fc889778-30ec-4182-8417-6ee15303ff69', + 'e5b24949-e137-47fc-9e67-a4f6e96e2713', 'x-ms-ratelimit-remaining-calls-per-second', - '166.216667', + '166.633333', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .patch('/acr/v1/library%2Fhello-world/_manifests/sha256%3A3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552', {"deleteEnabled":false,"writeEnabled":false,"listEnabled":false,"readEnabled":false}) + .patch('/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409', {"deleteEnabled":false,"writeEnabled":false,"listEnabled":false,"readEnabled":false}) .query(true) - .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","manifest":{"digest":"sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552","imageSize":525,"createdTime":"2021-07-12T19:20:00.913255Z","lastUpdateTime":"2021-07-12T19:20:00.913255Z","architecture":"ppc64le","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":false,"writeEnabled":false,"readEnabled":false,"listEnabled":false,"quarantineDetails":"{\"state\":\"Scan Failed\",\"link\":\"https://aka.ms/test\",\"scanner\":\"Azure Security Monitoring-Qualys Scanner\",\"result\":{\"version\":\"9/20/2021 6:50:56 PM\",\"summary\":[{\"severity\":\"High\",\"count\":0},{\"severity\":\"Medium\",\"count\":0},{\"severity\":\"Low\",\"count\":0}]}}","quarantineState":"Passed"}}}, [ + .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","manifest":{"digest":"sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409","imageSize":4727,"createdTime":"2021-10-06T21:01:30.4148083Z","lastUpdateTime":"2021-10-06T21:01:30.4148083Z","architecture":"386","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":false,"writeEnabled":false,"readEnabled":false,"listEnabled":false}}}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:34 GMT', + 'Mon, 08 Nov 2021 20:10:45 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', - '826', + '485', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -308,25 +317,25 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '229b4afa-0e68-42a5-a626-5991fc401e70', + 'f8894ae1-6521-433d-b40c-b87b634a4c46', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .patch('/acr/v1/library%2Fhello-world/_manifests/sha256%3A3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552', {"deleteEnabled":true,"writeEnabled":true,"listEnabled":true,"readEnabled":true}) + .patch('/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409', {"deleteEnabled":true,"writeEnabled":true,"listEnabled":true,"readEnabled":true}) .query(true) .reply(401, {"errors":[{"code":"UNAUTHORIZED","message":"authentication required, visit https://aka.ms/acr/authorization for more information.","detail":[{"Type":"repository","Name":"library/hello-world","Action":"metadata_write"}]}]}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:34 GMT', + 'Mon, 08 Nov 2021 20:10:45 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '223', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -344,46 +353,47 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '7f03b0bf-803c-472a-8609-13b7d7bba3f6', + '6b907ee6-efda-481f-9820-7570499a9c13', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:34 GMT', + 'Mon, 08 Nov 2021 20:10:45 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - 'ad0ec6bb-a1a2-48c0-be7b-f8b0fc6c9fc2', + 'bc566304-b952-4d39-97c5-3da2f329ce03', 'x-ms-ratelimit-remaining-calls-per-second', - '166.2', + '166.6', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .patch('/acr/v1/library%2Fhello-world/_manifests/sha256%3A3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552', {"deleteEnabled":true,"writeEnabled":true,"listEnabled":true,"readEnabled":true}) + .patch('/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409', {"deleteEnabled":true,"writeEnabled":true,"listEnabled":true,"readEnabled":true}) .query(true) - .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","manifest":{"digest":"sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552","imageSize":525,"createdTime":"2021-07-12T19:20:00.913255Z","lastUpdateTime":"2021-07-12T19:20:00.913255Z","architecture":"ppc64le","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineDetails":"{\"state\":\"Scan Failed\",\"link\":\"https://aka.ms/test\",\"scanner\":\"Azure Security Monitoring-Qualys Scanner\",\"result\":{\"version\":\"9/20/2021 6:50:56 PM\",\"summary\":[{\"severity\":\"High\",\"count\":0},{\"severity\":\"Medium\",\"count\":0},{\"severity\":\"Low\",\"count\":0}]}}","quarantineState":"Passed"}}}, [ + .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","manifest":{"digest":"sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409","imageSize":4727,"createdTime":"2021-10-06T21:01:30.4148083Z","lastUpdateTime":"2021-10-06T21:01:30.4148083Z","architecture":"386","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:34 GMT', + 'Mon, 08 Nov 2021 20:10:46 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', - '822', + '481', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -399,7 +409,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '5c20460d-8a9b-40a8-b3d3-9a30ca1e35a9', + 'f0c1fcd1-40fb-4334-97d9-963cce110b5b', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_repository_properties.js b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_repository_properties.js index 837a66d94bda..363f5de54109 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_repository_properties.js +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_repository_properties.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "2999b8ec5a6dfae35d3595c99134a7ff"; +module.exports.hash = "21c7e4f268d4ad63570a4e338b7b8501"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -11,13 +11,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:34 GMT', + 'Mon, 08 Nov 2021 20:10:46 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '222', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -35,7 +35,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - 'b141abdf-ce09-4fb2-b8c9-f1b150c2d132', + '66f94f95-12f9-42aa-9c81-4f39e3fea486', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -59,19 +59,21 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '911e7798-c37c-4911-9b7f-e38c79b50400', + '74f1a6fa-36c3-43e1-b57f-1e95abc6d200', 'x-ms-ests-server', - '2.1.12071.7 - WUS2 ProdSlices', + '2.1.12197.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AmBK1JR4LnNLmBbst109jfc; expires=Wed, 20-Oct-2021 18:54:34 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AkAsD0IrJ2hJvzFvavpwwyQ; expires=Wed, 08-Dec-2021 20:10:46 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr4B6w1vczHoX9r_WstbD2CsQO2eHa79WtakXNefqOkEBV9KN36R-bSMVLYLR8LONGXvsrRZddR8l79MDAoQZx4vQS3ZPQyev9V9kb7z2DZhYkp9WaScK5g64Kx-yv74BP9-SfgnSyl_11Z5mA5dHX8GRH_WCVjck88RBQC6Nb6eIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrr1Po_ig54MWob0EBxIh5vCYczf_t-LkY3BTOiYqy8zrTlyPm8vd_DdhxBGlX3or4q_EEFsvGlt2BFXa9nVoO7ynIFjIc4wUk8CK8lR5l4W_yYIr993bKCZv-WgMgf41q9trRzddH0EaoEap6LeWf07RKCAEEPd2zhWyAZSf6Z7EgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:34 GMT', + 'Mon, 08 Nov 2021 20:10:45 GMT', + 'Connection', + 'close', 'Content-Length', '980' ]); @@ -94,25 +96,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '5f8d6f21-2e15-4a4a-94e0-46738e55a800', + '8c4d2c55-cac1-4757-aa9d-1586cd253900', 'x-ms-ests-server', - '2.1.12071.7 - SCUS ProdSlices', + '2.1.12197.4 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AidbVN6CBzhFsbhPowIRra8; expires=Wed, 20-Oct-2021 18:54:35 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=ArFUbxSulXRLiPu-hiGj0Rg; expires=Wed, 08-Dec-2021 20:10:46 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr5kcT5Ed-r9v3ujXITTeybKZZS7LYianXwAF4lPtJZTVTmUfYw6NRpuNTz09uQMbH0qlERl1a5Zv9mfdmJdZCK4DGhD8h4eG67dqCz1brtlHwwe4TsoQJNY0-pQfbgxVVtKXy4VbONTybAg3h5tRNbul7uEviYEI2lyLqCzuam-AgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrWNu9pfbfKzOGafYRgPXnBfIDZPGxgPZak853jTWa0NXJGIbfxhye7i6KU3y5NYMWJxL7fOAgJ4vOFdlnz9iWVdOnLMreHArkzmUtNolrOa5kQ5cQCD0RjkivGVslbcf4hvniKCKWAq0p76TsKiqhR3FY7ZXpYJdWPb4mo_apim8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:35 GMT', + 'Mon, 08 Nov 2021 20:10:46 GMT', + 'Connection', + 'close', 'Content-Length', '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=f2cf238d-94ab-4998-aaf1-6efbbea9f1eb&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.2&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=00749490-16ba-41aa-be8c-a5b202fd4d09&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -129,61 +133,65 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '8794f495-a762-411f-9ecc-6ec26919ac00', + 'ade56010-2ac0-4cc1-a0be-cdedc22ba100', 'x-ms-ests-server', - '2.1.12071.7 - WUS2 ProdSlices', + '2.1.12197.4 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AuWkQAFPGDhDkCfpP_PM_kRGOXJzAQAAAOrP2tgOAAAA; expires=Wed, 20-Oct-2021 18:54:35 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AjwCKNjKoDRLvdjVKMK4qGNGOXJzAQAAAEZ7G9kOAAAA; expires=Wed, 08-Dec-2021 20:10:47 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:35 GMT', + 'Mon, 08 Nov 2021 20:10:46 GMT', + 'Connection', + 'close', 'Content-Length', '1351' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .post('/oauth2/exchange', "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token") + .query(true) .reply(200, {"refresh_token":"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:35 GMT', + 'Mon, 08 Nov 2021 20:10:47 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '7fdef355-7cd8-48d1-8196-6fd01af0598b', + '4d2e0dde-1f31-4a46-9eec-9d350ae5bf0b', 'x-ms-ratelimit-remaining-calls-per-second', - '166.183333', + '166.583333', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:35 GMT', + 'Mon, 08 Nov 2021 20:10:47 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '9b696383-d13c-4c6f-b380-6ca056a77cf6', + '8e4a0e93-7b7d-4941-948f-6cc12dc649db', 'x-ms-ratelimit-remaining-calls-per-second', - '166.166667', + '166.55', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -191,17 +199,17 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .get('/acr/v1/library%2Fhello-world') .query(true) - .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","createdTime":"2021-06-01T17:44:40.7113043Z","lastUpdateTime":"2021-09-20T18:50:52.2666122Z","manifestCount":34,"tagCount":3,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"teleportEnabled":false}}, [ + .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","createdTime":"2021-06-01T17:44:40.7113043Z","lastUpdateTime":"2021-11-08T19:55:51.7570741Z","manifestCount":47,"tagCount":3,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:35 GMT', + 'Mon, 08 Nov 2021 20:10:48 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', - '323', + '299', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -217,7 +225,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '1c181577-fc82-41a2-a630-56497914c56e', + '3950e3c0-f66d-4522-beed-28f40dff71ac', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -229,13 +237,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:35 GMT', + 'Mon, 08 Nov 2021 20:10:48 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '223', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -253,28 +261,29 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '2bc946a4-6f79-4633-aca0-87c2f2d0c26a', + '2867cccd-1713-4617-b306-4204d824c698', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:35 GMT', + 'Mon, 08 Nov 2021 20:10:48 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '4da1e7e4-4192-4d5c-ade4-87bbae67fed8', + '6f03799d-a6ec-4410-9ae9-d280f4d74481', 'x-ms-ratelimit-remaining-calls-per-second', - '166.15', + '166.516667', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -282,17 +291,17 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .patch('/acr/v1/library%2Fhello-world', {"deleteEnabled":false,"writeEnabled":false,"listEnabled":false,"readEnabled":false}) .query(true) - .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","createdTime":"2021-06-01T17:44:40.7113043Z","lastUpdateTime":"2021-09-20T18:50:52.2666122Z","manifestCount":34,"tagCount":3,"changeableAttributes":{"deleteEnabled":false,"writeEnabled":false,"readEnabled":false,"listEnabled":false,"teleportEnabled":false}}, [ + .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","createdTime":"2021-06-01T17:44:40.7113043Z","lastUpdateTime":"2021-11-08T19:55:51.7570741Z","manifestCount":47,"tagCount":3,"changeableAttributes":{"deleteEnabled":false,"writeEnabled":false,"readEnabled":false,"listEnabled":false}}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:35 GMT', + 'Mon, 08 Nov 2021 20:10:49 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', - '327', + '303', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -308,7 +317,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - 'b6469d5e-0831-4640-82d6-d95044be1d57', + '9df92692-af0b-4c09-a287-0464bccf8860', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -320,13 +329,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:35 GMT', + 'Mon, 08 Nov 2021 20:10:49 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '223', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -344,28 +353,29 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '5110e38a-c86b-4963-a848-97d43bedd665', + '1ee5034f-f3b2-451f-8d06-3a6a1ac3fb88', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:35 GMT', + 'Mon, 08 Nov 2021 20:10:49 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - 'ac42b9cc-dcd0-42b2-b51a-d89f5c7ff279', + 'd6757331-6414-4ead-878c-a604c75312e9', 'x-ms-ratelimit-remaining-calls-per-second', - '166.133333', + '166.533333', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -373,17 +383,17 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .patch('/acr/v1/library%2Fhello-world', {"deleteEnabled":true,"writeEnabled":true,"listEnabled":true,"readEnabled":true}) .query(true) - .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","createdTime":"2021-06-01T17:44:40.7113043Z","lastUpdateTime":"2021-09-20T18:50:52.2666122Z","manifestCount":34,"tagCount":3,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"teleportEnabled":false}}, [ + .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","createdTime":"2021-06-01T17:44:40.7113043Z","lastUpdateTime":"2021-11-08T19:55:51.7570741Z","manifestCount":47,"tagCount":3,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:35 GMT', + 'Mon, 08 Nov 2021 20:10:49 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', - '323', + '299', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -399,7 +409,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - 'd350c2cb-4a25-4938-9694-dc3fbf9271f5', + '5adb89d0-bc04-45cd-b2d2-4619331789cb', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_tag_properties.js b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_tag_properties.js index a29617125bb7..0a6c00150f48 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_tag_properties.js +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_tag_properties.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "37df9dffca94d0eccd6220d9dc6866a6"; +module.exports.hash = "00e508fe5945559c468ea8407be1b3c7"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -11,13 +11,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:38 GMT', + 'Mon, 08 Nov 2021 20:10:56 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '222', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -35,7 +35,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '0230ff22-9038-4b49-b3c8-0d43eb811405', + 'd95835d1-439d-4099-ab6a-09ceed38013e', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -59,19 +59,21 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'be32c1ea-97e4-4030-8ca1-fc141d03b500', + 'c344d7e7-e444-4651-9c3d-8af3b3bf7401', 'x-ms-ests-server', - '2.1.12025.15 - NCUS ProdSlices', + '2.1.12171.15 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=Aq6pPwLT-XJFtVSQtsld9qo; expires=Wed, 20-Oct-2021 18:54:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgpxprjvDuNEkuMxay3Nx2E; expires=Wed, 08-Dec-2021 20:10:56 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrG96qHWsjnpKc6Ml0afyoACo0sqHejOHt7xwRTdnN543eNI7nG_ojWz43HaJ7qnOsOkRV6yZ2Va1tFhukc45bXtbIyQIeYtrMt0n3LCuh31rxzpZSleEgv_04zATLTc1myWlLB5ZOPsWmYI_queXTz_lZiLPFIjUv_lnp7Jltx7kgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr6rzYdiYQoCXp5G8bLbDH2mENa0LCqM8nGAbDPFFDOXQNrFXY-Bv6i0bYzN8s_9ZHQN6HTZH2kbKja3cCXZKGtADzZcGcHEYO_Kx1g2ZYf0VpbLm31cDbNOvmfifACA_ojKolzIrLdiA5nI8l_TRQmPzs1Emj2Rk28sPW8fn3EvAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:38 GMT', + 'Mon, 08 Nov 2021 20:10:56 GMT', + 'Connection', + 'close', 'Content-Length', '980' ]); @@ -94,25 +96,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '1022a4ba-a53e-49aa-ae29-28ec6aae6c00', + '0b79b9df-d554-4ec5-a73a-819d3c81a700', 'x-ms-ests-server', - '2.1.12071.7 - NCUS ProdSlices', + '2.1.12197.4 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AiBfjYBfHc9OmnDhk1kmpYk; expires=Wed, 20-Oct-2021 18:54:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AtXt2KLvTzRHiTp7kxC_zEg; expires=Wed, 08-Dec-2021 20:10:56 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr312guqqxt0og9ykRERE9mJKlYCJAXv5wpiXyk_Ljo9HHsMR7BDwoKfYgx5NxwF6fe4Z6XO03ZsEtPdx0MGl0jB5BAxqMrgl1VHMrimUXC3-kYw31mkVTvy6vmHeGFzCEZ0QZMNqEvu6LH4epaOmrpK9y_H1GcPr5-wKYBJ_v6FsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr1GNsrFuUuxNnrzB-kk47dBmATlMbg31ma0dwAkxS_9LgFhpec0vhVmm79x2_hKCIxPtGw90GNhYhm5qV7K66nIre0Yj4vtwMIm37C325U1LatoYrH9SQS7P9hUvBH5pVMKdr4YgANqdxgvfoUeqg_qwzBms4dq7ChDR9DqW5imAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:38 GMT', + 'Mon, 08 Nov 2021 20:10:56 GMT', + 'Connection', + 'close', 'Content-Length', '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=322ca4dd-2d93-43e4-8c9f-8ad5c51f1ff5&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.2&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=8b6b100e-94de-47e9-9a5a-cc2b13c1d75c&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -129,61 +133,65 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'c73f6c83-e9b5-4167-ab68-9c654f92bc00', + 'e3189d1d-d6c9-4bab-810c-22025672f000', 'x-ms-ests-server', - '2.1.12071.7 - EUS ProdSlices', + '2.1.12197.4 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=Ap0utISAB01Pq8_vrlk2IWRGOXJzAQAAAO7P2tgOAAAA; expires=Wed, 20-Oct-2021 18:54:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AjH07XugBQtKuJVyCPFWCF1GOXJzAQAAAE97G9kOAAAA; expires=Wed, 08-Dec-2021 20:10:56 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:38 GMT', + 'Mon, 08 Nov 2021 20:10:55 GMT', + 'Connection', + 'close', 'Content-Length', '1351' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .post('/oauth2/exchange', "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token") + .query(true) .reply(200, {"refresh_token":"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:38 GMT', + 'Mon, 08 Nov 2021 20:10:56 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '0f3e2700-d650-4630-b603-a77fa54ff58d', + '395d5288-0082-4b40-9dde-f618ac203873', 'x-ms-ratelimit-remaining-calls-per-second', - '166', + '166.433333', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:38 GMT', + 'Mon, 08 Nov 2021 20:10:57 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '5aac0b66-c5ed-4fb1-896c-2408d2ac2ee3', + '173efc2d-f0cc-4570-aa08-68044657068a', 'x-ms-ratelimit-remaining-calls-per-second', - '165.983333', + '166.533333', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -191,17 +199,17 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .get('/acr/v1/library%2Fhello-world/_tags/test1') .query(true) - .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","tag":{"name":"test1","digest":"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f","createdTime":"2021-06-11T19:11:38.7001063Z","lastUpdateTime":"2021-09-20T18:50:54.0904821Z","signed":false,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}}, [ + .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","tag":{"name":"test1","digest":"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51","createdTime":"2021-06-11T19:11:38.7001063Z","lastUpdateTime":"2021-11-08T19:55:53.3335808Z","signed":false,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:38 GMT', + 'Mon, 08 Nov 2021 20:10:57 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '388', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -217,7 +225,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - 'f43e0adc-f7ed-4d10-b7db-558f1fd428e0', + 'f5f96551-d574-4c85-ad20-8589d869cc0c', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -229,13 +237,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:38 GMT', + 'Mon, 08 Nov 2021 20:10:57 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '223', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -253,28 +261,29 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '0ef38192-6ee0-4b77-a38d-5c1b30961332', + 'e687bf40-568a-4728-b6a7-d3421c7c9d1c', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:38 GMT', + 'Mon, 08 Nov 2021 20:10:57 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '9b7115e7-aef8-46fa-81f9-5df6e80a4361', + '29cfddba-d522-4f72-9415-131fd7c14d5c', 'x-ms-ratelimit-remaining-calls-per-second', - '165.966667', + '166.483333', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -282,17 +291,17 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .patch('/acr/v1/library%2Fhello-world/_tags/test1', {"deleteEnabled":false,"writeEnabled":false,"listEnabled":false,"readEnabled":false}) .query(true) - .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","tag":{"name":"test1","digest":"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f","createdTime":"2021-06-11T19:11:38.7001063Z","lastUpdateTime":"2021-09-20T18:50:54.0904821Z","signed":false,"changeableAttributes":{"deleteEnabled":false,"writeEnabled":false,"readEnabled":false,"listEnabled":false}}}, [ + .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","tag":{"name":"test1","digest":"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51","createdTime":"2021-06-11T19:11:38.7001063Z","lastUpdateTime":"2021-11-08T19:55:53.3335808Z","signed":false,"changeableAttributes":{"deleteEnabled":false,"writeEnabled":false,"readEnabled":false,"listEnabled":false}}}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:38 GMT', + 'Mon, 08 Nov 2021 20:10:58 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '392', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -308,7 +317,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '081bd15c-f375-4302-aff5-934dc966228f', + '3d3b47cb-7064-417d-bdc8-155571175e66', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -320,13 +329,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:38 GMT', + 'Mon, 08 Nov 2021 20:10:58 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '223', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -344,28 +353,29 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '4a1c821a-523b-4afb-9c52-f065de7cbec2', + '54b6a2ad-241c-4e2b-8b42-3b1df35533bf', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_write&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:38 GMT', + 'Mon, 08 Nov 2021 20:10:58 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '379ba201-432a-446a-8fcd-fb50213f6ea6', + '08780c71-2a1b-42cc-b501-3ad8c2971c8e', 'x-ms-ratelimit-remaining-calls-per-second', - '165.95', + '166.633333', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -373,17 +383,17 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .patch('/acr/v1/library%2Fhello-world/_tags/test1', {"deleteEnabled":true,"writeEnabled":true,"listEnabled":true,"readEnabled":true}) .query(true) - .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","tag":{"name":"test1","digest":"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f","createdTime":"2021-06-11T19:11:38.7001063Z","lastUpdateTime":"2021-09-20T18:50:54.0904821Z","signed":false,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}}, [ + .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","tag":{"name":"test1","digest":"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51","createdTime":"2021-06-11T19:11:38.7001063Z","lastUpdateTime":"2021-11-08T19:55:53.3335808Z","signed":false,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:39 GMT', + 'Mon, 08 Nov 2021 20:10:59 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '388', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -399,7 +409,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '0e0378ba-74ef-482a-85d2-79d2e0f69662', + 'b496fac8-f1db-4de2-bed0-ad0b2996740a', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests.js b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests.js index 6527b7f35fdd..03ffec227f51 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests.js +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "20704860a85aed25d0f147a937a3b7a8"; +module.exports.hash = "e338ef2c90128ccf3817ba097b769b85"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -11,13 +11,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:28 GMT', + 'Mon, 08 Nov 2021 20:10:27 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '222', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -35,7 +35,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - 'fe55a319-67ba-4c65-a1ff-fef5373ed452', + '77a95250-5ded-4ed2-b3d6-ccc5d98b2e47', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -59,19 +59,21 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '3f75853e-f17a-4268-b4e2-ab15ff450300', + 'fb476396-d72d-47b1-8ef9-f4247ab87d01', 'x-ms-ests-server', - '2.1.12071.7 - WUS2 ProdSlices', + '2.1.12171.15 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AqrtLsRC8zBFq_KSKVH4pF0; expires=Wed, 20-Oct-2021 18:54:28 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Ai54Amorss1Il6pc1AQC73g; expires=Wed, 08-Dec-2021 20:10:28 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrH8tDlkBcq4efTwLPzLv_PDHgz2ZHJS5N_dhoE2YZ5Ar35eciIsm_P8AYSSBXt_pemdlURifXes7wYoMfvOfzFSnmTS8Z2TwG3FQ4plRebc5Cg2zbxf8dmS6FP9Nq_jxBCjGusGYWRmdvKGjzXBQe_3eHlP5F3HF7_o2ZCrUu6B4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrC7Pzj0-8q_IDzf09UjSf7XuodxpB4vQOPpU8-5liy8JsTQyjqZZ8GCiet3um5CD5R2rssTnNnwjYH8gcqJ3T8Umz07wtIL4nM8QAgsXQ-WZ_REqNsypDo4RcbHLgqlJzjKVpMv84pJg5l65_0gSDTg8u9tEL1ZCnC5Ml7yON_wogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:28 GMT', + 'Mon, 08 Nov 2021 20:10:27 GMT', + 'Connection', + 'close', 'Content-Length', '980' ]); @@ -94,25 +96,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'c73f6c83-e9b5-4167-ab68-9c655090bc00', + '7bc9d923-6cb0-43a7-afd2-d52ff977d600', 'x-ms-ests-server', - '2.1.12071.7 - EUS ProdSlices', + '2.1.12197.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=ApguArp9XDNKiD4kJ8J6-To; expires=Wed, 20-Oct-2021 18:54:28 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AitgweoL4fxCuGvJFegWqQU; expires=Wed, 08-Dec-2021 20:10:28 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevreKkm55fIQ1uzQ1Udaw-74UHx7WpMo55F0Iiy3xOTfkR_hu_oZeskdJZMucsDAt65if4G2Z-ctW6li_5wxr97OQbeN53l0eeFGZUOu40y6wp-wXlrHkfO81Lio1pDdRYyVFfaLql-oAI_8zCJDVrc5pamqnFKsXcR0s2i9-GrJl8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr8Bikx3zcuoG3AbzGHXGuwC5bls-DavAZrIxIvE9Niao_7Pill6SfWKg-EBLWR0wryVBoVtQGGQtiVn7KQLQo3DQYVFUhJJeLE2DN01KAcQo8UrBm5RcPoDR43kV-zKSvVdelFm0VXuyM8eL_BJhmbay7OPtgjBjd1arD9RMz7McgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:28 GMT', + 'Mon, 08 Nov 2021 20:10:27 GMT', + 'Connection', + 'close', 'Content-Length', '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=aa0a8591-ba74-4715-a993-f6a7f461aeba&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.2&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=90c050e2-3d64-4dd2-b023-541796850e0d&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -129,61 +133,65 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'c73f6c83-e9b5-4167-ab68-9c655390bc00', + '8dd0a396-b0a2-4764-b633-16b3b07dd000', 'x-ms-ests-server', - '2.1.12071.7 - EUS ProdSlices', + '2.1.12197.4 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=Ap68lcvGmotOkw8W3xbWEIFGOXJzAQAAAOTP2tgOAAAA; expires=Wed, 20-Oct-2021 18:54:28 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AvGuiEulmtlJqEvsgl3p2GRGOXJzAQAAADN7G9kOAAAA; expires=Wed, 08-Dec-2021 20:10:28 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:28 GMT', + 'Mon, 08 Nov 2021 20:10:28 GMT', + 'Connection', + 'close', 'Content-Length', '1351' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .post('/oauth2/exchange', "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token") + .query(true) .reply(200, {"refresh_token":"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:29 GMT', + 'Mon, 08 Nov 2021 20:10:28 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - 'a6cf9acb-210b-4180-85da-448206eda047', + '2f54e5c4-5b70-4ad0-b0a9-fb15aa72e2d1', 'x-ms-ratelimit-remaining-calls-per-second', - '166.483333', + '166.65', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:29 GMT', + 'Mon, 08 Nov 2021 20:10:29 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '10add1fc-f1e0-4da7-8a09-7553ee783ddd', + 'f258b2a1-d985-4905-a557-e7aecdbdd48f', 'x-ms-ratelimit-remaining-calls-per-second', - '166.466667', + '166.65', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -191,17 +199,17 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .get('/acr/v1/library%2Fhello-world/_manifests') .query(true) - .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","manifests":[{"digest":"sha256:04ebe37e000dcd9b1386af0e2d9aad726cbd1581f82067bea5cd2532b1f06310","imageSize":528,"createdTime":"2021-06-11T19:19:17.6685388Z","lastUpdateTime":"2021-06-11T19:19:17.6685388Z","architecture":"ppc64le","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:0dc4e9a14237cae2d8e96e9e310116091c5ed4934448d7cfd22b122778964f11","imageSize":527,"createdTime":"2021-06-11T19:19:17.5875184Z","lastUpdateTime":"2021-06-11T19:19:17.5875184Z","architecture":"mips64le","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:0dd359f0ea0f644cbc1aa467681654c6b4332015ae37af2916b0dfb73b83fd52","imageSize":527,"createdTime":"2021-06-11T19:19:17.6307166Z","lastUpdateTime":"2021-06-11T19:19:17.6307166Z","architecture":"arm","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:0fe98d7debd9049c50b597ef1f85b7c1e8cc81f59c8d623fcb2250e8bec85b38","imageSize":5850,"createdTime":"2021-08-17T16:55:59.3686577Z","lastUpdateTime":"2021-08-17T16:55:59.3686577Z","mediaType":"application/vnd.docker.distribution.manifest.list.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:121373e88baca4c1ef533014de2759e002961de035607dd35d00886b052e37cf","imageSize":527,"createdTime":"2021-06-11T19:19:17.3343432Z","lastUpdateTime":"2021-06-11T19:19:17.3343432Z","architecture":"arm64","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792","imageSize":525,"createdTime":"2021-06-11T19:11:38.3530937Z","lastUpdateTime":"2021-06-11T19:11:38.3530937Z","architecture":"amd64","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552","imageSize":525,"createdTime":"2021-07-12T19:20:00.913255Z","lastUpdateTime":"2021-07-12T19:20:00.913255Z","architecture":"ppc64le","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:4fb0dd2040e4a909567fb8fd36338a00e727926da9e8f93fa1fe58cbc3b9af9c","imageSize":5830,"createdTime":"2021-09-20T18:50:55.4008325Z","lastUpdateTime":"2021-09-20T18:50:55.4008325Z","architecture":"amd64","os":"windows","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1","imageSize":525,"createdTime":"2021-06-01T17:44:41.0103898Z","lastUpdateTime":"2021-06-01T17:44:41.0103898Z","architecture":"arm","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c","imageSize":5325,"createdTime":"2021-06-01T17:44:41.177556Z","lastUpdateTime":"2021-06-01T17:44:41.177556Z","mediaType":"application/vnd.docker.distribution.manifest.list.v2+json","tags":["latest"],"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb","imageSize":525,"createdTime":"2021-07-12T19:20:00.3959063Z","lastUpdateTime":"2021-07-12T19:20:00.3959063Z","architecture":"arm","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f","imageSize":61958,"createdTime":"2021-09-20T18:50:53.9769732Z","lastUpdateTime":"2021-09-20T18:50:53.9769732Z","mediaType":"application/vnd.docker.distribution.manifest.list.v2+json","tags":["test-delete","test1"],"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172","imageSize":525,"createdTime":"2021-07-12T19:20:00.5061197Z","lastUpdateTime":"2021-07-12T19:20:00.5061197Z","architecture":"s390x","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1","imageSize":1125,"createdTime":"2021-06-01T17:44:41.7420809Z","lastUpdateTime":"2021-06-01T17:44:41.7420809Z","architecture":"amd64","os":"windows","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:842295d11871c16bbce4d30cabc9b0f1e0cc40e49975f538179529d7798f77d8","imageSize":527,"createdTime":"2021-06-11T19:19:17.2116157Z","lastUpdateTime":"2021-06-11T19:19:17.2116157Z","architecture":"arm","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90","imageSize":525,"createdTime":"2021-06-01T17:44:41.9901717Z","lastUpdateTime":"2021-06-01T17:44:41.9901717Z","architecture":"mips64le","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0","imageSize":1125,"createdTime":"2021-06-11T19:11:39.292044Z","lastUpdateTime":"2021-06-11T19:11:39.292044Z","architecture":"amd64","os":"windows","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:930490f97e5b921535c153e0e7110d251134cc4b72bbb8133c6a5065cc68580d","imageSize":4745,"createdTime":"2021-06-11T19:19:16.7766065Z","lastUpdateTime":"2021-06-11T19:19:16.7766065Z","mediaType":"application/vnd.docker.distribution.manifest.list.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722","imageSize":525,"createdTime":"2021-07-12T19:20:00.9631551Z","lastUpdateTime":"2021-07-12T19:20:00.9631551Z","architecture":"arm","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343","imageSize":525,"createdTime":"2021-06-01T17:44:41.698893Z","lastUpdateTime":"2021-06-01T17:44:41.698893Z","architecture":"arm64","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:9cd47e9327430990c932b19596f8760e7d1a0be0311bb31bab3170bec5f27358","imageSize":527,"createdTime":"2021-06-11T19:19:16.8871039Z","lastUpdateTime":"2021-06-11T19:19:16.8871039Z","architecture":"arm","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:9f6ad537c5132bcce57f7a0a20e317228d382c3cd61edae14650eec68b2b345c","imageSize":5325,"createdTime":"2021-06-11T19:11:38.2304296Z","lastUpdateTime":"2021-06-11T19:11:38.2304296Z","mediaType":"application/vnd.docker.distribution.manifest.list.v2+json","changeableAttributes":{"deleteEnabled":false,"writeEnabled":false,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69","imageSize":525,"createdTime":"2021-07-12T19:20:00.5421832Z","lastUpdateTime":"2021-07-12T19:20:00.5421832Z","architecture":"arm64","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114","imageSize":525,"createdTime":"2021-07-12T19:20:00.7917219Z","lastUpdateTime":"2021-07-12T19:20:00.7917219Z","architecture":"riscv64","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d","imageSize":525,"createdTime":"2021-06-01T17:44:41.6023044Z","lastUpdateTime":"2021-06-01T17:44:41.6023044Z","architecture":"ppc64le","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:c10e75f6e5442f446b7c053ff2f360a4052f759c59be9a4c7d144f60207c6eda","imageSize":528,"createdTime":"2021-06-11T19:19:18.1427653Z","lastUpdateTime":"2021-06-11T19:19:18.1427653Z","architecture":"s390x","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98","imageSize":525,"createdTime":"2021-06-01T17:44:41.5396886Z","lastUpdateTime":"2021-06-01T17:44:41.5396886Z","architecture":"386","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:ccff0c7e8498c0bd8d4705e663084c25810fd064a184671a050e1a43b86fb091","imageSize":527,"createdTime":"2021-06-11T19:19:17.7388458Z","lastUpdateTime":"2021-06-11T19:19:17.7388458Z","architecture":"386","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:dca71257cd2e72840a21f0323234bb2e33fea6d949fa0f21c5102146f583486b","imageSize":527,"createdTime":"2021-06-11T19:19:16.6208398Z","lastUpdateTime":"2021-06-11T19:19:16.6208398Z","architecture":"amd64","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:dd295b166e7a35d810b7d286c62fee3c575fdde553182271fc0e5fb01ac81b15","imageSize":5833,"createdTime":"2021-09-20T18:50:54.9019432Z","lastUpdateTime":"2021-09-20T18:50:54.9019432Z","architecture":"amd64","os":"windows","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e","imageSize":5850,"createdTime":"2021-07-12T19:19:59.5452001Z","lastUpdateTime":"2021-07-12T19:19:59.5452001Z","mediaType":"application/vnd.docker.distribution.manifest.list.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf","imageSize":525,"createdTime":"2021-06-01T17:44:41.8244996Z","lastUpdateTime":"2021-06-01T17:44:41.8244996Z","architecture":"s390x","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9","imageSize":525,"createdTime":"2021-06-01T17:44:40.7616804Z","lastUpdateTime":"2021-06-01T17:44:40.7616804Z","architecture":"arm","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}},{"digest":"sha256:e70692d3144e0ddb23e2ecf72d4b78f1e9ffcb32a9c863b98a35d43adfb42ad8","imageSize":1125,"createdTime":"2021-08-17T16:56:00.1861796Z","lastUpdateTime":"2021-08-17T16:56:00.1861796Z","architecture":"amd64","os":"windows","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}}]}, [ + .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","manifests":[{"digest":"sha256:01433e86a06b752f228e3c17394169a5e21a0995f153268a9b36a16d4f2b2184","imageSize":5216,"createdTime":"2021-10-06T21:01:30.4926548Z","lastUpdateTime":"2021-10-06T21:01:30.4926548Z","architecture":"arm64","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:04ebe37e000dcd9b1386af0e2d9aad726cbd1581f82067bea5cd2532b1f06310","imageSize":528,"createdTime":"2021-06-11T19:19:17.6685388Z","lastUpdateTime":"2021-06-11T19:19:17.6685388Z","architecture":"ppc64le","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:0dc4e9a14237cae2d8e96e9e310116091c5ed4934448d7cfd22b122778964f11","imageSize":527,"createdTime":"2021-06-11T19:19:17.5875184Z","lastUpdateTime":"2021-06-11T19:19:17.5875184Z","architecture":"mips64le","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:0dd359f0ea0f644cbc1aa467681654c6b4332015ae37af2916b0dfb73b83fd52","imageSize":527,"createdTime":"2021-06-11T19:19:17.6307166Z","lastUpdateTime":"2021-06-11T19:19:17.6307166Z","architecture":"arm","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:0fe98d7debd9049c50b597ef1f85b7c1e8cc81f59c8d623fcb2250e8bec85b38","imageSize":5850,"createdTime":"2021-08-17T16:55:59.3686577Z","lastUpdateTime":"2021-08-17T16:55:59.3686577Z","mediaType":"application/vnd.docker.distribution.manifest.list.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:121373e88baca4c1ef533014de2759e002961de035607dd35d00886b052e37cf","imageSize":527,"createdTime":"2021-06-11T19:19:17.3343432Z","lastUpdateTime":"2021-06-11T19:19:17.3343432Z","architecture":"arm64","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792","imageSize":525,"createdTime":"2021-06-11T19:11:38.3530937Z","lastUpdateTime":"2021-06-11T19:11:38.3530937Z","architecture":"amd64","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409","imageSize":4727,"createdTime":"2021-10-06T21:01:30.4148083Z","lastUpdateTime":"2021-10-06T21:01:30.4148083Z","architecture":"386","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:31801872aacfc6245ba5277e07dc2c9a482a473c87d625f25c3e6d5de930b35d","imageSize":5871,"createdTime":"2021-11-08T19:55:54.7994646Z","lastUpdateTime":"2021-11-08T19:55:54.7994646Z","architecture":"amd64","os":"windows","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51","imageSize":61625,"createdTime":"2021-11-08T19:55:53.1835258Z","lastUpdateTime":"2021-11-08T19:55:53.1835258Z","mediaType":"application/vnd.docker.distribution.manifest.list.v2+json","tags":["test-delete","test1"],"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552","imageSize":525,"createdTime":"2021-07-12T19:20:00.913255Z","lastUpdateTime":"2021-07-12T19:20:00.913255Z","architecture":"ppc64le","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:4fb0dd2040e4a909567fb8fd36338a00e727926da9e8f93fa1fe58cbc3b9af9c","imageSize":5830,"createdTime":"2021-09-20T18:50:55.4008325Z","lastUpdateTime":"2021-09-20T18:50:55.4008325Z","architecture":"amd64","os":"windows","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1","imageSize":525,"createdTime":"2021-06-01T17:44:41.0103898Z","lastUpdateTime":"2021-06-01T17:44:41.0103898Z","architecture":"arm","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c","imageSize":5325,"createdTime":"2021-06-01T17:44:41.177556Z","lastUpdateTime":"2021-06-01T17:44:41.177556Z","mediaType":"application/vnd.docker.distribution.manifest.list.v2+json","tags":["latest"],"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:563c31a6b24347d3f367df5dc33890ab1aec20e9470e5d998f3b6a8fc6eb5763","imageSize":5806,"createdTime":"2021-11-08T19:55:54.8679861Z","lastUpdateTime":"2021-11-08T19:55:54.8679861Z","architecture":"amd64","os":"windows","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb","imageSize":525,"createdTime":"2021-07-12T19:20:00.3959063Z","lastUpdateTime":"2021-07-12T19:20:00.3959063Z","architecture":"arm","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f","imageSize":61958,"createdTime":"2021-09-20T18:50:53.9769732Z","lastUpdateTime":"2021-09-20T18:50:53.9769732Z","mediaType":"application/vnd.docker.distribution.manifest.list.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172","imageSize":525,"createdTime":"2021-07-12T19:20:00.5061197Z","lastUpdateTime":"2021-07-12T19:20:00.5061197Z","architecture":"s390x","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:7b8b7289d0536a08eabdf71c20246e23f7116641db7e1d278592236ea4dcb30c","imageSize":5691,"createdTime":"2021-10-06T21:01:31.7709273Z","lastUpdateTime":"2021-10-06T21:01:31.7709273Z","architecture":"arm","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1","imageSize":1125,"createdTime":"2021-06-01T17:44:41.7420809Z","lastUpdateTime":"2021-06-01T17:44:41.7420809Z","architecture":"amd64","os":"windows","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:842295d11871c16bbce4d30cabc9b0f1e0cc40e49975f538179529d7798f77d8","imageSize":527,"createdTime":"2021-06-11T19:19:17.2116157Z","lastUpdateTime":"2021-06-11T19:19:17.2116157Z","architecture":"arm","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90","imageSize":525,"createdTime":"2021-06-01T17:44:41.9901717Z","lastUpdateTime":"2021-06-01T17:44:41.9901717Z","architecture":"mips64le","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0","imageSize":1125,"createdTime":"2021-06-11T19:11:39.292044Z","lastUpdateTime":"2021-06-11T19:11:39.292044Z","architecture":"amd64","os":"windows","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:930490f97e5b921535c153e0e7110d251134cc4b72bbb8133c6a5065cc68580d","imageSize":4745,"createdTime":"2021-06-11T19:19:16.7766065Z","lastUpdateTime":"2021-06-11T19:19:16.7766065Z","mediaType":"application/vnd.docker.distribution.manifest.list.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722","imageSize":525,"createdTime":"2021-07-12T19:20:00.9631551Z","lastUpdateTime":"2021-07-12T19:20:00.9631551Z","architecture":"arm","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343","imageSize":525,"createdTime":"2021-06-01T17:44:41.698893Z","lastUpdateTime":"2021-06-01T17:44:41.698893Z","architecture":"arm64","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:98c9722322be649df94780d3fbe594fce7996234b259f27eac9428b84050c849","imageSize":4996,"createdTime":"2021-10-06T21:01:30.2509309Z","lastUpdateTime":"2021-10-06T21:01:30.2509309Z","architecture":"riscv64","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:9ade9cc2e26189a19c2e8854b9c8f1e14829b51c55a630ee675a5a9540ef6ccf","imageSize":61611,"createdTime":"2021-10-06T21:01:29.283756Z","lastUpdateTime":"2021-10-06T21:01:29.283756Z","mediaType":"application/vnd.docker.distribution.manifest.list.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:9cd47e9327430990c932b19596f8760e7d1a0be0311bb31bab3170bec5f27358","imageSize":527,"createdTime":"2021-06-11T19:19:16.8871039Z","lastUpdateTime":"2021-06-11T19:19:16.8871039Z","architecture":"arm","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:9f6ad537c5132bcce57f7a0a20e317228d382c3cd61edae14650eec68b2b345c","imageSize":5325,"createdTime":"2021-06-11T19:11:38.2304296Z","lastUpdateTime":"2021-06-11T19:11:38.2304296Z","mediaType":"application/vnd.docker.distribution.manifest.list.v2+json","changeableAttributes":{"deleteEnabled":false,"writeEnabled":false,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69","imageSize":525,"createdTime":"2021-07-12T19:20:00.5421832Z","lastUpdateTime":"2021-07-12T19:20:00.5421832Z","architecture":"arm64","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:b836bb24a270b9cc935962d8228517fde0f16990e88893d935efcb1b14c0017a","imageSize":5925,"createdTime":"2021-10-06T21:01:31.2908944Z","lastUpdateTime":"2021-10-06T21:01:31.2908944Z","architecture":"ppc64le","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114","imageSize":525,"createdTime":"2021-07-12T19:20:00.7917219Z","lastUpdateTime":"2021-07-12T19:20:00.7917219Z","architecture":"riscv64","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d","imageSize":525,"createdTime":"2021-06-01T17:44:41.6023044Z","lastUpdateTime":"2021-06-01T17:44:41.6023044Z","architecture":"ppc64le","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:c10e75f6e5442f446b7c053ff2f360a4052f759c59be9a4c7d144f60207c6eda","imageSize":528,"createdTime":"2021-06-11T19:19:18.1427653Z","lastUpdateTime":"2021-06-11T19:19:18.1427653Z","architecture":"s390x","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:c2f204d26b4ea353651385001bb6bc371d8c4edcd9daf61d00ad365d927e00c0","imageSize":6088,"createdTime":"2021-10-06T21:01:29.9953911Z","lastUpdateTime":"2021-10-06T21:01:29.9953911Z","architecture":"mips64le","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:c7b6944911848ce39b44ed660d95fb54d69bbd531de724c7ce6fc9f743c0b861","imageSize":5270,"createdTime":"2021-10-06T21:01:29.8786957Z","lastUpdateTime":"2021-10-06T21:01:29.8786957Z","architecture":"s390x","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98","imageSize":525,"createdTime":"2021-06-01T17:44:41.5396886Z","lastUpdateTime":"2021-06-01T17:44:41.5396886Z","architecture":"386","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:ccff0c7e8498c0bd8d4705e663084c25810fd064a184671a050e1a43b86fb091","imageSize":527,"createdTime":"2021-06-11T19:19:17.7388458Z","lastUpdateTime":"2021-06-11T19:19:17.7388458Z","architecture":"386","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:dca71257cd2e72840a21f0323234bb2e33fea6d949fa0f21c5102146f583486b","imageSize":527,"createdTime":"2021-06-11T19:19:16.6208398Z","lastUpdateTime":"2021-06-11T19:19:16.6208398Z","architecture":"amd64","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:dd295b166e7a35d810b7d286c62fee3c575fdde553182271fc0e5fb01ac81b15","imageSize":5833,"createdTime":"2021-09-20T18:50:54.9019432Z","lastUpdateTime":"2021-09-20T18:50:54.9019432Z","architecture":"amd64","os":"windows","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e","imageSize":5850,"createdTime":"2021-07-12T19:19:59.5452001Z","lastUpdateTime":"2021-07-12T19:19:59.5452001Z","mediaType":"application/vnd.docker.distribution.manifest.list.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf","imageSize":525,"createdTime":"2021-06-01T17:44:41.8244996Z","lastUpdateTime":"2021-06-01T17:44:41.8244996Z","architecture":"s390x","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9","imageSize":525,"createdTime":"2021-06-01T17:44:40.7616804Z","lastUpdateTime":"2021-06-01T17:44:40.7616804Z","architecture":"arm","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:e70692d3144e0ddb23e2ecf72d4b78f1e9ffcb32a9c863b98a35d43adfb42ad8","imageSize":1125,"createdTime":"2021-08-17T16:56:00.1861796Z","lastUpdateTime":"2021-08-17T16:56:00.1861796Z","architecture":"amd64","os":"windows","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:f130bd2d67e6e9280ac6d0a6c83857bfaf70234e8ef4236876eccfbd30973b1c","imageSize":5000,"createdTime":"2021-10-06T21:01:30.3566409Z","lastUpdateTime":"2021-10-06T21:01:30.3566409Z","architecture":"arm","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"digest":"sha256:f54a58bc1aac5ea1a25d796ae155dc228b3f0e11d046ae276b39c4bf2f13d8c4","imageSize":4473,"createdTime":"2021-10-06T21:01:30.0499098Z","lastUpdateTime":"2021-10-06T21:01:30.0499098Z","architecture":"amd64","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}]}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:30 GMT', + 'Mon, 08 Nov 2021 20:10:32 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -217,7 +225,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '863df04e-1b69-4487-a8a9-f18a9ba0abef', + '2d7cd1af-234c-4bd6-9a1f-37d0351afcde', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages.js b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages.js index d8968c8d6172..52d445794e75 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages.js +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "a973c7374bb7918071a247010abd032d"; +module.exports.hash = "594fd9da2be1e3e730cda449fc56aa92"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -11,13 +11,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:30 GMT', + 'Mon, 08 Nov 2021 20:10:32 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '222', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -35,7 +35,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '3fb3247e-c404-401b-a7b8-da2a7dd6e5e2', + '74e28220-c5eb-4510-adc0-80c0bd3d901c', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -59,19 +59,21 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '71bca145-2294-42b0-9677-14fe49f0c400', + '297a9afb-1c96-4da1-a1ef-64b3afd99301', 'x-ms-ests-server', - '2.1.12071.7 - SCUS ProdSlices', + '2.1.12171.15 - EUS ProdSlices', 'Set-Cookie', - 'fpc=Ake7-wzecUJIrHrnfjnBfbg; expires=Wed, 20-Oct-2021 18:54:30 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Ap8tq2C8TQ5Pq2mSapvXHe0; expires=Wed, 08-Dec-2021 20:10:32 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrS4gaGXXs90XQ1I3gWMxBdZpRr-GioB1ircC_qd967SfgP_r9Q_2D2mPQfLe_i2idmT4YytFUjLi_mzc66aK2hCVcx9WF3DdhIKACc5K8xCd04YVj7j-VVgraAJ0Ze7w3GPeMfmZGaskvj_vwdkgQXpjkVu4efrD2PAzvE0yQj34gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrwtN_JjezcC_3HkHFcUZOZCy4zaTO3FNn1duD-sEwRDL62jgIjJZNKorq3a-zpRsQP0UDamEQh7z7n6y3J04__v0Qp7LwOD7hLQMuEFTIfV8RJP6n-lClHgMqda6lOqGh8iWlp22XHW9ylrbPjHp3dzYPUsoTsPgZXfwglwuHi_QgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:30 GMT', + 'Mon, 08 Nov 2021 20:10:32 GMT', + 'Connection', + 'close', 'Content-Length', '980' ]); @@ -94,25 +96,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'f2a037c3-aa4d-44c5-9d1e-b6c8f8d2af00', + '47ad6188-8242-4c64-b1a0-ff941992be00', 'x-ms-ests-server', - '2.1.12071.7 - EUS ProdSlices', + '2.1.12197.4 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AjsOp7F6MlFNhnGA3jVM4d0; expires=Wed, 20-Oct-2021 18:54:30 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AtUZrM_2XjpDugvSqMKEzV0; expires=Wed, 08-Dec-2021 20:10:32 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevriePqZSZ6sAhIk65zRu5pCpPU8aIdf35RFZIL4WLm-qg7m-BZsafa_SjKxS-u9E1qcavxUHNDuSUk9N9nVjlf0donhYtUFA1bCVeBbHhlepvhJXk1JB9orzKrE4k7jTh6fCS0FuI6sgTCcnqSpzCZxkTzXJNHXSc9ywmZEZh5XLYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrToOP6Eh4WpCCdIC0n7sTLCKxOuudArvLkVFB_-w-Am_o-m7g-4qo9kPYZmZop478sjZ-PnZA624W1Wro7YHySV5joMjNzeH8vzt6LCooPb58iZ6ntC3vdWPOl4AR23AlzjpNfSsgDPqlwwEoy_2_mPczH_RJiVUubBvYwF_40TcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:30 GMT', + 'Mon, 08 Nov 2021 20:10:32 GMT', + 'Connection', + 'close', 'Content-Length', '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=0e7cf104-6a3b-413f-93ba-db099ea1aab6&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.2&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=4d1b822c-cbda-4e2f-a7aa-e18ce17b6d2f&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -129,61 +133,65 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '06b0be8f-5119-48ce-bef3-aef92223a300', + '53786ab8-8aad-46cb-a0a8-938743a49200', 'x-ms-ests-server', - '2.1.12071.7 - WUS2 ProdSlices', + '2.1.12197.4 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=ArTEhnX9OwZEmgjCg5igSjFGOXJzAQAAAObP2tgOAAAA; expires=Wed, 20-Oct-2021 18:54:30 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=At8WvrfnrelOuDjGxvtr7zlGOXJzAQAAADl7G9kOAAAA; expires=Wed, 08-Dec-2021 20:10:33 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:30 GMT', + 'Mon, 08 Nov 2021 20:10:32 GMT', + 'Connection', + 'close', 'Content-Length', '1351' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .post('/oauth2/exchange', "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token") + .query(true) .reply(200, {"refresh_token":"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:31 GMT', + 'Mon, 08 Nov 2021 20:10:33 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '98f5e6f6-f836-49fe-9702-f2d7fe8cd4c0', + '5231c7a9-7e6d-417b-9081-bcf607e6ce52', 'x-ms-ratelimit-remaining-calls-per-second', - '166.45', + '166.633333', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:31 GMT', + 'Mon, 08 Nov 2021 20:10:33 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - 'f6d1dbff-a791-4775-aada-2c042c1fa8e6', + 'd91b56d3-d57e-4bc2-9e77-4aee35bb9f54', 'x-ms-ratelimit-remaining-calls-per-second', - '166.433333', + '166.65', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -191,17 +199,17 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .get('/acr/v1/library%2Fhello-world/_manifests') .query(true) - .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","manifests":[{"digest":"sha256:04ebe37e000dcd9b1386af0e2d9aad726cbd1581f82067bea5cd2532b1f06310","imageSize":528,"createdTime":"2021-06-11T19:19:17.6685388Z","lastUpdateTime":"2021-06-11T19:19:17.6685388Z","architecture":"ppc64le","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}}]}, [ + .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","manifests":[{"digest":"sha256:01433e86a06b752f228e3c17394169a5e21a0995f153268a9b36a16d4f2b2184","imageSize":5216,"createdTime":"2021-10-06T21:01:30.4926548Z","lastUpdateTime":"2021-10-06T21:01:30.4926548Z","architecture":"arm64","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}]}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:31 GMT', + 'Mon, 08 Nov 2021 20:10:34 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', - '514', + '486', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -213,13 +221,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Docker-Distribution-Api-Version', 'registry/2.0', 'Link', - '; rel="next"', + '; rel="next"', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains', 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '3c591d63-ad25-4cf8-915f-12d9d071671c', + '92416655-a22f-4513-ba24-24b893a8c2db', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -231,13 +239,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:31 GMT', + 'Mon, 08 Nov 2021 20:10:34 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '222', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -255,28 +263,29 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - 'f4f99d8a-b057-48e7-aaf2-057746af5a87', + '578222e5-c621-4406-bbdb-dfbe50633fb5', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:31 GMT', + 'Mon, 08 Nov 2021 20:10:34 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - 'f2cebbb9-08e5-4899-adfb-5724c4a36957', + '9951bd9f-d47e-47bb-9773-83b53e04bf90', 'x-ms-ratelimit-remaining-calls-per-second', - '166.416667', + '166.633333', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -284,17 +293,17 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .get('/acr/v1/library%2Fhello-world/_manifests') .query(true) - .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","manifests":[{"digest":"sha256:0dc4e9a14237cae2d8e96e9e310116091c5ed4934448d7cfd22b122778964f11","imageSize":527,"createdTime":"2021-06-11T19:19:17.5875184Z","lastUpdateTime":"2021-06-11T19:19:17.5875184Z","architecture":"mips64le","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}}]}, [ + .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","manifests":[{"digest":"sha256:04ebe37e000dcd9b1386af0e2d9aad726cbd1581f82067bea5cd2532b1f06310","imageSize":528,"createdTime":"2021-06-11T19:19:17.6685388Z","lastUpdateTime":"2021-06-11T19:19:17.6685388Z","architecture":"ppc64le","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}]}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:31 GMT', + 'Mon, 08 Nov 2021 20:10:34 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', - '515', + '487', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -306,13 +315,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Docker-Distribution-Api-Version', 'registry/2.0', 'Link', - '; rel="next"', + '; rel="next"', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains', 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '5aaed023-6ea8-4b4c-9edc-0b70d1dfd133', + '0c9b9be9-cdff-4990-88c5-edf8e359faff', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages_with_continuationtoken.js b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages_with_continuationtoken.js index d60301e3f408..787b4d3d83a2 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages_with_continuationtoken.js +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages_with_continuationtoken.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "aa22a3e39f1251356824caa4a409b64d"; +module.exports.hash = "aa3e36b66a2eddbe38a0348b0f7322d7"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -11,13 +11,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:31 GMT', + 'Mon, 08 Nov 2021 20:10:35 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '222', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -35,7 +35,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - 'f07e7db1-c7da-4b8a-a52b-bd8601376bd3', + 'bb298741-d6fa-4183-9c74-35221fe0a81d', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -59,19 +59,21 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '06cc8dfb-4baa-4a47-a8e7-e3a06d628700', + '245f51fb-fb3f-4190-94cf-0b75c58e7701', 'x-ms-ests-server', - '2.1.12025.15 - NCUS ProdSlices', + '2.1.12171.15 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AuRP20ufF-NFtzPIrp9xiCs; expires=Wed, 20-Oct-2021 18:54:31 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AnaWClILYgxDvv853NHgdYI; expires=Wed, 08-Dec-2021 20:10:35 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrdCxBRHxvZKSUXVq7YzVKnZRSI0dGIX2RPpxThm7rQttoBwB4lhp6vV5Mx7BsFuZwjwFixqQQ0Qs5I9_hQ5nspHm77-044RR5otWtdoGRBVAdqjTaZPaj2eJvbRzNwIgS-ZCW_4kqdrPvKm_LlnGryRNrfY3-s_3qBRBfhcfMB2kgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrrSqEepjpxkKHAq_HbtJkgexPCeUkP6wYyNJ2skuo4kyyV5EMRX0g6Z3SQVPAvzgXoQAwArNeQlmKe7Ria8-l8DPc6DKitrXEsGn-PFtCTHaQz_Zwh5WePTtlFyo3smyp-ExXXbTIswWug8GyHDkJ8j927qgtrjkXce0GQldxJAggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:31 GMT', + 'Mon, 08 Nov 2021 20:10:34 GMT', + 'Connection', + 'close', 'Content-Length', '980' ]); @@ -81,8 +83,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"token_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1753', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -96,23 +96,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '8794f495-a762-411f-9ecc-6ec2b618ac00', + 'e447afca-d733-4a0c-a38c-cb478795a600', 'x-ms-ests-server', - '2.1.12071.7 - WUS2 ProdSlices', + '2.1.12197.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=Al6MrJHmR9pBjcjsH_kX2r0; expires=Wed, 20-Oct-2021 18:54:31 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Als5XqOjcClAtWx588fEzKw; expires=Wed, 08-Dec-2021 20:10:35 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrm5p2lCPrKCAx_TTmejCj9EAgCw7iKUeiQUi0S3ca9WbRr92CzO3uHTdasNgaHO-_EutWpfs7HVDArB9DojV_vSmtdWIsU4MTIDdnrBYSB8INvE8t9v5qxZ3hhkCnkmFzc37H_RnoZ2zglgVcn2jn23JBhcnMCC1cuyL_kJFA8SMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrCgq42--jkRRU0bqDTZHjTALwjX0Hg3zNSALbKPYLtpRQcxtn7tbgfFykQOmc9cSokuUO19WrrEt2s5936Rxd1gU7-l8vseNsn2QJ3Wh3kJW1JkPJ-vQhuekh5j4HZD5XOMm9lmkA3QAiKXr5Ht-PL1h_4vQjzE1r3uPYM3fqpcYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:31 GMT' + 'Mon, 08 Nov 2021 20:10:35 GMT', + 'Connection', + 'close', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=3e973617-5fe3-4d6a-89c2-8a4497e9657e&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.2&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=4bfc2a9c-7635-44ba-b08c-64239154488d&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -129,61 +133,65 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'c73f6c83-e9b5-4167-ab68-9c65f390bc00', + 'b8e2c0d7-6db5-4ee1-8821-114a29ff9000', 'x-ms-ests-server', - '2.1.12071.7 - EUS ProdSlices', + '2.1.12197.4 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=An9m2XJ6vx9Glue7TMjzsVxGOXJzAQAAAOfP2tgOAAAA; expires=Wed, 20-Oct-2021 18:54:31 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AkUpMGWHEKRDq8ME5JubdI5GOXJzAQAAADt7G9kOAAAA; expires=Wed, 08-Dec-2021 20:10:35 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:31 GMT', + 'Mon, 08 Nov 2021 20:10:35 GMT', + 'Connection', + 'close', 'Content-Length', '1351' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .post('/oauth2/exchange', "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token") + .query(true) .reply(200, {"refresh_token":"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:31 GMT', + 'Mon, 08 Nov 2021 20:10:36 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - 'de123d92-7e26-4ffc-bc00-5003cd571b0f', + 'e8138277-2da3-421a-8a41-b01e9d52ccb2', 'x-ms-ratelimit-remaining-calls-per-second', - '166.4', + '166.633333', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:31 GMT', + 'Mon, 08 Nov 2021 20:10:36 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '64c7a8e9-95b5-4458-8b1f-62702de32b18', + 'c4765a33-6403-4ced-a8c7-06b0599c26e8', 'x-ms-ratelimit-remaining-calls-per-second', - '166.383333', + '166.633333', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -191,17 +199,17 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .get('/acr/v1/library%2Fhello-world/_manifests') .query(true) - .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","manifests":[{"digest":"sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552","imageSize":525,"createdTime":"2021-07-12T19:20:00.913255Z","lastUpdateTime":"2021-07-12T19:20:00.913255Z","architecture":"ppc64le","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineState":"Passed"}}]}, [ + .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","manifests":[{"digest":"sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409","imageSize":4727,"createdTime":"2021-10-06T21:01:30.4148083Z","lastUpdateTime":"2021-10-06T21:01:30.4148083Z","architecture":"386","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}]}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:32 GMT', + 'Mon, 08 Nov 2021 20:10:36 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', - '512', + '484', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -213,13 +221,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Docker-Distribution-Api-Version', 'registry/2.0', 'Link', - '; rel="next"', + '; rel="next"', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains', 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '5c1391dd-c18b-4c6a-814b-2ded49440ada', + '74484801-8bf9-4899-8580-17f6a026c236', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags.js b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags.js index e098c3cc4c8b..60d0e61bf71f 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags.js +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "5426876f4ab3a5f4cbf34f023bfe73a4"; +module.exports.hash = "34a907a7faf8880a6e832d9e9f622494"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -11,13 +11,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:32 GMT', + 'Mon, 08 Nov 2021 20:10:36 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '222', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -35,7 +35,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '635c5eb4-72a5-447b-aa41-2cae42f55fe1', + '8daa231f-aa6a-4c40-bf64-3b55a46aa0fb', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -59,19 +59,21 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '74a65475-cdbe-4897-840a-aee04510bd00', + '482dcac7-6df9-4990-8dce-4ba13191e100', 'x-ms-ests-server', - '2.1.12071.7 - WUS2 ProdSlices', + '2.1.12197.4 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AlwQLHxylBxJn597Y57cbQc; expires=Wed, 20-Oct-2021 18:54:32 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Amag40N1z61BnPIFVDC0S4g; expires=Wed, 08-Dec-2021 20:10:37 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLwtNM5tKJgrcb5YyDRVGg48KYaRAeEBpQkSBrcoNx34a81I_zOFmz7ZXYF7d90PoYIbPH2H4uzsq7JgmV15RWuQeXc9-_Sciu6wCIs8KLit8pwZtI138xX33DtDmYn1k9sByaJTO64fVUxjJG4xNvC9Pt8XQkx4x08DZx5CkZ6IgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrHVX0FR9_1_xTMT6lAua6hS4qiJR3lrJ0ZRmIEgYWDL9yOx1TA1DY3mGyP7vYiRH-RSJ6DKgEYAfwggN7Sr6j9j-Wm5hzpBq6Ul--_ZGDYfPc_Kklg3vWAp9tYeUb9d8HJ-ogRm5eIZbt5OikomV3I0IKC7kxTb8XK_wZjPmeyXggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:32 GMT', + 'Mon, 08 Nov 2021 20:10:37 GMT', + 'Connection', + 'close', 'Content-Length', '980' ]); @@ -94,25 +96,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'fb73c479-24ee-4348-b36c-9be0e82c8000', + '2dbd2605-64e8-439b-bbe2-a65d394a9800', 'x-ms-ests-server', - '2.1.12071.7 - NCUS ProdSlices', + '2.1.12197.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=Aonzsi8qFLBElv5PQeq8ohc; expires=Wed, 20-Oct-2021 18:54:32 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Aqa3ylHQsMJEpjSz94g5xtM; expires=Wed, 08-Dec-2021 20:10:37 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrqMYXIiAbQ7pX5ORswnoWh5vNqsVIKFgkl8u4qZJjzGssPyKFoKTMDTqa0tKLduQFhhNEtRyyKUp3CWJUwnzx8H3BT-mrtMBZcaxZq3RZqmE_gu3mMJOJoMEJHEPmL2Hy_q5Qwcg9i8dmD_gsTTzU3UfDpES-ON1IYwz1dfkb9y0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrNV37zXZGbukLudkMpqTW123Ak3-5BHqPAT9HPUv9Igsm-KE-qzW7MYEHk8PpwpIQse8dS1lIc5sW3e-DIDPje2lYwisCzyT4wnmz4GpkChEPCrfAuTrdNCYDD9op83kdZ5SMokVj1_YsDVBjhmQjbuv8l2CCqNb64wagK3q6hlogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:32 GMT', + 'Mon, 08 Nov 2021 20:10:36 GMT', + 'Connection', + 'close', 'Content-Length', '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=86db193d-ab0d-47cc-8446-6fd209be960c&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.2&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=dff0509c-8a27-4b65-93fa-5e6cf2c342b3&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -129,61 +133,65 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '1022a4ba-a53e-49aa-ae29-28ec72ad6c00', + '5e093f80-32e3-44f2-8741-004f1619d700', 'x-ms-ests-server', - '2.1.12071.7 - NCUS ProdSlices', + '2.1.12197.4 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=An7OLwYEKTdCpn8fx1lo6g1GOXJzAQAAAOfP2tgOAAAA; expires=Wed, 20-Oct-2021 18:54:32 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AlBS6-UgALRIsNzGf4xxUzpGOXJzAQAAADx7G9kOAAAA; expires=Wed, 08-Dec-2021 20:10:37 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:32 GMT', + 'Mon, 08 Nov 2021 20:10:36 GMT', + 'Connection', + 'close', 'Content-Length', '1351' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .post('/oauth2/exchange', "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token") + .query(true) .reply(200, {"refresh_token":"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:32 GMT', + 'Mon, 08 Nov 2021 20:10:37 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '2781909d-9c1f-40c0-8470-0eb45e57bb6d', + '87bb81fb-6a25-46d1-aa7b-914fc20a5b13', 'x-ms-ratelimit-remaining-calls-per-second', - '166.366667', + '166.633333', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:32 GMT', + 'Mon, 08 Nov 2021 20:10:38 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '6fe7f2fc-fbf5-40d2-817f-50d0c6d69839', + '69cd2368-6c73-4bc8-82e5-9c1993639edf', 'x-ms-ratelimit-remaining-calls-per-second', - '166.35', + '166.633333', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -191,17 +199,17 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .get('/acr/v1/library%2Fhello-world/_tags') .query(true) - .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","tags":[{"name":"latest","digest":"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c","createdTime":"2021-06-01T17:44:40.8107647Z","lastUpdateTime":"2021-06-01T17:44:40.8107647Z","signed":false,"quarantineState":"Passed","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"name":"test-delete","digest":"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f","createdTime":"2021-09-20T18:50:54.8582937Z","lastUpdateTime":"2021-09-20T18:50:54.8582937Z","signed":false,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"name":"test1","digest":"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f","createdTime":"2021-06-11T19:11:38.7001063Z","lastUpdateTime":"2021-09-20T18:50:54.0904821Z","signed":false,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}]}, [ + .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","tags":[{"name":"latest","digest":"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c","createdTime":"2021-06-01T17:44:40.8107647Z","lastUpdateTime":"2021-06-01T17:44:40.8107647Z","signed":false,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"name":"test-delete","digest":"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51","createdTime":"2021-11-08T19:55:54.538344Z","lastUpdateTime":"2021-11-08T19:55:54.538344Z","signed":false,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}},{"name":"test1","digest":"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51","createdTime":"2021-06-11T19:11:38.7001063Z","lastUpdateTime":"2021-11-08T19:55:53.3335808Z","signed":false,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}]}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:32 GMT', + 'Mon, 08 Nov 2021 20:10:38 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', - '1049', + '1020', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -217,7 +225,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - 'e2ce478e-b96a-42a1-8c45-182a59d382e4', + 'c94d6a5d-997b-40bc-9a64-623fc9fd2d34', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags_by_pages.js b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags_by_pages.js index 71861767d2e1..93984995ad0d 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags_by_pages.js +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags_by_pages.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "18b81bb928f6edcd687781b6d52a05ff"; +module.exports.hash = "55a4670064fdc9064c708ab4e3e62e54"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -11,13 +11,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:32 GMT', + 'Mon, 08 Nov 2021 20:10:38 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '222', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -35,7 +35,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '743e31c1-3f04-4fe2-8096-d075af93c2ca', + 'c4c4fae4-8c12-421f-a328-4bbd8e4ad3a1', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -59,19 +59,21 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '7005f337-16b3-47dc-8053-e8e695a66f01', + '7b71d9dc-5d98-4bc4-b8c3-08cede628101', 'x-ms-ests-server', - '2.1.12025.15 - EUS ProdSlices', + '2.1.12171.15 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=Au1wfCC5JOtPmBhG_dLPTFY; expires=Wed, 20-Oct-2021 18:54:32 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AqZPk4f9d3VAu83dF7ZTVeE; expires=Wed, 08-Dec-2021 20:10:38 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrCqorDNOVnVYfTnpP68cOeytzLHSAaqMjQbgR3sOAFKqlUdaTWF_uzhtL05V1nrBwszjklgUT0DBCjn8YeW6o2ytciITKIzThz4XZrsJCVH_IJ_E0fX6P8BeWXMCykSaa28fm613EOzS1gBCiVmUyL_sqd5H_D3OF7wI0OPP-pBkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrdZ7ABo7NgyL_Y8qxwVr-tpULLf6p-HXfQY8x4GJHZVZaXoH5AeVw_tD-MtweB0qbKhsLazR_FH3-HOet3SeOHU3JUWDaSvxYFd5kguWysoIJgwM9_Yie_28-nPU5_IJ3n39IXlMC9ph4PEX-w4ngx8UayO0P3sgj17i9DPvCzh8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:32 GMT', + 'Mon, 08 Nov 2021 20:10:38 GMT', + 'Connection', + 'close', 'Content-Length', '980' ]); @@ -94,25 +96,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'b45c9eb0-0018-4fb9-ac3a-e6dfb852ba00', + '87a78c1f-6710-4053-8567-7968f2cebf00', 'x-ms-ests-server', - '2.1.12071.7 - EUS ProdSlices', + '2.1.12197.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AqeLvR9cs-VOtsQW6hobWjo; expires=Wed, 20-Oct-2021 18:54:32 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Al6-nSoVT0ZCpQGKTlCAYKs; expires=Wed, 08-Dec-2021 20:10:38 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrxBYAq-0OCP3OFUKaNB6OFBpHJY1eDpuriroJj8Qo4UcP0igodFkp9cLXMXDTDFcQPX6VPcAUZqrjCduF4AW_DI2m26ZipFoy1RMidCxIkyD0hEn-rFG3YLSqDKw9VZlZnmL7WdXJM-k3RWOcJDipDTzdQiGjlLQwq_fJxf7N_TogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrWc6ZVOX1_81xoIkFmZ6tNylNP8dMTaiklb45M07dNQO26qrHKSoYE7qbZ-Re4T1fYpIevSmZD8VAiJrxDz_NooUyetoBk8ip_JkQk0fpt_yJk5I7jSSA4F8u1XvoEyE26eftO48PTmoMtET9g-86mj4H-CUEZy0Z5ecVClG9PlAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:32 GMT', + 'Mon, 08 Nov 2021 20:10:38 GMT', + 'Connection', + 'close', 'Content-Length', '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=58e650a8-18f7-4e31-96d9-003660b53556&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.2&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=fc9676d0-d9de-4e3b-a303-780e709d188c&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -129,61 +133,65 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'c73f6c83-e9b5-4167-ab68-9c653191bc00', + '5d3b8ab0-f3a8-46a6-a3fe-0556138fb800', 'x-ms-ests-server', - '2.1.12071.7 - EUS ProdSlices', + '2.1.12197.4 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=Ai5HZejIyJ5Ni9TC56xTUn1GOXJzAQAAAOjP2tgOAAAA; expires=Wed, 20-Oct-2021 18:54:32 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AnSjPYx94HBCslQcsdV1Nv5GOXJzAQAAAD57G9kOAAAA; expires=Wed, 08-Dec-2021 20:10:39 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:32 GMT', + 'Mon, 08 Nov 2021 20:10:38 GMT', + 'Connection', + 'close', 'Content-Length', '1351' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .post('/oauth2/exchange', "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token") + .query(true) .reply(200, {"refresh_token":"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:33 GMT', + 'Mon, 08 Nov 2021 20:10:39 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '8b7e34c7-b4b6-4c6f-8dff-79a381f44cd4', + '84489fd0-9592-4591-915c-6b8c4aadb1f3', 'x-ms-ratelimit-remaining-calls-per-second', - '166.333333', + '166.55', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:33 GMT', + 'Mon, 08 Nov 2021 20:10:39 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '18cfe109-f00b-43c8-ad1f-1073b6b29ef9', + '09ab02d1-7550-41fa-9ecd-90f66ea7688d', 'x-ms-ratelimit-remaining-calls-per-second', - '166.316667', + '166.566667', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -191,17 +199,17 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .get('/acr/v1/library%2Fhello-world/_tags') .query(true) - .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","tags":[{"name":"latest","digest":"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c","createdTime":"2021-06-01T17:44:40.8107647Z","lastUpdateTime":"2021-06-01T17:44:40.8107647Z","signed":false,"quarantineState":"Passed","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}]}, [ + .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","tags":[{"name":"latest","digest":"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c","createdTime":"2021-06-01T17:44:40.8107647Z","lastUpdateTime":"2021-06-01T17:44:40.8107647Z","signed":false,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}]}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:33 GMT', + 'Mon, 08 Nov 2021 20:10:39 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', - '419', + '392', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -219,7 +227,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '45c2930e-3e6f-47e8-bdc9-02be9e51c21c', + '0b9416d1-39db-4b02-8e88-90bb17c413e0', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -231,13 +239,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:33 GMT', + 'Mon, 08 Nov 2021 20:10:40 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '222', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -255,28 +263,29 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '7f862310-51f5-4498-9a40-6af2e377c39d', + '72ae9a35-890b-4637-b5d0-34cdc3b90406', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:33 GMT', + 'Mon, 08 Nov 2021 20:10:40 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - 'eeee00d0-f61d-4e17-baf1-fcd376e8bf2b', + '6decf439-dc60-4ff0-a400-501136be751c', 'x-ms-ratelimit-remaining-calls-per-second', - '166.3', + '166.633333', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -284,17 +293,17 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .get('/acr/v1/library%2Fhello-world/_tags') .query(true) - .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","tags":[{"name":"test-delete","digest":"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f","createdTime":"2021-09-20T18:50:54.8582937Z","lastUpdateTime":"2021-09-20T18:50:54.8582937Z","signed":false,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}]}, [ + .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","tags":[{"name":"test-delete","digest":"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51","createdTime":"2021-11-08T19:55:54.538344Z","lastUpdateTime":"2021-11-08T19:55:54.538344Z","signed":false,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}]}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:33 GMT', + 'Mon, 08 Nov 2021 20:10:40 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', - '397', + '395', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -312,7 +321,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '1e35ca51-6dba-4975-bd7b-ee7e3d1c5acd', + 'd5ef1413-5487-4f1d-8991-eacd54876e4c', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags_by_pages_with_continuationtoken.js b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags_by_pages_with_continuationtoken.js index 6cbf1022f420..31f55bbc7db0 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags_by_pages_with_continuationtoken.js +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags_by_pages_with_continuationtoken.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "cc1022cc24a299e1af11ed27772447ec"; +module.exports.hash = "63ea86b583a422685800b2c7b0211022"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -11,13 +11,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:33 GMT', + 'Mon, 08 Nov 2021 20:10:41 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '222', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -35,7 +35,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '7d91c60e-ec91-487f-a983-09792286e9ee', + '166cc6cd-b29a-4b0c-bc6f-1aba0e9c737a', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -59,19 +59,21 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'c07d6983-39ad-4b21-964c-c8db9bfae800', + 'f86e02ed-ff12-4829-aa41-b738bf4c1501', 'x-ms-ests-server', - '2.1.12025.15 - EUS ProdSlices', + '2.1.12171.15 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AlY_lFZ53FhMkhKZO1UdImM; expires=Wed, 20-Oct-2021 18:54:33 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Ar7mL59ZcH5BloaCwgsIopc; expires=Wed, 08-Dec-2021 20:10:41 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrX0HAyf7YHXGeIc0thawin7MwIqZ7TDOUv8NcsB-tsCT90kWw-ZbaghvuQrHGjN68DP64sYdpFB87zEdiSlkSnWTiGDtZKxayW4EP_GG59q2Kx0lwvmyD3HEM7QQh0NBH1-TZUd0ZuurPjceglN0X2gUoRcyOIPqA089d2ZcQeZ0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrp1kt7mRua-3AZOFTruyonDOAWMLyTdyOYrQ5X8Uc9NwPZFMWfmI-4WIy9WfH9KhX4ZK8gi2xFPLvcqqIrYyZWlboeTsBK_Q22QrJeriy_alR9eDz3jYZt8q5PG8PaRapyWv3ff4JZQLkI3x0_I30dAOX4mDtDVwxEQIYPZ0R7tQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:33 GMT', + 'Mon, 08 Nov 2021 20:10:40 GMT', + 'Connection', + 'close', 'Content-Length', '980' ]); @@ -81,8 +83,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"token_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1753', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -96,23 +96,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '14a5d53f-1366-42c7-9a1d-cb8042c8a200', + 'cac94cd0-6c34-4e4c-a518-d9111a4dcb00', 'x-ms-ests-server', - '2.1.12071.7 - SCUS ProdSlices', + '2.1.12197.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AiM5Sk83KIdHksJyJXhHBho; expires=Wed, 20-Oct-2021 18:54:33 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AiJBPqrbi8pMoPC5KvscXqI; expires=Wed, 08-Dec-2021 20:10:41 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrEFpQQIhPHQRCF0_q6wmVsKZ5dJu9WBhyxYnjTTRuOfLMkeEtxj7dPntLs9LCXnXj7LNwXWkqwls5PXMkLDdcezxVUjPe2COWEfD7eWzIVAYP9T0mqrggdq5B8N5F301L9BqmmiaCwBrhUbC7hdgRjBk4i_V5s59ThJr_Klg-tz8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrhFppVJX6IiqxiWHObjjaTryxyIcqQ7gKN9DdRvph0HqZPLy-JpNy9t2JObvOJ75XrNTZhZl7dT3fIwMrqVyPmlxIJFT3vufDSBib8mqvseQsjXwaIBMd09a5ZERfQ7KiQnbtpdN_nGVvMBE73y7j3INPF-gFzcGBBwH0V3ydcGEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:33 GMT' + 'Mon, 08 Nov 2021 20:10:41 GMT', + 'Connection', + 'close', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=ccdd466f-d88c-4007-8044-23912fe3fffd&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.2&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=86d719d6-d15e-45c9-9b86-755857f3cacf&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -129,61 +133,65 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '5659d42d-7fbf-4f73-836e-0a4848eeb900', + '898f933e-b759-405d-a51a-eb7bab549f00', 'x-ms-ests-server', - '2.1.12071.7 - EUS ProdSlices', + '2.1.12197.4 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnrMnpUE6JhIvRPEhLN6MKBGOXJzAQAAAOnP2tgOAAAA; expires=Wed, 20-Oct-2021 18:54:33 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AoVd6dmC6zpDu5GpPq7tUIRGOXJzAQAAAEB7G9kOAAAA; expires=Wed, 08-Dec-2021 20:10:41 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:33 GMT', + 'Mon, 08 Nov 2021 20:10:40 GMT', + 'Connection', + 'close', 'Content-Length', '1351' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .post('/oauth2/exchange', "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token") + .query(true) .reply(200, {"refresh_token":"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:33 GMT', + 'Mon, 08 Nov 2021 20:10:41 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '0a6df9ab-5ae6-47c0-bb7e-f497dbfc6cb1', + '2ad43101-8d8d-4e19-b7b0-1357feeb5048', 'x-ms-ratelimit-remaining-calls-per-second', - '166.283333', + '166.633333', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:33 GMT', + 'Mon, 08 Nov 2021 20:10:42 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - 'ac1efd9f-cd01-48bb-9d01-922556f52830', + 'c6667b74-b2a6-4d55-bb7c-977b4dc10679', 'x-ms-ratelimit-remaining-calls-per-second', - '166.266667', + '166.633333', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -191,17 +199,17 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .get('/acr/v1/library%2Fhello-world/_tags') .query(true) - .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","tags":[{"name":"test1","digest":"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f","createdTime":"2021-06-11T19:11:38.7001063Z","lastUpdateTime":"2021-09-20T18:50:54.0904821Z","signed":false,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}]}, [ + .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","tags":[{"name":"test1","digest":"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51","createdTime":"2021-06-11T19:11:38.7001063Z","lastUpdateTime":"2021-11-08T19:55:53.3335808Z","signed":false,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}]}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:33 GMT', + 'Mon, 08 Nov 2021 20:10:42 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '391', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -217,7 +225,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '1a63485f-32d2-4d8c-aeaa-cfb08d3677fe', + 'e48ccd35-79e9-4b6f-8556-3b0c5b9891c8', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_digest.js b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_digest.js index 8ad0845de49e..b97a8cd1d527 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_digest.js +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_digest.js @@ -1,23 +1,23 @@ let nock = require('nock'); -module.exports.hash = "238312057b0c31e8da7ba845fdaa2473"; +module.exports.hash = "68119c2dcc627db0dacdf26823ff6342"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .get('/acr/v1/library%2Fhello-world/_manifests/sha256%3A3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552') + .get('/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409') .query(true) .reply(401, {"errors":[{"code":"UNAUTHORIZED","message":"authentication required, visit https://aka.ms/acr/authorization for more information.","detail":[{"Type":"repository","Name":"library/hello-world","Action":"metadata_read"}]}]}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:37 GMT', + 'Mon, 08 Nov 2021 20:10:54 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '222', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -35,7 +35,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - 'bf1fad4e-4beb-4b39-b08d-6438aad4392f', + '539f1dc3-3ccd-456a-b785-d5937310bc6c', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -46,8 +46,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -61,19 +59,23 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'bf75f81b-d4b6-42ef-900a-8c10e77f0600', + 'ab3f19f4-853c-4085-91c9-cf85a9307a01', 'x-ms-ests-server', - '2.1.12071.7 - WUS2 ProdSlices', + '2.1.12171.15 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AjGdJ_UI9VhEjZJxVWFVd9U; expires=Wed, 20-Oct-2021 18:54:37 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AoAlBMU1oZlOhLREc2k2bcU; expires=Wed, 08-Dec-2021 20:10:54 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrfipElUi2XhVE67JUFFrkBYiii8YbsEEtsnytNpET4_x1KFtUJLGyMSvwLmpA9Km8TsYTkQIjxwu4hU4170AcAjBYMFYbf7LjMJI4mtZc-hd3q548F-VW1A4yJvghGr6TowPw0J2H_bBTwuZtHzCbX269177HntcKeNxnRlegIvsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevruI8KLmKQewpfUcR5DwEh4TJgzV3MOAva6wVSO8sBxDCUucYftIxCyw1Tyr7A4JG4Sz_zbqbLYqYVVNVCjNQu5J3O5szvlbeqGlpBGzgOaHKv4ymaTLWKo4uwLT6rBoKJc3vzbEfg-LBh7BUtmX6li-pBz671SMPfRt_SX-n81NMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:37 GMT' + 'Mon, 08 Nov 2021 20:10:53 GMT', + 'Connection', + 'close', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) @@ -94,25 +96,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '69dce9d0-7975-4ce6-b080-2efea317c800', + '3e2d7ed1-6b32-468c-9db1-1ce49220e900', 'x-ms-ests-server', - '2.1.12071.7 - EUS ProdSlices', + '2.1.12197.4 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=Au3GcxstQeBOrgpRWpM6WKo; expires=Wed, 20-Oct-2021 18:54:37 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AnMPtxmjF7dGiTq7c22ghdQ; expires=Wed, 08-Dec-2021 20:10:54 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrEiqfzlCc38S0biPslVSFKD9JNBOHhC-Y-k1Q2lRgHFCynGABLPEliCIh1VQXWBX1VNsETypvwxYyDkraxt4CFXKII53crsYO6AFK1XKpZ7b0EQ-qm2_KmksrrrNlCDSi6kcvaJJutVzB6X-j6Q0krtYA6t_qSYUHZ0f8Njd39lMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrDq-nCR2E1eAAk52YdiW6yb-bwZuV4ORGbWq9Ewq6c6j_ZxiWR7F6xeZJ8_wa1swR7vUK5gji9awFcRxJCmQMCInL6_Tpm3wnwUE6IwIESUVmXNVOJKrsojMD5Ls4bRg95wQkH7DBdpujvmYls3TNTjteuYVapyVQ6a3TXifDKScgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:37 GMT', + 'Mon, 08 Nov 2021 20:10:54 GMT', + 'Connection', + 'close', 'Content-Length', '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=cdc0499b-4f5d-4b4c-9692-87f43393399b&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.2&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=71f5e152-8144-44eb-b94d-767ed5f39a78&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -129,79 +133,83 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '8794f495-a762-411f-9ecc-6ec2de19ac00', + '65e3b56e-e2b9-4ef0-8f47-c6959e5bb600', 'x-ms-ests-server', - '2.1.12071.7 - WUS2 ProdSlices', + '2.1.12197.4 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AtzpQin1b-9Ou2DGlgTrBy9GOXJzAQAAAO3P2tgOAAAA; expires=Wed, 20-Oct-2021 18:54:37 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AubMsxJt6cxGgotptTcq0oxGOXJzAQAAAE57G9kOAAAA; expires=Wed, 08-Dec-2021 20:10:54 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:37 GMT', + 'Mon, 08 Nov 2021 20:10:54 GMT', + 'Connection', + 'close', 'Content-Length', '1351' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .post('/oauth2/exchange', "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token") + .query(true) .reply(200, {"refresh_token":"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:37 GMT', + 'Mon, 08 Nov 2021 20:10:55 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - 'a028b021-4697-42a8-9c1d-7fbc9849a873', + 'd725aaec-6419-4877-a66b-057b5a875b75', 'x-ms-ratelimit-remaining-calls-per-second', - '166.033333', + '166.55', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:37 GMT', + 'Mon, 08 Nov 2021 20:10:55 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '955d6b56-4057-45f5-8a81-2d0cf7f66fef', + '51f7a253-b567-4c7d-a2f3-7df9ff1edbc0', 'x-ms-ratelimit-remaining-calls-per-second', - '166.016667', + '166.5', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .get('/acr/v1/library%2Fhello-world/_manifests/sha256%3A3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552') + .get('/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409') .query(true) - .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","manifest":{"digest":"sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552","imageSize":525,"createdTime":"2021-07-12T19:20:00.913255Z","lastUpdateTime":"2021-07-12T19:20:00.913255Z","architecture":"ppc64le","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true,"quarantineDetails":"{\"state\":\"Scan Failed\",\"link\":\"https://aka.ms/test\",\"scanner\":\"Azure Security Monitoring-Qualys Scanner\",\"result\":{\"version\":\"9/20/2021 6:50:56 PM\",\"summary\":[{\"severity\":\"High\",\"count\":0},{\"severity\":\"Medium\",\"count\":0},{\"severity\":\"Low\",\"count\":0}]}}","quarantineState":"Passed"}}}, [ + .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","manifest":{"digest":"sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409","imageSize":4727,"createdTime":"2021-10-06T21:01:30.4148083Z","lastUpdateTime":"2021-10-06T21:01:30.4148083Z","architecture":"386","os":"linux","mediaType":"application/vnd.docker.distribution.manifest.v2+json","changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:38 GMT', + 'Mon, 08 Nov 2021 20:10:55 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', - '822', + '481', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -217,7 +225,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '1554f8eb-bc22-46da-a664-3442ad49403d', + 'b663dbc5-a06c-4ae7-8c36-f9bfcc4be131', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_tag.js b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_tag.js index b96e87e72151..440ca6be4daa 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_tag.js +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_tag.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "f799251912cb2763f9c206835303099f"; +module.exports.hash = "eaab323b7d26599e240fff70f6d01a2b"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -11,13 +11,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:36 GMT', + 'Mon, 08 Nov 2021 20:10:51 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '222', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -35,7 +35,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '11681e8b-fe11-4b63-9e25-480aeed0c350', + '6925e973-46b3-48b7-9f15-7030a448b821', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -59,19 +59,21 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'b9d84aa9-477d-47dd-8c41-fd2bdd0f0e01', + 'e458b5ba-cc2f-459e-9ba1-b02493978601', 'x-ms-ests-server', - '2.1.12025.15 - NCUS ProdSlices', + '2.1.12171.15 - EUS ProdSlices', 'Set-Cookie', - 'fpc=Akv4_v47h3lKvPxHrX92TDw; expires=Wed, 20-Oct-2021 18:54:36 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhE--voKImhLuub_5bZ76fg; expires=Wed, 08-Dec-2021 20:10:51 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrniCP41D1AKQ_whOLCoTsJmJ5MrGByqnA70zAU-u8ZRFSAIX8Lz0Hu61D6vaqwih9dOpQAsLFzgSHxGUjIaqpBcyV8vPiEWaa93_pI3XB-p9wle-J8HRewBoFve9DgrmjUdNYUefic0uS5i-NnmPheOI5D37v4tQGo6QCpoYJeCsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrlR52ogwKnQZItZwEbgmkiYd3dGDTZvtPWB0dLGkvGw0LsvCDHIgJjdSvCeSOSIyAHAXl7eT92dQ9P5c4YAMQNb2KkAyKZyHxb-dlxApipPVfiFjlL3kwE-aKGI8f6BhhA1Pa5PbZj7dOYaz14_0r5FpGHtisLO164r0NOHi8KVEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:36 GMT', + 'Mon, 08 Nov 2021 20:10:51 GMT', + 'Connection', + 'close', 'Content-Length', '980' ]); @@ -94,25 +96,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6c5e26fd-5061-4074-8042-a6ae8565dd00', + '63e7e88e-e096-4f91-bc96-1f7efbdce800', 'x-ms-ests-server', - '2.1.12071.7 - SCUS ProdSlices', + '2.1.12197.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AlEJuIucW4JMifriGn8WgOA; expires=Wed, 20-Oct-2021 18:54:36 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Amj3uwztj4ZEinvZGIP-Nm4; expires=Wed, 08-Dec-2021 20:10:52 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr4tCty39senzLCBqcInF8QKfQd-0sIwuXRG4ykaw6woj6gCGmuw4bwDHsrO7nd_sD2qNHNBdtEB-ninKBJyYi2DOWZ7bteg6zcCsw5gy4LaiIdmAlXO9AjNCwe2mfbiDrvaPE85V7NidoQiIfwvhvftirkjPLlkZP3eEgvMsUogsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrnfIoVvPF7vg68G4ghthZrdAzdzBu8BfUk4Uxe_TxaKovp1oO7wxCnC9Yv9hec9gb2DCZzO-KhXAVQOifiQIodX9lgMylCjV_Eq6Dlh_x5VopV-VLjRhU7Z_at8oUtKBWFclXICAWM_UWns9ZIAMqeYgDku3TczxzLS5WZzF6M64gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:36 GMT', + 'Mon, 08 Nov 2021 20:10:51 GMT', + 'Connection', + 'close', 'Content-Length', '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=12b092f2-17f3-4543-9f32-71fb9ac70cdb&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.2&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=35c9eb2a-89f9-4b40-91e1-c184fbe5b83e&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -129,61 +133,65 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '0c2eb0f8-facc-4ede-99e3-5a557f578300', + 'd26ca3c4-5377-4939-a5b3-1de90a23c800', 'x-ms-ests-server', - '2.1.12071.7 - SCUS ProdSlices', + '2.1.12197.4 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=ApYuj54GmaZAicArlN7FGEtGOXJzAQAAAOzP2tgOAAAA; expires=Wed, 20-Oct-2021 18:54:36 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Ap1ava4UR05IkzdouhIVecVGOXJzAQAAAEt7G9kOAAAA; expires=Wed, 08-Dec-2021 20:10:52 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:36 GMT', + 'Mon, 08 Nov 2021 20:10:51 GMT', + 'Connection', + 'close', 'Content-Length', '1351' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .post('/oauth2/exchange', "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token") + .query(true) .reply(200, {"refresh_token":"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:37 GMT', + 'Mon, 08 Nov 2021 20:10:52 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '8ab4196b-9ad2-43d1-aede-a80339e4a2c3', + 'd7ff6cc8-0fee-472f-99c1-d5a06cff8db1', 'x-ms-ratelimit-remaining-calls-per-second', - '166.083333', + '166.616667', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:37 GMT', + 'Mon, 08 Nov 2021 20:10:53 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '6aa6ec05-e8da-440c-92fa-3f923ac06c61', + '2299b325-18fe-4180-8d92-053d9f8d0fc7', 'x-ms-ratelimit-remaining-calls-per-second', - '166.066667', + '166.616667', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -191,17 +199,17 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .get('/acr/v1/library%2Fhello-world/_tags/test1') .query(true) - .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","tag":{"name":"test1","digest":"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f","createdTime":"2021-06-11T19:11:38.7001063Z","lastUpdateTime":"2021-09-20T18:50:54.0904821Z","signed":false,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}}, [ + .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","tag":{"name":"test1","digest":"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51","createdTime":"2021-06-11T19:11:38.7001063Z","lastUpdateTime":"2021-11-08T19:55:53.3335808Z","signed":false,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:37 GMT', + 'Mon, 08 Nov 2021 20:10:53 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '388', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -217,25 +225,25 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '5a19b6c4-6d3c-47d3-a71d-00ca0d7b44c7', + '7e7f4f22-46a7-42de-9bd8-de747d594dba', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .get('/acr/v1/library%2Fhello-world/_manifests/sha256%3A61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f') + .get('/acr/v1/library%2Fhello-world/_manifests/sha256%3A37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51') .query(true) .reply(401, {"errors":[{"code":"UNAUTHORIZED","message":"authentication required, visit https://aka.ms/acr/authorization for more information.","detail":[{"Type":"repository","Name":"library/hello-world","Action":"metadata_read"}]}]}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:37 GMT', + 'Mon, 08 Nov 2021 20:10:53 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '222', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -253,46 +261,47 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '88cc9777-ed66-4903-8989-b8cfd3592bc3', + '26771d3a-cc60-42ab-8be2-9ba1c2e0da79', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:37 GMT', + 'Mon, 08 Nov 2021 20:10:53 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - '35edb63a-baf4-40d8-b33c-14fa48c0ff96', + 'c2e8e24a-3eb9-4ad6-b510-24f77ee37561', 'x-ms-ratelimit-remaining-calls-per-second', - '166.05', + '166.583333', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .get('/acr/v1/library%2Fhello-world/_manifests/sha256%3A61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f') + .get('/acr/v1/library%2Fhello-world/_manifests/sha256%3A37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51') .query(true) - .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","manifest":{"digest":"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f","imageSize":61958,"createdTime":"2021-09-20T18:50:53.9769732Z","lastUpdateTime":"2021-09-20T18:50:53.9769732Z","mediaType":"application/vnd.docker.distribution.manifest.list.v2+json","tags":["test-delete","test1"],"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true},"references":[{"digest":"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792","architecture":"amd64","os":"linux"},{"digest":"sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb","architecture":"arm","os":"linux"},{"digest":"sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722","architecture":"arm","os":"linux"},{"digest":"sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69","architecture":"arm64","os":"linux"},{"digest":"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98","architecture":"386","os":"linux"},{"digest":"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90","architecture":"mips64le","os":"linux"},{"digest":"sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552","architecture":"ppc64le","os":"linux"},{"digest":"sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114","architecture":"riscv64","os":"linux"},{"digest":"sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172","architecture":"s390x","os":"linux"},{"digest":"sha256:dd295b166e7a35d810b7d286c62fee3c575fdde553182271fc0e5fb01ac81b15","architecture":"amd64","os":"windows"},{"digest":"sha256:4fb0dd2040e4a909567fb8fd36338a00e727926da9e8f93fa1fe58cbc3b9af9c","architecture":"amd64","os":"windows"}]}}, [ + .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","manifest":{"digest":"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51","imageSize":61625,"createdTime":"2021-11-08T19:55:53.1835258Z","lastUpdateTime":"2021-11-08T19:55:53.1835258Z","mediaType":"application/vnd.docker.distribution.manifest.list.v2+json","tags":["test-delete","test1"],"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true},"references":[{"digest":"sha256:f54a58bc1aac5ea1a25d796ae155dc228b3f0e11d046ae276b39c4bf2f13d8c4","architecture":"amd64","os":"linux"},{"digest":"sha256:7b8b7289d0536a08eabdf71c20246e23f7116641db7e1d278592236ea4dcb30c","architecture":"arm","os":"linux"},{"digest":"sha256:f130bd2d67e6e9280ac6d0a6c83857bfaf70234e8ef4236876eccfbd30973b1c","architecture":"arm","os":"linux"},{"digest":"sha256:01433e86a06b752f228e3c17394169a5e21a0995f153268a9b36a16d4f2b2184","architecture":"arm64","os":"linux"},{"digest":"sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409","architecture":"386","os":"linux"},{"digest":"sha256:c2f204d26b4ea353651385001bb6bc371d8c4edcd9daf61d00ad365d927e00c0","architecture":"mips64le","os":"linux"},{"digest":"sha256:b836bb24a270b9cc935962d8228517fde0f16990e88893d935efcb1b14c0017a","architecture":"ppc64le","os":"linux"},{"digest":"sha256:98c9722322be649df94780d3fbe594fce7996234b259f27eac9428b84050c849","architecture":"riscv64","os":"linux"},{"digest":"sha256:c7b6944911848ce39b44ed660d95fb54d69bbd531de724c7ce6fc9f743c0b861","architecture":"s390x","os":"linux"},{"digest":"sha256:31801872aacfc6245ba5277e07dc2c9a482a473c87d625f25c3e6d5de930b35d","architecture":"amd64","os":"windows"},{"digest":"sha256:563c31a6b24347d3f367df5dc33890ab1aec20e9470e5d998f3b6a8fc6eb5763","architecture":"amd64","os":"windows"}]}}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:37 GMT', + 'Mon, 08 Nov 2021 20:10:54 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '1835', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -308,7 +317,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '04b481c7-d0ef-4a21-83c8-600b7bfe29cd', + '789c839c-2ae6-46c1-a925-bf3b520be66f', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_tag_properties.js b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_tag_properties.js index 07ec23ddcebd..37b54548db90 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_tag_properties.js +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_tag_properties.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "28a852a5d36d4dde8b78d65787fed475"; +module.exports.hash = "9601490465d40ccb6f9d6da88edc49f6"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -11,13 +11,13 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:36 GMT', + 'Mon, 08 Nov 2021 20:10:50 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '222', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -35,7 +35,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - 'f820ef8a-ea30-46c2-b053-d87b18871ed8', + '888dbeea-e494-4fdf-9254-b50cfb8dbf21', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -46,8 +46,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -61,19 +59,23 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'a0e9ee94-a64b-47dc-9b5a-ac1c1e68b700', + '0f98e2be-9c90-48a8-9a01-2ee920b18201', 'x-ms-ests-server', - '2.1.12025.15 - SCUS ProdSlices', + '2.1.12171.15 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=Ai2xBDIAbLNGoyt5V6d-Ii8; expires=Wed, 20-Oct-2021 18:54:36 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=ApLvGOaDAKhGvMdl6kbeioM; expires=Wed, 08-Dec-2021 20:10:50 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrzSNK-gntIQm6J2pSPLK02Iy30MZx9Yhz_Tk2xe4c2Ksj7bJsLhfFUR1O-LN71KFaXjvrHu7MPcbp5zgGklkcztgs7Td4LUmJ6rORRnQr9p3piqi97wsZJcJGKS4wdeLec5MzknZrDBE6MY5wAAHpVRIPgEZIfn69r69AdnFzWfAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrcrJfCjGFBA4PmJTeiPgmxA-MwSoNVzycLf95SZea3ai1otc-HkCuwXxft-_D53JLsHxYH93OafOJ7J2E6EO2QsY2IFd-wRukWReSF6RU6NkF0Vpb6Z5DMFESSh_3Ek8wosC-5fRX-84mxzXFiie4wa3xB35v3cAaXSq23n1SQoogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:36 GMT' + 'Mon, 08 Nov 2021 20:10:50 GMT', + 'Connection', + 'close', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) @@ -94,25 +96,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'b45c9eb0-0018-4fb9-ac3a-e6df7a53ba00', + '75af796d-25aa-419f-bbad-be604b03e000', 'x-ms-ests-server', - '2.1.12071.7 - EUS ProdSlices', + '2.1.12197.4 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AlJc58SykYBLujqd560VZ3M; expires=Wed, 20-Oct-2021 18:54:36 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Ar5um86zMztPvFiv7y5Pmrk; expires=Wed, 08-Dec-2021 20:10:50 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrKXEVJXuKKBNp2ierJI1ZblSVUszyUVpLUdobRfs59EiTNFRelQYkqwXNMi_f_vFPDbnmhRjeW7aO4ALnR9EXNAVnFlDfPOjgeJBupbuBzCFeaU-uBvNTqXWtasUWmZsOqH9nUysZfCueVAYbIabgcboCFR1BKVGWlESYqJrJq6MgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrXCoqIvnKqp47b9itzq6SvRTzGkUIpgF0BFaRjrjAOsU_RdMP6FiquEoGzQg7lpswPDJWRlZTQrp9DOFsMjy5eLCKEm0uSiMIZ9ZfoT5ru5WW5XRTEOENNzC6hc7yZeL3Rc3BJHsnmTBHNCR0wn9Hqt-WsQ1mZM84aV8lqUBdBoAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:36 GMT', + 'Mon, 08 Nov 2021 20:10:49 GMT', + 'Connection', + 'close', 'Content-Length', '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=20a65024-9e82-4e94-ace8-e99c92d07468&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.2&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=80bb05a4-971c-4a70-9708-c17d4ec07b16&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -129,61 +133,65 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'a8477190-69d6-4500-b10a-edf98f3aa800', + '12888e90-b00b-4945-a1ac-e4ee4d78b500', 'x-ms-ests-server', - '2.1.12071.7 - WUS2 ProdSlices', + '2.1.12197.4 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AkUjWn-1981Ko1YB6uv-WkxGOXJzAQAAAOvP2tgOAAAA; expires=Wed, 20-Oct-2021 18:54:36 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AtdcMjqeNMZNtd_OjQxFBONGOXJzAQAAAEp7G9kOAAAA; expires=Wed, 08-Dec-2021 20:10:50 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 20 Sep 2021 18:54:36 GMT', + 'Mon, 08 Nov 2021 20:10:50 GMT', + 'Connection', + 'close', 'Content-Length', '1351' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .post('/oauth2/exchange', "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token") + .query(true) .reply(200, {"refresh_token":"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:36 GMT', + 'Mon, 08 Nov 2021 20:10:51 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - 'fbc31b8b-3593-4d12-a660-6c60f9fc2370', + 'c2603dec-5d4c-4307-9046-8ce755c8e2bd', 'x-ms-ratelimit-remaining-calls-per-second', - '166.116667', + '166.633333', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) - .post('/oauth2/token', "grant_type=refresh_token&service=myregistry.azurecr.io&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read") + .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token") + .query(true) .reply(200, {"access_token":"access_token"}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:36 GMT', + 'Mon, 08 Nov 2021 20:10:51 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Transfer-Encoding', 'chunked', 'Connection', - 'keep-alive', + 'close', 'X-Ms-Correlation-Request-Id', - 'd4a478ba-a01b-4a3b-9e6c-a9b310703bd9', + 'b5330ca0-c55f-4cd6-a19c-8713b04bc3ee', 'x-ms-ratelimit-remaining-calls-per-second', - '166.1', + '166.65', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); @@ -191,17 +199,17 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) .get('/acr/v1/library%2Fhello-world/_tags/test1') .query(true) - .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","tag":{"name":"test1","digest":"sha256:61bd3cb6014296e214ff4c6407a5a7e7092dfa8eefdbbec539e133e97f63e09f","createdTime":"2021-06-11T19:11:38.7001063Z","lastUpdateTime":"2021-09-20T18:50:54.0904821Z","signed":false,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}}, [ + .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","tag":{"name":"test1","digest":"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51","createdTime":"2021-06-11T19:11:38.7001063Z","lastUpdateTime":"2021-11-08T19:55:53.3335808Z","signed":false,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}}, [ 'Server', 'openresty', 'Date', - 'Mon, 20 Sep 2021 18:54:36 GMT', + 'Mon, 08 Nov 2021 20:10:51 GMT', 'Content-Type', 'application/json; charset=utf-8', 'Content-Length', '388', 'Connection', - 'keep-alive', + 'close', 'Access-Control-Expose-Headers', 'Docker-Content-Digest', 'Access-Control-Expose-Headers', @@ -217,7 +225,7 @@ nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'X-Ms-Correlation-Request-Id', - '3af84f41-fd76-4512-842b-49f0d81a61ee', + 'a0379116-a147-420b-94ca-c3d871c152c7', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ]); From 863ded1d4e6a5a303816244fce800174c4e3ecc9 Mon Sep 17 00:00:00 2001 From: Jeremy Meng Date: Thu, 11 Nov 2021 20:42:02 +0000 Subject: [PATCH 4/4] - Use URLSearchParams for NodeJS - Split tests because multi-part verification is different between NodeJs and browser --- .../src/policies/formDataPolicy.browser.ts | 40 +++---- .../src/policies/formDataPolicy.ts | 17 ++- .../core-rest-pipeline/src/util/helpers.ts | 24 ---- .../test/browser/formDataPolicy.spec.ts | 109 ++++++++++++++++++ .../test/{ => node}/formDataPolicy.spec.ts | 37 +++++- 5 files changed, 177 insertions(+), 50 deletions(-) create mode 100644 sdk/core/core-rest-pipeline/test/browser/formDataPolicy.spec.ts rename sdk/core/core-rest-pipeline/test/{ => node}/formDataPolicy.spec.ts (59%) diff --git a/sdk/core/core-rest-pipeline/src/policies/formDataPolicy.browser.ts b/sdk/core/core-rest-pipeline/src/policies/formDataPolicy.browser.ts index 8004dfa15185..30a352c837e4 100644 --- a/sdk/core/core-rest-pipeline/src/policies/formDataPolicy.browser.ts +++ b/sdk/core/core-rest-pipeline/src/policies/formDataPolicy.browser.ts @@ -3,7 +3,6 @@ import { PipelineResponse, PipelineRequest, SendRequest } from "../interfaces"; import { PipelinePolicy } from "../pipeline"; -import { urlEncode } from "../util/helpers"; /** * The programmatic identifier of the formDataPolicy. @@ -18,30 +17,27 @@ export function formDataPolicy(): PipelinePolicy { name: formDataPolicyName, async sendRequest(request: PipelineRequest, next: SendRequest): Promise { if (request.formData) { - const contentType = request.headers.get("Content-Type"); - if (contentType && contentType.indexOf("application/x-www-form-urlencoded") !== -1) { - request.body = urlEncode(request.formData); - request.formData = undefined; - } else { - const formData = request.formData; - const requestForm = new FormData(); - for (const formKey of Object.keys(formData)) { - const formValue = formData[formKey]; - if (Array.isArray(formValue)) { - for (const subValue of formValue) { - requestForm.append(formKey, subValue); - } - } else { - requestForm.append(formKey, formValue); + const formData = request.formData; + const requestForm = new FormData(); + for (const formKey of Object.keys(formData)) { + const formValue = formData[formKey]; + if (Array.isArray(formValue)) { + for (const subValue of formValue) { + requestForm.append(formKey, subValue); } + } else { + requestForm.append(formKey, formValue); } + } - request.body = requestForm; - request.formData = undefined; - if (contentType && contentType.indexOf("multipart/form-data") !== -1) { - // browser will automatically apply a suitable content-type header - request.headers.delete("Content-Type"); - } + request.body = requestForm; + request.formData = undefined; + const contentType = request.headers.get("Content-Type"); + if (contentType && contentType.indexOf("application/x-www-form-urlencoded") !== -1) { + request.body = new URLSearchParams(requestForm as any).toString(); + } else if (contentType && contentType.indexOf("multipart/form-data") !== -1) { + // browser will automatically apply a suitable content-type header + request.headers.delete("Content-Type"); } } return next(request); diff --git a/sdk/core/core-rest-pipeline/src/policies/formDataPolicy.ts b/sdk/core/core-rest-pipeline/src/policies/formDataPolicy.ts index ecfdcd403223..a3c6855cbd2b 100644 --- a/sdk/core/core-rest-pipeline/src/policies/formDataPolicy.ts +++ b/sdk/core/core-rest-pipeline/src/policies/formDataPolicy.ts @@ -4,7 +4,6 @@ import FormData from "form-data"; import { PipelineResponse, PipelineRequest, SendRequest, FormDataMap } from "../interfaces"; import { PipelinePolicy } from "../pipeline"; -import { urlEncode } from "../util/helpers"; /** * The programmatic identifier of the formDataPolicy. @@ -21,7 +20,7 @@ export function formDataPolicy(): PipelinePolicy { if (request.formData) { const contentType = request.headers.get("Content-Type"); if (contentType && contentType.indexOf("application/x-www-form-urlencoded") !== -1) { - request.body = urlEncode(request.formData); + request.body = wwwFormUrlEncode(request.formData); request.formData = undefined; } else { prepareFormData(request.formData, request); @@ -32,6 +31,20 @@ export function formDataPolicy(): PipelinePolicy { }; } +function wwwFormUrlEncode(formData: FormDataMap): string { + const urlSearchParams = new URLSearchParams(); + for (const [key, value] of Object.entries(formData)) { + if (Array.isArray(value)) { + for (const subValue of value) { + urlSearchParams.append(key, subValue.toString()); + } + } else { + urlSearchParams.append(key, value.toString()); + } + } + return urlSearchParams.toString(); +} + async function prepareFormData(formData: FormDataMap, request: PipelineRequest): Promise { const requestForm = new FormData(); for (const formKey of Object.keys(formData)) { diff --git a/sdk/core/core-rest-pipeline/src/util/helpers.ts b/sdk/core/core-rest-pipeline/src/util/helpers.ts index 0c9d1753bd5c..adf8dff61422 100644 --- a/sdk/core/core-rest-pipeline/src/util/helpers.ts +++ b/sdk/core/core-rest-pipeline/src/util/helpers.ts @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { FormDataMap } from "../interfaces"; - /** * A constant that indicates whether the environment the code is running is Node.JS. * @internal @@ -59,25 +57,3 @@ export function isObject(input: unknown): input is UnknownObject { !(input instanceof Date) ); } - -/** - * @internal - * @returns result of form data encoded for application/x-www-form-urlencoded content type. - * See https://www.w3.org/TR/html401/interact/forms.html#h-17.13.4 for more details. - */ -export function urlEncode(formData: FormDataMap) { - const result: string[] = []; - for (const formKey of Object.keys(formData)) { - const formValue = formData[formKey]; - let value = ""; - if (Array.isArray(formValue)) { - for (const subValue of formValue) { - value += `${encodeURIComponent(formKey)}=${encodeURIComponent(String(subValue))}`; - } - } else { - value += `${encodeURIComponent(formKey)}=${encodeURIComponent(String(formValue))}`; - } - result.push(value); - } - return result.join("&"); -} diff --git a/sdk/core/core-rest-pipeline/test/browser/formDataPolicy.spec.ts b/sdk/core/core-rest-pipeline/test/browser/formDataPolicy.spec.ts new file mode 100644 index 000000000000..deb597da280e --- /dev/null +++ b/sdk/core/core-rest-pipeline/test/browser/formDataPolicy.spec.ts @@ -0,0 +1,109 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { assert } from "chai"; +import * as sinon from "sinon"; +import { + createPipelineRequest, + SendRequest, + PipelineResponse, + createHttpHeaders, + formDataPolicy +} from "../../src"; + +describe("formDataPolicy", function() { + afterEach(function() { + sinon.restore(); + }); + + it("prepares x-www-form-urlencoded form data correctly", async function() { + const request = createPipelineRequest({ + url: "https://bing.com", + headers: createHttpHeaders({ + "Content-Type": "application/x-www-form-urlencoded" + }) + }); + request.formData = { + service: "registry.azurecr.io", + scope: "repository:library/hello-world:metadata_read" + }; + const successResponse: PipelineResponse = { + headers: createHttpHeaders(), + request, + status: 200 + }; + const next = sinon.stub, ReturnType>(); + next.resolves(successResponse); + + const policy = formDataPolicy(); + + const result = await policy.sendRequest(request, next); + + assert.isUndefined(result.request.formData); + assert.strictEqual( + result.request.body, + `service=registry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read` + ); + }); + + it("prepares x-www-form-urlencoded form data correctly for array value", async function() { + const request = createPipelineRequest({ + url: "https://bing.com", + headers: createHttpHeaders({ + "Content-Type": "application/x-www-form-urlencoded" + }) + }); + request.formData = { a: "va", b: "vb", c: ["vc1", "vc2"] }; + const successResponse: PipelineResponse = { + headers: createHttpHeaders(), + request, + status: 200 + }; + const next = sinon.stub, ReturnType>(); + next.resolves(successResponse); + + const policy = formDataPolicy(); + + const result = await policy.sendRequest(request, next); + + assert.isUndefined(result.request.formData); + assert.strictEqual(result.request.body, `a=va&b=vb&c=vc1&c=vc2`); + }); + + it("prepares multipart/form-data form data correctly", async function() { + const request = createPipelineRequest({ + url: "https://bing.com", + headers: createHttpHeaders({ + "Content-Type": "multipart/form-data" + }) + }); + request.formData = { a: "va", b: "v:b" }; + const successResponse: PipelineResponse = { + headers: createHttpHeaders(), + request, + status: 200 + }; + const next = sinon.stub, ReturnType>(); + next.resolves(successResponse); + + const policy = formDataPolicy(); + + const result = await policy.sendRequest(request, next); + + assert.isUndefined(result.request.formData); + const body = result.request.body as any; + assert.ok(body, "expecting valid body"); + let length = 0; + for (const entry of body.entries()) { + length++; + if (entry[0] === "a") { + assert.strictEqual(entry[1], "va"); + } else if (entry[0] === "b") { + assert.strictEqual(entry[1], "v:b"); + } else { + assert.fail(`unexpected form data key ${entry[0]}`); + } + } + assert.strictEqual(length, 2, "expecting two entries in form data"); + }); +}); diff --git a/sdk/core/core-rest-pipeline/test/formDataPolicy.spec.ts b/sdk/core/core-rest-pipeline/test/node/formDataPolicy.spec.ts similarity index 59% rename from sdk/core/core-rest-pipeline/test/formDataPolicy.spec.ts rename to sdk/core/core-rest-pipeline/test/node/formDataPolicy.spec.ts index 084dd499541a..4e00886222d0 100644 --- a/sdk/core/core-rest-pipeline/test/formDataPolicy.spec.ts +++ b/sdk/core/core-rest-pipeline/test/node/formDataPolicy.spec.ts @@ -9,7 +9,7 @@ import { PipelineResponse, createHttpHeaders, formDataPolicy -} from "../src"; +} from "../../src"; describe("formDataPolicy", function() { afterEach(function() { @@ -46,6 +46,30 @@ describe("formDataPolicy", function() { ); }); + it("prepares x-www-form-urlencoded form data correctly for array value", async function() { + const request = createPipelineRequest({ + url: "https://bing.com", + headers: createHttpHeaders({ + "Content-Type": "application/x-www-form-urlencoded" + }) + }); + request.formData = { a: "va", b: "vb", c: ["vc1", "vc2"] }; + const successResponse: PipelineResponse = { + headers: createHttpHeaders(), + request, + status: 200 + }; + const next = sinon.stub, ReturnType>(); + next.resolves(successResponse); + + const policy = formDataPolicy(); + + const result = await policy.sendRequest(request, next); + + assert.isUndefined(result.request.formData); + assert.strictEqual(result.request.body, `a=va&b=vb&c=vc1&c=vc2`); + }); + it("prepares multipart/form-data form data correctly", async function() { const request = createPipelineRequest({ url: "https://bing.com", @@ -67,6 +91,15 @@ describe("formDataPolicy", function() { const result = await policy.sendRequest(request, next); assert.isUndefined(result.request.formData); - assert.strictEqual(result.request.body?.toString(), "[object FormData]"); + const body = result.request.body as any; + assert.ok(body, "expecting valid body"); + assert.ok((body as any)["getBuffer"], "expecting valid getBuffer() member"); + const buffer = (body as any)["getBuffer"](); + const text = buffer.toString("utf8"); + assert.ok(text, "expecting valid text represetntation"); + assert.match( + text, + /(-+)(\d+)\r\nContent-Disposition: form-data; name="a"\r\n\r\nva\r\n(-+)(\d+)\r\nContent-Disposition: form-data; name="b"\r\n\r\nvb\r\n(-+)(\d+)--\r\n/ + ); }); });