From 0f67e5f1b9491b5939ba017cb74795281d208c29 Mon Sep 17 00:00:00 2001 From: Timo van Veenendaal Date: Tue, 7 Feb 2023 11:59:24 -0800 Subject: [PATCH] [ACR] Chunked upload (#24546) --- ...st_repositories_with_anonymous_access.json | 34 +- ...ting_properties_with_anonymous_access.json | 33 +- ..._a_big_blob_from_nonresettable_stream.json | 4 + ...oad_a_big_blob_from_resettable_stream.json | 4 + ..._big_blob_with_size_a_multiple_of_4mb.json | 4 + ..._blob_with_size_not_a_multiple_of_4mb.json | 4 + .../recording_can_upload_a_small_blob.json | 4 + .../recording_can_upload_blob.json | 336 ++----- ...an_upload_blob_from_resettable_stream.json | 359 ++----- .../recording_can_upload_oci_manifest.json | 783 ++------------- ...d_oci_manifest_from_resettable_stream.json | 924 ++++-------------- ...g_can_upload_oci_manifest_from_stream.json | 803 +++------------ ...ding_can_upload_oci_manifest_with_tag.json | 783 ++------------- ...ding_deletes_repository_of_given_name.json | 105 +- .../recording_should_list_repositories.json | 44 +- ...ing_should_list_repositories_by_pages.json | 128 +-- ...ories_by_pages_with_continuationtoken.json | 44 +- .../recording_deletes_a_given_tag.json | 83 +- .../recording_sets_manifest_properties.json | 219 ++--- .../recording_sets_repository_properties.json | 211 ++-- .../recording_sets_tag_properties.json | 199 ++-- ...ording_should_list_registry_manifests.json | 196 ++-- ...ould_list_registry_manifests_by_pages.json | 162 +-- ...fests_by_pages_with_continuationtoken.json | 62 +- .../recording_should_list_tags.json | 125 +-- .../recording_should_list_tags_by_pages.json | 157 +-- ..._tags_by_pages_with_continuationtoken.json | 55 +- ...stry_artifact_properties_for_a_digest.json | 62 +- ...egistry_artifact_properties_for_a_tag.json | 171 +--- ...cording_should_retrive_tag_properties.json | 54 +- .../review/container-registry.api.md | 7 +- .../samples-dev/uploadDownloadBlob.ts | 5 +- .../samples-dev/uploadManifest.ts | 4 +- .../v1-beta/javascript/uploadDownloadBlob.js | 5 +- .../v1-beta/javascript/uploadManifest.js | 4 +- .../typescript/src/uploadDownloadBlob.ts | 5 +- .../v1-beta/typescript/src/uploadManifest.ts | 4 +- .../samples/v1-beta/typescript/tsconfig.json | 2 +- .../src/blob/containerRegistryBlobClient.ts | 58 +- .../container-registry/src/blob/models.ts | 5 + .../src/containerRegistryChallengeHandler.ts | 13 +- .../container-registry/src/utils/helpers.ts | 28 + .../containerRegistryBlobClient.spec.ts | 45 +- 43 files changed, 1487 insertions(+), 4850 deletions(-) create mode 100644 sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_a_big_blob_from_nonresettable_stream.json create mode 100644 sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_a_big_blob_from_resettable_stream.json create mode 100644 sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_a_big_blob_with_size_a_multiple_of_4mb.json create mode 100644 sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_a_big_blob_with_size_not_a_multiple_of_4mb.json create mode 100644 sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_a_small_blob.json diff --git a/sdk/containerregistry/container-registry/recordings/node/anonymous_access_tests/recording_should_list_repositories_with_anonymous_access.json b/sdk/containerregistry/container-registry/recordings/node/anonymous_access_tests/recording_should_list_repositories_with_anonymous_access.json index 3958ff3d7910..5edd7df64c14 100644 --- a/sdk/containerregistry/container-registry/recordings/node/anonymous_access_tests/recording_should_list_repositories_with_anonymous_access.json +++ b/sdk/containerregistry/container-registry/recordings/node/anonymous_access_tests/recording_should_list_repositories_with_anonymous_access.json @@ -7,8 +7,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "573281db-7777-4b9f-87a8-3405f97cddbc" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f17ceba8-ad76-43ca-9a57-a64d648c2a2a" }, "RequestBody": null, "StatusCode": 401, @@ -22,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "196", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:26:59 GMT", + "Date": "Sun, 22 Jan 2023 03:11: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistryanon.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "e071b6a7-8f42-40d4-a21a-b469837e823e" + "X-Ms-Correlation-Request-Id": "08dba7aa-26f5-4deb-8bac-77eab3a07382" }, "ResponseBody": { "errors": [ @@ -56,21 +56,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "93", + "Content-Length": "109", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "469b93e3-19f2-407c-b4c1-3c55c5620523" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "0128ff3e-a587-4d1d-b072-83a1e60451df" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=registry%3Acatalog%3A*\u0026refresh_token=\u0026grant_type=password", + "RequestBody": "service=timovcontainerregistryanon.azurecr.io\u0026scope=registry%3Acatalog%3A*\u0026refresh_token=\u0026grant_type=password", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:26:59 GMT", + "Date": "Sun, 22 Jan 2023 03:11:26 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d5a2c442-4138-4c4a-963d-d50fc4de5c5c" + "X-Ms-Correlation-Request-Id": "c866e566-2790-42de-8701-fb1069681719", + "x-ms-ratelimit-remaining-calls-per-second": "166.65" }, "ResponseBody": { "access_token": "Sanitized" @@ -84,8 +85,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "573281db-7777-4b9f-87a8-3405f97cddbc" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f17ceba8-ad76-43ca-9a57-a64d648c2a2a" }, "RequestBody": null, "StatusCode": 200, @@ -97,9 +98,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "59", + "Content-Length": "41", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:26:59 GMT", + "Date": "Sun, 22 Jan 2023 03:11:27 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -107,11 +108,10 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "cc334c92-84b7-4f56-a12e-ba54d37f9d0c" + "X-Ms-Correlation-Request-Id": "57acd271-dd36-4f6b-8209-00fcc9cc71e9" }, "ResponseBody": { "repositories": [ - "library/busybox", "library/hello-world" ] } diff --git a/sdk/containerregistry/container-registry/recordings/node/anonymous_access_tests/recording_should_throw_error_setting_properties_with_anonymous_access.json b/sdk/containerregistry/container-registry/recordings/node/anonymous_access_tests/recording_should_throw_error_setting_properties_with_anonymous_access.json index 67f3788ae10a..3ea0aae74d7e 100644 --- a/sdk/containerregistry/container-registry/recordings/node/anonymous_access_tests/recording_should_throw_error_setting_properties_with_anonymous_access.json +++ b/sdk/containerregistry/container-registry/recordings/node/anonymous_access_tests/recording_should_throw_error_setting_properties_with_anonymous_access.json @@ -9,8 +9,8 @@ "Connection": "keep-alive", "Content-Length": "23", "Content-Type": "application/json", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "f77c275d-16a5-4229-aa02-54ef91e82aea" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f3dc63ca-db9e-4a94-bf5c-dcfa57e454fc" }, "RequestBody": { "deleteEnabled": false @@ -26,16 +26,16 @@ "Connection": "keep-alive", "Content-Length": "223", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:00 GMT", + "Date": "Sun, 22 Jan 2023 03:11: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistryanon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "57f65414-bf41-46cf-b5af-6fea5e361677" + "X-Ms-Correlation-Request-Id": "34bdabd0-3163-48cc-8c85-0ef2031a7d66" }, "ResponseBody": { "errors": [ @@ -60,21 +60,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "122", + "Content-Length": "138", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "f3c9c540-946c-4b1f-8541-91784fc5ccc0" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1a409cb1-a49d-47dd-bc70-d49eeaf78f9f" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_write\u0026refresh_token=\u0026grant_type=password", + "RequestBody": "service=timovcontainerregistryanon.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_write\u0026refresh_token=\u0026grant_type=password", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:00 GMT", + "Date": "Sun, 22 Jan 2023 03:11:27 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "09c48c63-eae4-4bf6-82dd-3e971502e5c3" + "X-Ms-Correlation-Request-Id": "63a71cf9-c0c4-483a-89cd-5e6747b410a4", + "x-ms-ratelimit-remaining-calls-per-second": "166.633333" }, "ResponseBody": { "access_token": "Sanitized" @@ -90,8 +91,8 @@ "Connection": "keep-alive", "Content-Length": "23", "Content-Type": "application/json", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "f77c275d-16a5-4229-aa02-54ef91e82aea" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f3dc63ca-db9e-4a94-bf5c-dcfa57e454fc" }, "RequestBody": { "deleteEnabled": false @@ -107,16 +108,16 @@ "Connection": "keep-alive", "Content-Length": "223", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:00 GMT", + "Date": "Sun, 22 Jan 2023 03:11: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022insufficient_scope\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistryanon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022insufficient_scope\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5c0c696c-96ae-4411-885c-1165d6da1c1a" + "X-Ms-Correlation-Request-Id": "3bd26c81-c0fb-40f9-9b05-8e4689bdc086" }, "ResponseBody": { "errors": [ diff --git a/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_a_big_blob_from_nonresettable_stream.json b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_a_big_blob_from_nonresettable_stream.json new file mode 100644 index 000000000000..f721723386d8 --- /dev/null +++ b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_a_big_blob_from_nonresettable_stream.json @@ -0,0 +1,4 @@ +{ + "Entries": [], + "Variables": {} +} diff --git a/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_a_big_blob_from_resettable_stream.json b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_a_big_blob_from_resettable_stream.json new file mode 100644 index 000000000000..f721723386d8 --- /dev/null +++ b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_a_big_blob_from_resettable_stream.json @@ -0,0 +1,4 @@ +{ + "Entries": [], + "Variables": {} +} diff --git a/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_a_big_blob_with_size_a_multiple_of_4mb.json b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_a_big_blob_with_size_a_multiple_of_4mb.json new file mode 100644 index 000000000000..f721723386d8 --- /dev/null +++ b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_a_big_blob_with_size_a_multiple_of_4mb.json @@ -0,0 +1,4 @@ +{ + "Entries": [], + "Variables": {} +} diff --git a/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_a_big_blob_with_size_not_a_multiple_of_4mb.json b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_a_big_blob_with_size_not_a_multiple_of_4mb.json new file mode 100644 index 000000000000..f721723386d8 --- /dev/null +++ b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_a_big_blob_with_size_not_a_multiple_of_4mb.json @@ -0,0 +1,4 @@ +{ + "Entries": [], + "Variables": {} +} diff --git a/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_a_small_blob.json b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_a_small_blob.json new file mode 100644 index 000000000000..f721723386d8 --- /dev/null +++ b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_a_small_blob.json @@ -0,0 +1,4 @@ +{ + "Entries": [], + "Variables": {} +} diff --git a/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_blob.json b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_blob.json index 40a16cd58cd2..0ed576431e14 100644 --- a/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_blob.json +++ b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_blob.json @@ -8,8 +8,8 @@ "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "860b8b8d-c072-428c-b929-3de338251916" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8fb4824a-3d1f-411a-b293-3cccd3a86d1e" }, "RequestBody": null, "StatusCode": 401, @@ -23,16 +23,16 @@ "Connection": "keep-alive", "Content-Length": "266", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 25 Mar 2022 22:41:33 GMT", + "Date": "Sun, 22 Jan 2023 03:11: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:push,pull\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "4d3683b5-f387-4563-9c6d-403ee1259d4a" + "X-Ms-Correlation-Request-Id": "63ed0837-d895-4904-bc38-588fe594ee47" }, "ResponseBody": { "errors": [ @@ -62,21 +62,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "84", + "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "963f8191-1759-4925-9bce-6422ef24dd40" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "99a32cd0-8c7b-496e-8055-91f48d327dcb" }, - "RequestBody": "grant_type=access_token\u0026service=myregistry.azurecr.io\u0026access_token=SecretPlaceholder", + "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 25 Mar 2022 22:41:34 GMT", + "Date": "Sun, 22 Jan 2023 03:11:36 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "00850732-faf9-4607-9fbf-613541b889e1" + "X-Ms-Correlation-Request-Id": "adba151d-a466-4d7a-9b0a-3119f9b2db5c", + "x-ms-ratelimit-remaining-calls-per-second": "166.45" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -89,21 +90,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "163", + "Content-Length": "175", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0a7ff8ad-b197-431e-ab2d-ad1ea93fe1fb" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "55ae8a5e-12d1-4135-b476-d30fd5f71dac" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apush%2Cpull\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 25 Mar 2022 22:41:34 GMT", + "Date": "Sun, 22 Jan 2023 03:11:36 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "6f748c22-f70a-4f6e-980f-c46a42bb93df" + "X-Ms-Correlation-Request-Id": "20fb9223-b671-4d34-ba79-f3dd405a663d", + "x-ms-ratelimit-remaining-calls-per-second": "166.433333" }, "ResponseBody": { "access_token": "Sanitized" @@ -118,8 +120,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "860b8b8d-c072-428c-b929-3de338251916" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8fb4824a-3d1f-411a-b293-3cccd3a86d1e" }, "RequestBody": null, "StatusCode": 202, @@ -132,10 +134,10 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Fri, 25 Mar 2022 22:41:34 GMT", + "Date": "Sun, 22 Jan 2023 03:11:36 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Docker-Upload-Uuid": "682c0fb7-43ba-49cc-a725-32c83878e5dc", - "Location": "/v2/oci-artifact/blobs/uploads/682c0fb7-43ba-49cc-a725-32c83878e5dc?_nouploadcache=false\u0026_state=L2OD8a1u8oJOYTAbKtU4IdhDteMfOSSroUI4wylNerJ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNjgyYzBmYjctNDNiYS00OWNjLWE3MjUtMzJjODM4NzhlNWRjIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTAzLTI1VDIyOjQxOjM0Ljc0ODk4OTk0OVoifQ%3D%3D", + "Docker-Upload-Uuid": "45a8b58c-c985-4d8f-9a78-f7e42e02b4d6", + "Location": "/v2/oci-artifact/blobs/uploads/45a8b58c-c985-4d8f-9a78-f7e42e02b4d6?_nouploadcache=false\u0026_state=iLvbJCPawYPLbiuJZrwF2nKIDlQV0tUQ_QKgwU3jzBR7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNDVhOGI1OGMtYzk4NS00ZDhmLTlhNzgtZjdlNDJlMDJiNGQ2IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAxLTIyVDAzOjExOjM2LjIwMTE2Nzk1NloifQ%3D%3D", "Range": "0-0", "Server": "openresty", "Strict-Transport-Security": [ @@ -143,97 +145,14 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "860b8b8d-c072-428c-b929-3de338251916", - "X-Ms-Correlation-Request-Id": "67b82f50-e991-446a-8d14-d34753ce8790", - "X-Ms-Request-Id": "554fad5f-c5dc-4404-994c-d5bfa4916445" + "X-Ms-Client-Request-Id": "8fb4824a-3d1f-411a-b293-3cccd3a86d1e", + "X-Ms-Correlation-Request-Id": "58eb6763-139b-4632-8715-fc7849feabf4", + "X-Ms-Request-Id": "02f3a9f2-4296-437b-aae4-c9d154ecf6cb" }, "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/682c0fb7-43ba-49cc-a725-32c83878e5dc?_nouploadcache=false\u0026_state=L2OD8a1u8oJOYTAbKtU4IdhDteMfOSSroUI4wylNerJ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNjgyYzBmYjctNDNiYS00OWNjLWE3MjUtMzJjODM4NzhlNWRjIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTAzLTI1VDIyOjQxOjM0Ljc0ODk4OTk0OVoifQ%3D%3D", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "28", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1e2c6e72-00e3-4a9f-97dd-816f12000865" - }, - "RequestBody": "//5oAGUAbABsAG8AIAB3AG8AcgBsAGQADQAKAA==", - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 25 Mar 2022 22:41: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:push,pull\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "e0298f6f-9bf7-4132-8e2e-3a850eae93c6" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "163", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c6200d62-7b8a-4d68-8a4f-9e19fe4e36ba" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apush%2Cpull\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 25 Mar 2022 22:41:35 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "24969797-0a75-490a-b787-89c210f10d59" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/682c0fb7-43ba-49cc-a725-32c83878e5dc?_nouploadcache=false\u0026_state=L2OD8a1u8oJOYTAbKtU4IdhDteMfOSSroUI4wylNerJ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNjgyYzBmYjctNDNiYS00OWNjLWE3MjUtMzJjODM4NzhlNWRjIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTAzLTI1VDIyOjQxOjM0Ljc0ODk4OTk0OVoifQ%3D%3D", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/45a8b58c-c985-4d8f-9a78-f7e42e02b4d6?_nouploadcache=false\u0026_state=iLvbJCPawYPLbiuJZrwF2nKIDlQV0tUQ_QKgwU3jzBR7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNDVhOGI1OGMtYzk4NS00ZDhmLTlhNzgtZjdlNDJlMDJiNGQ2IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAxLTIyVDAzOjExOjM2LjIwMTE2Nzk1NloifQ%3D%3D", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", @@ -242,8 +161,8 @@ "Connection": "keep-alive", "Content-Length": "28", "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1e2c6e72-00e3-4a9f-97dd-816f12000865" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e467ecd6-32a4-418d-be28-b36928cf73a9" }, "RequestBody": "//5oAGUAbABsAG8AIAB3AG8AcgBsAGQADQAKAA==", "StatusCode": 202, @@ -256,10 +175,10 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Fri, 25 Mar 2022 22:41:35 GMT", + "Date": "Sun, 22 Jan 2023 03:11:36 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Docker-Upload-Uuid": "682c0fb7-43ba-49cc-a725-32c83878e5dc", - "Location": "/v2/oci-artifact/blobs/uploads/682c0fb7-43ba-49cc-a725-32c83878e5dc?_nouploadcache=false\u0026_state=lhJJ72a_u153msY6ARDtGuUPz-m6oMryRLHT9apfaRh7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNjgyYzBmYjctNDNiYS00OWNjLWE3MjUtMzJjODM4NzhlNWRjIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMi0wMy0yNVQyMjo0MTozNFoifQ%3D%3D", + "Docker-Upload-Uuid": "45a8b58c-c985-4d8f-9a78-f7e42e02b4d6", + "Location": "/v2/oci-artifact/blobs/uploads/45a8b58c-c985-4d8f-9a78-f7e42e02b4d6?_nouploadcache=false\u0026_state=vLnaa0D8X-jrP39in-m82i7tVP0v5kLaqIC58pSSRJp7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNDVhOGI1OGMtYzk4NS00ZDhmLTlhNzgtZjdlNDJlMDJiNGQ2IiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMy0wMS0yMlQwMzoxMTozNloifQ%3D%3D", "Range": "0-27", "Server": "openresty", "Strict-Transport-Security": [ @@ -267,97 +186,14 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "1e2c6e72-00e3-4a9f-97dd-816f12000865", - "X-Ms-Correlation-Request-Id": "d788bcf1-f7c7-4fe7-b548-24f26d28e910", - "X-Ms-Request-Id": "0ce98fbc-2b26-44c9-9a2c-050f88a6969c" + "X-Ms-Client-Request-Id": "e467ecd6-32a4-418d-be28-b36928cf73a9", + "X-Ms-Correlation-Request-Id": "83b271f6-bfa9-4da1-92e5-a22b6c308537", + "X-Ms-Request-Id": "200bd316-3e14-4ffd-8150-2d28eeb9b505" }, "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/682c0fb7-43ba-49cc-a725-32c83878e5dc?_nouploadcache=false\u0026_state=lhJJ72a_u153msY6ARDtGuUPz-m6oMryRLHT9apfaRh7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNjgyYzBmYjctNDNiYS00OWNjLWE3MjUtMzJjODM4NzhlNWRjIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMi0wMy0yNVQyMjo0MTozNFoifQ%3D%3D\u0026digest=sha256%3A654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "0", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "68f29414-6587-4170-9e85-1bd9f5629119" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 25 Mar 2022 22:41: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:push,pull\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "640be214-4cd0-47ed-9ac6-57cd575c33f3" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "163", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "006b3d0c-9cb3-4695-9e22-681d2cd14477" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apush%2Cpull\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 25 Mar 2022 22:41:36 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "7d1a202a-02a4-4262-afa2-9d65fad7953a" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/682c0fb7-43ba-49cc-a725-32c83878e5dc?_nouploadcache=false\u0026_state=lhJJ72a_u153msY6ARDtGuUPz-m6oMryRLHT9apfaRh7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNjgyYzBmYjctNDNiYS00OWNjLWE3MjUtMzJjODM4NzhlNWRjIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMi0wMy0yNVQyMjo0MTozNFoifQ%3D%3D\u0026digest=sha256%3A654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/45a8b58c-c985-4d8f-9a78-f7e42e02b4d6?_nouploadcache=false\u0026_state=vLnaa0D8X-jrP39in-m82i7tVP0v5kLaqIC58pSSRJp7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNDVhOGI1OGMtYzk4NS00ZDhmLTlhNzgtZjdlNDJlMDJiNGQ2IiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMy0wMS0yMlQwMzoxMTozNloifQ%3D%3D\u0026digest=sha256%3A654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", @@ -366,8 +202,8 @@ "Connection": "keep-alive", "Content-Length": "0", "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "68f29414-6587-4170-9e85-1bd9f5629119" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "11ec1e80-78c3-4ea4-bb58-430bf27516dd" }, "RequestBody": null, "StatusCode": 201, @@ -380,7 +216,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Fri, 25 Mar 2022 22:41:36 GMT", + "Date": "Sun, 22 Jan 2023 03:11:36 GMT", "Docker-Content-Digest": "sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", "Docker-Distribution-Api-Version": "registry/2.0", "Location": "/v2/oci-artifact/blobs/sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", @@ -390,9 +226,9 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "68f29414-6587-4170-9e85-1bd9f5629119", - "X-Ms-Correlation-Request-Id": "16c3efcb-d3b4-4b55-85b9-278aaa3189d7", - "X-Ms-Request-Id": "9db40e77-0720-4f4e-bbb9-5a5add03ff9d" + "X-Ms-Client-Request-Id": "11ec1e80-78c3-4ea4-bb58-430bf27516dd", + "X-Ms-Correlation-Request-Id": "aa88d5e3-ea15-43ee-b8fd-a3f5590e37fa", + "X-Ms-Request-Id": "a7045d2c-04d8-4590-a87c-788f162a5e1d" }, "ResponseBody": null }, @@ -402,12 +238,13 @@ "RequestHeaders": { "Accept": "application/octet-stream", "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0e6c5a7c-0ec2-4236-8ff0-a74340436d31" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d8fbd38d-edfb-4157-9a49-facf36049507" }, "RequestBody": null, - "StatusCode": 401, + "StatusCode": 307, "ResponseHeaders": { "Access-Control-Expose-Headers": [ "Docker-Content-Digest", @@ -416,72 +253,33 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "206", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 25 Mar 2022 22:41:36 GMT", + "Content-Length": "409", + "Content-Type": "text/html; charset=utf-8", + "Date": "Sun, 22 Jan 2023 03:11:36 GMT", + "Docker-Content-Digest": "sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", "Docker-Distribution-Api-Version": "registry/2.0", + "Location": "https://wusmanaged174.blob.core.windows.net/fd410453d2b141268487b651630b47cb-u00bpii2yy//docker/registry/v2/blobs/sha256/65/654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed/data?se=2023-01-22T03%3A31%3A36Z\u0026sig=3g3wxQS1N95Z8c6ZBD%2B%2BWoCsNvGBWEqGD4HbDYDhr2M%3D\u0026sp=r\u0026spr=https\u0026sr=b\u0026sv=2016-05-31\u0026regid=fd410453d2b141268487b651630b47cb", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "691348fe-34bf-48cf-aa0c-6e39564e675d" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "156", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a62bd35e-ffc5-4f3e-a5d0-9ae7a481fa09" + "X-Ms-Correlation-Request-Id": "e7fb127b-1fb4-4c5c-aef6-301dd6c993c2" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 25 Mar 2022 22:41:36 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "31a9868b-9c39-4090-b50c-8793480117d8" - }, - "ResponseBody": { - "access_token": "Sanitized" - } + "ResponseBody": [ + "\u003Ca href=\u0022https://wusmanaged174.blob.core.windows.net/fd410453d2b141268487b651630b47cb-u00bpii2yy//docker/registry/v2/blobs/sha256/65/654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed/data?se=2023-01-22T03%3A31%3A36Z\u0026amp;sig=3g3wxQS1N95Z8c6ZBD%2B%2BWoCsNvGBWEqGD4HbDYDhr2M%3D\u0026amp;sp=r\u0026amp;spr=https\u0026amp;sr=b\u0026amp;sv=2016-05-31\u0026amp;regid=fd410453d2b141268487b651630b47cb\u0022\u003ETemporary Redirect\u003C/a\u003E.\n\n" + ] }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/sha256%3A654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", + "RequestUri": "https://wusmanaged174.blob.core.windows.net/fd410453d2b141268487b651630b47cb-u00bpii2yy//docker/registry/v2/blobs/sha256/65/654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed/data?se=2023-01-22T03%3A31%3A36Z\u0026sig=3g3wxQS1N95Z8c6ZBD%2B%2BWoCsNvGBWEqGD4HbDYDhr2M%3D\u0026sp=r\u0026spr=https\u0026sr=b\u0026sv=2016-05-31\u0026regid=fd410453d2b141268487b651630b47cb", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/octet-stream", "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0e6c5a7c-0ec2-4236-8ff0-a74340436d31" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d8fbd38d-edfb-4157-9a49-facf36049507" }, "RequestBody": null, "StatusCode": 200, @@ -489,23 +287,25 @@ "Accept-Ranges": "bytes", "Content-Length": "28", "Content-Type": "application/octet-stream", - "Date": "Fri, 25 Mar 2022 22:41:37 GMT", - "ETag": "\u00220x8DA0B6CB9DEB2E7\u0022", - "Last-Modified": "Mon, 21 Mar 2022 18:58:02 GMT", + "Date": "Sun, 22 Jan 2023 03:11:35 GMT", + "ETag": "\u00220x8DAFC265F6195A6\u0022", + "Last-Modified": "Sun, 22 Jan 2023 03:11:36 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-blob-committed-block-count": "1", "x-ms-blob-type": "AppendBlob", - "x-ms-copy-completion-time": "Mon, 21 Mar 2022 18:58:02 GMT", - "x-ms-copy-id": "390b34fa-1770-4be5-9e89-ab8984393a36", + "x-ms-copy-completion-time": "Fri, 20 Jan 2023 01:16:22 GMT", + "x-ms-copy-id": "accb2d27-21ae-4cbe-b54b-d3ea50a4400c", "x-ms-copy-progress": "28/28", - "x-ms-copy-source": "https://eusmanaged44.blob.core.windows.net/3bed0a4a849e4153a900c52adffdf79b-qab7p90gsb//docker/registry/v2/blobs/sha256/65/654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed/data?sv=2018-03-28\u0026sr=b\u0026se=2022-03-28T18%3A58%3A02Z\u0026sp=r\u0026api-version=2018-03-28", + "x-ms-copy-source": "https://wusmanaged174.blob.core.windows.net/fd410453d2b141268487b651630b47cb-u00bpii2yy//docker/registry/v2/repositories/oci-artifact/_uploads/152be06a-c05a-4c5c-8503-58e11fe00e10/data", "x-ms-copy-status": "success", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", - "x-ms-request-id": "09556f4d-c01e-0006-7e99-40b399000000", + "x-ms-meta-Acr_to_delete": "a2755201-1e25-4e04-b150-756064cb2d13", + "x-ms-meta-Acr_to_delete_timestamp": "01/22/2023 03:11:36", + "x-ms-request-id": "7cd4d473-301e-00a8-0f0f-2e7cde000000", "x-ms-server-encrypted": "true", "x-ms-version": "2016-05-31" }, diff --git a/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_blob_from_resettable_stream.json b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_blob_from_resettable_stream.json index e446d71f1e7d..a2f4fc027b68 100644 --- a/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_blob_from_resettable_stream.json +++ b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_blob_from_resettable_stream.json @@ -8,8 +8,8 @@ "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "1aff6e0d-52d6-4cfe-b92c-6001f1923ac7" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d15e5dac-6699-48a8-a0d4-91c83807be26" }, "RequestBody": null, "StatusCode": 401, @@ -23,7 +23,7 @@ "Connection": "keep-alive", "Content-Length": "266", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:16 GMT", + "Date": "Sun, 22 Jan 2023 03:11:36 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -32,7 +32,7 @@ ], "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "9b58a08b-db89-47d3-86c1-921ad75c0df8" + "X-Ms-Correlation-Request-Id": "c698db50-0903-4926-90da-b0dd4adf997c" }, "ResponseBody": { "errors": [ @@ -64,20 +64,20 @@ "Connection": "keep-alive", "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "d7434042-566b-4522-82bf-68ebcfbf1001" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "881d3a1b-a086-4d13-a784-a672bba3300b" }, "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:17 GMT", + "Date": "Sun, 22 Jan 2023 03:11:37 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "c39ec9f1-4517-40b6-bfa0-e738b6cdd2f3", - "x-ms-ratelimit-remaining-calls-per-second": "166.483333" + "X-Ms-Correlation-Request-Id": "142877d7-eaf1-475d-ba56-fa71459bb5a8", + "x-ms-ratelimit-remaining-calls-per-second": "166.416667" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -92,20 +92,20 @@ "Connection": "keep-alive", "Content-Length": "175", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "f64dfae1-fc08-43ee-a6b6-5b422eea4153" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "54912b9d-1648-42b4-b8f2-cd6216a7d0c8" }, "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:17 GMT", + "Date": "Sun, 22 Jan 2023 03:11:37 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "24ec903b-f3fe-4ee4-bb66-d355e2c8827d", - "x-ms-ratelimit-remaining-calls-per-second": "166.466667" + "X-Ms-Correlation-Request-Id": "8ec8898e-4acf-4eb9-a00f-3131552ecf22", + "x-ms-ratelimit-remaining-calls-per-second": "166.4" }, "ResponseBody": { "access_token": "Sanitized" @@ -120,8 +120,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "1aff6e0d-52d6-4cfe-b92c-6001f1923ac7" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d15e5dac-6699-48a8-a0d4-91c83807be26" }, "RequestBody": null, "StatusCode": 202, @@ -134,10 +134,10 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Thu, 01 Dec 2022 18:20:17 GMT", + "Date": "Sun, 22 Jan 2023 03:11:37 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Docker-Upload-Uuid": "89ee98d2-f8b2-4aa8-84c4-4b94b8424f51", - "Location": "/v2/oci-artifact/blobs/uploads/89ee98d2-f8b2-4aa8-84c4-4b94b8424f51?_nouploadcache=false\u0026_state=zD_ad-gD22Tzcf2igqTtz35EkZk20Px5pKkqJF6q3Rd7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiODllZTk4ZDItZjhiMi00YWE4LTg0YzQtNGI5NGI4NDI0ZjUxIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTEyLTAxVDE4OjIwOjE3LjE2NTU0NzU4WiJ9", + "Docker-Upload-Uuid": "50d81452-55f9-448b-94ce-574a19849423", + "Location": "/v2/oci-artifact/blobs/uploads/50d81452-55f9-448b-94ce-574a19849423?_nouploadcache=false\u0026_state=tkzEfi9o0OTtM8B3UFLgWQ63_Ne9WDjsX3CsH2V68DV7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNTBkODE0NTItNTVmOS00NDhiLTk0Y2UtNTc0YTE5ODQ5NDIzIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAxLTIyVDAzOjExOjM3LjQ2ODc5NDI1WiJ9", "Range": "0-0", "Server": "openresty", "Strict-Transport-Security": [ @@ -145,108 +145,24 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "1aff6e0d-52d6-4cfe-b92c-6001f1923ac7", - "X-Ms-Correlation-Request-Id": "58c826e1-79fe-4858-ac13-aec1d707f904", - "X-Ms-Request-Id": "4635386f-75a8-4deb-a23d-bd37fb40312a" + "X-Ms-Client-Request-Id": "d15e5dac-6699-48a8-a0d4-91c83807be26", + "X-Ms-Correlation-Request-Id": "32c2270c-30f7-43e4-aeaa-77effb1d900b", + "X-Ms-Request-Id": "36b4695f-d65d-469a-b55e-aa219db40b58" }, "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/89ee98d2-f8b2-4aa8-84c4-4b94b8424f51?_nouploadcache=false\u0026_state=zD_ad-gD22Tzcf2igqTtz35EkZk20Px5pKkqJF6q3Rd7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiODllZTk4ZDItZjhiMi00YWE4LTg0YzQtNGI5NGI4NDI0ZjUxIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTEyLTAxVDE4OjIwOjE3LjE2NTU0NzU4WiJ9", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Type": "application/octet-stream", - "Transfer-Encoding": "chunked", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "7b1e0058-e34e-44ba-9446-469142d6f77e" - }, - "RequestBody": "//5oAGUAbABsAG8AIAB3AG8AcgBsAGQADQAKAA==", - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:17 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:push,pull\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f403a727-4b19-4eb8-8e99-34c82bdec9cf" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "175", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "0ed01040-147b-4df5-a0be-e52b40be1156" - }, - "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apush%2Cpull\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:17 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "2ef7f864-3c18-4a44-ad77-0dc52e31a667", - "x-ms-ratelimit-remaining-calls-per-second": "166.45" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/89ee98d2-f8b2-4aa8-84c4-4b94b8424f51?_nouploadcache=false\u0026_state=zD_ad-gD22Tzcf2igqTtz35EkZk20Px5pKkqJF6q3Rd7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiODllZTk4ZDItZjhiMi00YWE4LTg0YzQtNGI5NGI4NDI0ZjUxIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTEyLTAxVDE4OjIwOjE3LjE2NTU0NzU4WiJ9", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/50d81452-55f9-448b-94ce-574a19849423?_nouploadcache=false\u0026_state=tkzEfi9o0OTtM8B3UFLgWQ63_Ne9WDjsX3CsH2V68DV7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNTBkODE0NTItNTVmOS00NDhiLTk0Y2UtNTc0YTE5ODQ5NDIzIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAxLTIyVDAzOjExOjM3LjQ2ODc5NDI1WiJ9", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", + "Content-Length": "28", "Content-Type": "application/octet-stream", - "Transfer-Encoding": "chunked", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "7b1e0058-e34e-44ba-9446-469142d6f77e" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8fd66a0f-ffac-4f8a-8138-c818e2a6bb23" }, "RequestBody": "//5oAGUAbABsAG8AIAB3AG8AcgBsAGQADQAKAA==", "StatusCode": 202, @@ -259,10 +175,10 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Thu, 01 Dec 2022 18:20:17 GMT", + "Date": "Sun, 22 Jan 2023 03:11:37 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Docker-Upload-Uuid": "89ee98d2-f8b2-4aa8-84c4-4b94b8424f51", - "Location": "/v2/oci-artifact/blobs/uploads/89ee98d2-f8b2-4aa8-84c4-4b94b8424f51?_nouploadcache=false\u0026_state=iEyNb6bC-tgGv59xgI06rbjFZKhdIjS9MlMWIGYU0ZF7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiODllZTk4ZDItZjhiMi00YWE4LTg0YzQtNGI5NGI4NDI0ZjUxIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMi0xMi0wMVQxODoyMDoxN1oifQ%3D%3D", + "Docker-Upload-Uuid": "50d81452-55f9-448b-94ce-574a19849423", + "Location": "/v2/oci-artifact/blobs/uploads/50d81452-55f9-448b-94ce-574a19849423?_nouploadcache=false\u0026_state=yXlzIIPmhGmhzkZMpRu1q115oE5wAs02pMdhrZ5ZMsN7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNTBkODE0NTItNTVmOS00NDhiLTk0Y2UtNTc0YTE5ODQ5NDIzIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMy0wMS0yMlQwMzoxMTozN1oifQ%3D%3D", "Range": "0-27", "Server": "openresty", "Strict-Transport-Security": [ @@ -270,98 +186,14 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "7b1e0058-e34e-44ba-9446-469142d6f77e", - "X-Ms-Correlation-Request-Id": "b85be62c-5205-4f4f-8439-caee543e66e3", - "X-Ms-Request-Id": "f1890e3f-033a-48cf-9ed3-ea6a5ec6ee31" + "X-Ms-Client-Request-Id": "8fd66a0f-ffac-4f8a-8138-c818e2a6bb23", + "X-Ms-Correlation-Request-Id": "7f0d5655-56f6-4f34-b7b7-b1c68b16491c", + "X-Ms-Request-Id": "cdb0b0f8-8c54-4824-bf98-e342c6c96ca4" }, "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/89ee98d2-f8b2-4aa8-84c4-4b94b8424f51?_nouploadcache=false\u0026_state=iEyNb6bC-tgGv59xgI06rbjFZKhdIjS9MlMWIGYU0ZF7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiODllZTk4ZDItZjhiMi00YWE4LTg0YzQtNGI5NGI4NDI0ZjUxIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMi0xMi0wMVQxODoyMDoxN1oifQ%3D%3D\u0026digest=sha256%3A654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "0", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "8e83ac99-39fc-4b0b-83ea-467ca779346f" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:17 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ec72fa97-34f5-4d67-8206-cecf00b3ecb7" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "175", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "e4db5bdb-0ed2-498f-8aab-cea56d02c9dd" - }, - "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:17 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "16b6b2d7-0401-4082-b9c5-beb2c65e5220", - "x-ms-ratelimit-remaining-calls-per-second": "166.433333" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/89ee98d2-f8b2-4aa8-84c4-4b94b8424f51?_nouploadcache=false\u0026_state=iEyNb6bC-tgGv59xgI06rbjFZKhdIjS9MlMWIGYU0ZF7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiODllZTk4ZDItZjhiMi00YWE4LTg0YzQtNGI5NGI4NDI0ZjUxIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMi0xMi0wMVQxODoyMDoxN1oifQ%3D%3D\u0026digest=sha256%3A654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/50d81452-55f9-448b-94ce-574a19849423?_nouploadcache=false\u0026_state=yXlzIIPmhGmhzkZMpRu1q115oE5wAs02pMdhrZ5ZMsN7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNTBkODE0NTItNTVmOS00NDhiLTk0Y2UtNTc0YTE5ODQ5NDIzIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMy0wMS0yMlQwMzoxMTozN1oifQ%3D%3D\u0026digest=sha256%3A654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", @@ -370,8 +202,8 @@ "Connection": "keep-alive", "Content-Length": "0", "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "8e83ac99-39fc-4b0b-83ea-467ca779346f" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "83d4c7f6-b94b-4c65-bdab-d95c04c16f71" }, "RequestBody": null, "StatusCode": 201, @@ -384,7 +216,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Thu, 01 Dec 2022 18:20:17 GMT", + "Date": "Sun, 22 Jan 2023 03:11:37 GMT", "Docker-Content-Digest": "sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", "Docker-Distribution-Api-Version": "registry/2.0", "Location": "/v2/oci-artifact/blobs/sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", @@ -394,89 +226,12 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "8e83ac99-39fc-4b0b-83ea-467ca779346f", - "X-Ms-Correlation-Request-Id": "2a83c82b-c079-45d3-b3e2-914f499bd897", - "X-Ms-Request-Id": "8e271310-e096-4f49-b75e-8b76d9ca90d6" + "X-Ms-Client-Request-Id": "83d4c7f6-b94b-4c65-bdab-d95c04c16f71", + "X-Ms-Correlation-Request-Id": "53ccc04f-20bd-407e-8de1-5af5f8547d3d", + "X-Ms-Request-Id": "4f97a68e-53cc-4956-955e-e41171a5c945" }, "ResponseBody": null }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/sha256%3A654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/octet-stream", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "a9bf69b7-f0fc-4ebd-8b6b-7c6056994cfd" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "206", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:17 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "debb3dbe-8530-46fb-bd94-1e195e3df5d4" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "168", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "d85b1a81-d37e-4188-9463-95a84c61168d" - }, - "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:17 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "526cda47-84c3-422f-ab14-2d3bd8f7ca25", - "x-ms-ratelimit-remaining-calls-per-second": "166.416667" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, { "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/sha256%3A654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", "RequestMethod": "GET", @@ -485,8 +240,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "a9bf69b7-f0fc-4ebd-8b6b-7c6056994cfd" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d84e1657-dc31-4221-97d3-3977cb559a96" }, "RequestBody": null, "StatusCode": 307, @@ -498,33 +253,33 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "409", + "Content-Length": "411", "Content-Type": "text/html; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:17 GMT", + "Date": "Sun, 22 Jan 2023 03:11:37 GMT", "Docker-Content-Digest": "sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", "Docker-Distribution-Api-Version": "registry/2.0", - "Location": "https://wusmanaged124.blob.core.windows.net/9be9cb22b7cf4c72be403192e311a49a-bu7ivqhye5//docker/registry/v2/blobs/sha256/65/654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed/data?se=2022-12-01T18%3A40%3A17Z\u0026sig=qW6KTm8%2FOO%2Fo310Z13PydlSxDUj8YjCfMTwXVNJK4MI%3D\u0026sp=r\u0026spr=https\u0026sr=b\u0026sv=2016-05-31\u0026regid=9be9cb22b7cf4c72be403192e311a49a", + "Location": "https://wusmanaged174.blob.core.windows.net/fd410453d2b141268487b651630b47cb-u00bpii2yy//docker/registry/v2/blobs/sha256/65/654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed/data?se=2023-01-22T03%3A31%3A37Z\u0026sig=j3au7Eugq6%2BXWoS%2FOyvtyLtR8%2BED9bz4RH3adNeC5V0%3D\u0026sp=r\u0026spr=https\u0026sr=b\u0026sv=2016-05-31\u0026regid=fd410453d2b141268487b651630b47cb", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "82ed5fe6-d825-43e3-b92c-0b7d1682d744" + "X-Ms-Correlation-Request-Id": "89cbca11-8ce2-4423-a1e1-5b4a9fe04697" }, "ResponseBody": [ - "\u003Ca href=\u0022https://wusmanaged124.blob.core.windows.net/9be9cb22b7cf4c72be403192e311a49a-bu7ivqhye5//docker/registry/v2/blobs/sha256/65/654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed/data?se=2022-12-01T18%3A40%3A17Z\u0026amp;sig=qW6KTm8%2FOO%2Fo310Z13PydlSxDUj8YjCfMTwXVNJK4MI%3D\u0026amp;sp=r\u0026amp;spr=https\u0026amp;sr=b\u0026amp;sv=2016-05-31\u0026amp;regid=9be9cb22b7cf4c72be403192e311a49a\u0022\u003ETemporary Redirect\u003C/a\u003E.\n\n" + "\u003Ca href=\u0022https://wusmanaged174.blob.core.windows.net/fd410453d2b141268487b651630b47cb-u00bpii2yy//docker/registry/v2/blobs/sha256/65/654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed/data?se=2023-01-22T03%3A31%3A37Z\u0026amp;sig=j3au7Eugq6%2BXWoS%2FOyvtyLtR8%2BED9bz4RH3adNeC5V0%3D\u0026amp;sp=r\u0026amp;spr=https\u0026amp;sr=b\u0026amp;sv=2016-05-31\u0026amp;regid=fd410453d2b141268487b651630b47cb\u0022\u003ETemporary Redirect\u003C/a\u003E.\n\n" ] }, { - "RequestUri": "https://wusmanaged124.blob.core.windows.net/9be9cb22b7cf4c72be403192e311a49a-bu7ivqhye5//docker/registry/v2/blobs/sha256/65/654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed/data?se=2022-12-01T18%3A40%3A17Z\u0026sig=qW6KTm8%2FOO%2Fo310Z13PydlSxDUj8YjCfMTwXVNJK4MI%3D\u0026sp=r\u0026spr=https\u0026sr=b\u0026sv=2016-05-31\u0026regid=9be9cb22b7cf4c72be403192e311a49a", + "RequestUri": "https://wusmanaged174.blob.core.windows.net/fd410453d2b141268487b651630b47cb-u00bpii2yy//docker/registry/v2/blobs/sha256/65/654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed/data?se=2023-01-22T03%3A31%3A37Z\u0026sig=j3au7Eugq6%2BXWoS%2FOyvtyLtR8%2BED9bz4RH3adNeC5V0%3D\u0026sp=r\u0026spr=https\u0026sr=b\u0026sv=2016-05-31\u0026regid=fd410453d2b141268487b651630b47cb", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/octet-stream", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "a9bf69b7-f0fc-4ebd-8b6b-7c6056994cfd" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d84e1657-dc31-4221-97d3-3977cb559a96" }, "RequestBody": null, "StatusCode": 200, @@ -532,25 +287,23 @@ "Accept-Ranges": "bytes", "Content-Length": "28", "Content-Type": "application/octet-stream", - "Date": "Thu, 01 Dec 2022 18:20:17 GMT", - "ETag": "\u00220x8DAD3C8B325C827\u0022", - "Last-Modified": "Thu, 01 Dec 2022 18:20:17 GMT", + "Date": "Sun, 22 Jan 2023 03:11:37 GMT", + "ETag": "\u00220x8DAFC2660066FAF\u0022", + "Last-Modified": "Sun, 22 Jan 2023 03:11:37 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-blob-committed-block-count": "1", "x-ms-blob-type": "AppendBlob", - "x-ms-copy-completion-time": "Thu, 01 Dec 2022 00:43:04 GMT", - "x-ms-copy-id": "dab6a5c5-d63d-4892-a3c7-aa27af5156d5", + "x-ms-copy-completion-time": "Fri, 20 Jan 2023 01:16:22 GMT", + "x-ms-copy-id": "accb2d27-21ae-4cbe-b54b-d3ea50a4400c", "x-ms-copy-progress": "28/28", - "x-ms-copy-source": "https://wusmanaged124.blob.core.windows.net/9be9cb22b7cf4c72be403192e311a49a-bu7ivqhye5//docker/registry/v2/repositories/oci-artifact/_uploads/eb2c0744-503b-4003-ad80-f57a610e4dd1/data", + "x-ms-copy-source": "https://wusmanaged174.blob.core.windows.net/fd410453d2b141268487b651630b47cb-u00bpii2yy//docker/registry/v2/repositories/oci-artifact/_uploads/152be06a-c05a-4c5c-8503-58e11fe00e10/data", "x-ms-copy-status": "success", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", - "x-ms-meta-Acr_to_delete": "ae708df1-61f8-4493-b2fc-bea234c04fcc", - "x-ms-meta-Acr_to_delete_timestamp": "12/01/2022 18:20:17", - "x-ms-request-id": "9028a7b8-301e-00df-02b1-05d0eb000000", + "x-ms-request-id": "7cd4d7c8-301e-00a8-2e0f-2e7cde000000", "x-ms-server-encrypted": "true", "x-ms-version": "2016-05-31" }, diff --git a/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_oci_manifest.json b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_oci_manifest.json index 28506b6fb2cc..5b26cbee4a51 100644 --- a/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_oci_manifest.json +++ b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_oci_manifest.json @@ -8,8 +8,8 @@ "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "f5c3bb7c-7ef0-4a77-bae7-5b61f65739b4" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "af5e6ec4-4fef-4030-ad76-f0d6510a062f" }, "RequestBody": null, "StatusCode": 401, @@ -23,16 +23,16 @@ "Connection": "keep-alive", "Content-Length": "266", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:44 GMT", + "Date": "Sun, 22 Jan 2023 03:11: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "8b1cb1f9-608b-436c-b8ac-40cedc446dd6" + "X-Ms-Correlation-Request-Id": "e8280c7d-9bfc-4772-b2ee-81fd703014cc" }, "ResponseBody": { "errors": [ @@ -62,21 +62,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "84", + "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "0bf9a33e-c673-4ebc-bb48-2263db1f80a2" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "6227d191-950f-4d63-bf7e-ac2fb5eada9f" }, - "RequestBody": "grant_type=access_token\u0026service=myregistry.azurecr.io\u0026access_token=SecretPlaceholder", + "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:45 GMT", + "Date": "Sun, 22 Jan 2023 03:11:28 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "27c7e455-544f-4bf4-96eb-88aff64916b9" + "X-Ms-Correlation-Request-Id": "e6532e9b-4efe-4543-9f0e-959739f8f12b", + "x-ms-ratelimit-remaining-calls-per-second": "166.65" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -89,21 +90,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "163", + "Content-Length": "175", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "0c8b4567-c38f-45ae-b86c-4a5df5f2ebde" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3ea8cafc-8050-45b4-8792-1910f38d9bc8" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:45 GMT", + "Date": "Sun, 22 Jan 2023 03:11:28 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f1c6650e-9420-4827-861e-6581781b8f12" + "X-Ms-Correlation-Request-Id": "98fd251f-bc87-478b-8fcc-f4601f1e4fe8", + "x-ms-ratelimit-remaining-calls-per-second": "166.633333" }, "ResponseBody": { "access_token": "Sanitized" @@ -118,8 +120,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "f5c3bb7c-7ef0-4a77-bae7-5b61f65739b4" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "af5e6ec4-4fef-4030-ad76-f0d6510a062f" }, "RequestBody": null, "StatusCode": 202, @@ -132,10 +134,10 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Tue, 29 Mar 2022 18:22:45 GMT", + "Date": "Sun, 22 Jan 2023 03:11:28 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Docker-Upload-Uuid": "0f25c2ba-de96-4d26-8b6f-37ec435c6224", - "Location": "/v2/oci-artifact/blobs/uploads/0f25c2ba-de96-4d26-8b6f-37ec435c6224?_nouploadcache=false\u0026_state=5m5ZJOrO8qMAxF4k5VC4sbnoHdhE1nyolkE4tgH4GHF7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMGYyNWMyYmEtZGU5Ni00ZDI2LThiNmYtMzdlYzQzNWM2MjI0IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTAzLTI5VDE4OjIyOjQ1LjY0NjIyMDkyMloifQ%3D%3D", + "Docker-Upload-Uuid": "ad3bea7a-7e77-4032-a54c-ce670ab62b58", + "Location": "/v2/oci-artifact/blobs/uploads/ad3bea7a-7e77-4032-a54c-ce670ab62b58?_nouploadcache=false\u0026_state=vr2xVvuKxfxjvAIYB4T8IlaWLrVFwAIjQITCsbuHMll7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYWQzYmVhN2EtN2U3Ny00MDMyLWE1NGMtY2U2NzBhYjYyYjU4IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAxLTIyVDAzOjExOjI4LjM0MjA4ODE2OVoifQ%3D%3D", "Range": "0-0", "Server": "openresty", "Strict-Transport-Security": [ @@ -143,97 +145,14 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "f5c3bb7c-7ef0-4a77-bae7-5b61f65739b4", - "X-Ms-Correlation-Request-Id": "e697492b-1915-4f3f-bc53-5325d9b9e2ae", - "X-Ms-Request-Id": "839b8110-be3f-4c63-921e-37a132d05f19" + "X-Ms-Client-Request-Id": "af5e6ec4-4fef-4030-ad76-f0d6510a062f", + "X-Ms-Correlation-Request-Id": "afcd67ef-1662-4078-bd38-00aa9c4231b5", + "X-Ms-Request-Id": "5dd1f934-7aad-4b94-8c8f-886a96655f1a" }, "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/0f25c2ba-de96-4d26-8b6f-37ec435c6224?_nouploadcache=false\u0026_state=5m5ZJOrO8qMAxF4k5VC4sbnoHdhE1nyolkE4tgH4GHF7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMGYyNWMyYmEtZGU5Ni00ZDI2LThiNmYtMzdlYzQzNWM2MjI0IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTAzLTI5VDE4OjIyOjQ1LjY0NjIyMDkyMloifQ%3D%3D", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "28", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "aef15e45-c09e-4035-a484-65c78200d3c6" - }, - "RequestBody": "//5oAGUAbABsAG8AIAB3AG8AcgBsAGQADQAKAA==", - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:45 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "7e6f8ae5-8b8e-447d-b7c6-d5d9339e62b9" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "163", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "9160c245-830f-4eef-955e-96d2f7aeac89" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:45 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "c6aec7cc-8067-432f-a138-eccb18f822e6" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/0f25c2ba-de96-4d26-8b6f-37ec435c6224?_nouploadcache=false\u0026_state=5m5ZJOrO8qMAxF4k5VC4sbnoHdhE1nyolkE4tgH4GHF7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMGYyNWMyYmEtZGU5Ni00ZDI2LThiNmYtMzdlYzQzNWM2MjI0IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTAzLTI5VDE4OjIyOjQ1LjY0NjIyMDkyMloifQ%3D%3D", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/ad3bea7a-7e77-4032-a54c-ce670ab62b58?_nouploadcache=false\u0026_state=vr2xVvuKxfxjvAIYB4T8IlaWLrVFwAIjQITCsbuHMll7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYWQzYmVhN2EtN2U3Ny00MDMyLWE1NGMtY2U2NzBhYjYyYjU4IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAxLTIyVDAzOjExOjI4LjM0MjA4ODE2OVoifQ%3D%3D", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", @@ -242,8 +161,8 @@ "Connection": "keep-alive", "Content-Length": "28", "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "aef15e45-c09e-4035-a484-65c78200d3c6" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f12edae5-3426-49bb-8808-5ae9d96bf070" }, "RequestBody": "//5oAGUAbABsAG8AIAB3AG8AcgBsAGQADQAKAA==", "StatusCode": 202, @@ -256,10 +175,10 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Tue, 29 Mar 2022 18:22:46 GMT", + "Date": "Sun, 22 Jan 2023 03:11:28 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Docker-Upload-Uuid": "0f25c2ba-de96-4d26-8b6f-37ec435c6224", - "Location": "/v2/oci-artifact/blobs/uploads/0f25c2ba-de96-4d26-8b6f-37ec435c6224?_nouploadcache=false\u0026_state=Oilh-Sgz1pAw76dtQiYS0z-bRN6Qp4JOSyYMWJRkjW57Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMGYyNWMyYmEtZGU5Ni00ZDI2LThiNmYtMzdlYzQzNWM2MjI0IiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMi0wMy0yOVQxODoyMjo0NVoifQ%3D%3D", + "Docker-Upload-Uuid": "ad3bea7a-7e77-4032-a54c-ce670ab62b58", + "Location": "/v2/oci-artifact/blobs/uploads/ad3bea7a-7e77-4032-a54c-ce670ab62b58?_nouploadcache=false\u0026_state=zSvlfO2r38WUq3nnhLwhFaG3eCRSKg0gcibFHhf2jTl7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYWQzYmVhN2EtN2U3Ny00MDMyLWE1NGMtY2U2NzBhYjYyYjU4IiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMy0wMS0yMlQwMzoxMToyOFoifQ%3D%3D", "Range": "0-27", "Server": "openresty", "Strict-Transport-Security": [ @@ -267,97 +186,14 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "aef15e45-c09e-4035-a484-65c78200d3c6", - "X-Ms-Correlation-Request-Id": "27596f1c-b934-4d09-b4b3-01aab9142248", - "X-Ms-Request-Id": "e7677cfe-634c-4f57-90aa-dd986b8cc24f" + "X-Ms-Client-Request-Id": "f12edae5-3426-49bb-8808-5ae9d96bf070", + "X-Ms-Correlation-Request-Id": "d0ba5449-8104-4a32-bb50-ca93cededfd5", + "X-Ms-Request-Id": "6eb8b686-b119-4107-8e23-286af13bde9f" }, "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/0f25c2ba-de96-4d26-8b6f-37ec435c6224?_nouploadcache=false\u0026_state=Oilh-Sgz1pAw76dtQiYS0z-bRN6Qp4JOSyYMWJRkjW57Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMGYyNWMyYmEtZGU5Ni00ZDI2LThiNmYtMzdlYzQzNWM2MjI0IiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMi0wMy0yOVQxODoyMjo0NVoifQ%3D%3D\u0026digest=sha256%3A654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "0", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "4060d200-1263-457b-9dae-e7db68216027" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:46 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "e324f17e-b12e-4631-9c52-d490244e0aef" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "163", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "7174ca3a-fa0e-431c-b652-5d5b14c26f91" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:46 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "39e75e07-bcbc-4a60-aae6-776e1b490a81" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/0f25c2ba-de96-4d26-8b6f-37ec435c6224?_nouploadcache=false\u0026_state=Oilh-Sgz1pAw76dtQiYS0z-bRN6Qp4JOSyYMWJRkjW57Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMGYyNWMyYmEtZGU5Ni00ZDI2LThiNmYtMzdlYzQzNWM2MjI0IiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMi0wMy0yOVQxODoyMjo0NVoifQ%3D%3D\u0026digest=sha256%3A654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/ad3bea7a-7e77-4032-a54c-ce670ab62b58?_nouploadcache=false\u0026_state=zSvlfO2r38WUq3nnhLwhFaG3eCRSKg0gcibFHhf2jTl7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYWQzYmVhN2EtN2U3Ny00MDMyLWE1NGMtY2U2NzBhYjYyYjU4IiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMy0wMS0yMlQwMzoxMToyOFoifQ%3D%3D\u0026digest=sha256%3A654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", @@ -366,8 +202,8 @@ "Connection": "keep-alive", "Content-Length": "0", "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "4060d200-1263-457b-9dae-e7db68216027" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3b2b2ed0-0da1-461c-97de-59fcfa7a71f2" }, "RequestBody": null, "StatusCode": 201, @@ -380,7 +216,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Tue, 29 Mar 2022 18:22:46 GMT", + "Date": "Sun, 22 Jan 2023 03:11:28 GMT", "Docker-Content-Digest": "sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", "Docker-Distribution-Api-Version": "registry/2.0", "Location": "/v2/oci-artifact/blobs/sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", @@ -390,94 +226,12 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "4060d200-1263-457b-9dae-e7db68216027", - "X-Ms-Correlation-Request-Id": "382d022d-d029-4431-913f-6701f5899617", - "X-Ms-Request-Id": "a1e04c12-cb8b-4d0d-9b5c-0db874b3b0fd" + "X-Ms-Client-Request-Id": "3b2b2ed0-0da1-461c-97de-59fcfa7a71f2", + "X-Ms-Correlation-Request-Id": "bcfe6aca-2de4-4800-9a56-0d03ecb07f40", + "X-Ms-Request-Id": "46ecd288-0ff6-4c61-84d4-a7e18435ed05" }, "ResponseBody": null }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "0", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "ce6b7021-84b9-4956-87d8-b0a4409377ae" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:46 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5a933721-da3e-4fed-926a-64198c3fadb3" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "163", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "98182ef6-134e-4d34-bdb7-f41b684b71d8" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:46 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "6609ff8f-3d97-4d3a-beb0-5b7a1d8d86d1" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, { "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/", "RequestMethod": "POST", @@ -487,8 +241,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "ce6b7021-84b9-4956-87d8-b0a4409377ae" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "bbfd9e8d-a2da-4318-ada1-2303f37eddbc" }, "RequestBody": null, "StatusCode": 202, @@ -501,10 +255,10 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Tue, 29 Mar 2022 18:22:46 GMT", + "Date": "Sun, 22 Jan 2023 03:11:28 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Docker-Upload-Uuid": "02807ad3-a9aa-4fbe-86b3-9c2eff379011", - "Location": "/v2/oci-artifact/blobs/uploads/02807ad3-a9aa-4fbe-86b3-9c2eff379011?_nouploadcache=false\u0026_state=wVn_Z2DPm43cdEFUllUprE_ZHV1KngpXEYR-8JNRNmJ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMDI4MDdhZDMtYTlhYS00ZmJlLTg2YjMtOWMyZWZmMzc5MDExIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTAzLTI5VDE4OjIyOjQ2Ljc4NzUzNDk3WiJ9", + "Docker-Upload-Uuid": "ca876afa-1f71-44bc-a2bd-3f7ec10da4e4", + "Location": "/v2/oci-artifact/blobs/uploads/ca876afa-1f71-44bc-a2bd-3f7ec10da4e4?_nouploadcache=false\u0026_state=IbqsJqfBXKaRx3x5K2Ym0hKC4RNV_NTD9H03kB6VpJx7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiY2E4NzZhZmEtMWY3MS00NGJjLWEyYmQtM2Y3ZWMxMGRhNGU0IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAxLTIyVDAzOjExOjI4LjY3NDIwODMxNFoifQ%3D%3D", "Range": "0-0", "Server": "openresty", "Strict-Transport-Security": [ @@ -512,97 +266,14 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "ce6b7021-84b9-4956-87d8-b0a4409377ae", - "X-Ms-Correlation-Request-Id": "9814a90b-3333-4f55-a729-7f414b466cb3", - "X-Ms-Request-Id": "e82d237a-5235-437a-97e5-8c27db3f1293" + "X-Ms-Client-Request-Id": "bbfd9e8d-a2da-4318-ada1-2303f37eddbc", + "X-Ms-Correlation-Request-Id": "8844309c-2994-45b1-a947-255e5db5c058", + "X-Ms-Request-Id": "6d89203c-5da1-4afc-8fbc-a4bb79c84e86" }, "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/02807ad3-a9aa-4fbe-86b3-9c2eff379011?_nouploadcache=false\u0026_state=wVn_Z2DPm43cdEFUllUprE_ZHV1KngpXEYR-8JNRNmJ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMDI4MDdhZDMtYTlhYS00ZmJlLTg2YjMtOWMyZWZmMzc5MDExIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTAzLTI5VDE4OjIyOjQ2Ljc4NzUzNDk3WiJ9", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "171", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "9aac6ff2-26b7-4d67-9edd-e3ce5aaf79df" - }, - "RequestBody": "H4sIAAAAAAAA/\u002BzRwcrCMBAE4Dn/8L9DD551tulmn6dUq4VioUb06VUsORU8aRQx32VzSjYzi2bYt90WKZGkmU2T5HxOZ6lo6lTNPCjUUlFo0q2i4yHUI8hn75l/7kvE/lf1GLq2bsIynMOr37jn4b1/3L\u002BrYv9lWYkDxYkoireE\u002BOP9Xy87bNCjx4ACJwwY0WONf/x9erUsy7IsoVsAAAD//yO/fykACgAA", - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:46 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:push,pull\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ab2c34ad-7d87-45a3-9266-ed81f68ff356" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "163", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "dd441293-13de-4e4d-b30f-a08c793e7735" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apush%2Cpull\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:47 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d45e8c1b-d1c3-48bc-8b1d-b171f574a8d1" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/02807ad3-a9aa-4fbe-86b3-9c2eff379011?_nouploadcache=false\u0026_state=wVn_Z2DPm43cdEFUllUprE_ZHV1KngpXEYR-8JNRNmJ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMDI4MDdhZDMtYTlhYS00ZmJlLTg2YjMtOWMyZWZmMzc5MDExIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTAzLTI5VDE4OjIyOjQ2Ljc4NzUzNDk3WiJ9", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/ca876afa-1f71-44bc-a2bd-3f7ec10da4e4?_nouploadcache=false\u0026_state=IbqsJqfBXKaRx3x5K2Ym0hKC4RNV_NTD9H03kB6VpJx7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiY2E4NzZhZmEtMWY3MS00NGJjLWEyYmQtM2Y3ZWMxMGRhNGU0IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAxLTIyVDAzOjExOjI4LjY3NDIwODMxNFoifQ%3D%3D", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", @@ -611,8 +282,8 @@ "Connection": "keep-alive", "Content-Length": "171", "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "9aac6ff2-26b7-4d67-9edd-e3ce5aaf79df" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "586f40e3-58fe-45a4-8647-3f4e7465134a" }, "RequestBody": "H4sIAAAAAAAA/\u002BzRwcrCMBAE4Dn/8L9DD551tulmn6dUq4VioUb06VUsORU8aRQx32VzSjYzi2bYt90WKZGkmU2T5HxOZ6lo6lTNPCjUUlFo0q2i4yHUI8hn75l/7kvE/lf1GLq2bsIynMOr37jn4b1/3L\u002BrYv9lWYkDxYkoireE\u002BOP9Xy87bNCjx4ACJwwY0WONf/x9erUsy7IsoVsAAAD//yO/fykACgAA", "StatusCode": 202, @@ -625,10 +296,10 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Tue, 29 Mar 2022 18:22:47 GMT", + "Date": "Sun, 22 Jan 2023 03:11:28 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Docker-Upload-Uuid": "02807ad3-a9aa-4fbe-86b3-9c2eff379011", - "Location": "/v2/oci-artifact/blobs/uploads/02807ad3-a9aa-4fbe-86b3-9c2eff379011?_nouploadcache=false\u0026_state=JfRiodJJXSKfW23wonpBLQBesLmNhFovW1EcPWm6b1B7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMDI4MDdhZDMtYTlhYS00ZmJlLTg2YjMtOWMyZWZmMzc5MDExIiwiT2Zmc2V0IjoxNzEsIlN0YXJ0ZWRBdCI6IjIwMjItMDMtMjlUMTg6MjI6NDZaIn0%3D", + "Docker-Upload-Uuid": "ca876afa-1f71-44bc-a2bd-3f7ec10da4e4", + "Location": "/v2/oci-artifact/blobs/uploads/ca876afa-1f71-44bc-a2bd-3f7ec10da4e4?_nouploadcache=false\u0026_state=m5a3p_0FR8s-UuYTySezLua0rbUquO1D8vMT66ttTJJ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiY2E4NzZhZmEtMWY3MS00NGJjLWEyYmQtM2Y3ZWMxMGRhNGU0IiwiT2Zmc2V0IjoxNzEsIlN0YXJ0ZWRBdCI6IjIwMjMtMDEtMjJUMDM6MTE6MjhaIn0%3D", "Range": "0-170", "Server": "openresty", "Strict-Transport-Security": [ @@ -636,97 +307,14 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "9aac6ff2-26b7-4d67-9edd-e3ce5aaf79df", - "X-Ms-Correlation-Request-Id": "5fb955f0-9443-4a9c-ab67-a01ed449865a", - "X-Ms-Request-Id": "996835cc-fa81-4f26-9c10-47b8d3339416" + "X-Ms-Client-Request-Id": "586f40e3-58fe-45a4-8647-3f4e7465134a", + "X-Ms-Correlation-Request-Id": "ea7d7410-ffd2-4505-99c2-d70552ed8b2b", + "X-Ms-Request-Id": "04de20e5-cee9-40d0-9038-ad15deddbb7b" }, "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/02807ad3-a9aa-4fbe-86b3-9c2eff379011?_nouploadcache=false\u0026_state=JfRiodJJXSKfW23wonpBLQBesLmNhFovW1EcPWm6b1B7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMDI4MDdhZDMtYTlhYS00ZmJlLTg2YjMtOWMyZWZmMzc5MDExIiwiT2Zmc2V0IjoxNzEsIlN0YXJ0ZWRBdCI6IjIwMjItMDMtMjlUMTg6MjI6NDZaIn0%3D\u0026digest=sha256%3Ad25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "0", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "5bc8473b-6554-4652-8c9d-eaab00f7d6c8" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:47 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "986e0e39-df86-444d-bb6f-7dbdc680ef65" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "163", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "884f7568-8af2-4dc8-9472-f73728ab8fb8" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:47 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "ca927de6-eb31-4298-af8b-165142eca627" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/02807ad3-a9aa-4fbe-86b3-9c2eff379011?_nouploadcache=false\u0026_state=JfRiodJJXSKfW23wonpBLQBesLmNhFovW1EcPWm6b1B7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMDI4MDdhZDMtYTlhYS00ZmJlLTg2YjMtOWMyZWZmMzc5MDExIiwiT2Zmc2V0IjoxNzEsIlN0YXJ0ZWRBdCI6IjIwMjItMDMtMjlUMTg6MjI6NDZaIn0%3D\u0026digest=sha256%3Ad25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/ca876afa-1f71-44bc-a2bd-3f7ec10da4e4?_nouploadcache=false\u0026_state=m5a3p_0FR8s-UuYTySezLua0rbUquO1D8vMT66ttTJJ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiY2E4NzZhZmEtMWY3MS00NGJjLWEyYmQtM2Y3ZWMxMGRhNGU0IiwiT2Zmc2V0IjoxNzEsIlN0YXJ0ZWRBdCI6IjIwMjMtMDEtMjJUMDM6MTE6MjhaIn0%3D\u0026digest=sha256%3Ad25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", @@ -735,8 +323,8 @@ "Connection": "keep-alive", "Content-Length": "0", "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "5bc8473b-6554-4652-8c9d-eaab00f7d6c8" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9749eeee-dee1-4859-b3d5-9fb9913ee75e" }, "RequestBody": null, "StatusCode": 201, @@ -749,7 +337,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Tue, 29 Mar 2022 18:22:47 GMT", + "Date": "Sun, 22 Jan 2023 03:11:28 GMT", "Docker-Content-Digest": "sha256:d25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", "Docker-Distribution-Api-Version": "registry/2.0", "Location": "/v2/oci-artifact/blobs/sha256:d25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", @@ -759,112 +347,12 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "5bc8473b-6554-4652-8c9d-eaab00f7d6c8", - "X-Ms-Correlation-Request-Id": "cc8defe7-2702-4331-b3aa-61fb4b75485e", - "X-Ms-Request-Id": "108f5be3-12ee-40dd-9657-aed850abda08" + "X-Ms-Client-Request-Id": "9749eeee-dee1-4859-b3d5-9fb9913ee75e", + "X-Ms-Correlation-Request-Id": "61d518fa-809f-4f44-99dd-417c620bc181", + "X-Ms-Request-Id": "5e2fc540-4c58-43fb-99b7-c0c5d8ecfe3a" }, "ResponseBody": null }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/sha256%3A8e37b7384b05202eeeeeb0db538dbb0d1f81c42c97e4080b6e80363e14941243", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "402", - "Content-Type": "application/vnd.oci.image.manifest.v1\u002Bjson", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "34195b6a-844b-4866-a9fe-dcfcae2d68cd" - }, - "RequestBody": { - "config": { - "mediaType": "application/vnd.oci.image.config.v1\u002Bjson", - "size": 171, - "digest": "sha256:d25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8" - }, - "layers": [ - { - "mediaType": "application/vnd.oci.image.layer.v1.tar", - "size": 28, - "digest": "sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", - "annotations": { - "org.opencontainers.image.title": "artifact.txt" - } - } - ], - "schemaVersion": 2 - }, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:47 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "fc4e13c0-36bd-4fd2-9936-14f3d53934f7" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "163", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "7bd7944e-9ee4-4a46-b4df-f43446548bd8" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:47 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "709759a5-aa2b-4d50-89ec-3ff8ab36c026" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, { "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/sha256%3A8e37b7384b05202eeeeeb0db538dbb0d1f81c42c97e4080b6e80363e14941243", "RequestMethod": "PUT", @@ -875,8 +363,8 @@ "Connection": "keep-alive", "Content-Length": "402", "Content-Type": "application/vnd.oci.image.manifest.v1\u002Bjson", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "34195b6a-844b-4866-a9fe-dcfcae2d68cd" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "530204d3-1a10-4b9f-b5ac-3ab88b9d20a1" }, "RequestBody": { "config": { @@ -906,7 +394,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Tue, 29 Mar 2022 18:22:48 GMT", + "Date": "Sun, 22 Jan 2023 03:11:29 GMT", "Docker-Content-Digest": "sha256:8e37b7384b05202eeeeeb0db538dbb0d1f81c42c97e4080b6e80363e14941243", "Docker-Distribution-Api-Version": "registry/2.0", "Location": "/v2/oci-artifact/manifests/sha256:8e37b7384b05202eeeeeb0db538dbb0d1f81c42c97e4080b6e80363e14941243", @@ -916,88 +404,12 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "34195b6a-844b-4866-a9fe-dcfcae2d68cd", - "X-Ms-Correlation-Request-Id": "949e16bd-e195-4a57-b1e9-e8b01d974827", - "X-Ms-Request-Id": "88f3cc81-4f8f-4e8c-bb65-080fa4959a5e" + "X-Ms-Client-Request-Id": "530204d3-1a10-4b9f-b5ac-3ab88b9d20a1", + "X-Ms-Correlation-Request-Id": "7df044e9-4bc1-415f-b455-a56fa60c785d", + "X-Ms-Request-Id": "6e35571e-25f3-4f3c-8739-d9b4fa48c39a" }, "ResponseBody": null }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/sha256%3A8e37b7384b05202eeeeeb0db538dbb0d1f81c42c97e4080b6e80363e14941243", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/vnd.oci.image.manifest.v1\u002Bjson", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "1d44087b-91e4-47bb-9386-ccc53eef0597" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "206", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:48 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d00eed1f-670c-42d4-8077-ce6844acc4c8" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "156", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "075f5d13-45a5-4b2d-9cd0-c1372f3efe3a" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:48 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "6a41e166-85db-4f77-857a-e364f6d1817c" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, { "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/sha256%3A8e37b7384b05202eeeeeb0db538dbb0d1f81c42c97e4080b6e80363e14941243", "RequestMethod": "GET", @@ -1006,8 +418,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "1d44087b-91e4-47bb-9386-ccc53eef0597" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "47491599-6fe0-4c5c-a8c4-07a9a0023aed" }, "RequestBody": null, "StatusCode": 200, @@ -1021,7 +433,7 @@ "Connection": "keep-alive", "Content-Length": "402", "Content-Type": "application/vnd.oci.image.manifest.v1\u002Bjson", - "Date": "Tue, 29 Mar 2022 18:22:48 GMT", + "Date": "Sun, 22 Jan 2023 03:11:29 GMT", "Docker-Content-Digest": "sha256:8e37b7384b05202eeeeeb0db538dbb0d1f81c42c97e4080b6e80363e14941243", "Docker-Distribution-Api-Version": "registry/2.0", "ETag": "\u0022sha256:8e37b7384b05202eeeeeb0db538dbb0d1f81c42c97e4080b6e80363e14941243\u0022", @@ -1031,9 +443,9 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "1d44087b-91e4-47bb-9386-ccc53eef0597", - "X-Ms-Correlation-Request-Id": "f5ac9ea2-9cd5-4772-b6f1-713dcab2014f", - "X-Ms-Request-Id": "d5d4e698-c2e9-45ad-b91a-3c262adef5fb" + "X-Ms-Client-Request-Id": "47491599-6fe0-4c5c-a8c4-07a9a0023aed", + "X-Ms-Correlation-Request-Id": "a54f83f2-f4e0-4627-9619-d364218e4f2a", + "X-Ms-Request-Id": "8af466f3-b9d6-48ee-982f-86cb518274a0" }, "ResponseBody": { "config": { @@ -1060,9 +472,10 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "bca94c6d-5fbb-4c5c-84ae-a56ec4531a8c" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4cd773c6-0f03-43ed-906d-9688b031392f" }, "RequestBody": null, "StatusCode": 401, @@ -1076,16 +489,16 @@ "Connection": "keep-alive", "Content-Length": "208", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:48 GMT", + "Date": "Sun, 22 Jan 2023 03:11: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:delete\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:delete\u0022,error=\u0022insufficient_scope\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "569207d7-31bc-4878-81a6-5152aba475b5" + "X-Ms-Correlation-Request-Id": "6db96252-9869-4155-b982-37e7f5568317" }, "ResponseBody": { "errors": [ @@ -1110,21 +523,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "158", + "Content-Length": "170", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "ce8e17ce-6cb1-44bd-9822-8f547b0731d0" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "64da6591-a366-4f61-b548-4b1006ee34a9" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Adelete\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Adelete\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:48 GMT", + "Date": "Sun, 22 Jan 2023 03:11:29 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "c0fc39d3-38cc-4903-a264-f82b81e1c64e" + "X-Ms-Correlation-Request-Id": "842adb1c-369d-4564-94ac-c03993fdec80", + "x-ms-ratelimit-remaining-calls-per-second": "166.616667" }, "ResponseBody": { "access_token": "Sanitized" @@ -1138,8 +552,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "bca94c6d-5fbb-4c5c-84ae-a56ec4531a8c" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4cd773c6-0f03-43ed-906d-9688b031392f" }, "RequestBody": null, "StatusCode": 202, @@ -1152,7 +566,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Tue, 29 Mar 2022 18:22:49 GMT", + "Date": "Sun, 22 Jan 2023 03:11:29 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -1160,9 +574,10 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "bca94c6d-5fbb-4c5c-84ae-a56ec4531a8c", - "X-Ms-Correlation-Request-Id": "1f865146-a10d-49b9-b238-e5d57a0d3bc3", - "X-Ms-Request-Id": "ac97115f-0cfd-4a53-b341-74ae732de31e" + "X-Ms-Client-Request-Id": "4cd773c6-0f03-43ed-906d-9688b031392f", + "X-Ms-Correlation-Request-Id": "ee2c3739-ecbc-4e3b-93d9-4fc7694e1ce7", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", + "X-Ms-Request-Id": "93458bf8-1bba-4d5c-863d-4c9252b2738e" }, "ResponseBody": null } diff --git a/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_oci_manifest_from_resettable_stream.json b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_oci_manifest_from_resettable_stream.json index 4f964691a8eb..a4c26d1f73d4 100644 --- a/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_oci_manifest_from_resettable_stream.json +++ b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_oci_manifest_from_resettable_stream.json @@ -8,8 +8,8 @@ "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "6c0a022b-a345-44bd-86d0-d424a2c1bcc9" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "47ad2b91-6d17-46d6-9f41-54987539d1a1" }, "RequestBody": null, "StatusCode": 401, @@ -23,7 +23,7 @@ "Connection": "keep-alive", "Content-Length": "266", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:11 GMT", + "Date": "Sun, 22 Jan 2023 03:11:31 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -32,7 +32,7 @@ ], "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ae16724f-423c-4b2d-a1cd-63d4ec1d2792" + "X-Ms-Correlation-Request-Id": "99aec383-c43e-4099-b3d7-a48e4983a190" }, "ResponseBody": { "errors": [ @@ -64,519 +64,23 @@ "Connection": "keep-alive", "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "ae9e1fca-8a10-4d0f-89f9-de252b714cb5" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9f76b72e-b431-4b09-9f65-179f886760b5" }, "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:13 GMT", + "Date": "Sun, 22 Jan 2023 03:11:32 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "6c576a60-3d27-4f29-a822-2e924b1d95d6", - "x-ms-ratelimit-remaining-calls-per-second": "166.65" - }, - "ResponseBody": { - "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "175", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "8739f8ef-2bed-4ce8-8114-2b141d590d49" - }, - "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:13 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e73ce2c2-e098-4b50-bbc4-5e33f0542353", - "x-ms-ratelimit-remaining-calls-per-second": "166.633333" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "0", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "6c0a022b-a345-44bd-86d0-d424a2c1bcc9" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "0", - "Date": "Thu, 01 Dec 2022 18:20:14 GMT", - "Docker-Distribution-Api-Version": "registry/2.0", - "Docker-Upload-Uuid": "e9e31ce3-987d-4fb9-9a03-65e3be76b2e1", - "Location": "/v2/oci-artifact/blobs/uploads/e9e31ce3-987d-4fb9-9a03-65e3be76b2e1?_nouploadcache=false\u0026_state=H0ELoNRKsHJntlP8cLIjR6TihqJDm-hA-5GJ8LeR3z97Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZTllMzFjZTMtOTg3ZC00ZmI5LTlhMDMtNjVlM2JlNzZiMmUxIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTEyLTAxVDE4OjIwOjEzLjkwOTU0ODEwM1oifQ%3D%3D", - "Range": "0-0", - "Server": "openresty", - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains", - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "6c0a022b-a345-44bd-86d0-d424a2c1bcc9", - "X-Ms-Correlation-Request-Id": "a188d2e3-3629-49b5-8e75-30d15c27efb0", - "X-Ms-Request-Id": "413ebe0a-f02a-447f-86b3-f28c1bef1bff" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/e9e31ce3-987d-4fb9-9a03-65e3be76b2e1?_nouploadcache=false\u0026_state=H0ELoNRKsHJntlP8cLIjR6TihqJDm-hA-5GJ8LeR3z97Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZTllMzFjZTMtOTg3ZC00ZmI5LTlhMDMtNjVlM2JlNzZiMmUxIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTEyLTAxVDE4OjIwOjEzLjkwOTU0ODEwM1oifQ%3D%3D", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "28", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "fde6c641-e7c4-403a-9940-988006fc8994" - }, - "RequestBody": "//5oAGUAbABsAG8AIAB3AG8AcgBsAGQADQAKAA==", - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:14 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:push,pull\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b46395f5-dac3-4b53-9488-b08a1d979bd5" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "175", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "b89fd7b2-875c-4387-a0d5-8ffb4d12de43" - }, - "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apush%2Cpull\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:14 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "a38e1b94-febe-49c9-8474-344d784522bb", - "x-ms-ratelimit-remaining-calls-per-second": "166.616667" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/e9e31ce3-987d-4fb9-9a03-65e3be76b2e1?_nouploadcache=false\u0026_state=H0ELoNRKsHJntlP8cLIjR6TihqJDm-hA-5GJ8LeR3z97Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZTllMzFjZTMtOTg3ZC00ZmI5LTlhMDMtNjVlM2JlNzZiMmUxIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTEyLTAxVDE4OjIwOjEzLjkwOTU0ODEwM1oifQ%3D%3D", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "28", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "fde6c641-e7c4-403a-9940-988006fc8994" - }, - "RequestBody": "//5oAGUAbABsAG8AIAB3AG8AcgBsAGQADQAKAA==", - "StatusCode": 202, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "0", - "Date": "Thu, 01 Dec 2022 18:20:14 GMT", - "Docker-Distribution-Api-Version": "registry/2.0", - "Docker-Upload-Uuid": "e9e31ce3-987d-4fb9-9a03-65e3be76b2e1", - "Location": "/v2/oci-artifact/blobs/uploads/e9e31ce3-987d-4fb9-9a03-65e3be76b2e1?_nouploadcache=false\u0026_state=5p1-rUJxe_ETF8C6QnLg9GLhEOexV6SRNfFtQIXEji17Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZTllMzFjZTMtOTg3ZC00ZmI5LTlhMDMtNjVlM2JlNzZiMmUxIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMi0xMi0wMVQxODoyMDoxM1oifQ%3D%3D", - "Range": "0-27", - "Server": "openresty", - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains", - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "fde6c641-e7c4-403a-9940-988006fc8994", - "X-Ms-Correlation-Request-Id": "35f676b9-3e50-4668-87eb-5437067f2058", - "X-Ms-Request-Id": "c4abe7e1-3592-48f4-897e-888c38bb96fe" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/e9e31ce3-987d-4fb9-9a03-65e3be76b2e1?_nouploadcache=false\u0026_state=5p1-rUJxe_ETF8C6QnLg9GLhEOexV6SRNfFtQIXEji17Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZTllMzFjZTMtOTg3ZC00ZmI5LTlhMDMtNjVlM2JlNzZiMmUxIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMi0xMi0wMVQxODoyMDoxM1oifQ%3D%3D\u0026digest=sha256%3A654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "0", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "866a47ec-90ab-49ec-b08e-cd52f9f90b74" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:14 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a3a53c5f-e832-4fe9-bed5-2e2c1f8e61fa" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "175", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "b97be397-6598-4340-aaee-564d47cb1e93" - }, - "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:14 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b91e1c08-0d23-40fb-97ee-c54450f77d45", - "x-ms-ratelimit-remaining-calls-per-second": "166.6" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/e9e31ce3-987d-4fb9-9a03-65e3be76b2e1?_nouploadcache=false\u0026_state=5p1-rUJxe_ETF8C6QnLg9GLhEOexV6SRNfFtQIXEji17Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZTllMzFjZTMtOTg3ZC00ZmI5LTlhMDMtNjVlM2JlNzZiMmUxIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMi0xMi0wMVQxODoyMDoxM1oifQ%3D%3D\u0026digest=sha256%3A654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "0", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "866a47ec-90ab-49ec-b08e-cd52f9f90b74" - }, - "RequestBody": null, - "StatusCode": 201, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "0", - "Date": "Thu, 01 Dec 2022 18:20:14 GMT", - "Docker-Content-Digest": "sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", - "Docker-Distribution-Api-Version": "registry/2.0", - "Location": "/v2/oci-artifact/blobs/sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", - "Server": "openresty", - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains", - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "866a47ec-90ab-49ec-b08e-cd52f9f90b74", - "X-Ms-Correlation-Request-Id": "fad0a6af-c928-4fda-b8b9-0fd465e1513b", - "X-Ms-Request-Id": "17ca46cf-bb8b-4d75-810f-0db468de6faf" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "0", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "234ef1e4-8fa4-46e4-ab6b-bd745aead007" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:14 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6b1e88ed-0f8b-4ce6-8db6-542819d7cd5c" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "175", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "82d1df4c-7fa8-4609-85d2-f412ca7585ab" - }, - "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:14 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "0ae2b8f3-c244-4454-a9fe-e7838e8ed4f6", - "x-ms-ratelimit-remaining-calls-per-second": "166.583333" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "0", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "234ef1e4-8fa4-46e4-ab6b-bd745aead007" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "0", - "Date": "Thu, 01 Dec 2022 18:20:14 GMT", - "Docker-Distribution-Api-Version": "registry/2.0", - "Docker-Upload-Uuid": "83b35824-cc6a-48cd-99ab-dee401ab7d4f", - "Location": "/v2/oci-artifact/blobs/uploads/83b35824-cc6a-48cd-99ab-dee401ab7d4f?_nouploadcache=false\u0026_state=jysgdNcuebOfDWnW94pJbU9AJMjCmcd_LVbzmovQrc17Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiODNiMzU4MjQtY2M2YS00OGNkLTk5YWItZGVlNDAxYWI3ZDRmIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTEyLTAxVDE4OjIwOjE0LjcyODY4NTUyOVoifQ%3D%3D", - "Range": "0-0", - "Server": "openresty", - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains", - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "234ef1e4-8fa4-46e4-ab6b-bd745aead007", - "X-Ms-Correlation-Request-Id": "087573eb-1191-440a-8476-1ce09084f58e", - "X-Ms-Request-Id": "85eee2b1-1b75-419f-9cc0-adb0f456706c" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/83b35824-cc6a-48cd-99ab-dee401ab7d4f?_nouploadcache=false\u0026_state=jysgdNcuebOfDWnW94pJbU9AJMjCmcd_LVbzmovQrc17Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiODNiMzU4MjQtY2M2YS00OGNkLTk5YWItZGVlNDAxYWI3ZDRmIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTEyLTAxVDE4OjIwOjE0LjcyODY4NTUyOVoifQ%3D%3D", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "171", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "0bdbc28f-a0fc-44f8-b928-d7a47c30079f" - }, - "RequestBody": "H4sIAAAAAAAA/\u002BzRwcrCMBAE4Dn/8L9DD551tulmn6dUq4VioUb06VUsORU8aRQx32VzSjYzi2bYt90WKZGkmU2T5HxOZ6lo6lTNPCjUUlFo0q2i4yHUI8hn75l/7kvE/lf1GLq2bsIynMOr37jn4b1/3L\u002BrYv9lWYkDxYkoireE\u002BOP9Xy87bNCjx4ACJwwY0WONf/x9erUsy7IsoVsAAAD//yO/fykACgAA", - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:14 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ea48e030-45d3-418e-8907-88707d87b416" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] + "X-Ms-Correlation-Request-Id": "b2a79df1-bbda-4b13-bd1d-5254c87b0650", + "x-ms-ratelimit-remaining-calls-per-second": "166.55" + }, + "ResponseBody": { + "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" } }, { @@ -588,39 +92,38 @@ "Connection": "keep-alive", "Content-Length": "175", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "3974f435-1e25-472b-a312-1a39b9e022b5" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "49b40ad3-681f-4721-86a7-35fcddc3cc15" }, "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:14 GMT", + "Date": "Sun, 22 Jan 2023 03:11:32 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e1897946-5d1b-4c87-9e6f-f2755dd64d26", - "x-ms-ratelimit-remaining-calls-per-second": "166.566667" + "X-Ms-Correlation-Request-Id": "23d4d23e-0ee1-4760-b5c0-95def7cf5423", + "x-ms-ratelimit-remaining-calls-per-second": "166.533333" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/83b35824-cc6a-48cd-99ab-dee401ab7d4f?_nouploadcache=false\u0026_state=jysgdNcuebOfDWnW94pJbU9AJMjCmcd_LVbzmovQrc17Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiODNiMzU4MjQtY2M2YS00OGNkLTk5YWItZGVlNDAxYWI3ZDRmIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTEyLTAxVDE4OjIwOjE0LjcyODY4NTUyOVoifQ%3D%3D", - "RequestMethod": "PATCH", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/", + "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "Content-Length": "171", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "0bdbc28f-a0fc-44f8-b928-d7a47c30079f" + "Content-Length": "0", + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "47ad2b91-6d17-46d6-9f41-54987539d1a1" }, - "RequestBody": "H4sIAAAAAAAA/\u002BzRwcrCMBAE4Dn/8L9DD551tulmn6dUq4VioUb06VUsORU8aRQx32VzSjYzi2bYt90WKZGkmU2T5HxOZ6lo6lTNPCjUUlFo0q2i4yHUI8hn75l/7kvE/lf1GLq2bsIynMOr37jn4b1/3L\u002BrYv9lWYkDxYkoireE\u002BOP9Xy87bNCjx4ACJwwY0WONf/x9erUsy7IsoVsAAAD//yO/fykACgAA", + "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -631,37 +134,38 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Thu, 01 Dec 2022 18:20:14 GMT", + "Date": "Sun, 22 Jan 2023 03:11:32 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Docker-Upload-Uuid": "83b35824-cc6a-48cd-99ab-dee401ab7d4f", - "Location": "/v2/oci-artifact/blobs/uploads/83b35824-cc6a-48cd-99ab-dee401ab7d4f?_nouploadcache=false\u0026_state=yGh1MIowG50vsqnNOS-CFpHE9264otx1AaFKUj0_Hcx7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiODNiMzU4MjQtY2M2YS00OGNkLTk5YWItZGVlNDAxYWI3ZDRmIiwiT2Zmc2V0IjoxNzEsIlN0YXJ0ZWRBdCI6IjIwMjItMTItMDFUMTg6MjA6MTRaIn0%3D", - "Range": "0-170", + "Docker-Upload-Uuid": "838a0884-0bfc-4673-a055-924ee994be30", + "Location": "/v2/oci-artifact/blobs/uploads/838a0884-0bfc-4673-a055-924ee994be30?_nouploadcache=false\u0026_state=IRjCB4wuulDmvkMAlgqdI_c1MzK79lzeYZXQg7pQsh97Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiODM4YTA4ODQtMGJmYy00NjczLWEwNTUtOTI0ZWU5OTRiZTMwIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAxLTIyVDAzOjExOjMyLjEyNTMwMjM5MVoifQ%3D%3D", + "Range": "0-0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "0bdbc28f-a0fc-44f8-b928-d7a47c30079f", - "X-Ms-Correlation-Request-Id": "23a5c1f9-6ded-4ce7-ae6d-3d32a91aed37", - "X-Ms-Request-Id": "2ee841dd-6c1b-4f4a-9f89-b19ed2b4d4f2" + "X-Ms-Client-Request-Id": "47ad2b91-6d17-46d6-9f41-54987539d1a1", + "X-Ms-Correlation-Request-Id": "03302832-f1a8-4f44-8c4e-8fea60e44157", + "X-Ms-Request-Id": "26fdb80b-8dd1-4b0c-9663-fef72cd3a6f7" }, "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/83b35824-cc6a-48cd-99ab-dee401ab7d4f?_nouploadcache=false\u0026_state=yGh1MIowG50vsqnNOS-CFpHE9264otx1AaFKUj0_Hcx7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiODNiMzU4MjQtY2M2YS00OGNkLTk5YWItZGVlNDAxYWI3ZDRmIiwiT2Zmc2V0IjoxNzEsIlN0YXJ0ZWRBdCI6IjIwMjItMTItMDFUMTg6MjA6MTRaIn0%3D\u0026digest=sha256%3Ad25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", - "RequestMethod": "PUT", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/838a0884-0bfc-4673-a055-924ee994be30?_nouploadcache=false\u0026_state=IRjCB4wuulDmvkMAlgqdI_c1MzK79lzeYZXQg7pQsh97Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiODM4YTA4ODQtMGJmYy00NjczLWEwNTUtOTI0ZWU5OTRiZTMwIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAxLTIyVDAzOjExOjMyLjEyNTMwMjM5MVoifQ%3D%3D", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", "Connection": "keep-alive", - "Content-Length": "0", + "Content-Length": "28", "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "85e02ba1-e00f-41ce-84e1-ce4d1a3c779f" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "be182622-00e4-4320-a17b-5e60c46c42a0" }, - "RequestBody": null, - "StatusCode": 401, + "RequestBody": "//5oAGUAbABsAG8AIAB3AG8AcgBsAGQADQAKAA==", + "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": [ "Docker-Content-Digest", @@ -670,83 +174,78 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:14 GMT", + "Content-Length": "0", + "Date": "Sun, 22 Jan 2023 03:11:32 GMT", "Docker-Distribution-Api-Version": "registry/2.0", + "Docker-Upload-Uuid": "838a0884-0bfc-4673-a055-924ee994be30", + "Location": "/v2/oci-artifact/blobs/uploads/838a0884-0bfc-4673-a055-924ee994be30?_nouploadcache=false\u0026_state=5RDbAAaapeXIg7aXKU3GzjHupwJv4EnTI9bpS3vyQuN7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiODM4YTA4ODQtMGJmYy00NjczLWEwNTUtOTI0ZWU5OTRiZTMwIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMy0wMS0yMlQwMzoxMTozMloifQ%3D%3D", + "Range": "0-27", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:push,pull\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "de964ce6-690b-4e2a-8eb5-3c25d6976008" + "X-Ms-Client-Request-Id": "be182622-00e4-4320-a17b-5e60c46c42a0", + "X-Ms-Correlation-Request-Id": "db549f60-484b-40e8-9354-16d5902910d1", + "X-Ms-Request-Id": "06f111de-c1b4-4f59-9fa6-e559ea1d8f7a" }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } + "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/838a0884-0bfc-4673-a055-924ee994be30?_nouploadcache=false\u0026_state=5RDbAAaapeXIg7aXKU3GzjHupwJv4EnTI9bpS3vyQuN7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiODM4YTA4ODQtMGJmYy00NjczLWEwNTUtOTI0ZWU5OTRiZTMwIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMy0wMS0yMlQwMzoxMTozMloifQ%3D%3D\u0026digest=sha256%3A654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", + "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", "Connection": "keep-alive", - "Content-Length": "175", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "8ef8ceff-1ccc-4206-b725-984b60c17a23" + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f5bce01b-afd7-4cdb-b6cc-96de9ae57827" }, - "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apush%2Cpull\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, + "RequestBody": null, + "StatusCode": 201, "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": "Thu, 01 Dec 2022 18:20:15 GMT", + "Content-Length": "0", + "Date": "Sun, 22 Jan 2023 03:11:32 GMT", + "Docker-Content-Digest": "sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", + "Docker-Distribution-Api-Version": "registry/2.0", + "Location": "/v2/oci-artifact/blobs/sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e60589e9-35ee-41b9-a46b-2393829ad288", - "x-ms-ratelimit-remaining-calls-per-second": "166.55" + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Client-Request-Id": "f5bce01b-afd7-4cdb-b6cc-96de9ae57827", + "X-Ms-Correlation-Request-Id": "9d193c60-2035-48d2-a4d4-c6a8c8cb01f3", + "X-Ms-Request-Id": "5788301f-4ab0-4020-8068-731e0af7b49b" }, - "ResponseBody": { - "access_token": "Sanitized" - } + "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/83b35824-cc6a-48cd-99ab-dee401ab7d4f?_nouploadcache=false\u0026_state=yGh1MIowG50vsqnNOS-CFpHE9264otx1AaFKUj0_Hcx7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiODNiMzU4MjQtY2M2YS00OGNkLTk5YWItZGVlNDAxYWI3ZDRmIiwiT2Zmc2V0IjoxNzEsIlN0YXJ0ZWRBdCI6IjIwMjItMTItMDFUMTg6MjA6MTRaIn0%3D\u0026digest=sha256%3Ad25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", - "RequestMethod": "PUT", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/", + "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "85e02ba1-e00f-41ce-84e1-ce4d1a3c779f" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "7b14e88d-b45b-45ed-9017-5c4f8b5d551e" }, "RequestBody": null, - "StatusCode": 201, + "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": [ "Docker-Content-Digest", @@ -756,53 +255,38 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Thu, 01 Dec 2022 18:20:15 GMT", - "Docker-Content-Digest": "sha256:d25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", + "Date": "Sun, 22 Jan 2023 03:11:32 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Location": "/v2/oci-artifact/blobs/sha256:d25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", + "Docker-Upload-Uuid": "418a1776-4ac3-428e-972c-618a80fed99b", + "Location": "/v2/oci-artifact/blobs/uploads/418a1776-4ac3-428e-972c-618a80fed99b?_nouploadcache=false\u0026_state=SS8jYSzeHet5BlY2qIlFlhe60FCFRWUIUJXzuEUVuup7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNDE4YTE3NzYtNGFjMy00MjhlLTk3MmMtNjE4YTgwZmVkOTliIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAxLTIyVDAzOjExOjMyLjM5ODc5MzA3OVoifQ%3D%3D", + "Range": "0-0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "85e02ba1-e00f-41ce-84e1-ce4d1a3c779f", - "X-Ms-Correlation-Request-Id": "3e37671f-c8cd-4b2f-8544-7bbba7584021", - "X-Ms-Request-Id": "175c7d80-425f-4f7b-9e2c-616632be2665" + "X-Ms-Client-Request-Id": "7b14e88d-b45b-45ed-9017-5c4f8b5d551e", + "X-Ms-Correlation-Request-Id": "b415e567-9d00-449f-a563-e8cf6be59780", + "X-Ms-Request-Id": "baf275be-a50b-433f-af75-a99901e4822b" }, "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/sha256%3A04bc85aff82cfcc5e48808ebea9f5667a445f5b4acb175805c7d0926ae64b779", - "RequestMethod": "PUT", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/418a1776-4ac3-428e-972c-618a80fed99b?_nouploadcache=false\u0026_state=SS8jYSzeHet5BlY2qIlFlhe60FCFRWUIUJXzuEUVuup7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNDE4YTE3NzYtNGFjMy00MjhlLTk3MmMtNjE4YTgwZmVkOTliIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAxLTIyVDAzOjExOjMyLjM5ODc5MzA3OVoifQ%3D%3D", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", "Connection": "keep-alive", - "Content-Type": "application/vnd.oci.image.manifest.v1\u002Bjson", - "Transfer-Encoding": "chunked", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "50a11b23-06d3-4a1e-ac26-481c1b263a7a" - }, - "RequestBody": { - "schemaVersion": 2, - "config": { - "mediaType": "application/vnd.oci.image.config.v1\u002Bjson", - "digest": "sha256:d25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", - "size": 171 - }, - "layers": [ - { - "mediaType": "application/vnd.oci.image.layer.v1.tar", - "digest": "sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", - "size": 28, - "annotations": { - "org.opencontainers.image.title": "artifact.txt" - } - } - ] + "Content-Length": "171", + "Content-Type": "application/octet-stream", + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "6d3f8cb8-ff95-400a-8103-57480f1e252d" }, - "StatusCode": 401, + "RequestBody": "H4sIAAAAAAAA/\u002BzRwcrCMBAE4Dn/8L9DD551tulmn6dUq4VioUb06VUsORU8aRQx32VzSjYzi2bYt90WKZGkmU2T5HxOZ6lo6lTNPCjUUlFo0q2i4yHUI8hn75l/7kvE/lf1GLq2bsIynMOr37jn4b1/3L\u002BrYv9lWYkDxYkoireE\u002BOP9Xy87bNCjx4ACJwwY0WONf/x9erUsy7IsoVsAAAD//yO/fykACgAA", + "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": [ "Docker-Content-Digest", @@ -811,67 +295,63 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:15 GMT", + "Content-Length": "0", + "Date": "Sun, 22 Jan 2023 03:11:32 GMT", "Docker-Distribution-Api-Version": "registry/2.0", + "Docker-Upload-Uuid": "418a1776-4ac3-428e-972c-618a80fed99b", + "Location": "/v2/oci-artifact/blobs/uploads/418a1776-4ac3-428e-972c-618a80fed99b?_nouploadcache=false\u0026_state=vxE_8hWZr8O0b9GcsS6NtDyF_vEDaEYhHLZ8RBv6hWx7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNDE4YTE3NzYtNGFjMy00MjhlLTk3MmMtNjE4YTgwZmVkOTliIiwiT2Zmc2V0IjoxNzEsIlN0YXJ0ZWRBdCI6IjIwMjMtMDEtMjJUMDM6MTE6MzJaIn0%3D", + "Range": "0-170", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "cf21ccfd-214b-4cac-993b-f99e90fa3eb6" + "X-Ms-Client-Request-Id": "6d3f8cb8-ff95-400a-8103-57480f1e252d", + "X-Ms-Correlation-Request-Id": "74757196-2e60-49d2-a94b-7f69e88034e3", + "X-Ms-Request-Id": "f1b8222f-edd3-4db5-b2fc-9f76ad16948b" }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } + "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/418a1776-4ac3-428e-972c-618a80fed99b?_nouploadcache=false\u0026_state=vxE_8hWZr8O0b9GcsS6NtDyF_vEDaEYhHLZ8RBv6hWx7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNDE4YTE3NzYtNGFjMy00MjhlLTk3MmMtNjE4YTgwZmVkOTliIiwiT2Zmc2V0IjoxNzEsIlN0YXJ0ZWRBdCI6IjIwMjMtMDEtMjJUMDM6MTE6MzJaIn0%3D\u0026digest=sha256%3Ad25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", + "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", "Connection": "keep-alive", - "Content-Length": "175", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "b48a910e-3258-42fb-87cc-59aee65343a1" + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "56d16b60-8336-4fb5-a3dd-de3bc3b7d550" }, - "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, + "RequestBody": null, + "StatusCode": 201, "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": "Thu, 01 Dec 2022 18:20:15 GMT", + "Content-Length": "0", + "Date": "Sun, 22 Jan 2023 03:11:32 GMT", + "Docker-Content-Digest": "sha256:d25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", + "Docker-Distribution-Api-Version": "registry/2.0", + "Location": "/v2/oci-artifact/blobs/sha256:d25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f5f7f48b-9f33-4672-b535-ff6bb577b1d9", - "x-ms-ratelimit-remaining-calls-per-second": "166.533333" + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Client-Request-Id": "56d16b60-8336-4fb5-a3dd-de3bc3b7d550", + "X-Ms-Correlation-Request-Id": "b7b61c60-9ad5-47a8-8e89-fca454864a5e", + "X-Ms-Request-Id": "aca937e7-8358-487f-8ea0-26043fc39a78" }, - "ResponseBody": { - "access_token": "Sanitized" - } + "ResponseBody": null }, { "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/sha256%3A04bc85aff82cfcc5e48808ebea9f5667a445f5b4acb175805c7d0926ae64b779", @@ -883,8 +363,8 @@ "Connection": "keep-alive", "Content-Type": "application/vnd.oci.image.manifest.v1\u002Bjson", "Transfer-Encoding": "chunked", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "50a11b23-06d3-4a1e-ac26-481c1b263a7a" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "94dfe5e0-a613-4c08-be28-019a70f96105" }, "RequestBody": { "schemaVersion": 2, @@ -914,7 +394,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Thu, 01 Dec 2022 18:20:15 GMT", + "Date": "Sun, 22 Jan 2023 03:11:33 GMT", "Docker-Content-Digest": "sha256:04bc85aff82cfcc5e48808ebea9f5667a445f5b4acb175805c7d0926ae64b779", "Docker-Distribution-Api-Version": "registry/2.0", "Location": "/v2/oci-artifact/manifests/sha256:04bc85aff82cfcc5e48808ebea9f5667a445f5b4acb175805c7d0926ae64b779", @@ -924,89 +404,12 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "50a11b23-06d3-4a1e-ac26-481c1b263a7a", - "X-Ms-Correlation-Request-Id": "1e4c42ba-2ddd-478e-80af-01e3fa90c0a3", - "X-Ms-Request-Id": "1f82edb0-b616-4434-8499-7a665540ffc0" + "X-Ms-Client-Request-Id": "94dfe5e0-a613-4c08-be28-019a70f96105", + "X-Ms-Correlation-Request-Id": "117c3d7f-60e3-4730-b1a2-86cbe7dac60d", + "X-Ms-Request-Id": "5ba65d73-1b1e-494e-bb6b-22e6830931fd" }, "ResponseBody": null }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/sha256%3A04bc85aff82cfcc5e48808ebea9f5667a445f5b4acb175805c7d0926ae64b779", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/vnd.oci.image.manifest.v1\u002Bjson", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "a11241c6-acd8-419d-bd3b-ccc6ddf3868c" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "206", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:15 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f34343f9-cb39-4b11-8ba7-45865936816a" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "168", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "e789ffcd-3ae0-49e8-9219-cc81f558f8da" - }, - "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:15 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3180fb36-a25e-4b73-bc97-89c51fc6a9cd", - "x-ms-ratelimit-remaining-calls-per-second": "166.516667" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, { "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/sha256%3A04bc85aff82cfcc5e48808ebea9f5667a445f5b4acb175805c7d0926ae64b779", "RequestMethod": "GET", @@ -1015,8 +418,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "a11241c6-acd8-419d-bd3b-ccc6ddf3868c" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "869f8d3f-3551-4f7a-9d41-2c2f84d0ef85" }, "RequestBody": null, "StatusCode": 200, @@ -1030,7 +433,7 @@ "Connection": "keep-alive", "Content-Length": "567", "Content-Type": "application/vnd.oci.image.manifest.v1\u002Bjson", - "Date": "Thu, 01 Dec 2022 18:20:15 GMT", + "Date": "Sun, 22 Jan 2023 03:11:33 GMT", "Docker-Content-Digest": "sha256:04bc85aff82cfcc5e48808ebea9f5667a445f5b4acb175805c7d0926ae64b779", "Docker-Distribution-Api-Version": "registry/2.0", "ETag": "\u0022sha256:04bc85aff82cfcc5e48808ebea9f5667a445f5b4acb175805c7d0926ae64b779\u0022", @@ -1040,9 +443,9 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "a11241c6-acd8-419d-bd3b-ccc6ddf3868c", - "X-Ms-Correlation-Request-Id": "591636c3-6f0c-40ec-a572-9dd75adb20d7", - "X-Ms-Request-Id": "9d421845-7313-4770-8de8-14d99ff27cc2" + "X-Ms-Client-Request-Id": "869f8d3f-3551-4f7a-9d41-2c2f84d0ef85", + "X-Ms-Correlation-Request-Id": "6bea2d9e-8ad9-4566-8ae7-1eaca8564a50", + "X-Ms-Request-Id": "9c95cb84-a630-4e1c-94df-ea31ca8dd7b1" }, "ResponseBody": { "schemaVersion": 2, @@ -1069,9 +472,10 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "025df3d8-b94e-46e2-a34d-e4033e926db9" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a86f7a4f-9380-42f0-b63c-7ac777c1dbab" }, "RequestBody": null, "StatusCode": 401, @@ -1085,16 +489,16 @@ "Connection": "keep-alive", "Content-Length": "208", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:15 GMT", + "Date": "Sun, 22 Jan 2023 03:11: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:delete\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:delete\u0022,error=\u0022insufficient_scope\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "0dd8dd9d-4490-4284-8706-37c83e3f592e" + "X-Ms-Correlation-Request-Id": "3794d82c-ae7b-41a2-9899-29d1813e06a8" }, "ResponseBody": { "errors": [ @@ -1121,20 +525,20 @@ "Connection": "keep-alive", "Content-Length": "170", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "38121d06-7c59-4f9e-89c1-5c40c5a71165" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "47446310-f6dd-473b-b2a0-fa79bba02086" }, "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Adelete\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 01 Dec 2022 18:20:16 GMT", + "Date": "Sun, 22 Jan 2023 03:11:33 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "5fda0215-59a3-4d88-81c7-1878cbdd17f4", - "x-ms-ratelimit-remaining-calls-per-second": "166.5" + "X-Ms-Correlation-Request-Id": "47e466c8-e297-471f-9e23-161787c12d73", + "x-ms-ratelimit-remaining-calls-per-second": "166.516667" }, "ResponseBody": { "access_token": "Sanitized" @@ -1148,8 +552,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.1 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "025df3d8-b94e-46e2-a34d-e4033e926db9" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a86f7a4f-9380-42f0-b63c-7ac777c1dbab" }, "RequestBody": null, "StatusCode": 202, @@ -1162,7 +566,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Thu, 01 Dec 2022 18:20:16 GMT", + "Date": "Sun, 22 Jan 2023 03:11:33 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -1170,10 +574,10 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "025df3d8-b94e-46e2-a34d-e4033e926db9", - "X-Ms-Correlation-Request-Id": "dd449c4b-9576-4e20-9b40-a41965d5d7f8", + "X-Ms-Client-Request-Id": "a86f7a4f-9380-42f0-b63c-7ac777c1dbab", + "X-Ms-Correlation-Request-Id": "17e9652c-e182-4ea9-af81-478ecd0da628", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "316f9363-abca-4171-968c-bdb90613b21a" + "X-Ms-Request-Id": "2b623a17-f7d8-443e-8908-3ff239bb962c" }, "ResponseBody": null } diff --git a/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_oci_manifest_from_stream.json b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_oci_manifest_from_stream.json index ebcd6af31a59..54238b4cad06 100644 --- a/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_oci_manifest_from_stream.json +++ b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_oci_manifest_from_stream.json @@ -8,8 +8,8 @@ "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "7cc37c5c-e9c1-4f8d-b845-5f5e43ea2572" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "65054abb-4544-4649-b889-d1ff60417233" }, "RequestBody": null, "StatusCode": 401, @@ -23,16 +23,16 @@ "Connection": "keep-alive", "Content-Length": "266", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 23 Mar 2022 23:06:31 GMT", + "Date": "Sun, 22 Jan 2023 03:11: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "eca1f8a3-844a-4fe0-a334-4c027e13de8c" + "X-Ms-Correlation-Request-Id": "3a789206-fa04-4c50-9ab8-bf5ab71f15c2" }, "ResponseBody": { "errors": [ @@ -62,21 +62,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "84", + "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "b68ec81e-11d4-4574-963b-f8bddbcaa2b8" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a2d82b1b-a4db-4c72-9bcc-003b72a4c826" }, - "RequestBody": "grant_type=access_token\u0026service=myregistry.azurecr.io\u0026access_token=SecretPlaceholder", + "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 23 Mar 2022 23:06:32 GMT", + "Date": "Sun, 22 Jan 2023 03:11:30 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "a9d3e736-2acb-42fb-afcf-5b16dc5f8e96" + "X-Ms-Correlation-Request-Id": "4efefb58-e11f-4204-aae7-198ad275cd47", + "x-ms-ratelimit-remaining-calls-per-second": "166.6" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -89,21 +90,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "163", + "Content-Length": "175", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "7c454128-f1c5-4d76-90aa-910d1794486a" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a98bebb8-c772-4f28-b19e-2080cec4394e" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 23 Mar 2022 23:06:32 GMT", + "Date": "Sun, 22 Jan 2023 03:11:30 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "630532d8-1760-4ddf-ba6b-7e4d841545dc" + "X-Ms-Correlation-Request-Id": "1d9401d7-698a-4976-a90f-03c98f7bab54", + "x-ms-ratelimit-remaining-calls-per-second": "166.583333" }, "ResponseBody": { "access_token": "Sanitized" @@ -118,8 +120,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "7cc37c5c-e9c1-4f8d-b845-5f5e43ea2572" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "65054abb-4544-4649-b889-d1ff60417233" }, "RequestBody": null, "StatusCode": 202, @@ -132,10 +134,10 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Wed, 23 Mar 2022 23:06:32 GMT", + "Date": "Sun, 22 Jan 2023 03:11:30 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Docker-Upload-Uuid": "013d4303-5479-45e3-aad8-d3fdddf24d03", - "Location": "/v2/oci-artifact/blobs/uploads/013d4303-5479-45e3-aad8-d3fdddf24d03?_nouploadcache=false\u0026_state=IrjEnaxvLVpqsTf4O7rq6yirZRXTAR_XTvZFp4ZgqBt7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMDEzZDQzMDMtNTQ3OS00NWUzLWFhZDgtZDNmZGRkZjI0ZDAzIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTAzLTIzVDIzOjA2OjMyLjkzMDIwOTU1NFoifQ%3D%3D", + "Docker-Upload-Uuid": "a8760132-d205-4fe5-b52e-5cd8da5c4700", + "Location": "/v2/oci-artifact/blobs/uploads/a8760132-d205-4fe5-b52e-5cd8da5c4700?_nouploadcache=false\u0026_state=-5FfKZFNAKfMNqUi8IpnszXoPTGjrRiqcVZ4BmszUHR7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYTg3NjAxMzItZDIwNS00ZmU1LWI1MmUtNWNkOGRhNWM0NzAwIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAxLTIyVDAzOjExOjMwLjMzNjg2MjE2N1oifQ%3D%3D", "Range": "0-0", "Server": "openresty", "Strict-Transport-Security": [ @@ -143,97 +145,14 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "7cc37c5c-e9c1-4f8d-b845-5f5e43ea2572", - "X-Ms-Correlation-Request-Id": "ff9c1d0f-3bfd-4ffd-8a01-eba317332a75", - "X-Ms-Request-Id": "1fa87856-5323-44a1-855d-2f9274166899" + "X-Ms-Client-Request-Id": "65054abb-4544-4649-b889-d1ff60417233", + "X-Ms-Correlation-Request-Id": "6eceb609-2b49-4ef2-b03e-59aefda2f32b", + "X-Ms-Request-Id": "2271f272-21e6-4b21-820d-93a8bfdf20e2" }, "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/013d4303-5479-45e3-aad8-d3fdddf24d03?_nouploadcache=false\u0026_state=IrjEnaxvLVpqsTf4O7rq6yirZRXTAR_XTvZFp4ZgqBt7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMDEzZDQzMDMtNTQ3OS00NWUzLWFhZDgtZDNmZGRkZjI0ZDAzIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTAzLTIzVDIzOjA2OjMyLjkzMDIwOTU1NFoifQ%3D%3D", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "28", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "6bdf1ec4-0363-4dab-a061-24b5f86fe228" - }, - "RequestBody": "//5oAGUAbABsAG8AIAB3AG8AcgBsAGQADQAKAA==", - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 23 Mar 2022 23:06: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5f525dc6-1f6f-4587-a21d-6b2b20c9e41c" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "163", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "d72ad9ba-59ff-472f-9bb4-8201a8355b87" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 23 Mar 2022 23:06:33 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "2b169332-be32-4ad7-9fd5-b1030cac6c19" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/013d4303-5479-45e3-aad8-d3fdddf24d03?_nouploadcache=false\u0026_state=IrjEnaxvLVpqsTf4O7rq6yirZRXTAR_XTvZFp4ZgqBt7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMDEzZDQzMDMtNTQ3OS00NWUzLWFhZDgtZDNmZGRkZjI0ZDAzIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTAzLTIzVDIzOjA2OjMyLjkzMDIwOTU1NFoifQ%3D%3D", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/a8760132-d205-4fe5-b52e-5cd8da5c4700?_nouploadcache=false\u0026_state=-5FfKZFNAKfMNqUi8IpnszXoPTGjrRiqcVZ4BmszUHR7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYTg3NjAxMzItZDIwNS00ZmU1LWI1MmUtNWNkOGRhNWM0NzAwIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAxLTIyVDAzOjExOjMwLjMzNjg2MjE2N1oifQ%3D%3D", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", @@ -242,8 +161,8 @@ "Connection": "keep-alive", "Content-Length": "28", "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "6bdf1ec4-0363-4dab-a061-24b5f86fe228" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1868d6ca-0f74-4495-a047-5602c7ae896e" }, "RequestBody": "//5oAGUAbABsAG8AIAB3AG8AcgBsAGQADQAKAA==", "StatusCode": 202, @@ -256,10 +175,10 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Wed, 23 Mar 2022 23:06:33 GMT", + "Date": "Sun, 22 Jan 2023 03:11:30 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Docker-Upload-Uuid": "013d4303-5479-45e3-aad8-d3fdddf24d03", - "Location": "/v2/oci-artifact/blobs/uploads/013d4303-5479-45e3-aad8-d3fdddf24d03?_nouploadcache=false\u0026_state=38GrJ_1PNtJDefwG2TB4RaUkLNyXNwvLTNKGNm2gcyt7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMDEzZDQzMDMtNTQ3OS00NWUzLWFhZDgtZDNmZGRkZjI0ZDAzIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMi0wMy0yM1QyMzowNjozMloifQ%3D%3D", + "Docker-Upload-Uuid": "a8760132-d205-4fe5-b52e-5cd8da5c4700", + "Location": "/v2/oci-artifact/blobs/uploads/a8760132-d205-4fe5-b52e-5cd8da5c4700?_nouploadcache=false\u0026_state=CMADPSiETMuDEC58JDRO9YiAlFQ-veYRN3IfyG153AV7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYTg3NjAxMzItZDIwNS00ZmU1LWI1MmUtNWNkOGRhNWM0NzAwIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMy0wMS0yMlQwMzoxMTozMFoifQ%3D%3D", "Range": "0-27", "Server": "openresty", "Strict-Transport-Security": [ @@ -267,97 +186,14 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "6bdf1ec4-0363-4dab-a061-24b5f86fe228", - "X-Ms-Correlation-Request-Id": "7a0b5039-7b56-4181-8d5a-e9e29ba449e1", - "X-Ms-Request-Id": "47ead137-79f8-409d-8b4c-7d3ca951d179" + "X-Ms-Client-Request-Id": "1868d6ca-0f74-4495-a047-5602c7ae896e", + "X-Ms-Correlation-Request-Id": "cd2cbbdd-062d-4a39-904a-f3a2fbb55ac8", + "X-Ms-Request-Id": "46ed333e-7a53-4cc2-8f6f-c5213cac682b" }, "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/013d4303-5479-45e3-aad8-d3fdddf24d03?_nouploadcache=false\u0026_state=38GrJ_1PNtJDefwG2TB4RaUkLNyXNwvLTNKGNm2gcyt7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMDEzZDQzMDMtNTQ3OS00NWUzLWFhZDgtZDNmZGRkZjI0ZDAzIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMi0wMy0yM1QyMzowNjozMloifQ%3D%3D\u0026digest=sha256%3A654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "0", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "377d401d-f185-4ac8-99e5-0919e22bbee3" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 23 Mar 2022 23:06: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a037e185-57c2-45c8-9549-b458b7dea8fe" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "163", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "0b845756-9ee2-4bfc-93ce-10314031ece0" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 23 Mar 2022 23:06:33 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e1c14cf9-0e74-4c39-be65-0210f459917f" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/013d4303-5479-45e3-aad8-d3fdddf24d03?_nouploadcache=false\u0026_state=38GrJ_1PNtJDefwG2TB4RaUkLNyXNwvLTNKGNm2gcyt7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMDEzZDQzMDMtNTQ3OS00NWUzLWFhZDgtZDNmZGRkZjI0ZDAzIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMi0wMy0yM1QyMzowNjozMloifQ%3D%3D\u0026digest=sha256%3A654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/a8760132-d205-4fe5-b52e-5cd8da5c4700?_nouploadcache=false\u0026_state=CMADPSiETMuDEC58JDRO9YiAlFQ-veYRN3IfyG153AV7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYTg3NjAxMzItZDIwNS00ZmU1LWI1MmUtNWNkOGRhNWM0NzAwIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMy0wMS0yMlQwMzoxMTozMFoifQ%3D%3D\u0026digest=sha256%3A654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", @@ -366,8 +202,8 @@ "Connection": "keep-alive", "Content-Length": "0", "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "377d401d-f185-4ac8-99e5-0919e22bbee3" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d4b14a70-a5b4-4c4a-8ece-ab7de1480ab1" }, "RequestBody": null, "StatusCode": 201, @@ -380,7 +216,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Wed, 23 Mar 2022 23:06:34 GMT", + "Date": "Sun, 22 Jan 2023 03:11:30 GMT", "Docker-Content-Digest": "sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", "Docker-Distribution-Api-Version": "registry/2.0", "Location": "/v2/oci-artifact/blobs/sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", @@ -390,94 +226,12 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "377d401d-f185-4ac8-99e5-0919e22bbee3", - "X-Ms-Correlation-Request-Id": "35892a91-c133-41d1-978d-85c04dfeffa0", - "X-Ms-Request-Id": "f74df9fb-a5aa-4a92-ba4a-91d28fa13fa4" + "X-Ms-Client-Request-Id": "d4b14a70-a5b4-4c4a-8ece-ab7de1480ab1", + "X-Ms-Correlation-Request-Id": "8aaa4c05-f2c3-4c6f-badc-19c32834096c", + "X-Ms-Request-Id": "ac2bd941-330e-442b-9eab-51125c00ac64" }, "ResponseBody": null }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "0", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "e42fca86-8c13-481e-8f30-3ed255436af3" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 23 Mar 2022 23:06: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ad6f794f-8cc7-4c77-8658-7490a8876967" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "163", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "6e268d83-4049-4265-9f8c-18731219dc0f" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 23 Mar 2022 23:06:34 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "39eb33d6-d27f-40e1-a46e-8ae13218ae90" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, { "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/", "RequestMethod": "POST", @@ -487,8 +241,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "e42fca86-8c13-481e-8f30-3ed255436af3" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "87b7eb1c-02b2-4117-a26f-ef3113f6a2e8" }, "RequestBody": null, "StatusCode": 202, @@ -501,10 +255,10 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Wed, 23 Mar 2022 23:06:35 GMT", + "Date": "Sun, 22 Jan 2023 03:11:30 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Docker-Upload-Uuid": "25d285ed-bfd7-4ead-b1fd-dba2a2f8323f", - "Location": "/v2/oci-artifact/blobs/uploads/25d285ed-bfd7-4ead-b1fd-dba2a2f8323f?_nouploadcache=false\u0026_state=mwokQNbxlYbQIubxW7MgA4-uf02z4LLF03YUgtUZEJ57Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMjVkMjg1ZWQtYmZkNy00ZWFkLWIxZmQtZGJhMmEyZjgzMjNmIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTAzLTIzVDIzOjA2OjM0Ljk4NDk0NzkzM1oifQ%3D%3D", + "Docker-Upload-Uuid": "474c000b-2d2f-4b49-a83c-0e9fca7572bd", + "Location": "/v2/oci-artifact/blobs/uploads/474c000b-2d2f-4b49-a83c-0e9fca7572bd?_nouploadcache=false\u0026_state=Kun8oXOioqSPaGk9Q-q6V1rh5Uw9VC4rzqq1iIhP_Dh7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNDc0YzAwMGItMmQyZi00YjQ5LWE4M2MtMGU5ZmNhNzU3MmJkIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAxLTIyVDAzOjExOjMwLjYwMDMwMDYzNFoifQ%3D%3D", "Range": "0-0", "Server": "openresty", "Strict-Transport-Security": [ @@ -512,97 +266,14 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "e42fca86-8c13-481e-8f30-3ed255436af3", - "X-Ms-Correlation-Request-Id": "c526e855-83fd-45c3-b563-078223c04d3b", - "X-Ms-Request-Id": "7c027448-b7f4-4265-bf42-340ae06e1911" + "X-Ms-Client-Request-Id": "87b7eb1c-02b2-4117-a26f-ef3113f6a2e8", + "X-Ms-Correlation-Request-Id": "9ed00622-4508-408f-bf3b-7b127dc31fe0", + "X-Ms-Request-Id": "1aaeffff-ca48-4cf3-a083-18c38bf05234" }, "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/25d285ed-bfd7-4ead-b1fd-dba2a2f8323f?_nouploadcache=false\u0026_state=mwokQNbxlYbQIubxW7MgA4-uf02z4LLF03YUgtUZEJ57Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMjVkMjg1ZWQtYmZkNy00ZWFkLWIxZmQtZGJhMmEyZjgzMjNmIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTAzLTIzVDIzOjA2OjM0Ljk4NDk0NzkzM1oifQ%3D%3D", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "171", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "2527daa2-4906-46a8-9532-cca7ea0edf33" - }, - "RequestBody": "H4sIAAAAAAAA/\u002BzRwcrCMBAE4Dn/8L9DD551tulmn6dUq4VioUb06VUsORU8aRQx32VzSjYzi2bYt90WKZGkmU2T5HxOZ6lo6lTNPCjUUlFo0q2i4yHUI8hn75l/7kvE/lf1GLq2bsIynMOr37jn4b1/3L\u002BrYv9lWYkDxYkoireE\u002BOP9Xy87bNCjx4ACJwwY0WONf/x9erUsy7IsoVsAAAD//yO/fykACgAA", - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 23 Mar 2022 23:06: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "9e3a8139-d68d-451c-b4ef-9cb5084314b5" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "163", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "b8d57516-ca26-410c-9f7a-55292d1b28db" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 23 Mar 2022 23:06:35 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "9da6e299-7c6f-4977-8a86-d22c63e3cebd" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/25d285ed-bfd7-4ead-b1fd-dba2a2f8323f?_nouploadcache=false\u0026_state=mwokQNbxlYbQIubxW7MgA4-uf02z4LLF03YUgtUZEJ57Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMjVkMjg1ZWQtYmZkNy00ZWFkLWIxZmQtZGJhMmEyZjgzMjNmIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTAzLTIzVDIzOjA2OjM0Ljk4NDk0NzkzM1oifQ%3D%3D", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/474c000b-2d2f-4b49-a83c-0e9fca7572bd?_nouploadcache=false\u0026_state=Kun8oXOioqSPaGk9Q-q6V1rh5Uw9VC4rzqq1iIhP_Dh7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNDc0YzAwMGItMmQyZi00YjQ5LWE4M2MtMGU5ZmNhNzU3MmJkIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAxLTIyVDAzOjExOjMwLjYwMDMwMDYzNFoifQ%3D%3D", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", @@ -611,8 +282,8 @@ "Connection": "keep-alive", "Content-Length": "171", "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "2527daa2-4906-46a8-9532-cca7ea0edf33" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "184d971e-cd15-427d-8f8c-62fab577559f" }, "RequestBody": "H4sIAAAAAAAA/\u002BzRwcrCMBAE4Dn/8L9DD551tulmn6dUq4VioUb06VUsORU8aRQx32VzSjYzi2bYt90WKZGkmU2T5HxOZ6lo6lTNPCjUUlFo0q2i4yHUI8hn75l/7kvE/lf1GLq2bsIynMOr37jn4b1/3L\u002BrYv9lWYkDxYkoireE\u002BOP9Xy87bNCjx4ACJwwY0WONf/x9erUsy7IsoVsAAAD//yO/fykACgAA", "StatusCode": 202, @@ -625,10 +296,10 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Wed, 23 Mar 2022 23:06:35 GMT", + "Date": "Sun, 22 Jan 2023 03:11:30 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Docker-Upload-Uuid": "25d285ed-bfd7-4ead-b1fd-dba2a2f8323f", - "Location": "/v2/oci-artifact/blobs/uploads/25d285ed-bfd7-4ead-b1fd-dba2a2f8323f?_nouploadcache=false\u0026_state=rVwFuY9HEaxbqDRjEB2Z6RoRA1TcyfySp94ZPCKKEwF7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMjVkMjg1ZWQtYmZkNy00ZWFkLWIxZmQtZGJhMmEyZjgzMjNmIiwiT2Zmc2V0IjoxNzEsIlN0YXJ0ZWRBdCI6IjIwMjItMDMtMjNUMjM6MDY6MzRaIn0%3D", + "Docker-Upload-Uuid": "474c000b-2d2f-4b49-a83c-0e9fca7572bd", + "Location": "/v2/oci-artifact/blobs/uploads/474c000b-2d2f-4b49-a83c-0e9fca7572bd?_nouploadcache=false\u0026_state=01RuD-fuNrhoDdarWAn35vkQvvmO8E4lKST1mJgyNLx7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNDc0YzAwMGItMmQyZi00YjQ5LWE4M2MtMGU5ZmNhNzU3MmJkIiwiT2Zmc2V0IjoxNzEsIlN0YXJ0ZWRBdCI6IjIwMjMtMDEtMjJUMDM6MTE6MzBaIn0%3D", "Range": "0-170", "Server": "openresty", "Strict-Transport-Security": [ @@ -636,97 +307,14 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "2527daa2-4906-46a8-9532-cca7ea0edf33", - "X-Ms-Correlation-Request-Id": "d059ac32-3c37-42b7-8a5d-b23ea7a932d9", - "X-Ms-Request-Id": "52c0247c-9e69-4322-8c15-d91aebebdbb8" + "X-Ms-Client-Request-Id": "184d971e-cd15-427d-8f8c-62fab577559f", + "X-Ms-Correlation-Request-Id": "83cb1aae-0a8e-464c-97ba-92b774a975db", + "X-Ms-Request-Id": "f49652a7-3ab7-4391-bb8b-5551e47860ce" }, "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/25d285ed-bfd7-4ead-b1fd-dba2a2f8323f?_nouploadcache=false\u0026_state=rVwFuY9HEaxbqDRjEB2Z6RoRA1TcyfySp94ZPCKKEwF7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMjVkMjg1ZWQtYmZkNy00ZWFkLWIxZmQtZGJhMmEyZjgzMjNmIiwiT2Zmc2V0IjoxNzEsIlN0YXJ0ZWRBdCI6IjIwMjItMDMtMjNUMjM6MDY6MzRaIn0%3D\u0026digest=sha256%3Ad25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "0", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "52fd5cc6-6a52-4b62-ac0b-20f4a43be4bc" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 23 Mar 2022 23:06: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6f489b9d-b025-4e41-af31-5eac10e0f056" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "163", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "43a18589-b11c-46c2-9d28-c58f288000e8" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 23 Mar 2022 23:06:35 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "a98d5f1a-a067-4ae6-8a2c-ca2bf0bf0e14" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/25d285ed-bfd7-4ead-b1fd-dba2a2f8323f?_nouploadcache=false\u0026_state=rVwFuY9HEaxbqDRjEB2Z6RoRA1TcyfySp94ZPCKKEwF7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMjVkMjg1ZWQtYmZkNy00ZWFkLWIxZmQtZGJhMmEyZjgzMjNmIiwiT2Zmc2V0IjoxNzEsIlN0YXJ0ZWRBdCI6IjIwMjItMDMtMjNUMjM6MDY6MzRaIn0%3D\u0026digest=sha256%3Ad25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/474c000b-2d2f-4b49-a83c-0e9fca7572bd?_nouploadcache=false\u0026_state=01RuD-fuNrhoDdarWAn35vkQvvmO8E4lKST1mJgyNLx7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNDc0YzAwMGItMmQyZi00YjQ5LWE4M2MtMGU5ZmNhNzU3MmJkIiwiT2Zmc2V0IjoxNzEsIlN0YXJ0ZWRBdCI6IjIwMjMtMDEtMjJUMDM6MTE6MzBaIn0%3D\u0026digest=sha256%3Ad25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", @@ -735,8 +323,8 @@ "Connection": "keep-alive", "Content-Length": "0", "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "52fd5cc6-6a52-4b62-ac0b-20f4a43be4bc" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "18798e1a-366d-415b-94fd-161552975307" }, "RequestBody": null, "StatusCode": 201, @@ -749,7 +337,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Wed, 23 Mar 2022 23:06:35 GMT", + "Date": "Sun, 22 Jan 2023 03:11:30 GMT", "Docker-Content-Digest": "sha256:d25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", "Docker-Distribution-Api-Version": "registry/2.0", "Location": "/v2/oci-artifact/blobs/sha256:d25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", @@ -759,124 +347,24 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "52fd5cc6-6a52-4b62-ac0b-20f4a43be4bc", - "X-Ms-Correlation-Request-Id": "9d64d977-7385-4586-ab08-bfa3447ce8e2", - "X-Ms-Request-Id": "db882784-1bfb-44cc-94d5-c7c64870c807" + "X-Ms-Client-Request-Id": "18798e1a-366d-415b-94fd-161552975307", + "X-Ms-Correlation-Request-Id": "a4974e34-09b6-4122-ba43-2b159a2d84e0", + "X-Ms-Request-Id": "8176688d-0274-4f86-8117-3367cbf737c9" }, "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/sha256%3Ad5dd4479d4b658f68b10a47e51815472f3313dc7886ec17a1744deb21dc186f4", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "585", - "Content-Type": "application/vnd.oci.image.manifest.v1\u002Bjson", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "101a6d62-a7f0-48b8-967b-99a971bb8239" - }, - "RequestBody": { - "schemaVersion": 2, - "config": { - "mediaType": "application/vnd.oci.image.config.v1\u002Bjson", - "digest": "sha256:d25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", - "size": 171 - }, - "layers": [ - { - "mediaType": "application/vnd.oci.image.layer.v1.tar", - "digest": "sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", - "size": 28, - "annotations": { - "org.opencontainers.image.title": "artifact.txt" - } - } - ] - }, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 23 Mar 2022 23:06: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b3ee331c-e74a-45a4-b46b-e962e7ba1ed7" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "163", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "3755d1b3-694d-45ca-ade2-a7cb5afa06ac" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 23 Mar 2022 23:06:35 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "92b0fbae-30dd-4b81-8d5b-2e172d0d46cf" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/sha256%3Ad5dd4479d4b658f68b10a47e51815472f3313dc7886ec17a1744deb21dc186f4", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/sha256%3A04bc85aff82cfcc5e48808ebea9f5667a445f5b4acb175805c7d0926ae64b779", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "Content-Length": "585", + "Content-Length": "567", "Content-Type": "application/vnd.oci.image.manifest.v1\u002Bjson", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "101a6d62-a7f0-48b8-967b-99a971bb8239" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "aa0dde59-d522-4eee-907e-5720fccf033c" }, "RequestBody": { "schemaVersion": 2, @@ -906,108 +394,32 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Wed, 23 Mar 2022 23:06:36 GMT", - "Docker-Content-Digest": "sha256:d5dd4479d4b658f68b10a47e51815472f3313dc7886ec17a1744deb21dc186f4", + "Date": "Sun, 22 Jan 2023 03:11:31 GMT", + "Docker-Content-Digest": "sha256:04bc85aff82cfcc5e48808ebea9f5667a445f5b4acb175805c7d0926ae64b779", "Docker-Distribution-Api-Version": "registry/2.0", - "Location": "/v2/oci-artifact/manifests/sha256:d5dd4479d4b658f68b10a47e51815472f3313dc7886ec17a1744deb21dc186f4", + "Location": "/v2/oci-artifact/manifests/sha256:04bc85aff82cfcc5e48808ebea9f5667a445f5b4acb175805c7d0926ae64b779", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "101a6d62-a7f0-48b8-967b-99a971bb8239", - "X-Ms-Correlation-Request-Id": "7b4b7e25-28f2-47e4-8aa5-c030a91f599c", - "X-Ms-Request-Id": "fc958996-918c-4773-a8e5-2b48b666e6aa" + "X-Ms-Client-Request-Id": "aa0dde59-d522-4eee-907e-5720fccf033c", + "X-Ms-Correlation-Request-Id": "da48a4e9-5e0a-4496-9b02-92db1a966f57", + "X-Ms-Request-Id": "1fd409c1-f814-4c3c-82b7-5dc14dbc8751" }, "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/sha256%3Ad5dd4479d4b658f68b10a47e51815472f3313dc7886ec17a1744deb21dc186f4", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/vnd.oci.image.manifest.v1\u002Bjson", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "1883f6ed-2c30-40d8-a72b-7663ec50cecc" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "206", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 23 Mar 2022 23:06: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ea4e7db5-420b-4eff-9f0a-d37ebe90235d" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "156", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "79565445-b709-4071-b9f2-9263b5641ce5" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 23 Mar 2022 23:06:36 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e2206a7a-e986-49d0-8f31-fd51d29dd538" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/sha256%3Ad5dd4479d4b658f68b10a47e51815472f3313dc7886ec17a1744deb21dc186f4", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/sha256%3A04bc85aff82cfcc5e48808ebea9f5667a445f5b4acb175805c7d0926ae64b779", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/vnd.oci.image.manifest.v1\u002Bjson", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "1883f6ed-2c30-40d8-a72b-7663ec50cecc" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8a46996e-d645-443f-ae2e-2eb4e6a01ea9" }, "RequestBody": null, "StatusCode": 200, @@ -1019,21 +431,21 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "585", + "Content-Length": "567", "Content-Type": "application/vnd.oci.image.manifest.v1\u002Bjson", - "Date": "Wed, 23 Mar 2022 23:06:36 GMT", - "Docker-Content-Digest": "sha256:d5dd4479d4b658f68b10a47e51815472f3313dc7886ec17a1744deb21dc186f4", + "Date": "Sun, 22 Jan 2023 03:11:31 GMT", + "Docker-Content-Digest": "sha256:04bc85aff82cfcc5e48808ebea9f5667a445f5b4acb175805c7d0926ae64b779", "Docker-Distribution-Api-Version": "registry/2.0", - "ETag": "\u0022sha256:d5dd4479d4b658f68b10a47e51815472f3313dc7886ec17a1744deb21dc186f4\u0022", + "ETag": "\u0022sha256:04bc85aff82cfcc5e48808ebea9f5667a445f5b4acb175805c7d0926ae64b779\u0022", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "1883f6ed-2c30-40d8-a72b-7663ec50cecc", - "X-Ms-Correlation-Request-Id": "874b70ff-2880-471b-b50c-79a1972ef0c9", - "X-Ms-Request-Id": "668f4f5a-a475-4fc8-bb7f-8c882e261c68" + "X-Ms-Client-Request-Id": "8a46996e-d645-443f-ae2e-2eb4e6a01ea9", + "X-Ms-Correlation-Request-Id": "479ec3a9-ace2-40cd-a3e6-f9c648812617", + "X-Ms-Request-Id": "31414045-b43a-4a43-88a7-e77f7ec5f68f" }, "ResponseBody": { "schemaVersion": 2, @@ -1055,14 +467,15 @@ } }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/sha256%3Ad5dd4479d4b658f68b10a47e51815472f3313dc7886ec17a1744deb21dc186f4", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/sha256%3A04bc85aff82cfcc5e48808ebea9f5667a445f5b4acb175805c7d0926ae64b779", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "bf39c930-cd9e-4449-b8b4-455270f19923" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "123059b4-e705-424f-9db0-0d4a8235a769" }, "RequestBody": null, "StatusCode": 401, @@ -1076,16 +489,16 @@ "Connection": "keep-alive", "Content-Length": "208", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 23 Mar 2022 23:06:36 GMT", + "Date": "Sun, 22 Jan 2023 03:11:31 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:delete\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:delete\u0022,error=\u0022insufficient_scope\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "3d0aa80f-b695-4fda-832a-5848be540db7" + "X-Ms-Correlation-Request-Id": "1613c841-bdd0-44f7-b5d8-97abdb083cb2" }, "ResponseBody": { "errors": [ @@ -1110,36 +523,37 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "158", + "Content-Length": "170", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "d55f56bd-146b-4fd6-9cd6-d273d40a9ae0" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "381896c0-0ca3-4612-8480-a30000349d92" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Adelete\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Adelete\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 23 Mar 2022 23:06:36 GMT", + "Date": "Sun, 22 Jan 2023 03:11:31 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "6d67cc08-cbbb-4eab-9f4a-1e125f862259" + "X-Ms-Correlation-Request-Id": "93598611-5df2-4506-a9df-bdab1a1dc25b", + "x-ms-ratelimit-remaining-calls-per-second": "166.566667" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/sha256%3Ad5dd4479d4b658f68b10a47e51815472f3313dc7886ec17a1744deb21dc186f4", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/sha256%3A04bc85aff82cfcc5e48808ebea9f5667a445f5b4acb175805c7d0926ae64b779", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "bf39c930-cd9e-4449-b8b4-455270f19923" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "123059b4-e705-424f-9db0-0d4a8235a769" }, "RequestBody": null, "StatusCode": 202, @@ -1152,7 +566,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Wed, 23 Mar 2022 23:06:36 GMT", + "Date": "Sun, 22 Jan 2023 03:11:31 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -1160,9 +574,10 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "bf39c930-cd9e-4449-b8b4-455270f19923", - "X-Ms-Correlation-Request-Id": "8cad896a-decc-4319-8edf-48c469136c74", - "X-Ms-Request-Id": "f88b620d-2096-4624-808d-2dffb7c01caf" + "X-Ms-Client-Request-Id": "123059b4-e705-424f-9db0-0d4a8235a769", + "X-Ms-Correlation-Request-Id": "8fb95f28-e20e-404f-9648-2a08292a60a3", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", + "X-Ms-Request-Id": "ed98bdf0-6f3c-48bb-ade4-c01981aab4f9" }, "ResponseBody": null } diff --git a/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_oci_manifest_with_tag.json b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_oci_manifest_with_tag.json index 3679cb09aa9a..932913c08a9d 100644 --- a/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_oci_manifest_with_tag.json +++ b/sdk/containerregistry/container-registry/recordings/node/containerregistryblobclient/recording_can_upload_oci_manifest_with_tag.json @@ -8,8 +8,8 @@ "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "c5938d93-2737-4371-bf46-43ba7b750894" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8ca6895e-afe7-491f-ad8f-91c92b8daeda" }, "RequestBody": null, "StatusCode": 401, @@ -23,16 +23,16 @@ "Connection": "keep-alive", "Content-Length": "266", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:49 GMT", + "Date": "Sun, 22 Jan 2023 03:11: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "9088ec09-50c1-4794-992b-d728dbb2bba5" + "X-Ms-Correlation-Request-Id": "fd8e06d4-b348-4c39-a959-1d85c87edf8d" }, "ResponseBody": { "errors": [ @@ -62,21 +62,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "84", + "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "3ffbe212-24b7-45d5-a4e2-50ceea44d9f2" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d39f1785-5ffb-47e8-9000-2fbf278de345" }, - "RequestBody": "grant_type=access_token\u0026service=myregistry.azurecr.io\u0026access_token=SecretPlaceholder", + "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:49 GMT", + "Date": "Sun, 22 Jan 2023 03:11:34 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "70affad8-3765-4ef5-afbb-8ba847fd9da4" + "X-Ms-Correlation-Request-Id": "268f0694-b39b-44ae-9b7c-c7ddb0f46916", + "x-ms-ratelimit-remaining-calls-per-second": "166.5" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -89,21 +90,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "163", + "Content-Length": "175", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "67b2c047-9164-4d47-b450-6779ad2f7983" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "71bb0561-1167-4214-967f-4d55a77ff703" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:49 GMT", + "Date": "Sun, 22 Jan 2023 03:11:34 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "7fb788d1-73cb-4f49-9e39-1d1b0d2c60b2" + "X-Ms-Correlation-Request-Id": "b65eeef4-dd45-4eb2-b6ff-6db3fdee6df2", + "x-ms-ratelimit-remaining-calls-per-second": "166.483333" }, "ResponseBody": { "access_token": "Sanitized" @@ -118,8 +120,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "c5938d93-2737-4371-bf46-43ba7b750894" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8ca6895e-afe7-491f-ad8f-91c92b8daeda" }, "RequestBody": null, "StatusCode": 202, @@ -132,10 +134,10 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Tue, 29 Mar 2022 18:22:50 GMT", + "Date": "Sun, 22 Jan 2023 03:11:34 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Docker-Upload-Uuid": "6e73a156-10b0-439d-8dfd-2ee959a17832", - "Location": "/v2/oci-artifact/blobs/uploads/6e73a156-10b0-439d-8dfd-2ee959a17832?_nouploadcache=false\u0026_state=okZRVjDGxe3dpFc4y1cZjJlgYU9OIOOBuOyHdNw4SC97Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNmU3M2ExNTYtMTBiMC00MzlkLThkZmQtMmVlOTU5YTE3ODMyIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTAzLTI5VDE4OjIyOjUwLjAyNDYzMzdaIn0%3D", + "Docker-Upload-Uuid": "f67c5794-7ac2-4e87-865e-f86ae84c70fd", + "Location": "/v2/oci-artifact/blobs/uploads/f67c5794-7ac2-4e87-865e-f86ae84c70fd?_nouploadcache=false\u0026_state=2gsjy7fOVEqXgbFcAcsVblMjhBtKFMKdKijUiQY0HoN7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZjY3YzU3OTQtN2FjMi00ZTg3LTg2NWUtZjg2YWU4NGM3MGZkIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAxLTIyVDAzOjExOjM0LjE4MzI1NjI0NFoifQ%3D%3D", "Range": "0-0", "Server": "openresty", "Strict-Transport-Security": [ @@ -143,97 +145,14 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "c5938d93-2737-4371-bf46-43ba7b750894", - "X-Ms-Correlation-Request-Id": "bb26ef1d-0e51-4677-bf99-23ab52a868e9", - "X-Ms-Request-Id": "883906b3-6a89-44a7-8524-4a4cd723ba98" + "X-Ms-Client-Request-Id": "8ca6895e-afe7-491f-ad8f-91c92b8daeda", + "X-Ms-Correlation-Request-Id": "6d1b1ce0-0559-49c7-a7bf-8af34783395a", + "X-Ms-Request-Id": "f88138c8-4afd-4a5f-ac29-dd164b5f6f24" }, "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/6e73a156-10b0-439d-8dfd-2ee959a17832?_nouploadcache=false\u0026_state=okZRVjDGxe3dpFc4y1cZjJlgYU9OIOOBuOyHdNw4SC97Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNmU3M2ExNTYtMTBiMC00MzlkLThkZmQtMmVlOTU5YTE3ODMyIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTAzLTI5VDE4OjIyOjUwLjAyNDYzMzdaIn0%3D", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "28", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "1048e11f-f0fd-4230-8004-d8c89e34f79e" - }, - "RequestBody": "//5oAGUAbABsAG8AIAB3AG8AcgBsAGQADQAKAA==", - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:50 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "21d211f0-a054-492f-8cb0-f1672cfb03a4" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "163", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "0d23e9d1-4a30-4da8-a5c2-a9b2360721f5" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:50 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e00f8301-c7b2-40f0-af25-acf7ffb624b4" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/6e73a156-10b0-439d-8dfd-2ee959a17832?_nouploadcache=false\u0026_state=okZRVjDGxe3dpFc4y1cZjJlgYU9OIOOBuOyHdNw4SC97Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNmU3M2ExNTYtMTBiMC00MzlkLThkZmQtMmVlOTU5YTE3ODMyIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTAzLTI5VDE4OjIyOjUwLjAyNDYzMzdaIn0%3D", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/f67c5794-7ac2-4e87-865e-f86ae84c70fd?_nouploadcache=false\u0026_state=2gsjy7fOVEqXgbFcAcsVblMjhBtKFMKdKijUiQY0HoN7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZjY3YzU3OTQtN2FjMi00ZTg3LTg2NWUtZjg2YWU4NGM3MGZkIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAxLTIyVDAzOjExOjM0LjE4MzI1NjI0NFoifQ%3D%3D", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", @@ -242,8 +161,8 @@ "Connection": "keep-alive", "Content-Length": "28", "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "1048e11f-f0fd-4230-8004-d8c89e34f79e" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "abe9e25e-0439-4b0b-836e-e5aee61db02a" }, "RequestBody": "//5oAGUAbABsAG8AIAB3AG8AcgBsAGQADQAKAA==", "StatusCode": 202, @@ -256,10 +175,10 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Tue, 29 Mar 2022 18:22:50 GMT", + "Date": "Sun, 22 Jan 2023 03:11:34 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Docker-Upload-Uuid": "6e73a156-10b0-439d-8dfd-2ee959a17832", - "Location": "/v2/oci-artifact/blobs/uploads/6e73a156-10b0-439d-8dfd-2ee959a17832?_nouploadcache=false\u0026_state=ngXONIT3lG_VGCGN8WtT7EIAItSnbn70w3fFXMPtb2x7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNmU3M2ExNTYtMTBiMC00MzlkLThkZmQtMmVlOTU5YTE3ODMyIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMi0wMy0yOVQxODoyMjo1MFoifQ%3D%3D", + "Docker-Upload-Uuid": "f67c5794-7ac2-4e87-865e-f86ae84c70fd", + "Location": "/v2/oci-artifact/blobs/uploads/f67c5794-7ac2-4e87-865e-f86ae84c70fd?_nouploadcache=false\u0026_state=Ho23Ypu9AwlcRBzcpaPYUy0xbrvJQwteixidyJr9bWt7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZjY3YzU3OTQtN2FjMi00ZTg3LTg2NWUtZjg2YWU4NGM3MGZkIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMy0wMS0yMlQwMzoxMTozNFoifQ%3D%3D", "Range": "0-27", "Server": "openresty", "Strict-Transport-Security": [ @@ -267,97 +186,14 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "1048e11f-f0fd-4230-8004-d8c89e34f79e", - "X-Ms-Correlation-Request-Id": "9f2d648c-afd7-4b3f-8d79-3e57b254be3b", - "X-Ms-Request-Id": "9bbf5d7a-499e-4850-8483-ea9dedd02304" + "X-Ms-Client-Request-Id": "abe9e25e-0439-4b0b-836e-e5aee61db02a", + "X-Ms-Correlation-Request-Id": "819f6b4b-3bbd-48ed-bc9a-52227f2286bf", + "X-Ms-Request-Id": "54ac870c-3907-4e63-87bf-ba377f66fc2e" }, "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/6e73a156-10b0-439d-8dfd-2ee959a17832?_nouploadcache=false\u0026_state=ngXONIT3lG_VGCGN8WtT7EIAItSnbn70w3fFXMPtb2x7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNmU3M2ExNTYtMTBiMC00MzlkLThkZmQtMmVlOTU5YTE3ODMyIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMi0wMy0yOVQxODoyMjo1MFoifQ%3D%3D\u0026digest=sha256%3A654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "0", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "a39fb0bb-5bce-41f6-9cb6-b6f703a35552" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:50 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "db89d0bc-a024-4207-94a4-c54ea1e515ec" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "163", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "d12af8f7-7b52-4a04-b86f-bc1da07101a9" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:50 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "9cc5374f-e28f-4426-a261-4f62eab916ef" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/6e73a156-10b0-439d-8dfd-2ee959a17832?_nouploadcache=false\u0026_state=ngXONIT3lG_VGCGN8WtT7EIAItSnbn70w3fFXMPtb2x7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNmU3M2ExNTYtMTBiMC00MzlkLThkZmQtMmVlOTU5YTE3ODMyIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMi0wMy0yOVQxODoyMjo1MFoifQ%3D%3D\u0026digest=sha256%3A654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/f67c5794-7ac2-4e87-865e-f86ae84c70fd?_nouploadcache=false\u0026_state=Ho23Ypu9AwlcRBzcpaPYUy0xbrvJQwteixidyJr9bWt7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZjY3YzU3OTQtN2FjMi00ZTg3LTg2NWUtZjg2YWU4NGM3MGZkIiwiT2Zmc2V0IjoyOCwiU3RhcnRlZEF0IjoiMjAyMy0wMS0yMlQwMzoxMTozNFoifQ%3D%3D\u0026digest=sha256%3A654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", @@ -366,8 +202,8 @@ "Connection": "keep-alive", "Content-Length": "0", "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "a39fb0bb-5bce-41f6-9cb6-b6f703a35552" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "eefc5a34-a1a2-4b89-a6a6-94e687d81423" }, "RequestBody": null, "StatusCode": 201, @@ -380,7 +216,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Tue, 29 Mar 2022 18:22:50 GMT", + "Date": "Sun, 22 Jan 2023 03:11:34 GMT", "Docker-Content-Digest": "sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", "Docker-Distribution-Api-Version": "registry/2.0", "Location": "/v2/oci-artifact/blobs/sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", @@ -390,94 +226,12 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "a39fb0bb-5bce-41f6-9cb6-b6f703a35552", - "X-Ms-Correlation-Request-Id": "57434d57-831b-462b-99c5-ddd1d24681bb", - "X-Ms-Request-Id": "701f204c-0ef8-4bb6-a092-b14a6d6f7738" + "X-Ms-Client-Request-Id": "eefc5a34-a1a2-4b89-a6a6-94e687d81423", + "X-Ms-Correlation-Request-Id": "5b6f7d0e-f5e1-4e20-b5c6-cb0ae373f3bb", + "X-Ms-Request-Id": "39525451-be70-4ae0-ab9e-65d036dcd498" }, "ResponseBody": null }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "0", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "e1b04840-5692-42e4-93e9-73c53d865ee8" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:50 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d8c68c3b-9018-4022-8162-66d6a574f6f8" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "163", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "e87f05d1-d983-49ae-b58d-ffdd915b00a2" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:50 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "02253df3-e502-4937-852b-a8b3d679ed02" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, { "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/", "RequestMethod": "POST", @@ -487,8 +241,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "e1b04840-5692-42e4-93e9-73c53d865ee8" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "227f6dfe-e574-4846-8bfc-30f7235c935b" }, "RequestBody": null, "StatusCode": 202, @@ -501,10 +255,10 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Tue, 29 Mar 2022 18:22:51 GMT", + "Date": "Sun, 22 Jan 2023 03:11:34 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Docker-Upload-Uuid": "fc8b3764-fad4-40e6-98a2-aac036c15769", - "Location": "/v2/oci-artifact/blobs/uploads/fc8b3764-fad4-40e6-98a2-aac036c15769?_nouploadcache=false\u0026_state=tlIobr-ksnZ_Z_V5zjtwFiDaaDbyESAlAUBYEJ0yW817Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZmM4YjM3NjQtZmFkNC00MGU2LTk4YTItYWFjMDM2YzE1NzY5IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTAzLTI5VDE4OjIyOjUxLjExNjU3MzgxNFoifQ%3D%3D", + "Docker-Upload-Uuid": "c641a18e-2d68-4c7a-aee5-b93a78b672ca", + "Location": "/v2/oci-artifact/blobs/uploads/c641a18e-2d68-4c7a-aee5-b93a78b672ca?_nouploadcache=false\u0026_state=F-6jPFXnNmMk8KqiBc1R_sOn4YSnt6sf9l9Kb80On2t7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYzY0MWExOGUtMmQ2OC00YzdhLWFlZTUtYjkzYTc4YjY3MmNhIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAxLTIyVDAzOjExOjM0LjQ3MDU4NzAxOFoifQ%3D%3D", "Range": "0-0", "Server": "openresty", "Strict-Transport-Security": [ @@ -512,97 +266,14 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "e1b04840-5692-42e4-93e9-73c53d865ee8", - "X-Ms-Correlation-Request-Id": "28727a14-9ad9-48ed-9c95-f795657a3db3", - "X-Ms-Request-Id": "c38a9c14-eb17-4220-a8ae-f3f3e349f400" + "X-Ms-Client-Request-Id": "227f6dfe-e574-4846-8bfc-30f7235c935b", + "X-Ms-Correlation-Request-Id": "feae64d2-ee82-4da0-a129-3f4967df67a6", + "X-Ms-Request-Id": "28f31030-16b5-4700-94e0-5945f83a0a1c" }, "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/fc8b3764-fad4-40e6-98a2-aac036c15769?_nouploadcache=false\u0026_state=tlIobr-ksnZ_Z_V5zjtwFiDaaDbyESAlAUBYEJ0yW817Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZmM4YjM3NjQtZmFkNC00MGU2LTk4YTItYWFjMDM2YzE1NzY5IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTAzLTI5VDE4OjIyOjUxLjExNjU3MzgxNFoifQ%3D%3D", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "171", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "d26becb1-122d-435d-a66b-940e9c6b6dce" - }, - "RequestBody": "H4sIAAAAAAAA/\u002BzRwcrCMBAE4Dn/8L9DD551tulmn6dUq4VioUb06VUsORU8aRQx32VzSjYzi2bYt90WKZGkmU2T5HxOZ6lo6lTNPCjUUlFo0q2i4yHUI8hn75l/7kvE/lf1GLq2bsIynMOr37jn4b1/3L\u002BrYv9lWYkDxYkoireE\u002BOP9Xy87bNCjx4ACJwwY0WONf/x9erUsy7IsoVsAAAD//yO/fykACgAA", - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:51 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "19fc43a6-0858-4316-81d7-81980ac1eafd" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "163", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "2953f5d1-58be-4925-b783-1aa927be0304" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:51 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "ed2f6e6a-278d-4227-a713-5746a872afbf" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/fc8b3764-fad4-40e6-98a2-aac036c15769?_nouploadcache=false\u0026_state=tlIobr-ksnZ_Z_V5zjtwFiDaaDbyESAlAUBYEJ0yW817Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZmM4YjM3NjQtZmFkNC00MGU2LTk4YTItYWFjMDM2YzE1NzY5IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIyLTAzLTI5VDE4OjIyOjUxLjExNjU3MzgxNFoifQ%3D%3D", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/c641a18e-2d68-4c7a-aee5-b93a78b672ca?_nouploadcache=false\u0026_state=F-6jPFXnNmMk8KqiBc1R_sOn4YSnt6sf9l9Kb80On2t7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYzY0MWExOGUtMmQ2OC00YzdhLWFlZTUtYjkzYTc4YjY3MmNhIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAxLTIyVDAzOjExOjM0LjQ3MDU4NzAxOFoifQ%3D%3D", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", @@ -611,8 +282,8 @@ "Connection": "keep-alive", "Content-Length": "171", "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "d26becb1-122d-435d-a66b-940e9c6b6dce" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8aa5ed62-df7e-4e20-a7ea-8aea5267eccc" }, "RequestBody": "H4sIAAAAAAAA/\u002BzRwcrCMBAE4Dn/8L9DD551tulmn6dUq4VioUb06VUsORU8aRQx32VzSjYzi2bYt90WKZGkmU2T5HxOZ6lo6lTNPCjUUlFo0q2i4yHUI8hn75l/7kvE/lf1GLq2bsIynMOr37jn4b1/3L\u002BrYv9lWYkDxYkoireE\u002BOP9Xy87bNCjx4ACJwwY0WONf/x9erUsy7IsoVsAAAD//yO/fykACgAA", "StatusCode": 202, @@ -625,10 +296,10 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Tue, 29 Mar 2022 18:22:51 GMT", + "Date": "Sun, 22 Jan 2023 03:11:34 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Docker-Upload-Uuid": "fc8b3764-fad4-40e6-98a2-aac036c15769", - "Location": "/v2/oci-artifact/blobs/uploads/fc8b3764-fad4-40e6-98a2-aac036c15769?_nouploadcache=false\u0026_state=pOjMhVfVp2uq8CEpj0J5NCUW-ZSj910P8_oIJ2loviJ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZmM4YjM3NjQtZmFkNC00MGU2LTk4YTItYWFjMDM2YzE1NzY5IiwiT2Zmc2V0IjoxNzEsIlN0YXJ0ZWRBdCI6IjIwMjItMDMtMjlUMTg6MjI6NTFaIn0%3D", + "Docker-Upload-Uuid": "c641a18e-2d68-4c7a-aee5-b93a78b672ca", + "Location": "/v2/oci-artifact/blobs/uploads/c641a18e-2d68-4c7a-aee5-b93a78b672ca?_nouploadcache=false\u0026_state=VliWQxd-3OEypt_wcvTdCIIi1yoA8Zit1mGzXRLHhOV7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYzY0MWExOGUtMmQ2OC00YzdhLWFlZTUtYjkzYTc4YjY3MmNhIiwiT2Zmc2V0IjoxNzEsIlN0YXJ0ZWRBdCI6IjIwMjMtMDEtMjJUMDM6MTE6MzRaIn0%3D", "Range": "0-170", "Server": "openresty", "Strict-Transport-Security": [ @@ -636,97 +307,14 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "d26becb1-122d-435d-a66b-940e9c6b6dce", - "X-Ms-Correlation-Request-Id": "0380894b-8fee-41f3-81b9-ec74153b098c", - "X-Ms-Request-Id": "65f0d6c3-0df0-4849-bd3f-d488e62c5e3d" + "X-Ms-Client-Request-Id": "8aa5ed62-df7e-4e20-a7ea-8aea5267eccc", + "X-Ms-Correlation-Request-Id": "e0942c11-650b-45ec-a8ab-f4b7ab68e74c", + "X-Ms-Request-Id": "ea62987e-372b-478f-9bf7-965564245c40" }, "ResponseBody": null }, { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/fc8b3764-fad4-40e6-98a2-aac036c15769?_nouploadcache=false\u0026_state=pOjMhVfVp2uq8CEpj0J5NCUW-ZSj910P8_oIJ2loviJ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZmM4YjM3NjQtZmFkNC00MGU2LTk4YTItYWFjMDM2YzE1NzY5IiwiT2Zmc2V0IjoxNzEsIlN0YXJ0ZWRBdCI6IjIwMjItMDMtMjlUMTg6MjI6NTFaIn0%3D\u0026digest=sha256%3Ad25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "0", - "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "e7c80b5b-a3cf-444d-a7c0-1f9f72d14309" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:51 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "9e2d8046-1b23-476b-8d44-ec333ad7067c" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "163", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "b63220a0-bc80-4d90-ab98-a85d40225975" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:51 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "1334c420-f3d5-44fc-95c6-8ab014ce1489" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/fc8b3764-fad4-40e6-98a2-aac036c15769?_nouploadcache=false\u0026_state=pOjMhVfVp2uq8CEpj0J5NCUW-ZSj910P8_oIJ2loviJ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZmM4YjM3NjQtZmFkNC00MGU2LTk4YTItYWFjMDM2YzE1NzY5IiwiT2Zmc2V0IjoxNzEsIlN0YXJ0ZWRBdCI6IjIwMjItMDMtMjlUMTg6MjI6NTFaIn0%3D\u0026digest=sha256%3Ad25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", + "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/blobs/uploads/c641a18e-2d68-4c7a-aee5-b93a78b672ca?_nouploadcache=false\u0026_state=VliWQxd-3OEypt_wcvTdCIIi1yoA8Zit1mGzXRLHhOV7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYzY0MWExOGUtMmQ2OC00YzdhLWFlZTUtYjkzYTc4YjY3MmNhIiwiT2Zmc2V0IjoxNzEsIlN0YXJ0ZWRBdCI6IjIwMjMtMDEtMjJUMDM6MTE6MzRaIn0%3D\u0026digest=sha256%3Ad25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", @@ -735,8 +323,8 @@ "Connection": "keep-alive", "Content-Length": "0", "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "e7c80b5b-a3cf-444d-a7c0-1f9f72d14309" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a8cbe853-d4b3-4d7e-bd68-8be7187fa189" }, "RequestBody": null, "StatusCode": 201, @@ -749,7 +337,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Tue, 29 Mar 2022 18:22:51 GMT", + "Date": "Sun, 22 Jan 2023 03:11:34 GMT", "Docker-Content-Digest": "sha256:d25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", "Docker-Distribution-Api-Version": "registry/2.0", "Location": "/v2/oci-artifact/blobs/sha256:d25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", @@ -759,112 +347,12 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "e7c80b5b-a3cf-444d-a7c0-1f9f72d14309", - "X-Ms-Correlation-Request-Id": "9b0a4168-ef92-41fa-92d0-647c163d613e", - "X-Ms-Request-Id": "75f07980-fa9b-49a6-9dbd-e188d5d21b6d" + "X-Ms-Client-Request-Id": "a8cbe853-d4b3-4d7e-bd68-8be7187fa189", + "X-Ms-Correlation-Request-Id": "79bea962-bdbf-4491-9297-e39c91e2518a", + "X-Ms-Request-Id": "37be5d51-5fc4-438d-b4dd-68d56afaa959" }, "ResponseBody": null }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/my_artifact", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "402", - "Content-Type": "application/vnd.oci.image.manifest.v1\u002Bjson", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "d2e7d9eb-20e8-4a5f-a8af-3e6552f74c84" - }, - "RequestBody": { - "config": { - "mediaType": "application/vnd.oci.image.config.v1\u002Bjson", - "size": 171, - "digest": "sha256:d25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8" - }, - "layers": [ - { - "mediaType": "application/vnd.oci.image.layer.v1.tar", - "size": 28, - "digest": "sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", - "annotations": { - "org.opencontainers.image.title": "artifact.txt" - } - } - ], - "schemaVersion": 2 - }, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "266", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:52 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull,push\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "e1134a14-d0bf-4ae6-ab3a-f405781b21fd" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - }, - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "push" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "163", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "6fc30deb-d166-4085-9652-c76cb3961364" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull%2Cpush\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:52 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "8a2272e1-1647-4197-9b74-68d041762388" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, { "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/my_artifact", "RequestMethod": "PUT", @@ -875,8 +363,8 @@ "Connection": "keep-alive", "Content-Length": "402", "Content-Type": "application/vnd.oci.image.manifest.v1\u002Bjson", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "d2e7d9eb-20e8-4a5f-a8af-3e6552f74c84" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "272fb857-3194-4c53-9260-0a22ed281283" }, "RequestBody": { "config": { @@ -906,7 +394,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Tue, 29 Mar 2022 18:22:52 GMT", + "Date": "Sun, 22 Jan 2023 03:11:34 GMT", "Docker-Content-Digest": "sha256:8e37b7384b05202eeeeeb0db538dbb0d1f81c42c97e4080b6e80363e14941243", "Docker-Distribution-Api-Version": "registry/2.0", "Location": "/v2/oci-artifact/manifests/sha256:8e37b7384b05202eeeeeb0db538dbb0d1f81c42c97e4080b6e80363e14941243", @@ -916,88 +404,12 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "d2e7d9eb-20e8-4a5f-a8af-3e6552f74c84", - "X-Ms-Correlation-Request-Id": "8d8e3b4e-272d-44ed-a6f7-1829bcb62d33", - "X-Ms-Request-Id": "e4bfa265-3a4d-407c-93b0-645cfe0d287f" + "X-Ms-Client-Request-Id": "272fb857-3194-4c53-9260-0a22ed281283", + "X-Ms-Correlation-Request-Id": "ccc3560d-929c-46b6-be48-998236626fbf", + "X-Ms-Request-Id": "aafd5f1f-6792-424f-ab45-bdcfa252abd4" }, "ResponseBody": null }, - { - "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/my_artifact", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/vnd.oci.image.manifest.v1\u002Bjson", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "21322ed6-f9fc-42f4-a37d-04d15e493428" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "206", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:52 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:pull\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "3a5d6796-b09b-4c93-8fd5-c6ea0dbf9443" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "oci-artifact", - "Action": "pull" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "156", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "723a5b75-9b5d-4c83-9f92-458eddfe0212" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Apull\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:52 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "8fde7a25-f467-4cbb-b4d6-fce732d275fb" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, { "RequestUri": "https://myregistry.azurecr.io/v2/oci-artifact/manifests/my_artifact", "RequestMethod": "GET", @@ -1006,8 +418,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "21322ed6-f9fc-42f4-a37d-04d15e493428" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2ba9b68c-235a-446c-8765-65046a7e2bb6" }, "RequestBody": null, "StatusCode": 200, @@ -1021,7 +433,7 @@ "Connection": "keep-alive", "Content-Length": "402", "Content-Type": "application/vnd.oci.image.manifest.v1\u002Bjson", - "Date": "Tue, 29 Mar 2022 18:22:52 GMT", + "Date": "Sun, 22 Jan 2023 03:11:35 GMT", "Docker-Content-Digest": "sha256:8e37b7384b05202eeeeeb0db538dbb0d1f81c42c97e4080b6e80363e14941243", "Docker-Distribution-Api-Version": "registry/2.0", "ETag": "\u0022sha256:8e37b7384b05202eeeeeb0db538dbb0d1f81c42c97e4080b6e80363e14941243\u0022", @@ -1031,9 +443,9 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "21322ed6-f9fc-42f4-a37d-04d15e493428", - "X-Ms-Correlation-Request-Id": "8b1266d5-e655-4729-9d81-111a62a02595", - "X-Ms-Request-Id": "762ae11a-a4aa-4c0d-bc44-d397abd2acb1" + "X-Ms-Client-Request-Id": "2ba9b68c-235a-446c-8765-65046a7e2bb6", + "X-Ms-Correlation-Request-Id": "15e2db54-b474-414e-93b9-fb57974312eb", + "X-Ms-Request-Id": "2f54c79b-d2bc-4da1-8cbb-2fb77513f964" }, "ResponseBody": { "config": { @@ -1060,9 +472,10 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "327a70f4-8a6c-4ded-9119-f8259e156bbf" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "5035cf81-9646-41cb-bded-771510fb8810" }, "RequestBody": null, "StatusCode": 401, @@ -1076,16 +489,16 @@ "Connection": "keep-alive", "Content-Length": "208", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:52 GMT", + "Date": "Sun, 22 Jan 2023 03:11: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:delete\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:oci-artifact:delete\u0022,error=\u0022insufficient_scope\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b9ade27e-ab36-497d-a82d-9dffadb8358a" + "X-Ms-Correlation-Request-Id": "70cb5790-9c3e-4bab-a0a9-057affb007a6" }, "ResponseBody": { "errors": [ @@ -1110,21 +523,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "158", + "Content-Length": "170", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "b03545ca-7951-4bb5-a113-67a092cdb6c3" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "11822ac8-2580-42ba-960b-387fe135b0f4" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Adelete\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Aoci-artifact%3Adelete\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 29 Mar 2022 18:22:53 GMT", + "Date": "Sun, 22 Jan 2023 03:11:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "fd56f0e2-9a6e-4fec-8f03-872ac0b0932c" + "X-Ms-Correlation-Request-Id": "a132b417-ddf3-4366-b1a0-49876bfcb8ad", + "x-ms-ratelimit-remaining-calls-per-second": "166.466667" }, "ResponseBody": { "access_token": "Sanitized" @@ -1138,8 +552,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.8.0 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "327a70f4-8a6c-4ded-9119-f8259e156bbf" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "5035cf81-9646-41cb-bded-771510fb8810" }, "RequestBody": null, "StatusCode": 202, @@ -1152,7 +566,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Tue, 29 Mar 2022 18:22:53 GMT", + "Date": "Sun, 22 Jan 2023 03:11:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -1160,9 +574,10 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "327a70f4-8a6c-4ded-9119-f8259e156bbf", - "X-Ms-Correlation-Request-Id": "10741417-e912-4fb8-b491-1d3acb855d69", - "X-Ms-Request-Id": "e9e78a19-4eab-44a8-9814-2d8ccad92200" + "X-Ms-Client-Request-Id": "5035cf81-9646-41cb-bded-771510fb8810", + "X-Ms-Correlation-Request-Id": "73fbf088-5807-48e9-a490-6edc65f3c2a4", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", + "X-Ms-Request-Id": "b165d2cb-331f-4764-a930-aaf50bc59c27" }, "ResponseBody": null } diff --git a/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_deletes_repository_of_given_name.json b/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_deletes_repository_of_given_name.json index 873e70c36fd3..61e36cdb2c07 100644 --- a/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_deletes_repository_of_given_name.json +++ b/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_deletes_repository_of_given_name.json @@ -7,8 +7,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "09727dd0-73c5-4bb6-ba8a-2814c62116f7" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "604fb615-3f66-43c3-a590-5b6c631bc639" }, "RequestBody": null, "StatusCode": 401, @@ -22,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "211", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:03 GMT", + "Date": "Sun, 22 Jan 2023 03:11: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/busybox:delete\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:library/busybox:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "4df585f0-2f81-4996-bd75-860c74f34cbf" + "X-Ms-Correlation-Request-Id": "1bd1e21b-a1bd-4dc8-b53f-9c7800e1e7e7" }, "ResponseBody": { "errors": [ @@ -56,21 +56,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "84", + "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "5e783966-d9a8-4fce-945b-189c1df85f4b" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2fd35459-8be4-427b-8e60-c28871288d24" }, - "RequestBody": "grant_type=access_token\u0026service=myregistry.azurecr.io\u0026access_token=SecretPlaceholder", + "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:03 GMT", + "Date": "Sun, 22 Jan 2023 03:11:40 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "fb36eb91-8ea7-48fa-a1d7-da958b137913" + "X-Ms-Correlation-Request-Id": "6634b6fe-8796-47bb-ba3c-e51067b1ca5b", + "x-ms-ratelimit-remaining-calls-per-second": "166.283333" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -83,21 +84,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "163", + "Content-Length": "175", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "33c6f1c5-6581-439a-ace5-249ac679f4f1" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9059a1bf-f663-4d27-99f6-57a801d9f570" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fbusybox%3Adelete\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fbusybox%3Adelete\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:03 GMT", + "Date": "Sun, 22 Jan 2023 03:11:40 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "24b9669c-ef23-4736-8446-fd6a4730b559" + "X-Ms-Correlation-Request-Id": "ee4f6656-4d76-4389-9678-2841db9b9ff9", + "x-ms-ratelimit-remaining-calls-per-second": "166.266667" }, "ResponseBody": { "access_token": "Sanitized" @@ -111,8 +113,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "09727dd0-73c5-4bb6-ba8a-2814c62116f7" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "604fb615-3f66-43c3-a590-5b6c631bc639" }, "RequestBody": null, "StatusCode": 202, @@ -124,9 +126,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "862", + "Content-Length": "560", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:05 GMT", + "Date": "Sun, 22 Jan 2023 03:11:42 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -134,27 +136,22 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "09727dd0-73c5-4bb6-ba8a-2814c62116f7", - "X-Ms-Correlation-Request-Id": "2a2a8e2f-479c-4187-9136-d6ad6e147420", - "X-Ms-Request-Id": "80bbda7b-48a5-4a7f-a518-b605a5b2c4a3" + "X-Ms-Client-Request-Id": "604fb615-3f66-43c3-a590-5b6c631bc639", + "X-Ms-Correlation-Request-Id": "48c83433-a408-4448-944e-0f0a2eb86410", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", + "X-Ms-Request-Id": "8b837821-0a6a-40dc-90f8-3a152ae9ec97" }, "ResponseBody": { "manifestsDeleted": [ - "sha256:02cdeb6ebe57001c73da6adf199eb94a94b6d8c5ef7a92432928d1b3861ff53c", - "sha256:2a64d8b2861154867e526a189eddfc7afaf12c13c9b67a56b7adcd56895818ae", - "sha256:2d06e13d26ccd313d3029e44f48d69ad4c98d0bf934692befb288dc6404a3ad9", - "sha256:3f6c90002d9d31b871ee132953db48422b3dea4815d662d9e54ca389d2366800", - "sha256:4bcaeca137ff437584eb96c41b425b4010167a0156f0a9f7bbc26f9a36d536df", - "sha256:5ca5e3117f6f9bdb803ea67af89203b7e62a28c7456c098809f712a7294ceaaa", - "sha256:5ff091cdd7eadbe140ac122d166a8f20f346a72d7eea9ababbd0546e0ca73049", - "sha256:afcc7f1ac1b49db317a7196c902e61c6c3c4607d63599ee1a82d702d249a0ccb", - "sha256:b69959407d21e8a062e0416bf13405bb2b71ed7a84dde4158ebafacfa06f5578", - "sha256:bb2a26ee650f0f3f49a2676bc50bcc4f44d9f1f6c7c12b7b4acc17beda338af4", - "sha256:ce06da2e3e24e4ac99f6da067bcab57e3dcc2ea4582da16e5d97003c32a6fa8c" + "sha256:77ed5ebc3d9d48581e8afcb75b4974978321bd74f018613483570fcd61a15de8", + "sha256:7b3ccabffc97de872a30dfd234fd972a66d247c8cfc69b0550f276481852627c", + "sha256:8f23e10f4610afdde9b856b9367742f1f5ded5c35e2aaa0630d3c5d9ebc2e4cf", + "sha256:907ca53d7e2947e849b839b1cd258c98fd3916c60f2e6e70c30edbf741ab6754", + "sha256:db6ea0cbfcdfe2e7fff3f36b40c2c6ac27933977d71317b30c1905675ec29349", + "sha256:dde8e930c7b6a490f728e66292bc9bce42efc9bbb5278bae40e4f30f6e00fe8c", + "sha256:e954aa43bc3d58a30a967d36b0b0ebf408eea4b1283106d2ca553b0243858d6b" ], - "tagsDeleted": [ - "latest" - ] + "tagsDeleted": null } }, { @@ -163,9 +160,10 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "5c520be1-ee0a-439c-85ad-cdea80b8e6f8" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "efed6998-7913-49e1-8fb0-4906408af564" }, "RequestBody": null, "StatusCode": 401, @@ -179,16 +177,16 @@ "Connection": "keep-alive", "Content-Length": "196", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:05 GMT", + "Date": "Sun, 22 Jan 2023 03:11: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022,error=\u0022insufficient_scope\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "2654b3c6-8991-49b7-9298-3e332479a1e2" + "X-Ms-Correlation-Request-Id": "310241cb-b792-450d-aeee-6a3bb8ad6a32" }, "ResponseBody": { "errors": [ @@ -213,21 +211,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "146", + "Content-Length": "158", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "3e0bb968-c5cf-44ee-854f-4f7ad5aa3f46" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "cff4d904-0109-4035-9f6d-12d0f6b635b6" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=registry%3Acatalog%3A*\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=registry%3Acatalog%3A*\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:05 GMT", + "Date": "Sun, 22 Jan 2023 03:11:42 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "8afe3e65-40dd-49b5-8d74-1bb8acb80b51" + "X-Ms-Correlation-Request-Id": "9188212a-542b-425a-a153-1a299a5fd446", + "x-ms-ratelimit-remaining-calls-per-second": "166.25" }, "ResponseBody": { "access_token": "Sanitized" @@ -241,8 +240,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "5c520be1-ee0a-439c-85ad-cdea80b8e6f8" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "efed6998-7913-49e1-8fb0-4906408af564" }, "RequestBody": null, "StatusCode": 200, @@ -256,7 +255,7 @@ "Connection": "keep-alive", "Content-Length": "41", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:05 GMT", + "Date": "Sun, 22 Jan 2023 03:11:42 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -264,7 +263,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "8fbd9227-e263-4f52-986a-caeec4dd3931" + "X-Ms-Correlation-Request-Id": "34e685f1-26f2-4202-a98b-0ddc40688da8" }, "ResponseBody": { "repositories": [ diff --git a/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories.json b/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories.json index 314f7d51e2c5..aa34038ebd68 100644 --- a/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories.json +++ b/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories.json @@ -7,8 +7,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "43d1d5ef-4231-4415-b71c-1eb1db916801" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "213548fa-2466-43d6-b3e4-facf3ccd574c" }, "RequestBody": null, "StatusCode": 401, @@ -22,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "196", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:00 GMT", + "Date": "Sun, 22 Jan 2023 03:11: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "10303001-fd3a-4c14-9bf5-7a177cd6fa1e" + "X-Ms-Correlation-Request-Id": "bdb0870a-ca62-4e04-bca3-4ee935e64481" }, "ResponseBody": { "errors": [ @@ -56,21 +56,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "84", + "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "407e5d35-2040-4503-af31-8c1ac4b3f29e" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "c9a7b2a4-6d5c-4df6-83b3-f21690b55d45" }, - "RequestBody": "grant_type=access_token\u0026service=myregistry.azurecr.io\u0026access_token=SecretPlaceholder", + "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:00 GMT", + "Date": "Sun, 22 Jan 2023 03:11:38 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e6716b2b-8c57-44fa-871c-244e94d47806" + "X-Ms-Correlation-Request-Id": "6b855e8d-0fde-4718-a501-9c9b9397b651", + "x-ms-ratelimit-remaining-calls-per-second": "166.383333" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -83,21 +84,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "146", + "Content-Length": "158", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "53ef8d9d-993b-4117-a552-bc24dbadfcc9" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3fcfab50-b6d9-4cc7-88b3-37045f3b9b58" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=registry%3Acatalog%3A*\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=registry%3Acatalog%3A*\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:01 GMT", + "Date": "Sun, 22 Jan 2023 03:11:38 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f00dfe85-40b8-4a51-89b0-9fda99f75b5f" + "X-Ms-Correlation-Request-Id": "c0983299-61d0-498a-83f2-a94de46b025e", + "x-ms-ratelimit-remaining-calls-per-second": "166.366667" }, "ResponseBody": { "access_token": "Sanitized" @@ -111,8 +113,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "43d1d5ef-4231-4415-b71c-1eb1db916801" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "213548fa-2466-43d6-b3e4-facf3ccd574c" }, "RequestBody": null, "StatusCode": 200, @@ -126,7 +128,7 @@ "Connection": "keep-alive", "Content-Length": "59", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:01 GMT", + "Date": "Sun, 22 Jan 2023 03:11:38 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -134,7 +136,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ed505d6c-4cd4-4c60-9420-121f370d11cd" + "X-Ms-Correlation-Request-Id": "611fd235-1c61-431a-a241-92441bacd9c1" }, "ResponseBody": { "repositories": [ diff --git a/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories_by_pages.json b/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories_by_pages.json index 628c46b1a977..600dc4e7eb6c 100644 --- a/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories_by_pages.json +++ b/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories_by_pages.json @@ -7,8 +7,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "b39e2a31-7486-4316-911b-0385f000b45e" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "158271fe-eff0-4f05-82be-dad2d454e91b" }, "RequestBody": null, "StatusCode": 401, @@ -22,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "196", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:01 GMT", + "Date": "Sun, 22 Jan 2023 03:11: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f90163b7-953e-421a-b3aa-327d7b27b578" + "X-Ms-Correlation-Request-Id": "e14de335-5ddf-4072-b5ef-c62c91152ad4" }, "ResponseBody": { "errors": [ @@ -56,21 +56,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "84", + "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "2c68920a-80d7-498a-895e-f632f2d293f7" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ae5c7843-f0a5-454a-8d82-f0d2af61af2c" }, - "RequestBody": "grant_type=access_token\u0026service=myregistry.azurecr.io\u0026access_token=SecretPlaceholder", + "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:01 GMT", + "Date": "Sun, 22 Jan 2023 03:11:39 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "229a6798-bb74-4b2b-bb5d-00691364f56a" + "X-Ms-Correlation-Request-Id": "fc08f236-7d4b-484d-9976-0bfcac23c857", + "x-ms-ratelimit-remaining-calls-per-second": "166.35" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -83,21 +84,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "146", + "Content-Length": "158", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "c2ab7a0f-f4cb-48f4-8379-550318a9a881" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "c7fa4f1c-3afe-4b7f-bf3a-1c8c8ade60f1" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=registry%3Acatalog%3A*\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=registry%3Acatalog%3A*\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:01 GMT", + "Date": "Sun, 22 Jan 2023 03:11:39 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "76332ab7-4ba9-4a52-ac89-9ec969deef66" + "X-Ms-Correlation-Request-Id": "9271f199-0d50-41d2-b707-3c0faf36b5fe", + "x-ms-ratelimit-remaining-calls-per-second": "166.333333" }, "ResponseBody": { "access_token": "Sanitized" @@ -111,8 +113,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "b39e2a31-7486-4316-911b-0385f000b45e" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "158271fe-eff0-4f05-82be-dad2d454e91b" }, "RequestBody": null, "StatusCode": 200, @@ -126,7 +128,7 @@ "Connection": "keep-alive", "Content-Length": "37", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:02 GMT", + "Date": "Sun, 22 Jan 2023 03:11:39 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -135,7 +137,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b84eb5cb-5247-4037-8720-421d937ba5ad" + "X-Ms-Correlation-Request-Id": "359cb4bb-888b-42c3-b569-0d1371221895" }, "ResponseBody": { "repositories": [ @@ -143,82 +145,6 @@ ] } }, - { - "RequestUri": "https://myregistry.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=\u0026api-version=2021-07-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "3a0b5a87-7cc6-40e7-ba33-7d06929f0222" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "196", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:02 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b2c8268f-f19a-4bc8-8fac-9d3915c21025" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "registry", - "Name": "catalog", - "Action": "*" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "146", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "7ce208cb-8622-4fc4-9ae4-8d605e9228eb" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=registry%3Acatalog%3A*\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:02 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "83afd5ee-2f32-4f69-ba54-625b906a099b" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, { "RequestUri": "https://myregistry.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=\u0026api-version=2021-07-01", "RequestMethod": "GET", @@ -227,8 +153,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "3a0b5a87-7cc6-40e7-ba33-7d06929f0222" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1eeb8cf8-b8da-4302-92b3-8cb9531b8216" }, "RequestBody": null, "StatusCode": 200, @@ -242,7 +168,7 @@ "Connection": "keep-alive", "Content-Length": "41", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:02 GMT", + "Date": "Sun, 22 Jan 2023 03:11:39 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -250,7 +176,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "0a4c66f3-0e81-455c-bfed-1be7ea224836" + "X-Ms-Correlation-Request-Id": "63d21ffa-63d9-4b9b-92f1-0c453de0ff66" }, "ResponseBody": { "repositories": [ diff --git a/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories_by_pages_with_continuationtoken.json b/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories_by_pages_with_continuationtoken.json index bafc9b97dc2a..285c7dbf2258 100644 --- a/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories_by_pages_with_continuationtoken.json +++ b/sdk/containerregistry/container-registry/recordings/node/containerregistryclient_tests/recording_should_list_repositories_by_pages_with_continuationtoken.json @@ -7,8 +7,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "6298be8a-7d97-45e4-b728-0e81c836f79f" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "be4e664e-4d56-407b-8bb1-36accc4b020b" }, "RequestBody": null, "StatusCode": 401, @@ -22,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "196", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:02 GMT", + "Date": "Sun, 22 Jan 2023 03:11: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "e9f0d9f5-a2c0-4b97-88cc-bcc86c1d685c" + "X-Ms-Correlation-Request-Id": "f142c7fa-7e2b-48c3-8e41-39898a2c8951" }, "ResponseBody": { "errors": [ @@ -56,21 +56,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "84", + "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "04a9359b-56ac-4c38-a15c-2d4942e15a38" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "026f6c3a-b02e-4572-836a-18f187e19ccd" }, - "RequestBody": "grant_type=access_token\u0026service=myregistry.azurecr.io\u0026access_token=SecretPlaceholder", + "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:03 GMT", + "Date": "Sun, 22 Jan 2023 03:11:40 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "2feb0303-6b3a-4614-b29b-bd18cb7444cc" + "X-Ms-Correlation-Request-Id": "4a87d2ec-a736-4723-83be-b8adbdb47d12", + "x-ms-ratelimit-remaining-calls-per-second": "166.316667" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -83,21 +84,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "146", + "Content-Length": "158", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "2c821e24-e3a6-4224-8aff-cc3c4ce2b250" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3ee1e2e6-0a44-4ba8-91ec-2ecdfa212b64" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=registry%3Acatalog%3A*\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=registry%3Acatalog%3A*\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:03 GMT", + "Date": "Sun, 22 Jan 2023 03:11:40 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "98df5c21-5ad0-48b3-860a-a46067efa493" + "X-Ms-Correlation-Request-Id": "42390dcc-160c-4c07-84b7-b919efe6b5c2", + "x-ms-ratelimit-remaining-calls-per-second": "166.3" }, "ResponseBody": { "access_token": "Sanitized" @@ -111,8 +113,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "6298be8a-7d97-45e4-b728-0e81c836f79f" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "be4e664e-4d56-407b-8bb1-36accc4b020b" }, "RequestBody": null, "StatusCode": 200, @@ -126,7 +128,7 @@ "Connection": "keep-alive", "Content-Length": "37", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:03 GMT", + "Date": "Sun, 22 Jan 2023 03:11:40 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -135,7 +137,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "42c84aa3-7c43-4466-b75c-9e98cf5a2a3e" + "X-Ms-Correlation-Request-Id": "6ef5b399-bceb-4444-a42b-484540447280" }, "ResponseBody": { "repositories": [ diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_deletes_a_given_tag.json b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_deletes_a_given_tag.json index 8e50403fec11..5192e89e921c 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_deletes_a_given_tag.json +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_deletes_a_given_tag.json @@ -7,8 +7,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "f19b20fa-aa98-49ef-9cff-3404971c4b0d" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "bc13c45f-b9f5-48a3-95ac-fb4f9adbfaae" }, "RequestBody": null, "StatusCode": 401, @@ -22,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "215", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:19 GMT", + "Date": "Sun, 22 Jan 2023 03:11:52 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a53cdde0-e5ed-4395-bbe5-a037e9c73fde" + "X-Ms-Correlation-Request-Id": "93cd7124-fafa-4eb4-824f-bf125ea66c7b" }, "ResponseBody": { "errors": [ @@ -56,21 +56,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "84", + "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "51ebc0aa-c1a5-4b7f-a021-d3f34b6196c7" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "027d5167-9425-4751-9bb9-a304e9632d94" }, - "RequestBody": "grant_type=access_token\u0026service=myregistry.azurecr.io\u0026access_token=SecretPlaceholder", + "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:20 GMT", + "Date": "Sun, 22 Jan 2023 03:11:53 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "9d668faf-8b30-48c9-bec2-1cc3d3f307d8" + "X-Ms-Correlation-Request-Id": "e6216298-dae8-417a-ad82-2693741031f4", + "x-ms-ratelimit-remaining-calls-per-second": "165.783333" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -83,21 +84,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "167", + "Content-Length": "179", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "c5f2c1a0-458c-4d5b-ac01-65157e7038ba" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a4aabe1a-49e4-4d3a-892b-189852e6b764" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Adelete\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Adelete\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:20 GMT", + "Date": "Sun, 22 Jan 2023 03:11:53 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "6ddb2624-c42e-4437-8934-ed2ac279bbb4" + "X-Ms-Correlation-Request-Id": "039eb9cb-badb-491f-8e17-5ff4c79fac99", + "x-ms-ratelimit-remaining-calls-per-second": "165.766667" }, "ResponseBody": { "access_token": "Sanitized" @@ -111,8 +113,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "f19b20fa-aa98-49ef-9cff-3404971c4b0d" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "bc13c45f-b9f5-48a3-95ac-fb4f9adbfaae" }, "RequestBody": null, "StatusCode": 202, @@ -125,7 +127,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Thu, 10 Feb 2022 00:27:20 GMT", + "Date": "Sun, 22 Jan 2023 03:11:53 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,10 +135,11 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "f19b20fa-aa98-49ef-9cff-3404971c4b0d", - "X-Ms-Correlation-Request-Id": "147b74be-9d10-4fa2-9f6a-d7e6dea88958", - "X-Ms-Int-Docker-Content-Digest": "sha256:97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a", - "X-Ms-Request-Id": "ec70f073-6029-48cb-8717-95a1c75f0b01" + "X-Ms-Client-Request-Id": "bc13c45f-b9f5-48a3-95ac-fb4f9adbfaae", + "X-Ms-Correlation-Request-Id": "e62b5094-361a-42b3-8fb1-4074991a27ad", + "X-Ms-Int-Docker-Content-Digest": "sha256:aa0cc8055b82dc2509bed2e19b275c8f463506616377219d9642221ab53cf9fe", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", + "X-Ms-Request-Id": "c02bcdde-2af0-474b-a344-d4cda606c554" }, "ResponseBody": null }, @@ -146,9 +149,10 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "3706898a-71cb-4e7f-8059-fc270eda5869" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "62d4686f-8e14-4963-b0d0-ef019f972ef6" }, "RequestBody": null, "StatusCode": 401, @@ -162,16 +166,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:20 GMT", + "Date": "Sun, 22 Jan 2023 03:11:53 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022insufficient_scope\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "2ad6a039-fa7a-4928-ac33-24da2e2c1f0e" + "X-Ms-Correlation-Request-Id": "7fb7aa58-faf0-4912-bdea-64ff726f5fdb" }, "ResponseBody": { "errors": [ @@ -196,21 +200,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "174", + "Content-Length": "186", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "eaaa3c80-f57c-40c2-a771-7139419c3fb7" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "bb8fdbae-46e7-4b55-ba0f-3bf11ff42976" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:20 GMT", + "Date": "Sun, 22 Jan 2023 03:11:53 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "8a91358a-b7a7-4119-9a22-a27f0f37f524" + "X-Ms-Correlation-Request-Id": "c4e7920f-df1b-48fb-9bc7-f2bfaf2dc4f6", + "x-ms-ratelimit-remaining-calls-per-second": "165.75" }, "ResponseBody": { "access_token": "Sanitized" @@ -224,8 +229,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "3706898a-71cb-4e7f-8059-fc270eda5869" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "62d4686f-8e14-4963-b0d0-ef019f972ef6" }, "RequestBody": null, "StatusCode": 404, @@ -239,7 +244,7 @@ "Connection": "keep-alive", "Content-Length": "81", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:20 GMT", + "Date": "Sun, 22 Jan 2023 03:11:53 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -247,7 +252,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d633ed1c-4f64-46dd-82bb-b3c020490981" + "X-Ms-Correlation-Request-Id": "4e378a68-5a37-4090-a074-f49adedc9c22" }, "ResponseBody": { "errors": [ diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_manifest_properties.json b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_manifest_properties.json index 6ccf7fe9fdb1..7cb60581e662 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_manifest_properties.json +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_manifest_properties.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409?api-version=2021-07-01", + "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A40d0cfd0861719208ff9f7747ab3f97844eeca509df705db44a736df863b76af?api-version=2021-07-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "d078eec8-a668-454a-9f38-4925134e9c79" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "48abb777-e945-4f3f-8931-e07235ffec3c" }, "RequestBody": null, "StatusCode": 401, @@ -22,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:12 GMT", + "Date": "Sun, 22 Jan 2023 03:11:47 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6558e585-741f-474f-8fcc-2f2fa05c2ced" + "X-Ms-Correlation-Request-Id": "d557a7c1-d627-49db-b487-d0d05c9621ca" }, "ResponseBody": { "errors": [ @@ -56,21 +56,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "84", + "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "20a85836-dac2-4e9d-850e-dafadd4cb442" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "308b0e6e-8358-4120-a4b8-0065feabf536" }, - "RequestBody": "grant_type=access_token\u0026service=myregistry.azurecr.io\u0026access_token=SecretPlaceholder", + "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:12 GMT", + "Date": "Sun, 22 Jan 2023 03:11:47 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "0ebeea7d-fab4-468c-a934-d3b08695b909" + "X-Ms-Correlation-Request-Id": "146ab6e6-e729-486f-b6df-4fc2d64faf1e", + "x-ms-ratelimit-remaining-calls-per-second": "166.033333" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -83,36 +84,37 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "174", + "Content-Length": "186", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "d15074e2-5675-45ff-9168-42e5175a4564" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d1b2b782-e410-41af-96a2-40e6003454c0" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:12 GMT", + "Date": "Sun, 22 Jan 2023 03:11:48 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "17b56847-0b30-4d98-84d2-cb530f36cb3f" + "X-Ms-Correlation-Request-Id": "5ff3a76b-04a6-4e22-aaae-b9374710d3e9", + "x-ms-ratelimit-remaining-calls-per-second": "166.016667" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409?api-version=2021-07-01", + "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A40d0cfd0861719208ff9f7747ab3f97844eeca509df705db44a736df863b76af?api-version=2021-07-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "d078eec8-a668-454a-9f38-4925134e9c79" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "48abb777-e945-4f3f-8931-e07235ffec3c" }, "RequestBody": null, "StatusCode": 200, @@ -124,9 +126,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "482", + "Content-Length": "494", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:12 GMT", + "Date": "Sun, 22 Jan 2023 03:11:48 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -134,17 +136,17 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "32ab7b62-036e-447e-a714-37117f4c0a2c" + "X-Ms-Correlation-Request-Id": "f8e253ff-ebd1-4a7d-ad37-ea3fdb086208" }, "ResponseBody": { - "registry": "myregistry.azurecr.io", + "registry": "timovcontainerregistry.azurecr.io", "imageName": "library/hello-world", "manifest": { - "digest": "sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409", - "imageSize": 4727, - "createdTime": "2022-02-09T02:57:25.5140986Z", - "lastUpdateTime": "2022-02-09T02:57:25.5140986Z", - "architecture": "386", + "digest": "sha256:40d0cfd0861719208ff9f7747ab3f97844eeca509df705db44a736df863b76af", + "imageSize": 5001, + "createdTime": "2023-01-20T01:01:21.2255041Z", + "lastUpdateTime": "2023-01-20T01:01:21.2255041Z", + "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", "changeableAttributes": { @@ -157,16 +159,17 @@ } }, { - "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409?api-version=2021-07-01", + "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A40d0cfd0861719208ff9f7747ab3f97844eeca509df705db44a736df863b76af?api-version=2021-07-01", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "84", "Content-Type": "application/json", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "be3fecda-5d4f-4425-a8f9-7e797e5c0f9c" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b05a719b-80b0-4979-b69d-18d741431ce0" }, "RequestBody": { "deleteEnabled": false, @@ -185,16 +188,16 @@ "Connection": "keep-alive", "Content-Length": "223", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:12 GMT", + "Date": "Sun, 22 Jan 2023 03:11:48 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022insufficient_scope\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "daa587ab-bf80-4ca5-9cb8-2a6f977158b2" + "X-Ms-Correlation-Request-Id": "2b77f447-bdf6-4876-b770-915d0b537390" }, "ResponseBody": { "errors": [ @@ -219,28 +222,29 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "175", + "Content-Length": "187", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "b9417448-8e8f-4d79-86c8-9b0868b4a89f" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "873a50c9-04df-4cad-afb2-873e77e5d101" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_write\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_write\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:12 GMT", + "Date": "Sun, 22 Jan 2023 03:11:48 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "0d39a3e0-fa08-477e-a64c-98c166fa3f87" + "X-Ms-Correlation-Request-Id": "a9fb8748-399c-4c06-9149-70cf30048270", + "x-ms-ratelimit-remaining-calls-per-second": "166" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409?api-version=2021-07-01", + "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A40d0cfd0861719208ff9f7747ab3f97844eeca509df705db44a736df863b76af?api-version=2021-07-01", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", @@ -249,8 +253,8 @@ "Connection": "keep-alive", "Content-Length": "84", "Content-Type": "application/json", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "be3fecda-5d4f-4425-a8f9-7e797e5c0f9c" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b05a719b-80b0-4979-b69d-18d741431ce0" }, "RequestBody": { "deleteEnabled": false, @@ -267,9 +271,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "486", + "Content-Length": "498", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:13 GMT", + "Date": "Sun, 22 Jan 2023 03:11:48 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -277,17 +281,17 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b3614e05-138a-401f-b0f2-17654cf8dcf5" + "X-Ms-Correlation-Request-Id": "ba72eaa0-783b-42e3-81ca-f11bcc3df4e2" }, "ResponseBody": { - "registry": "myregistry.azurecr.io", + "registry": "timovcontainerregistry.azurecr.io", "imageName": "library/hello-world", "manifest": { - "digest": "sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409", - "imageSize": 4727, - "createdTime": "2022-02-09T02:57:25.5140986Z", - "lastUpdateTime": "2022-02-09T02:57:25.5140986Z", - "architecture": "386", + "digest": "sha256:40d0cfd0861719208ff9f7747ab3f97844eeca509df705db44a736df863b76af", + "imageSize": 5001, + "createdTime": "2023-01-20T01:01:21.2255041Z", + "lastUpdateTime": "2023-01-20T01:01:21.2255041Z", + "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", "changeableAttributes": { @@ -300,90 +304,7 @@ } }, { - "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409?api-version=2021-07-01", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "80", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "317eafe6-f48f-47eb-a77a-931c05e44210" - }, - "RequestBody": { - "deleteEnabled": true, - "writeEnabled": true, - "listEnabled": true, - "readEnabled": true - }, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "223", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:13 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "3a343ad2-c7a9-4b2c-a41e-4fc8eefd2e3a" - }, - "ResponseBody": { - "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" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "175", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "fd3aff61-8ea1-4b47-9bf3-a5a6b869a9a4" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_write\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:13 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b621739e-8f83-401d-8472-1e1192c0393b" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409?api-version=2021-07-01", + "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A40d0cfd0861719208ff9f7747ab3f97844eeca509df705db44a736df863b76af?api-version=2021-07-01", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", @@ -392,8 +313,8 @@ "Connection": "keep-alive", "Content-Length": "80", "Content-Type": "application/json", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "317eafe6-f48f-47eb-a77a-931c05e44210" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1dfba6ee-610d-48bf-9484-2b77393e5ea4" }, "RequestBody": { "deleteEnabled": true, @@ -410,9 +331,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "482", + "Content-Length": "494", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:13 GMT", + "Date": "Sun, 22 Jan 2023 03:11:48 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -420,17 +341,17 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b83530a0-7960-4a20-9ca3-d26a8a1cce02" + "X-Ms-Correlation-Request-Id": "6c30a701-3a22-435c-af86-278cb2249d77" }, "ResponseBody": { - "registry": "myregistry.azurecr.io", + "registry": "timovcontainerregistry.azurecr.io", "imageName": "library/hello-world", "manifest": { - "digest": "sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409", - "imageSize": 4727, - "createdTime": "2022-02-09T02:57:25.5140986Z", - "lastUpdateTime": "2022-02-09T02:57:25.5140986Z", - "architecture": "386", + "digest": "sha256:40d0cfd0861719208ff9f7747ab3f97844eeca509df705db44a736df863b76af", + "imageSize": 5001, + "createdTime": "2023-01-20T01:01:21.2255041Z", + "lastUpdateTime": "2023-01-20T01:01:21.2255041Z", + "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", "changeableAttributes": { diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_repository_properties.json b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_repository_properties.json index 925ae9ca9574..3e5a8802fd9c 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_repository_properties.json +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_repository_properties.json @@ -7,8 +7,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "d4839102-03de-42b6-814f-2d53da6d820e" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "94e8f191-8c63-4bff-9af7-f30e514ed186" }, "RequestBody": null, "StatusCode": 401, @@ -22,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:13 GMT", + "Date": "Sun, 22 Jan 2023 03:11:48 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "0b849598-538d-47c7-b057-6611334a3e31" + "X-Ms-Correlation-Request-Id": "f2e03857-5031-4ad6-b111-f65bf4183fe1" }, "ResponseBody": { "errors": [ @@ -56,21 +56,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "84", + "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "c6bd7da0-1a09-4559-b871-6fa695c7dd64" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "97d67aea-db29-4d6a-947e-76c0b9b8d10b" }, - "RequestBody": "grant_type=access_token\u0026service=myregistry.azurecr.io\u0026access_token=SecretPlaceholder", + "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:14 GMT", + "Date": "Sun, 22 Jan 2023 03:11:49 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "301ee1b6-fdc1-47f8-934a-37dd8fd5284d" + "X-Ms-Correlation-Request-Id": "ed3b0d86-34d5-4f62-8959-2e435531aaa6", + "x-ms-ratelimit-remaining-calls-per-second": "165.983333" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -83,21 +84,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "174", + "Content-Length": "186", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "d32e56a4-d6c9-448c-9074-044a16395be9" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8f9fcfbe-22bd-4d48-804f-5cbb09a22441" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:14 GMT", + "Date": "Sun, 22 Jan 2023 03:11:49 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "fb3a3d89-e930-4283-a388-ccc74ff35484" + "X-Ms-Correlation-Request-Id": "a02d5b02-b78f-4e77-8535-f3b0a7aaa3b6", + "x-ms-ratelimit-remaining-calls-per-second": "165.966667" }, "ResponseBody": { "access_token": "Sanitized" @@ -111,8 +113,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "d4839102-03de-42b6-814f-2d53da6d820e" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "94e8f191-8c63-4bff-9af7-f30e514ed186" }, "RequestBody": null, "StatusCode": 200, @@ -124,9 +126,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "301", + "Content-Length": "312", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:14 GMT", + "Date": "Sun, 22 Jan 2023 03:11:49 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -134,17 +136,17 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "30de746c-6bcb-49eb-ae4c-647d10ef7084" + "X-Ms-Correlation-Request-Id": "d28fb547-f401-4ada-a0b1-a3c9fecc320a" }, "ResponseBody": { - "registry": "myregistry.azurecr.io", + "registry": "timovcontainerregistry.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2022-02-09T02:57:24.3574334Z", - "lastUpdateTime": "2022-02-10T00:20:26.4728958Z", - "manifestCount": 15, - "tagCount": 7, + "createdTime": "2023-01-20T01:01:20.4497281Z", + "lastUpdateTime": "2023-01-20T01:01:19.1692502Z", + "manifestCount": 12, + "tagCount": 2, "changeableAttributes": { - "deleteEnabled": false, + "deleteEnabled": true, "writeEnabled": true, "readEnabled": true, "listEnabled": true @@ -157,11 +159,12 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "84", "Content-Type": "application/json", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "755797b6-4bea-4e23-a389-5df8d76b5cc7" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "63e03e48-da0e-47df-8c76-a581a86b67e8" }, "RequestBody": { "deleteEnabled": false, @@ -180,16 +183,16 @@ "Connection": "keep-alive", "Content-Length": "223", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:14 GMT", + "Date": "Sun, 22 Jan 2023 03:11:49 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022insufficient_scope\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "31a92789-d6f5-43c6-9073-9733d58a0e62" + "X-Ms-Correlation-Request-Id": "3150456e-e844-4a7a-854d-664747d1140b" }, "ResponseBody": { "errors": [ @@ -214,21 +217,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "175", + "Content-Length": "187", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "837ed026-e1eb-4fb8-87b0-e50c9af88b35" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "7cc15dec-3d04-4274-8d26-850e3b87afff" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_write\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_write\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:14 GMT", + "Date": "Sun, 22 Jan 2023 03:11:49 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "610c4364-7c18-4aaf-a45d-1e8fa525b2bc" + "X-Ms-Correlation-Request-Id": "ce481d5a-0b5b-4502-a997-851e7a4e8a99", + "x-ms-ratelimit-remaining-calls-per-second": "165.95" }, "ResponseBody": { "access_token": "Sanitized" @@ -244,8 +248,8 @@ "Connection": "keep-alive", "Content-Length": "84", "Content-Type": "application/json", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "755797b6-4bea-4e23-a389-5df8d76b5cc7" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "63e03e48-da0e-47df-8c76-a581a86b67e8" }, "RequestBody": { "deleteEnabled": false, @@ -262,9 +266,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "304", + "Content-Length": "316", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:14 GMT", + "Date": "Sun, 22 Jan 2023 03:11:49 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -272,15 +276,15 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "cc3aab5b-9694-4cf2-bdbd-cc5aa2b263ea" + "X-Ms-Correlation-Request-Id": "f80c828b-5453-4513-b6d9-c6ac977cc8f2" }, "ResponseBody": { - "registry": "myregistry.azurecr.io", + "registry": "timovcontainerregistry.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2022-02-09T02:57:24.3574334Z", - "lastUpdateTime": "2022-02-10T00:20:26.4728958Z", - "manifestCount": 15, - "tagCount": 7, + "createdTime": "2023-01-20T01:01:20.4497281Z", + "lastUpdateTime": "2023-01-20T01:01:19.1692502Z", + "manifestCount": 12, + "tagCount": 2, "changeableAttributes": { "deleteEnabled": false, "writeEnabled": false, @@ -289,89 +293,6 @@ } } }, - { - "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world?api-version=2021-07-01", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "81", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "d413cc14-ce21-46b7-bc4b-a9cdf057d0bb" - }, - "RequestBody": { - "deleteEnabled": false, - "writeEnabled": true, - "listEnabled": true, - "readEnabled": true - }, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "223", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:15 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "adfb3114-cb34-4282-9821-40b60fcdbec7" - }, - "ResponseBody": { - "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" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "175", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "fcf85a42-5732-4e77-a4fd-76b0a9ec21c0" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_write\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:15 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "36bd00b1-0c7f-4808-aca6-9a943e318d54" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, { "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world?api-version=2021-07-01", "RequestMethod": "PATCH", @@ -380,13 +301,13 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "Content-Length": "81", + "Content-Length": "80", "Content-Type": "application/json", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "d413cc14-ce21-46b7-bc4b-a9cdf057d0bb" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "5e949732-f3ac-40df-865d-6922a82bf820" }, "RequestBody": { - "deleteEnabled": false, + "deleteEnabled": true, "writeEnabled": true, "listEnabled": true, "readEnabled": true @@ -400,9 +321,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "301", + "Content-Length": "312", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:15 GMT", + "Date": "Sun, 22 Jan 2023 03:11:49 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -410,17 +331,17 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "c4deeb48-9625-4365-9fd2-5532bb3a11f9" + "X-Ms-Correlation-Request-Id": "2c304d74-0942-4279-9ff6-4a951d1d40be" }, "ResponseBody": { - "registry": "myregistry.azurecr.io", + "registry": "timovcontainerregistry.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2022-02-09T02:57:24.3574334Z", - "lastUpdateTime": "2022-02-10T00:20:26.4728958Z", - "manifestCount": 15, - "tagCount": 7, + "createdTime": "2023-01-20T01:01:20.4497281Z", + "lastUpdateTime": "2023-01-20T01:01:19.1692502Z", + "manifestCount": 12, + "tagCount": 2, "changeableAttributes": { - "deleteEnabled": false, + "deleteEnabled": true, "writeEnabled": true, "readEnabled": true, "listEnabled": true diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_tag_properties.json b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_tag_properties.json index cae68491d19d..457b959bc10e 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_tag_properties.json +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_sets_tag_properties.json @@ -7,8 +7,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "4ca04b31-a106-4ddc-a4f4-a8e9b1f43990" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "53d4d5d9-9e4b-4da3-abf2-e5405d503a59" }, "RequestBody": null, "StatusCode": 401, @@ -22,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:18 GMT", + "Date": "Sun, 22 Jan 2023 03:11:51 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a1e517b9-da8b-4fa2-978c-a94b8f91f70e" + "X-Ms-Correlation-Request-Id": "d0a22923-ccde-4161-bc31-309d15dafbf6" }, "ResponseBody": { "errors": [ @@ -56,21 +56,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "84", + "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "5d96ed98-6261-4e06-9ae5-f8619e1ae5ef" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "54ccaacc-581a-433b-b124-2e8c5857070c" }, - "RequestBody": "grant_type=access_token\u0026service=myregistry.azurecr.io\u0026access_token=SecretPlaceholder", + "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:18 GMT", + "Date": "Sun, 22 Jan 2023 03:11:52 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "61115660-306a-439f-8f7a-089addc01d9e" + "X-Ms-Correlation-Request-Id": "28151178-2ba1-4f00-9dcf-62cf7ea64965", + "x-ms-ratelimit-remaining-calls-per-second": "165.833333" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -83,21 +84,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "174", + "Content-Length": "186", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "d7ab1d73-92ff-4e18-bb5b-ebf778c7aba2" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "24464100-8249-46f0-bffc-fc0bb74f28f4" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:18 GMT", + "Date": "Sun, 22 Jan 2023 03:11:52 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "fcd65c3f-7bed-4a4e-b0c0-04485163c33c" + "X-Ms-Correlation-Request-Id": "6fca9811-337f-47e3-b5b8-1471e10dcf1e", + "x-ms-ratelimit-remaining-calls-per-second": "165.816667" }, "ResponseBody": { "access_token": "Sanitized" @@ -111,8 +113,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "4ca04b31-a106-4ddc-a4f4-a8e9b1f43990" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "53d4d5d9-9e4b-4da3-abf2-e5405d503a59" }, "RequestBody": null, "StatusCode": 200, @@ -124,9 +126,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "389", + "Content-Length": "401", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:18 GMT", + "Date": "Sun, 22 Jan 2023 03:11:52 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -134,16 +136,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "14aeae60-70ab-411d-bb50-e19bbafbb87d" + "X-Ms-Correlation-Request-Id": "dded8ab8-c25d-4208-a241-d7567ecd179f" }, "ResponseBody": { - "registry": "myregistry.azurecr.io", + "registry": "timovcontainerregistry.azurecr.io", "imageName": "library/hello-world", "tag": { "name": "test1", - "digest": "sha256:97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a", - "createdTime": "2022-02-09T18:47:33.7415749Z", - "lastUpdateTime": "2022-02-09T18:47:33.7415749Z", + "digest": "sha256:aa0cc8055b82dc2509bed2e19b275c8f463506616377219d9642221ab53cf9fe", + "createdTime": "2023-01-20T01:01:20.5670614Z", + "lastUpdateTime": "2023-01-20T01:01:20.5670614Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -160,11 +162,12 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "84", "Content-Type": "application/json", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "02b94852-e364-4dd5-8904-5bd333ec5924" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "28d5833b-0212-4584-86c3-8a84df66f243" }, "RequestBody": { "deleteEnabled": false, @@ -183,16 +186,16 @@ "Connection": "keep-alive", "Content-Length": "223", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:18 GMT", + "Date": "Sun, 22 Jan 2023 03:11:52 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022insufficient_scope\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "05c5e8fe-41f9-4d21-a676-405a558063f8" + "X-Ms-Correlation-Request-Id": "4572662b-b216-4433-a7fa-c8a6de0aba95" }, "ResponseBody": { "errors": [ @@ -217,21 +220,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "175", + "Content-Length": "187", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "a01005e5-ee33-4fc0-b708-b4ca3f7d4ec1" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "385432a0-793c-4635-8d29-85d66466f08c" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_write\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_write\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:18 GMT", + "Date": "Sun, 22 Jan 2023 03:11:52 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "0158a83a-3e77-481a-b4f4-4ee6fe2ed60e" + "X-Ms-Correlation-Request-Id": "16f637af-79a4-4803-835a-a225cbcf9e2a", + "x-ms-ratelimit-remaining-calls-per-second": "165.8" }, "ResponseBody": { "access_token": "Sanitized" @@ -247,8 +251,8 @@ "Connection": "keep-alive", "Content-Length": "84", "Content-Type": "application/json", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "02b94852-e364-4dd5-8904-5bd333ec5924" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "28d5833b-0212-4584-86c3-8a84df66f243" }, "RequestBody": { "deleteEnabled": false, @@ -264,10 +268,10 @@ "Link", "X-Ms-Correlation-Request-Id" ], - "Connection": "close", - "Content-Length": "393", + "Connection": "keep-alive", + "Content-Length": "405", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:19 GMT", + "Date": "Sun, 22 Jan 2023 03:11:52 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -275,16 +279,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b9d75d6e-8430-4521-ac71-86e6bceec8eb" + "X-Ms-Correlation-Request-Id": "fa8d8f59-0edb-462a-9eff-b95287146c4b" }, "ResponseBody": { - "registry": "myregistry.azurecr.io", + "registry": "timovcontainerregistry.azurecr.io", "imageName": "library/hello-world", "tag": { "name": "test1", - "digest": "sha256:97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a", - "createdTime": "2022-02-09T18:47:33.7415749Z", - "lastUpdateTime": "2022-02-09T18:47:33.7415749Z", + "digest": "sha256:aa0cc8055b82dc2509bed2e19b275c8f463506616377219d9642221ab53cf9fe", + "createdTime": "2023-01-20T01:01:20.5670614Z", + "lastUpdateTime": "2023-01-20T01:01:20.5670614Z", "signed": false, "changeableAttributes": { "deleteEnabled": false, @@ -295,89 +299,6 @@ } } }, - { - "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_tags/test1?api-version=2021-07-01", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "80", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "2ed844cc-c13d-4f5e-8ba9-d81665d4ad8d" - }, - "RequestBody": { - "deleteEnabled": true, - "writeEnabled": true, - "listEnabled": true, - "readEnabled": true - }, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "223", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:19 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a32a5485-fe45-4323-8815-04be559340af" - }, - "ResponseBody": { - "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" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "175", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "6cd0a3e3-f986-49e8-acab-9f333d4a349a" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_write\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:19 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "22cb48c0-f1f0-47e8-aa10-916f9764e628" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, { "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_tags/test1?api-version=2021-07-01", "RequestMethod": "PATCH", @@ -388,8 +309,8 @@ "Connection": "keep-alive", "Content-Length": "80", "Content-Type": "application/json", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "2ed844cc-c13d-4f5e-8ba9-d81665d4ad8d" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "19ff6d0c-cf68-4175-8c4e-39f86fb72cf7" }, "RequestBody": { "deleteEnabled": true, @@ -406,9 +327,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "389", + "Content-Length": "401", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:19 GMT", + "Date": "Sun, 22 Jan 2023 03:11:52 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -416,16 +337,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "947cd591-7ab6-413b-8256-dc61858311f3" + "X-Ms-Correlation-Request-Id": "ba1723c5-81be-499d-a4b1-ae8de70347f9" }, "ResponseBody": { - "registry": "myregistry.azurecr.io", + "registry": "timovcontainerregistry.azurecr.io", "imageName": "library/hello-world", "tag": { "name": "test1", - "digest": "sha256:97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a", - "createdTime": "2022-02-09T18:47:33.7415749Z", - "lastUpdateTime": "2022-02-09T18:47:33.7415749Z", + "digest": "sha256:aa0cc8055b82dc2509bed2e19b275c8f463506616377219d9642221ab53cf9fe", + "createdTime": "2023-01-20T01:01:20.5670614Z", + "lastUpdateTime": "2023-01-20T01:01:20.5670614Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests.json b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests.json index d645e0c10d9c..c503071f32f8 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests.json +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests.json @@ -7,8 +7,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "ecf773fe-9986-45d8-bbb6-32733119da86" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2b9563c4-f418-44d7-9433-5b8c57fa1f09" }, "RequestBody": null, "StatusCode": 401, @@ -22,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:05 GMT", + "Date": "Sun, 22 Jan 2023 03:11: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a898c33d-1b18-45fc-a66f-cd229566ef03" + "X-Ms-Correlation-Request-Id": "99337e42-eed7-41c9-aa45-287b65dbafbf" }, "ResponseBody": { "errors": [ @@ -56,21 +56,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "84", + "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "a6eaad25-d78a-47bc-ad4b-b0382f692501" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d8fb9b8b-b7cd-4524-9357-eb54b8b9a720" }, - "RequestBody": "grant_type=access_token\u0026service=myregistry.azurecr.io\u0026access_token=SecretPlaceholder", + "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:06 GMT", + "Date": "Sun, 22 Jan 2023 03:11:43 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "13b7b18f-4e2e-4fe1-9993-9b0f29bd1c22" + "X-Ms-Correlation-Request-Id": "3f184b5a-b2b2-4a20-a269-c09f3593b6cd", + "x-ms-ratelimit-remaining-calls-per-second": "166.233333" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -83,21 +84,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "174", + "Content-Length": "186", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "ffe22451-1899-4042-81e3-0c9514b69884" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4ea75739-06f1-489b-b9c2-81e9cb7864fd" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:06 GMT", + "Date": "Sun, 22 Jan 2023 03:11:43 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "7b8a51b0-b59c-4ad5-ac55-443f2f4fdda5" + "X-Ms-Correlation-Request-Id": "e0050cfd-711e-4b16-8d7f-af8647dd64f0", + "x-ms-ratelimit-remaining-calls-per-second": "166.216667" }, "ResponseBody": { "access_token": "Sanitized" @@ -111,8 +113,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "ecf773fe-9986-45d8-bbb6-32733119da86" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2b9563c4-f418-44d7-9433-5b8c57fa1f09" }, "RequestBody": null, "StatusCode": 200, @@ -125,7 +127,7 @@ ], "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:07 GMT", + "Date": "Sun, 22 Jan 2023 03:11:43 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -134,18 +136,18 @@ ], "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "24c74ef4-87ad-4a6f-9b0d-39ac25424a1c" + "X-Ms-Correlation-Request-Id": "48e91855-c7d9-4c41-b0ea-7a7bd8b6bb30" }, "ResponseBody": { - "registry": "myregistry.azurecr.io", + "registry": "timovcontainerregistry.azurecr.io", "imageName": "library/hello-world", "manifests": [ { - "digest": "sha256:01433e86a06b752f228e3c17394169a5e21a0995f153268a9b36a16d4f2b2184", - "imageSize": 5216, - "createdTime": "2022-02-09T02:57:25.4662706Z", - "lastUpdateTime": "2022-02-09T02:57:25.4662706Z", - "architecture": "arm64", + "digest": "sha256:40d0cfd0861719208ff9f7747ab3f97844eeca509df705db44a736df863b76af", + "imageSize": 5001, + "createdTime": "2023-01-20T01:01:21.2255041Z", + "lastUpdateTime": "2023-01-20T01:01:21.2255041Z", + "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", "changeableAttributes": { @@ -156,11 +158,11 @@ } }, { - "digest": "sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409", - "imageSize": 4727, - "createdTime": "2022-02-09T02:57:25.5140986Z", - "lastUpdateTime": "2022-02-09T02:57:25.5140986Z", - "architecture": "386", + "digest": "sha256:432f982638b3aefab73cc58ab28f5c16e96fdb504e8c134fc58dff4bae8bf338", + "imageSize": 5218, + "createdTime": "2023-01-20T01:01:21.3262689Z", + "lastUpdateTime": "2023-01-20T01:01:21.3262689Z", + "architecture": "arm64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", "changeableAttributes": { @@ -170,24 +172,11 @@ "listEnabled": true } }, - { - "digest": "sha256:507ecde44b8eb741278274653120c2bf793b174c06ff4eaa672b713b3263477b", - "imageSize": 61663, - "createdTime": "2022-02-09T02:57:26.2436833Z", - "lastUpdateTime": "2022-02-09T02:57:26.2436833Z", - "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } - }, { "digest": "sha256:7b8b7289d0536a08eabdf71c20246e23f7116641db7e1d278592236ea4dcb30c", "imageSize": 5691, - "createdTime": "2022-02-09T02:57:24.4434927Z", - "lastUpdateTime": "2022-02-09T02:57:24.4434927Z", + "createdTime": "2023-01-20T01:01:21.0080021Z", + "lastUpdateTime": "2023-01-20T01:01:21.0080021Z", "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -199,10 +188,10 @@ } }, { - "digest": "sha256:7e9c5b2a36bdd391c713b800eb7ac7047207f04faf92ec4aff8667c85540b41b", - "imageSize": 5844, - "createdTime": "2022-02-09T02:57:26.0157335Z", - "lastUpdateTime": "2022-02-09T02:57:26.0157335Z", + "digest": "sha256:85cb8a21bf48b235130639896249c369832588da34f8ae8c7f3995aa824be7d5", + "imageSize": 122105243, + "createdTime": "2023-01-20T01:01:28.3667238Z", + "lastUpdateTime": "2023-01-20T01:01:28.3667238Z", "architecture": "amd64", "os": "windows", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -214,20 +203,13 @@ } }, { - "digest": "sha256:97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a", - "imageSize": 61614, - "createdTime": "2022-02-09T18:47:33.6395637Z", - "lastUpdateTime": "2022-02-09T18:47:33.6395637Z", - "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", - "tags": [ - "latest", - "test-delete", - "test1", - "v1", - "v2", - "v3", - "v4" - ], + "digest": "sha256:87b9ca29151260634b95efb84d43b05335dc3ed36cc132e2b920dd1955342d20", + "imageSize": 106671756, + "createdTime": "2023-01-20T01:01:27.3337015Z", + "lastUpdateTime": "2023-01-20T01:01:27.3337015Z", + "architecture": "amd64", + "os": "windows", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", "changeableAttributes": { "deleteEnabled": true, "writeEnabled": true, @@ -238,8 +220,8 @@ { "digest": "sha256:98c9722322be649df94780d3fbe594fce7996234b259f27eac9428b84050c849", "imageSize": 4996, - "createdTime": "2022-02-09T02:57:26.4172386Z", - "lastUpdateTime": "2022-02-09T02:57:26.4172386Z", + "createdTime": "2023-01-20T01:01:21.6930739Z", + "lastUpdateTime": "2023-01-20T01:01:21.6930739Z", "architecture": "riscv64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -251,12 +233,12 @@ } }, { - "digest": "sha256:b17da88a43678dd8de2c335b977330a5f4e3f1175251a4204f54ef2ed1360709", - "imageSize": 5871, - "createdTime": "2022-02-09T02:57:27.8519362Z", - "lastUpdateTime": "2022-02-09T02:57:27.8519362Z", - "architecture": "amd64", - "os": "windows", + "digest": "sha256:995efde2e81b21d1ea7066aa77a59298a62a9e9fbb4b77f36c189774ec9b1089", + "imageSize": 4729, + "createdTime": "2023-01-20T01:01:21.6106873Z", + "lastUpdateTime": "2023-01-20T01:01:21.6106873Z", + "architecture": "386", + "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", "changeableAttributes": { "deleteEnabled": true, @@ -266,13 +248,15 @@ } }, { - "digest": "sha256:b3dd41b5fbccbf0e39bee932466d389214cddcb53fa4ad5d02f29ee4172db8c7", - "imageSize": 5826, - "createdTime": "2022-02-09T18:43:53.3912761Z", - "lastUpdateTime": "2022-02-09T18:43:53.3912761Z", - "architecture": "amd64", - "os": "windows", - "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "digest": "sha256:aa0cc8055b82dc2509bed2e19b275c8f463506616377219d9642221ab53cf9fe", + "imageSize": 228826953, + "createdTime": "2023-01-20T01:01:20.4824747Z", + "lastUpdateTime": "2023-01-20T01:01:20.4824747Z", + "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", + "tags": [ + "test-delete", + "test1" + ], "changeableAttributes": { "deleteEnabled": true, "writeEnabled": true, @@ -283,8 +267,8 @@ { "digest": "sha256:b836bb24a270b9cc935962d8228517fde0f16990e88893d935efcb1b14c0017a", "imageSize": 5925, - "createdTime": "2022-02-09T02:57:27.0529379Z", - "lastUpdateTime": "2022-02-09T02:57:27.0529379Z", + "createdTime": "2023-01-20T01:01:21.4709666Z", + "lastUpdateTime": "2023-01-20T01:01:21.4709666Z", "architecture": "ppc64le", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -295,26 +279,11 @@ "listEnabled": true } }, - { - "digest": "sha256:c2f204d26b4ea353651385001bb6bc371d8c4edcd9daf61d00ad365d927e00c0", - "imageSize": 6088, - "createdTime": "2022-02-09T02:57:25.5704516Z", - "lastUpdateTime": "2022-02-09T02:57:25.5704516Z", - "architecture": "mips64le", - "os": "linux", - "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } - }, { "digest": "sha256:c7b6944911848ce39b44ed660d95fb54d69bbd531de724c7ce6fc9f743c0b861", "imageSize": 5270, - "createdTime": "2022-02-09T02:57:26.1376238Z", - "lastUpdateTime": "2022-02-09T02:57:26.1376238Z", + "createdTime": "2023-01-20T01:01:21.9144854Z", + "lastUpdateTime": "2023-01-20T01:01:21.9144854Z", "architecture": "s390x", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -326,11 +295,11 @@ } }, { - "digest": "sha256:f130bd2d67e6e9280ac6d0a6c83857bfaf70234e8ef4236876eccfbd30973b1c", - "imageSize": 5000, - "createdTime": "2022-02-09T02:57:24.5515527Z", - "lastUpdateTime": "2022-02-09T02:57:24.5515527Z", - "architecture": "arm", + "digest": "sha256:eb11b1a194ff8e236a01eff392c4e1296a53b0fb4780d8b0382f7996a15d5392", + "imageSize": 6090, + "createdTime": "2023-01-20T01:01:22.8599665Z", + "lastUpdateTime": "2023-01-20T01:01:22.8599665Z", + "architecture": "mips64le", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", "changeableAttributes": { @@ -343,8 +312,8 @@ { "digest": "sha256:f54a58bc1aac5ea1a25d796ae155dc228b3f0e11d046ae276b39c4bf2f13d8c4", "imageSize": 4473, - "createdTime": "2022-02-09T02:57:26.0724745Z", - "lastUpdateTime": "2022-02-09T02:57:26.0724745Z", + "createdTime": "2023-01-20T01:01:21.3910275Z", + "lastUpdateTime": "2023-01-20T01:01:21.3910275Z", "architecture": "amd64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -354,21 +323,6 @@ "readEnabled": true, "listEnabled": true } - }, - { - "digest": "sha256:fdea2bf76c9a47fc0b81958cb87aa65448012ef36ce051a72a09db398efdf7cc", - "imageSize": 5840, - "createdTime": "2022-02-09T18:43:53.2638308Z", - "lastUpdateTime": "2022-02-09T18:43:53.2638308Z", - "architecture": "amd64", - "os": "windows", - "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } } ] } diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages.json b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages.json index a3370c1f9f12..02dfc00a3079 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages.json +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages.json @@ -7,8 +7,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "62c9f3eb-c0ee-44f3-93a4-b5a06fd3de0f" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "25ef5ea8-6705-4a41-b2b5-b1ef6c407804" }, "RequestBody": null, "StatusCode": 401, @@ -22,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:07 GMT", + "Date": "Sun, 22 Jan 2023 03:11: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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ccbaafdf-b8f3-4638-9692-8bce6e062e4e" + "X-Ms-Correlation-Request-Id": "1d64aeb7-81c6-4661-9358-3e09106a4760" }, "ResponseBody": { "errors": [ @@ -56,21 +56,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "84", + "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "11f4078d-9fb4-406a-809d-b574db78771a" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "902e3c20-3109-4325-b5cc-9690aacff4f0" }, - "RequestBody": "grant_type=access_token\u0026service=myregistry.azurecr.io\u0026access_token=SecretPlaceholder", + "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:07 GMT", + "Date": "Sun, 22 Jan 2023 03:11:44 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "10f0e040-be3d-400c-befa-5c603857d36d" + "X-Ms-Correlation-Request-Id": "8cba815e-28ea-4f89-97d3-2e13ea07f075", + "x-ms-ratelimit-remaining-calls-per-second": "166.2" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -83,21 +84,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "174", + "Content-Length": "186", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "de3f68ce-347b-4f49-91b7-39cb22923c9e" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "bc58d776-ae07-427f-bf2d-8ba140547231" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:07 GMT", + "Date": "Sun, 22 Jan 2023 03:11:44 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d59eb253-b73c-4783-9da1-9fe9c50cb7e4" + "X-Ms-Correlation-Request-Id": "fef66de3-b7b0-4543-a97b-cc82ad11c72e", + "x-ms-ratelimit-remaining-calls-per-second": "166.183333" }, "ResponseBody": { "access_token": "Sanitized" @@ -111,8 +113,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "62c9f3eb-c0ee-44f3-93a4-b5a06fd3de0f" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "25ef5ea8-6705-4a41-b2b5-b1ef6c407804" }, "RequestBody": null, "StatusCode": 200, @@ -124,29 +126,29 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "487", + "Content-Length": "497", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:07 GMT", + "Date": "Sun, 22 Jan 2023 03:11:44 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A01433e86a06b752f228e3c17394169a5e21a0995f153268a9b36a16d4f2b2184\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A40d0cfd0861719208ff9f7747ab3f97844eeca509df705db44a736df863b76af\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f61f46a7-03c8-4e57-b421-90fa1a96d9a5" + "X-Ms-Correlation-Request-Id": "221000d8-c7e3-43cd-8fa5-a8bd9f9ba1c6" }, "ResponseBody": { - "registry": "myregistry.azurecr.io", + "registry": "timovcontainerregistry.azurecr.io", "imageName": "library/hello-world", "manifests": [ { - "digest": "sha256:01433e86a06b752f228e3c17394169a5e21a0995f153268a9b36a16d4f2b2184", - "imageSize": 5216, - "createdTime": "2022-02-09T02:57:25.4662706Z", - "lastUpdateTime": "2022-02-09T02:57:25.4662706Z", - "architecture": "arm64", + "digest": "sha256:40d0cfd0861719208ff9f7747ab3f97844eeca509df705db44a736df863b76af", + "imageSize": 5001, + "createdTime": "2023-01-20T01:01:21.2255041Z", + "lastUpdateTime": "2023-01-20T01:01:21.2255041Z", + "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", "changeableAttributes": { @@ -160,91 +162,15 @@ } }, { - "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A01433e86a06b752f228e3c17394169a5e21a0995f153268a9b36a16d4f2b2184\u0026n=1\u0026orderby=\u0026api-version=2021-07-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "d3641d5e-c52a-42d7-8bc6-ef829a5e52d9" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "222", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:07 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b826affe-8a88-4b76-b9c8-b79cdde31d44" - }, - "ResponseBody": { - "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" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "174", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "9c1b5111-a4f4-46ae-b34e-dd7209a2f939" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:08 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "93c853e1-8038-4beb-852e-cd08e6aff682" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A01433e86a06b752f228e3c17394169a5e21a0995f153268a9b36a16d4f2b2184\u0026n=1\u0026orderby=\u0026api-version=2021-07-01", + "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A40d0cfd0861719208ff9f7747ab3f97844eeca509df705db44a736df863b76af\u0026n=1\u0026orderby=\u0026api-version=2021-07-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "d3641d5e-c52a-42d7-8bc6-ef829a5e52d9" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "944e132b-b403-4b7d-a404-f000cc487b47" }, "RequestBody": null, "StatusCode": 200, @@ -256,29 +182,29 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "485", + "Content-Length": "499", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:08 GMT", + "Date": "Sun, 22 Jan 2023 03:11:44 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A432f982638b3aefab73cc58ab28f5c16e96fdb504e8c134fc58dff4bae8bf338\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "541da869-dcca-44fb-a173-a64d7e548827" + "X-Ms-Correlation-Request-Id": "831d3bf3-0d30-4c23-8bbb-130752e71374" }, "ResponseBody": { - "registry": "myregistry.azurecr.io", + "registry": "timovcontainerregistry.azurecr.io", "imageName": "library/hello-world", "manifests": [ { - "digest": "sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409", - "imageSize": 4727, - "createdTime": "2022-02-09T02:57:25.5140986Z", - "lastUpdateTime": "2022-02-09T02:57:25.5140986Z", - "architecture": "386", + "digest": "sha256:432f982638b3aefab73cc58ab28f5c16e96fdb504e8c134fc58dff4bae8bf338", + "imageSize": 5218, + "createdTime": "2023-01-20T01:01:21.3262689Z", + "lastUpdateTime": "2023-01-20T01:01:21.3262689Z", + "architecture": "arm64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", "changeableAttributes": { diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages_with_continuationtoken.json b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages_with_continuationtoken.json index 4910587e3751..dfe4b1c21391 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages_with_continuationtoken.json +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_registry_manifests_by_pages_with_continuationtoken.json @@ -7,8 +7,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "4b25c094-636d-4de1-b34c-ad62f2a4f23e" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ad936711-c92f-4f54-97a6-acb3a64b3a06" }, "RequestBody": null, "StatusCode": 401, @@ -19,19 +19,19 @@ "Link", "X-Ms-Correlation-Request-Id" ], - "Connection": "keep-alive", + "Connection": "close", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:08 GMT", + "Date": "Sun, 22 Jan 2023 03:11:44 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f5000d38-9767-4224-9392-567f0a979744" + "X-Ms-Correlation-Request-Id": "00d73bbc-e0ec-4be9-aa0c-2df04918d86d" }, "ResponseBody": { "errors": [ @@ -56,21 +56,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "84", + "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "39b119e8-ea08-48e7-a175-3aa7f82ce46b" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f701594b-cced-40c2-a77d-a726cfc8cfc3" }, - "RequestBody": "grant_type=access_token\u0026service=myregistry.azurecr.io\u0026access_token=SecretPlaceholder", + "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:09 GMT", + "Date": "Sun, 22 Jan 2023 03:11:45 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "2eeef331-2ccf-4793-b6ec-b6d3a155d147" + "X-Ms-Correlation-Request-Id": "5988b902-3a48-49cc-95fe-01ac65c2b324", + "x-ms-ratelimit-remaining-calls-per-second": "166.166667" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -83,21 +84,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "174", + "Content-Length": "186", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "b893d7fe-d4cb-4b2f-8fdf-28f071dc864f" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1a0cad9a-669d-4f32-ae57-4c9ddd7e03f7" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:09 GMT", + "Date": "Sun, 22 Jan 2023 03:11:45 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "89a7103a-9783-499f-a905-048d85ea3958" + "X-Ms-Correlation-Request-Id": "e8e09bdd-dc24-483c-8a1f-e8d52b7f5a8c", + "x-ms-ratelimit-remaining-calls-per-second": "166.15" }, "ResponseBody": { "access_token": "Sanitized" @@ -111,8 +113,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "4b25c094-636d-4de1-b34c-ad62f2a4f23e" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ad936711-c92f-4f54-97a6-acb3a64b3a06" }, "RequestBody": null, "StatusCode": 200, @@ -124,29 +126,29 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "485", + "Content-Length": "497", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:09 GMT", + "Date": "Sun, 22 Jan 2023 03:11:45 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A40d0cfd0861719208ff9f7747ab3f97844eeca509df705db44a736df863b76af\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "18ddf598-7054-4cd3-9c5d-ce2bb4b2156d" + "X-Ms-Correlation-Request-Id": "f4076565-e445-4c4e-ac62-8805be6e1360" }, "ResponseBody": { - "registry": "myregistry.azurecr.io", + "registry": "timovcontainerregistry.azurecr.io", "imageName": "library/hello-world", "manifests": [ { - "digest": "sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409", - "imageSize": 4727, - "createdTime": "2022-02-09T02:57:25.5140986Z", - "lastUpdateTime": "2022-02-09T02:57:25.5140986Z", - "architecture": "386", + "digest": "sha256:40d0cfd0861719208ff9f7747ab3f97844eeca509df705db44a736df863b76af", + "imageSize": 5001, + "createdTime": "2023-01-20T01:01:21.2255041Z", + "lastUpdateTime": "2023-01-20T01:01:21.2255041Z", + "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", "changeableAttributes": { diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags.json b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags.json index 05d5fa067098..abfaa1da92b8 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags.json +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags.json @@ -7,8 +7,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "0b314ae1-b3e3-4d5c-bb9a-000c51d235ae" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8ce76eb5-38ca-48c2-b3da-d99439f2bf20" }, "RequestBody": null, "StatusCode": 401, @@ -22,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:09 GMT", + "Date": "Sun, 22 Jan 2023 03:11:45 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a44a0316-9f63-4fad-a89a-9651dfe54540" + "X-Ms-Correlation-Request-Id": "152c63c0-eab4-409c-9c1b-ae3773202bef" }, "ResponseBody": { "errors": [ @@ -56,21 +56,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "84", + "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "232df694-821f-4894-8f70-823b228cadd5" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3c4fa79e-810e-4a71-83cf-ee57294f50e1" }, - "RequestBody": "grant_type=access_token\u0026service=myregistry.azurecr.io\u0026access_token=SecretPlaceholder", + "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:09 GMT", + "Date": "Sun, 22 Jan 2023 03:11:45 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "582492e6-49a0-414c-91e3-5c26c80b1f0b" + "X-Ms-Correlation-Request-Id": "fe10110f-4925-4222-afc4-94c79431a848", + "x-ms-ratelimit-remaining-calls-per-second": "166.133333" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -83,21 +84,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "174", + "Content-Length": "186", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "cb3f8307-8ae2-4641-b99c-750bc20b11a4" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8ef58953-6969-4058-acfd-3b1801fc0832" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:09 GMT", + "Date": "Sun, 22 Jan 2023 03:11:45 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "a405ab85-f84e-4918-af7a-2668cb043182" + "X-Ms-Correlation-Request-Id": "fab3f490-39a2-470d-a68c-51b547918292", + "x-ms-ratelimit-remaining-calls-per-second": "166.116667" }, "ResponseBody": { "access_token": "Sanitized" @@ -111,8 +113,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "0b314ae1-b3e3-4d5c-bb9a-000c51d235ae" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8ce76eb5-38ca-48c2-b3da-d99439f2bf20" }, "RequestBody": null, "StatusCode": 200, @@ -124,40 +126,27 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", + "Content-Length": "722", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:10 GMT", + "Date": "Sun, 22 Jan 2023 03:11:46 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": "82541a2c-c651-4a89-a2fc-bfd836dd818f" + "X-Ms-Correlation-Request-Id": "495d1dd6-b010-4645-889f-0f7a8eb09b6e" }, "ResponseBody": { - "registry": "myregistry.azurecr.io", + "registry": "timovcontainerregistry.azurecr.io", "imageName": "library/hello-world", "tags": [ - { - "name": "latest", - "digest": "sha256:97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a", - "createdTime": "2022-02-09T18:47:46.5263261Z", - "lastUpdateTime": "2022-02-09T18:47:46.5263261Z", - "signed": false, - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } - }, { "name": "test-delete", - "digest": "sha256:97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a", - "createdTime": "2022-02-10T00:20:26.9021628Z", - "lastUpdateTime": "2022-02-10T00:20:26.9021628Z", + "digest": "sha256:aa0cc8055b82dc2509bed2e19b275c8f463506616377219d9642221ab53cf9fe", + "createdTime": "2023-01-20T01:01:20.9234417Z", + "lastUpdateTime": "2023-01-20T01:01:20.9234417Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -168,61 +157,9 @@ }, { "name": "test1", - "digest": "sha256:97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a", - "createdTime": "2022-02-09T18:47:33.7415749Z", - "lastUpdateTime": "2022-02-09T18:47:33.7415749Z", - "signed": false, - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } - }, - { - "name": "v1", - "digest": "sha256:97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a", - "createdTime": "2022-02-09T18:47:47.2960343Z", - "lastUpdateTime": "2022-02-09T18:47:47.2960343Z", - "signed": false, - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } - }, - { - "name": "v2", - "digest": "sha256:97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a", - "createdTime": "2022-02-09T18:47:49.2582616Z", - "lastUpdateTime": "2022-02-09T18:47:49.2582616Z", - "signed": false, - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } - }, - { - "name": "v3", - "digest": "sha256:97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a", - "createdTime": "2022-02-09T18:47:46.7668102Z", - "lastUpdateTime": "2022-02-09T18:47:46.7668102Z", - "signed": false, - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } - }, - { - "name": "v4", - "digest": "sha256:97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a", - "createdTime": "2022-02-09T18:47:47.0046704Z", - "lastUpdateTime": "2022-02-09T18:47:47.0046704Z", + "digest": "sha256:aa0cc8055b82dc2509bed2e19b275c8f463506616377219d9642221ab53cf9fe", + "createdTime": "2023-01-20T01:01:20.5670614Z", + "lastUpdateTime": "2023-01-20T01:01:20.5670614Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags_by_pages.json b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags_by_pages.json index 3cd43d8f679d..7ae58dfb35c2 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags_by_pages.json +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags_by_pages.json @@ -7,8 +7,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "508d11b5-f9ef-443a-82b8-0461d08b4f0d" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "fb9f158a-9b5c-4801-a24c-0488c117c4a3" }, "RequestBody": null, "StatusCode": 401, @@ -22,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:10 GMT", + "Date": "Sun, 22 Jan 2023 03:11:46 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5a319ff6-b136-4984-9ee1-feb6098db53c" + "X-Ms-Correlation-Request-Id": "393df024-0c44-44df-ac27-636c695c8b99" }, "ResponseBody": { "errors": [ @@ -56,21 +56,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "84", + "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "e4bb6d60-aedb-439a-8500-397f3f62910c" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4dd9278e-a1b2-4e3a-bb37-7cd7e1927227" }, - "RequestBody": "grant_type=access_token\u0026service=myregistry.azurecr.io\u0026access_token=SecretPlaceholder", + "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:10 GMT", + "Date": "Sun, 22 Jan 2023 03:11:46 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "6e853c87-5be9-4347-92bc-28f56220eece" + "X-Ms-Correlation-Request-Id": "62c1a018-796f-474f-9ab0-9374ad2f5b41", + "x-ms-ratelimit-remaining-calls-per-second": "166.1" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -83,21 +84,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "174", + "Content-Length": "186", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "22a1e509-d0cf-4b73-9ddc-9229ebc0bdaa" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9959c0f7-5a60-4b82-b8f0-d43fbeaa8439" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:10 GMT", + "Date": "Sun, 22 Jan 2023 03:11:46 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b178c983-4c61-4188-aab2-6db659533264" + "X-Ms-Correlation-Request-Id": "c8fe6dac-14e2-4d1c-888d-2f0f58344625", + "x-ms-ratelimit-remaining-calls-per-second": "166.083333" }, "ResponseBody": { "access_token": "Sanitized" @@ -111,8 +113,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "508d11b5-f9ef-443a-82b8-0461d08b4f0d" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "fb9f158a-9b5c-4801-a24c-0488c117c4a3" }, "RequestBody": null, "StatusCode": 200, @@ -124,28 +126,28 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "393", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:10 GMT", + "Date": "Sun, 22 Jan 2023 03:11:46 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Link": "\u003C/acr/v1/library%2Fhello-world/_tags?last=latest\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Link": "\u003C/acr/v1/library%2Fhello-world/_tags?last=test-delete\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f35ec82d-59d5-4db5-b66a-d3aca6c07089" + "X-Ms-Correlation-Request-Id": "8897ea82-72fa-4cb6-886e-4e2bb0bd56b7" }, "ResponseBody": { - "registry": "myregistry.azurecr.io", + "registry": "timovcontainerregistry.azurecr.io", "imageName": "library/hello-world", "tags": [ { - "name": "latest", - "digest": "sha256:97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a", - "createdTime": "2022-02-09T18:47:46.5263261Z", - "lastUpdateTime": "2022-02-09T18:47:46.5263261Z", + "name": "test-delete", + "digest": "sha256:aa0cc8055b82dc2509bed2e19b275c8f463506616377219d9642221ab53cf9fe", + "createdTime": "2023-01-20T01:01:20.9234417Z", + "lastUpdateTime": "2023-01-20T01:01:20.9234417Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -158,91 +160,15 @@ } }, { - "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=latest\u0026n=1\u0026orderby=\u0026api-version=2021-07-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "804b1aa2-35e4-4e94-9053-264776526d57" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "222", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:10 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6e284773-29f9-402d-a66c-1e9f6ef0ed76" - }, - "ResponseBody": { - "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" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "174", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "bfc37835-cb78-42eb-a42d-166dc912d80f" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:10 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "2af7f606-d5cd-41b1-9fe8-04d98cd971fe" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=latest\u0026n=1\u0026orderby=\u0026api-version=2021-07-01", + "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=test-delete\u0026n=1\u0026orderby=\u0026api-version=2021-07-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "804b1aa2-35e4-4e94-9053-264776526d57" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1a8e912c-24cd-42b3-aa48-76ccf324ac78" }, "RequestBody": null, "StatusCode": 200, @@ -254,28 +180,27 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "398", + "Content-Length": "404", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:11 GMT", + "Date": "Sun, 22 Jan 2023 03:11:46 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Link": "\u003C/acr/v1/library%2Fhello-world/_tags?last=test-delete\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "9d581add-9d75-445a-9f9c-9033880366c4" + "X-Ms-Correlation-Request-Id": "efe9ef60-f3eb-4764-8a28-a1faacfb35be" }, "ResponseBody": { - "registry": "myregistry.azurecr.io", + "registry": "timovcontainerregistry.azurecr.io", "imageName": "library/hello-world", "tags": [ { - "name": "test-delete", - "digest": "sha256:97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a", - "createdTime": "2022-02-10T00:20:26.9021628Z", - "lastUpdateTime": "2022-02-10T00:20:26.9021628Z", + "name": "test1", + "digest": "sha256:aa0cc8055b82dc2509bed2e19b275c8f463506616377219d9642221ab53cf9fe", + "createdTime": "2023-01-20T01:01:20.5670614Z", + "lastUpdateTime": "2023-01-20T01:01:20.5670614Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags_by_pages_with_continuationtoken.json b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags_by_pages_with_continuationtoken.json index 01e6191192c3..05c5bd85f578 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags_by_pages_with_continuationtoken.json +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_list_tags_by_pages_with_continuationtoken.json @@ -7,8 +7,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "b2872627-5aea-4693-ac71-df6ab035f1db" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ec6c747d-1f27-4283-9ba7-deadcdfd79d0" }, "RequestBody": null, "StatusCode": 401, @@ -22,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:11 GMT", + "Date": "Sun, 22 Jan 2023 03:11:46 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "553d0f52-cb7f-4b0a-bc58-a281802154a0" + "X-Ms-Correlation-Request-Id": "2581b460-6aef-4876-9d2c-a0bb2740b704" }, "ResponseBody": { "errors": [ @@ -56,21 +56,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "84", + "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "ea773e30-e453-4252-8d54-6a08d60aef0e" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9e5b8d18-e130-4abc-a8eb-bccba42f3872" }, - "RequestBody": "grant_type=access_token\u0026service=myregistry.azurecr.io\u0026access_token=SecretPlaceholder", + "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:11 GMT", + "Date": "Sun, 22 Jan 2023 03:11:47 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "095e13c6-e183-42f4-9e9a-5b24a67cf3f9" + "X-Ms-Correlation-Request-Id": "031dcb7c-8a8b-42ea-aae5-26d902294940", + "x-ms-ratelimit-remaining-calls-per-second": "166.066667" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -83,21 +84,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "174", + "Content-Length": "186", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "7938bdc8-67d2-4c4e-bfd7-47d5af18b82a" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1a0a6c67-8e40-49c8-9b51-d4e6fec87dc0" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:11 GMT", + "Date": "Sun, 22 Jan 2023 03:11:47 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "0d72d040-6070-4903-9d03-d2b8704fc24f" + "X-Ms-Correlation-Request-Id": "833c03b2-d8b1-49c8-91b0-1a8651db77af", + "x-ms-ratelimit-remaining-calls-per-second": "166.05" }, "ResponseBody": { "access_token": "Sanitized" @@ -111,8 +113,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "b2872627-5aea-4693-ac71-df6ab035f1db" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ec6c747d-1f27-4283-9ba7-deadcdfd79d0" }, "RequestBody": null, "StatusCode": 200, @@ -124,28 +126,27 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "392", + "Content-Length": "404", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:12 GMT", + "Date": "Sun, 22 Jan 2023 03:11:47 GMT", "Docker-Distribution-Api-Version": "registry/2.0", - "Link": "\u003C/acr/v1/library%2Fhello-world/_tags?last=test1\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "390c2f71-ac02-4984-965d-b5e9adb07555" + "X-Ms-Correlation-Request-Id": "2ba471ff-33cb-42d8-8f4d-43a13926c7be" }, "ResponseBody": { - "registry": "myregistry.azurecr.io", + "registry": "timovcontainerregistry.azurecr.io", "imageName": "library/hello-world", "tags": [ { "name": "test1", - "digest": "sha256:97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a", - "createdTime": "2022-02-09T18:47:33.7415749Z", - "lastUpdateTime": "2022-02-09T18:47:33.7415749Z", + "digest": "sha256:aa0cc8055b82dc2509bed2e19b275c8f463506616377219d9642221ab53cf9fe", + "createdTime": "2023-01-20T01:01:20.5670614Z", + "lastUpdateTime": "2023-01-20T01:01:20.5670614Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_digest.json b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_digest.json index e13449ccf662..ddc8fa76b15e 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_digest.json +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_digest.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409?api-version=2021-07-01", + "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A40d0cfd0861719208ff9f7747ab3f97844eeca509df705db44a736df863b76af?api-version=2021-07-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "cbf0b85e-fcc8-4d4c-b41d-93d990ac96d7" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d886a891-38a9-4a7f-8ef9-497e0e31c8a0" }, "RequestBody": null, "StatusCode": 401, @@ -22,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:17 GMT", + "Date": "Sun, 22 Jan 2023 03:11:51 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f80065ff-fae8-4af1-b818-b1935bf1b0a6" + "X-Ms-Correlation-Request-Id": "36860cbd-61cb-4984-8a66-19e561586a58" }, "ResponseBody": { "errors": [ @@ -56,21 +56,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "84", + "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "cc86c7ee-bb69-49a3-8cab-97dfa4eed0d7" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "6fe08c18-1f25-416f-933d-cdaae1685004" }, - "RequestBody": "grant_type=access_token\u0026service=myregistry.azurecr.io\u0026access_token=SecretPlaceholder", + "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:17 GMT", + "Date": "Sun, 22 Jan 2023 03:11:51 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b50fbca1-b47c-467d-8d66-48d1064cabcb" + "X-Ms-Correlation-Request-Id": "bd37535b-c2ae-4514-9099-4d305001db97", + "x-ms-ratelimit-remaining-calls-per-second": "165.866667" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -83,36 +84,37 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "174", + "Content-Length": "186", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "4ccbcb07-fa9d-4e1e-858d-baab914f82ff" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "335785df-5d13-4d97-bb61-284ff7dadc7c" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:17 GMT", + "Date": "Sun, 22 Jan 2023 03:11:51 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "00703105-9888-4629-8b91-648933acf556" + "X-Ms-Correlation-Request-Id": "7d0805d3-0032-4667-8266-0b54df88358b", + "x-ms-ratelimit-remaining-calls-per-second": "165.85" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409?api-version=2021-07-01", + "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A40d0cfd0861719208ff9f7747ab3f97844eeca509df705db44a736df863b76af?api-version=2021-07-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "cbf0b85e-fcc8-4d4c-b41d-93d990ac96d7" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d886a891-38a9-4a7f-8ef9-497e0e31c8a0" }, "RequestBody": null, "StatusCode": 200, @@ -124,9 +126,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "482", + "Content-Length": "494", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:18 GMT", + "Date": "Sun, 22 Jan 2023 03:11:51 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -134,17 +136,17 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "8cea620a-71e5-481d-8b0c-9a7da3df801f" + "X-Ms-Correlation-Request-Id": "816c2ef5-9d8d-457f-ad6d-1637ff453d31" }, "ResponseBody": { - "registry": "myregistry.azurecr.io", + "registry": "timovcontainerregistry.azurecr.io", "imageName": "library/hello-world", "manifest": { - "digest": "sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409", - "imageSize": 4727, - "createdTime": "2022-02-09T02:57:25.5140986Z", - "lastUpdateTime": "2022-02-09T02:57:25.5140986Z", - "architecture": "386", + "digest": "sha256:40d0cfd0861719208ff9f7747ab3f97844eeca509df705db44a736df863b76af", + "imageSize": 5001, + "createdTime": "2023-01-20T01:01:21.2255041Z", + "lastUpdateTime": "2023-01-20T01:01:21.2255041Z", + "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", "changeableAttributes": { diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_tag.json b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_tag.json index bd92b0456c39..149247ab5c2d 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_tag.json +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_registry_artifact_properties_for_a_tag.json @@ -7,8 +7,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "07a9a12d-c803-41ff-b393-c57d3128283b" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2c0af634-f2dc-4c9e-aeec-b502193883d7" }, "RequestBody": null, "StatusCode": 401, @@ -22,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:16 GMT", + "Date": "Sun, 22 Jan 2023 03:11:50 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "fb711efd-2a1b-4bde-9ec2-c719c46f0773" + "X-Ms-Correlation-Request-Id": "234cf43d-f512-4449-87fb-ea2c12077be0" }, "ResponseBody": { "errors": [ @@ -56,21 +56,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "84", + "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "6b10c72b-163e-4182-a1ce-fc2f8dd6e239" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1b2405db-0c44-42dc-84fe-7ce849bb04b4" }, - "RequestBody": "grant_type=access_token\u0026service=myregistry.azurecr.io\u0026access_token=SecretPlaceholder", + "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:16 GMT", + "Date": "Sun, 22 Jan 2023 03:11:50 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "36a33134-78eb-47bb-9b11-21bfc7a3b6fb" + "X-Ms-Correlation-Request-Id": "3bd00ebe-64ad-429f-b8cd-500458f10570", + "x-ms-ratelimit-remaining-calls-per-second": "165.9" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -83,21 +84,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "174", + "Content-Length": "186", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "a3ad7fdb-c729-4d89-857f-be441aeaaaf9" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3bc60117-497b-4c45-b0be-a95b9cf98c28" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:16 GMT", + "Date": "Sun, 22 Jan 2023 03:11:50 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "46a65603-db16-404f-834d-0722c24cac6e" + "X-Ms-Correlation-Request-Id": "3b21296a-0627-4c37-9a59-ae8c58def809", + "x-ms-ratelimit-remaining-calls-per-second": "165.883333" }, "ResponseBody": { "access_token": "Sanitized" @@ -111,8 +113,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "07a9a12d-c803-41ff-b393-c57d3128283b" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2c0af634-f2dc-4c9e-aeec-b502193883d7" }, "RequestBody": null, "StatusCode": 200, @@ -124,9 +126,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "389", + "Content-Length": "401", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:16 GMT", + "Date": "Sun, 22 Jan 2023 03:11:50 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -134,16 +136,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "1d100345-36da-4ba0-b607-146d9c2d4ea4" + "X-Ms-Correlation-Request-Id": "e5a8f958-1570-4206-b2e5-d185de528f7c" }, "ResponseBody": { - "registry": "myregistry.azurecr.io", + "registry": "timovcontainerregistry.azurecr.io", "imageName": "library/hello-world", "tag": { "name": "test1", - "digest": "sha256:97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a", - "createdTime": "2022-02-09T18:47:33.7415749Z", - "lastUpdateTime": "2022-02-09T18:47:33.7415749Z", + "digest": "sha256:aa0cc8055b82dc2509bed2e19b275c8f463506616377219d9642221ab53cf9fe", + "createdTime": "2023-01-20T01:01:20.5670614Z", + "lastUpdateTime": "2023-01-20T01:01:20.5670614Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -155,91 +157,15 @@ } }, { - "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a?api-version=2021-07-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "5ab4b6a3-985b-4207-9a95-4b8b8b003761" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "222", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:16 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "3ffc2df9-1e2d-46d9-ad57-5a5e5e0cfe1c" - }, - "ResponseBody": { - "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" - } - ] - } - ] - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/oauth2/token?api-version=2021-07-01", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "174", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "0a98cb8f-d0e3-45b8-83ed-878cf458609b" - }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:17 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "4039bd3a-3a74-4898-a44f-85d96d2eaf03" - }, - "ResponseBody": { - "access_token": "Sanitized" - } - }, - { - "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a?api-version=2021-07-01", + "RequestUri": "https://myregistry.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Aaa0cc8055b82dc2509bed2e19b275c8f463506616377219d9642221ab53cf9fe?api-version=2021-07-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "5ab4b6a3-985b-4207-9a95-4b8b8b003761" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "705ff6f5-e402-43f4-80cf-214d73fe1102" }, "RequestBody": null, "StatusCode": 200, @@ -251,9 +177,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1865", + "Content-Length": "1852", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:17 GMT", + "Date": "Sun, 22 Jan 2023 03:11:51 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -261,25 +187,20 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "24e9c032-a2bf-4dc3-95b3-a6e9e57b050a" + "X-Ms-Correlation-Request-Id": "5513c79f-75cb-4b12-b698-75a07a6fc372" }, "ResponseBody": { - "registry": "myregistry.azurecr.io", + "registry": "timovcontainerregistry.azurecr.io", "imageName": "library/hello-world", "manifest": { - "digest": "sha256:97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a", - "imageSize": 61614, - "createdTime": "2022-02-09T18:47:33.6395637Z", - "lastUpdateTime": "2022-02-09T18:47:33.6395637Z", + "digest": "sha256:aa0cc8055b82dc2509bed2e19b275c8f463506616377219d9642221ab53cf9fe", + "imageSize": 228826953, + "createdTime": "2023-01-20T01:01:20.4824747Z", + "lastUpdateTime": "2023-01-20T01:01:20.4824747Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ - "latest", "test-delete", - "test1", - "v1", - "v2", - "v3", - "v4" + "test1" ], "changeableAttributes": { "deleteEnabled": true, @@ -299,22 +220,22 @@ "os": "linux" }, { - "digest": "sha256:f130bd2d67e6e9280ac6d0a6c83857bfaf70234e8ef4236876eccfbd30973b1c", + "digest": "sha256:40d0cfd0861719208ff9f7747ab3f97844eeca509df705db44a736df863b76af", "architecture": "arm", "os": "linux" }, { - "digest": "sha256:01433e86a06b752f228e3c17394169a5e21a0995f153268a9b36a16d4f2b2184", + "digest": "sha256:432f982638b3aefab73cc58ab28f5c16e96fdb504e8c134fc58dff4bae8bf338", "architecture": "arm64", "os": "linux" }, { - "digest": "sha256:251bb7a536c7cce3437758971aab3a31c6da52fb43ff0654cff5b167c4486409", + "digest": "sha256:995efde2e81b21d1ea7066aa77a59298a62a9e9fbb4b77f36c189774ec9b1089", "architecture": "386", "os": "linux" }, { - "digest": "sha256:c2f204d26b4ea353651385001bb6bc371d8c4edcd9daf61d00ad365d927e00c0", + "digest": "sha256:eb11b1a194ff8e236a01eff392c4e1296a53b0fb4780d8b0382f7996a15d5392", "architecture": "mips64le", "os": "linux" }, @@ -334,12 +255,12 @@ "os": "linux" }, { - "digest": "sha256:b3dd41b5fbccbf0e39bee932466d389214cddcb53fa4ad5d02f29ee4172db8c7", + "digest": "sha256:85cb8a21bf48b235130639896249c369832588da34f8ae8c7f3995aa824be7d5", "architecture": "amd64", "os": "windows" }, { - "digest": "sha256:fdea2bf76c9a47fc0b81958cb87aa65448012ef36ce051a72a09db398efdf7cc", + "digest": "sha256:87b9ca29151260634b95efb84d43b05335dc3ed36cc132e2b920dd1955342d20", "architecture": "amd64", "os": "windows" } diff --git a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_tag_properties.json b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_tag_properties.json index 877e319a9834..3a8354231623 100644 --- a/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_tag_properties.json +++ b/sdk/containerregistry/container-registry/recordings/node/repository_and_artifact_tests/recording_should_retrive_tag_properties.json @@ -7,8 +7,8 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "49d674b9-49b2-4608-bf90-d6e7df09f149" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "efc9052f-7927-4263-b17c-0e58928072e0" }, "RequestBody": null, "StatusCode": 401, @@ -22,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:15 GMT", + "Date": "Sun, 22 Jan 2023 03:11:49 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=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022myregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://myregistry.azurecr.io/oauth2/token\u0022,service=\u0022timovcontainerregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "2ec41307-3acd-4ba1-87a3-38f8e11d1916" + "X-Ms-Correlation-Request-Id": "4340905e-e130-4ff3-ae3e-f784911e8bd9" }, "ResponseBody": { "errors": [ @@ -56,21 +56,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "84", + "Content-Length": "96", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "409aa849-3437-47c5-9308-ac871c1f42d2" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "dee49b50-380b-4fe4-acb0-78e4c5c6a5cb" }, - "RequestBody": "grant_type=access_token\u0026service=myregistry.azurecr.io\u0026access_token=SecretPlaceholder", + "RequestBody": "grant_type=access_token\u0026service=timovcontainerregistry.azurecr.io\u0026access_token=SecretPlaceholder", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:15 GMT", + "Date": "Sun, 22 Jan 2023 03:11:50 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "a93a647a-0e44-4bfc-84e7-2f984720073f" + "X-Ms-Correlation-Request-Id": "529b5209-c136-45a1-bbf3-0e033056348d", + "x-ms-ratelimit-remaining-calls-per-second": "165.933333" }, "ResponseBody": { "refresh_token": "sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized" @@ -83,21 +84,22 @@ "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Connection": "keep-alive", - "Content-Length": "174", + "Content-Length": "186", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "654a3d9e-5768-4d5b-a095-e231ef90caab" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "85bb43de-d631-4740-a578-7b0c70233096" }, - "RequestBody": "service=myregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=timovcontainerregistry.azurecr.io\u0026scope=repository%3Alibrary%2Fhello-world%3Ametadata_read\u0026refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:16 GMT", + "Date": "Sun, 22 Jan 2023 03:11:50 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "eed68e36-2aab-4d58-84b8-83986673bc31" + "X-Ms-Correlation-Request-Id": "1fbf1770-98fb-43d2-9265-002b5dc9fee1", + "x-ms-ratelimit-remaining-calls-per-second": "165.916667" }, "ResponseBody": { "access_token": "Sanitized" @@ -111,8 +113,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-container-registry/1.0.1 core-rest-pipeline/1.5.1 Node/v16.13.0 OS/(x64-Linux-5.10.60.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "49d674b9-49b2-4608-bf90-d6e7df09f149" + "User-Agent": "azsdk-js-container-registry/1.1.0-beta.1 core-rest-pipeline/1.10.2 Node/v16.15.1 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "efc9052f-7927-4263-b17c-0e58928072e0" }, "RequestBody": null, "StatusCode": 200, @@ -124,9 +126,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "389", + "Content-Length": "401", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 10 Feb 2022 00:27:16 GMT", + "Date": "Sun, 22 Jan 2023 03:11:50 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -134,16 +136,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5d7a3a36-991d-4b3e-9383-80bef5694cb9" + "X-Ms-Correlation-Request-Id": "21df855b-be1a-4ead-adb9-6f85de79e7b6" }, "ResponseBody": { - "registry": "myregistry.azurecr.io", + "registry": "timovcontainerregistry.azurecr.io", "imageName": "library/hello-world", "tag": { "name": "test1", - "digest": "sha256:97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a", - "createdTime": "2022-02-09T18:47:33.7415749Z", - "lastUpdateTime": "2022-02-09T18:47:33.7415749Z", + "digest": "sha256:aa0cc8055b82dc2509bed2e19b275c8f463506616377219d9642221ab53cf9fe", + "createdTime": "2023-01-20T01:01:20.5670614Z", + "lastUpdateTime": "2023-01-20T01:01:20.5670614Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, diff --git a/sdk/containerregistry/container-registry/review/container-registry.api.md b/sdk/containerregistry/container-registry/review/container-registry.api.md index 3d264e003f61..b91e77cebf27 100644 --- a/sdk/containerregistry/container-registry/review/container-registry.api.md +++ b/sdk/containerregistry/container-registry/review/container-registry.api.md @@ -66,8 +66,7 @@ export class ContainerRegistryBlobClient { downloadManifest(tagOrDigest: string, options?: DownloadManifestOptions): Promise; readonly endpoint: string; readonly repositoryName: string; - uploadBlob(blobStreamFactory: () => NodeJS.ReadableStream): Promise; - uploadBlob(blobStream: NodeJS.ReadableStream): Promise; + uploadBlob(blobStream: NodeJS.ReadableStream, options?: UploadBlobOptions): Promise; uploadManifest(manifest: (() => NodeJS.ReadableStream) | NodeJS.ReadableStream | OciManifest, options?: UploadManifestOptions): Promise; } @@ -321,6 +320,10 @@ export interface UpdateTagPropertiesOptions extends OperationOptions { canWrite?: boolean; } +// @public +export interface UploadBlobOptions extends OperationOptions { +} + // @public export interface UploadBlobResult { digest: string; diff --git a/sdk/containerregistry/container-registry/samples-dev/uploadDownloadBlob.ts b/sdk/containerregistry/container-registry/samples-dev/uploadDownloadBlob.ts index 6f29e808a758..c293fe60fe45 100644 --- a/sdk/containerregistry/container-registry/samples-dev/uploadDownloadBlob.ts +++ b/sdk/containerregistry/container-registry/samples-dev/uploadDownloadBlob.ts @@ -31,10 +31,7 @@ async function main() { } ); - // uploadBlob takes in a "resettable stream": a factory function that returns a new stream each time. - // It can also take in a plain ReadableStream, but this will cause the entire stream to be loaded - // into memory for the computation of the digest. Passing a factory function removes this limitation. - const uploadResult = await client.uploadBlob(() => Readable.from(BLOB_CONTENT)); + const uploadResult = await client.uploadBlob(Readable.from(BLOB_CONTENT)); // Calling downloadBlob on the uploaded blob (identified by the digest) gives a readable stream containing the blob's content. const downloadResult = await client.downloadBlob(uploadResult.digest); diff --git a/sdk/containerregistry/container-registry/samples-dev/uploadManifest.ts b/sdk/containerregistry/container-registry/samples-dev/uploadManifest.ts index d651d26efac0..47cadbcc4ec9 100644 --- a/sdk/containerregistry/container-registry/samples-dev/uploadManifest.ts +++ b/sdk/containerregistry/container-registry/samples-dev/uploadManifest.ts @@ -31,7 +31,7 @@ async function main() { ); const layer = Buffer.from("Hello, world"); - const { digest: layerDigest } = await client.uploadBlob(() => Readable.from(layer)); + const { digest: layerDigest } = await client.uploadBlob(Readable.from(layer)); const config = Buffer.from( JSON.stringify({ @@ -44,7 +44,7 @@ async function main() { }) ); - const { digest: configDigest } = await client.uploadBlob(() => Readable.from(config)); + const { digest: configDigest } = await client.uploadBlob(Readable.from(config)); const manifest: OciManifest = { schemaVersion: 2, diff --git a/sdk/containerregistry/container-registry/samples/v1-beta/javascript/uploadDownloadBlob.js b/sdk/containerregistry/container-registry/samples/v1-beta/javascript/uploadDownloadBlob.js index ab9a76bf30b2..5232645e5fe0 100644 --- a/sdk/containerregistry/container-registry/samples/v1-beta/javascript/uploadDownloadBlob.js +++ b/sdk/containerregistry/container-registry/samples/v1-beta/javascript/uploadDownloadBlob.js @@ -30,10 +30,7 @@ async function main() { } ); - // uploadBlob takes in a "resettable stream": a factory function that returns a new stream each time. - // It can also take in a plain ReadableStream, but this will cause the entire stream to be loaded - // into memory for the computation of the digest. Passing a factory function removes this limitation. - const uploadResult = await client.uploadBlob(() => Readable.from(BLOB_CONTENT)); + const uploadResult = await client.uploadBlob(Readable.from(BLOB_CONTENT)); // Calling downloadBlob on the uploaded blob (identified by the digest) gives a readable stream containing the blob's content. const downloadResult = await client.downloadBlob(uploadResult.digest); diff --git a/sdk/containerregistry/container-registry/samples/v1-beta/javascript/uploadManifest.js b/sdk/containerregistry/container-registry/samples/v1-beta/javascript/uploadManifest.js index 5b65deb7430b..39db97195d77 100644 --- a/sdk/containerregistry/container-registry/samples/v1-beta/javascript/uploadManifest.js +++ b/sdk/containerregistry/container-registry/samples/v1-beta/javascript/uploadManifest.js @@ -29,7 +29,7 @@ async function main() { ); const layer = Buffer.from("Hello, world"); - const { digest: layerDigest } = await client.uploadBlob(() => Readable.from(layer)); + const { digest: layerDigest } = await client.uploadBlob(Readable.from(layer)); const config = Buffer.from( JSON.stringify({ @@ -42,7 +42,7 @@ async function main() { }) ); - const { digest: configDigest } = await client.uploadBlob(() => Readable.from(config)); + const { digest: configDigest } = await client.uploadBlob(Readable.from(config)); const manifest = { schemaVersion: 2, diff --git a/sdk/containerregistry/container-registry/samples/v1-beta/typescript/src/uploadDownloadBlob.ts b/sdk/containerregistry/container-registry/samples/v1-beta/typescript/src/uploadDownloadBlob.ts index 144da3cba2cd..249531c12576 100644 --- a/sdk/containerregistry/container-registry/samples/v1-beta/typescript/src/uploadDownloadBlob.ts +++ b/sdk/containerregistry/container-registry/samples/v1-beta/typescript/src/uploadDownloadBlob.ts @@ -30,10 +30,7 @@ async function main() { } ); - // uploadBlob takes in a "resettable stream": a factory function that returns a new stream each time. - // It can also take in a plain ReadableStream, but this will cause the entire stream to be loaded - // into memory for the computation of the digest. Passing a factory function removes this limitation. - const uploadResult = await client.uploadBlob(() => Readable.from(BLOB_CONTENT)); + const uploadResult = await client.uploadBlob(Readable.from(BLOB_CONTENT)); // Calling downloadBlob on the uploaded blob (identified by the digest) gives a readable stream containing the blob's content. const downloadResult = await client.downloadBlob(uploadResult.digest); diff --git a/sdk/containerregistry/container-registry/samples/v1-beta/typescript/src/uploadManifest.ts b/sdk/containerregistry/container-registry/samples/v1-beta/typescript/src/uploadManifest.ts index cbe471abd07a..e1eacbb58632 100644 --- a/sdk/containerregistry/container-registry/samples/v1-beta/typescript/src/uploadManifest.ts +++ b/sdk/containerregistry/container-registry/samples/v1-beta/typescript/src/uploadManifest.ts @@ -30,7 +30,7 @@ async function main() { ); const layer = Buffer.from("Hello, world"); - const { digest: layerDigest } = await client.uploadBlob(() => Readable.from(layer)); + const { digest: layerDigest } = await client.uploadBlob(Readable.from(layer)); const config = Buffer.from( JSON.stringify({ @@ -43,7 +43,7 @@ async function main() { }) ); - const { digest: configDigest } = await client.uploadBlob(() => Readable.from(config)); + const { digest: configDigest } = await client.uploadBlob(Readable.from(config)); const manifest: OciManifest = { schemaVersion: 2, diff --git a/sdk/containerregistry/container-registry/samples/v1-beta/typescript/tsconfig.json b/sdk/containerregistry/container-registry/samples/v1-beta/typescript/tsconfig.json index 416c2dd82e00..e26ce2a6d8f7 100644 --- a/sdk/containerregistry/container-registry/samples/v1-beta/typescript/tsconfig.json +++ b/sdk/containerregistry/container-registry/samples/v1-beta/typescript/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "ES2018", + "target": "ES2020", "module": "commonjs", "moduleResolution": "node", "resolveJsonModule": true, diff --git a/sdk/containerregistry/container-registry/src/blob/containerRegistryBlobClient.ts b/sdk/containerregistry/container-registry/src/blob/containerRegistryBlobClient.ts index 0329fde0c16d..b48d7abbb54f 100644 --- a/sdk/containerregistry/container-registry/src/blob/containerRegistryBlobClient.ts +++ b/sdk/containerregistry/container-registry/src/blob/containerRegistryBlobClient.ts @@ -20,18 +20,22 @@ import { DownloadManifestOptions, DownloadManifestResult, OciManifest, + UploadBlobOptions, UploadBlobResult, UploadManifestOptions, UploadManifestResult, } from "./models"; import * as Mappers from "../generated/models/mappers"; import { CommonClientOptions, createSerializer } from "@azure/core-client"; -import { readStreamToEnd } from "../utils/helpers"; +import { readChunksFromStream, readStreamToEnd } from "../utils/helpers"; import { Readable } from "stream"; import { tracingClient } from "../tracing"; +import crypto from "crypto"; const LATEST_API_VERSION = "2021-07-01"; +const CHUNK_SIZE = 4 * 1024 * 1024; // 4 MB + enum KnownManifestMediaType { OciManifestMediaType = "application/vnd.oci.image.manifest.v1+json", } @@ -286,29 +290,18 @@ export class ContainerRegistryBlobClient { ); } - /** - * Upload an artifact blob. - * - * @param blobStreamFactory - a factory which produces a stream containing the blob data. This function may be called multiple times; each time the function is called a fresh stream should be returned. - - */ - public async uploadBlob( - blobStreamFactory: () => NodeJS.ReadableStream - ): Promise; - /** * Upload an artifact blob. * * @param blobStream - the stream containing the blob data. */ - public async uploadBlob(blobStream: NodeJS.ReadableStream): Promise; - public async uploadBlob( - blobStreamOrFactory: (() => NodeJS.ReadableStream) | NodeJS.ReadableStream + blobStream: NodeJS.ReadableStream, + options: UploadBlobOptions = {} ): Promise { return tracingClient.withSpan( "ContainerRegistryBlobClient.uploadBlob", - {}, + options, async (updatedOptions) => { const startUploadResult = await this.client.containerRegistryBlob.startUpload( this.repositoryName, @@ -316,32 +309,27 @@ export class ContainerRegistryBlobClient { ); assertHasProperty(startUploadResult, "location"); + let location = startUploadResult.location.substring(1); - let requestBody: (() => NodeJS.ReadableStream) | Buffer; - let digest: string; + const chunks = readChunksFromStream(blobStream, CHUNK_SIZE); + const hash = crypto.createHash("sha256"); - if (typeof blobStreamOrFactory === "function") { - requestBody = blobStreamOrFactory; - digest = await calculateDigest(blobStreamOrFactory()); - } else { - requestBody = await readStreamToEnd(blobStreamOrFactory); - digest = await calculateDigest(requestBody); + for await (const chunk of chunks) { + hash.write(chunk); + const result = await this.client.containerRegistryBlob.uploadChunk( + location, + chunk, + updatedOptions + ); + assertHasProperty(result, "location"); + location = result.location.substring(1); } - const uploadChunkResult = await this.client.containerRegistryBlob.uploadChunk( - startUploadResult.location.substring(1), - requestBody, - updatedOptions - ); - - assertHasProperty(uploadChunkResult, "location"); + hash.end(); + const digest = `sha256:${hash.digest("hex")}`; const { dockerContentDigest: digestFromResponse } = - await this.client.containerRegistryBlob.completeUpload( - digest, - uploadChunkResult.location.substring(1), - updatedOptions - ); + await this.client.containerRegistryBlob.completeUpload(digest, location, updatedOptions); if (digest !== digestFromResponse) { throw new DigestMismatchError( diff --git a/sdk/containerregistry/container-registry/src/blob/models.ts b/sdk/containerregistry/container-registry/src/blob/models.ts index b41ff21a5f11..9008ccf07fa5 100644 --- a/sdk/containerregistry/container-registry/src/blob/models.ts +++ b/sdk/containerregistry/container-registry/src/blob/models.ts @@ -134,6 +134,11 @@ export interface DeleteBlobOptions extends OperationOptions {} */ export interface DeleteManifestOptions extends OperationOptions {} +/** + * Options for configuring the upload blob operation. + */ +export interface UploadBlobOptions extends OperationOptions {} + /** * Options for confguring the download blob operation. */ diff --git a/sdk/containerregistry/container-registry/src/containerRegistryChallengeHandler.ts b/sdk/containerregistry/container-registry/src/containerRegistryChallengeHandler.ts index 57315d768eb6..95cbea3e3f7c 100644 --- a/sdk/containerregistry/container-registry/src/containerRegistryChallengeHandler.ts +++ b/sdk/containerregistry/container-registry/src/containerRegistryChallengeHandler.ts @@ -36,16 +36,23 @@ const fiveMinutesInMs = 5 * 60 * 1000; */ export class ChallengeHandler implements ChallengeCallbacks { private readonly cycler: AccessTokenRefresher; + private cachedAcrAccessToken: string | undefined; + constructor( private credential: ContainerRegistryRefreshTokenCredential, - private options: GetTokenOptions & { claims?: string } = {} + private options: GetTokenOptions = {} ) { this.cycler = createTokenCycler(credential, { refreshWindowInMs: fiveMinutesInMs, }); } - authorizeRequest(_options: AuthorizeRequestOptions): Promise { + authorizeRequest(options: AuthorizeRequestOptions): Promise { + // Try using the existing token in case we don't need to refresh. + if (this.cachedAcrAccessToken) { + options.request.headers.set("Authorization", `Bearer ${this.cachedAcrAccessToken}`); + } + return Promise.resolve(); } @@ -95,6 +102,8 @@ export class ChallengeHandler implements ChallengeCallbacks { // Step 5 - Authorize Request. At this point we're done with AAD and using an ACR access token. options.request.headers.set("Authorization", `Bearer ${acrAccessToken}`); + this.cachedAcrAccessToken = acrAccessToken; + return true; } } diff --git a/sdk/containerregistry/container-registry/src/utils/helpers.ts b/sdk/containerregistry/container-registry/src/utils/helpers.ts index 43e01232d728..2a8ceb1c801a 100644 --- a/sdk/containerregistry/container-registry/src/utils/helpers.ts +++ b/sdk/containerregistry/container-registry/src/utils/helpers.ts @@ -29,3 +29,31 @@ export async function readStreamToEnd(stream: NodeJS.ReadableStream): Promise reject(err)); }); } + +export async function* readChunksFromStream( + stream: NodeJS.ReadableStream, + chunkSize: number +): AsyncGenerator { + let chunk = Buffer.alloc(chunkSize); + let chunkCursor = 0; + + for await (const data of stream) { + const dataAsBuffer = Buffer.isBuffer(data) ? data : Buffer.from(data, "utf8"); + let dataCursor = 0; + + while (dataCursor < dataAsBuffer.length) { + const bytesCopied = dataAsBuffer.copy(chunk, chunkCursor, dataCursor); + dataCursor += bytesCopied; + chunkCursor += bytesCopied; + if (chunkCursor >= chunkSize) { + yield chunk; + chunkCursor = 0; + chunk = Buffer.alloc(chunkSize); + } + } + } + + if (chunkCursor > 0) { + yield chunk.subarray(0, chunkCursor); + } +} diff --git a/sdk/containerregistry/container-registry/test/public/containerRegistryBlobClient.spec.ts b/sdk/containerregistry/container-registry/test/public/containerRegistryBlobClient.spec.ts index 6026a30426f5..b5b9fd2eadd2 100644 --- a/sdk/containerregistry/container-registry/test/public/containerRegistryBlobClient.spec.ts +++ b/sdk/containerregistry/container-registry/test/public/containerRegistryBlobClient.spec.ts @@ -1,12 +1,18 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { Recorder, assertEnvironmentVariable, isPlaybackMode } from "@azure-tools/test-recorder"; +import { + Recorder, + assertEnvironmentVariable, + isPlaybackMode, + isLiveMode, +} from "@azure-tools/test-recorder"; import { ContainerRegistryBlobClient, OciManifest } from "@azure/container-registry"; import { assert, versionsToTest } from "@azure/test-utils"; import { Context } from "mocha"; import { createBlobClient, recorderStartOptions, serviceVersions } from "../utils/utils"; import fs from "fs"; +import { Readable } from "stream"; versionsToTest(serviceVersions, {}, (serviceVersion, onVersions): void => { onVersions({ minVer: "2021-07-01" }).describe("ContainerRegistryBlobClient", function () { @@ -160,16 +166,33 @@ versionsToTest(serviceVersions, {}, (serviceVersion, onVersions): void => { assert.equal(digest, downloadResult.digest); }); - it("can upload blob from resettable stream", async () => { - const resettableBlobStream = () => - fs.createReadStream( - "test/data/oci-artifact/654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed" - ); - const { digest } = await client.uploadBlob(resettableBlobStream); - const downloadResult = await client.downloadBlob( - "sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed" - ); - assert.equal(digest, downloadResult.digest); + it("can upload a big blob with size not a multiple of 4MB", async function (this: Mocha.Context) { + // Skip in record and playback due to large recording size + if (!isLiveMode()) { + this.skip(); + } + + // 64 MiB plus extra offset to have a smaller chunk at the end + const bigBlob = Buffer.alloc(64 * 1024 * 1024 + 321, 0x00); + const { digest } = await client.uploadBlob(Readable.from(bigBlob)); + await client.deleteBlob(digest); + }); + + it("can upload a big blob with size a multiple of 4MB", async function (this: Mocha.Context) { + // Skip in record and playback due to large recording size + if (!isLiveMode()) { + this.skip(); + } + + // Skip in record and playback due to large recording size + if (!isLiveMode()) { + this.skip(); + } + + // 64 MiB exactly + const bigBlob = Buffer.alloc(64 * 1024 * 1024, 0x00); + const { digest } = await client.uploadBlob(Readable.from(bigBlob)); + await client.deleteBlob(digest); }); }); });