diff --git a/sdk/containerregistry/azure-containers-containerregistry/CHANGELOG.md b/sdk/containerregistry/azure-containers-containerregistry/CHANGELOG.md index 9f7e23f64974..e85aecd0c2fb 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/CHANGELOG.md +++ b/sdk/containerregistry/azure-containers-containerregistry/CHANGELOG.md @@ -6,6 +6,9 @@ ### Breaking Changes +- Replaced `uploadManifest(OciImageManifest)` method on `ContainerRegistryBlobClient` and `ContainerRegistryBlobAsyncClient` classes + with `uploadManifest(OciImageManifest manifest, String tag)` method. + ### Bugs Fixed ### Other Changes diff --git a/sdk/containerregistry/azure-containers-containerregistry/README.md b/sdk/containerregistry/azure-containers-containerregistry/README.md index 7268c84d8530..2c68db2225db 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/README.md +++ b/sdk/containerregistry/azure-containers-containerregistry/README.md @@ -61,7 +61,7 @@ and then include the direct dependency in the dependencies section without the v ``` [//]: # ({x-version-update-end}) -### Authenticate the client +### Authenticate clients The [Azure Identity library][identity] provides easy Azure Active Directory support for authentication. Note all the below samples assume you have an endpoint, which is the URL including the name of the login server and the `https://` prefix. @@ -69,7 +69,7 @@ More information at [Azure Container Registry portal][container_registry_create_ ```java readme-sample-createClient DefaultAzureCredential credential = new DefaultAzureCredentialBuilder().build(); -ContainerRegistryClient client = new ContainerRegistryClientBuilder() +ContainerRegistryClient registryClient = new ContainerRegistryClientBuilder() .endpoint(endpoint) .credential(credential) .buildClient(); @@ -77,7 +77,7 @@ ContainerRegistryClient client = new ContainerRegistryClientBuilder() ```java readme-sample-createAsyncClient DefaultAzureCredential credential = new DefaultAzureCredentialBuilder().build(); -ContainerRegistryAsyncClient client = new ContainerRegistryClientBuilder() +ContainerRegistryAsyncClient registryClient = new ContainerRegistryClientBuilder() .endpoint(endpoint) .credential(credential) .buildAsyncClient(); @@ -95,13 +95,13 @@ on how to check ARM authentication policy configuration. `ContainerRegistryAudience` value is specific to the cloud: ```java readme-sample-armTokenPublic -ContainerRegistryClient containerRegistryClient = new ContainerRegistryClientBuilder() +ContainerRegistryClient registryClient = new ContainerRegistryClientBuilder() .endpoint(getEndpoint()) .credential(credential) .audience(ContainerRegistryAudience.AZURE_RESOURCE_MANAGER_PUBLIC_CLOUD) .buildClient(); -containerRegistryClient +registryClient .listRepositoryNames() .forEach(name -> System.out.println(name)); ``` @@ -113,32 +113,32 @@ To authenticate with a registry in a [National Cloud](https://docs.microsoft.com - If ACR access token authentication is disabled for yourcontainer Registry resource, you need to configure the audience on the Container Registry client builder. ```java readme-sample-armTokenChina -ContainerRegistryClient containerRegistryClient = new ContainerRegistryClientBuilder() +ContainerRegistryClient registryClient = new ContainerRegistryClientBuilder() .endpoint(getEndpoint()) .credential(credential) // only if ACR access tokens are disabled or not supported .audience(ContainerRegistryAudience.AZURE_RESOURCE_MANAGER_CHINA) .buildClient(); -containerRegistryClient +registryClient .listRepositoryNames() .forEach(name -> System.out.println(name)); ``` -### Anonymous access support +#### Anonymous access support If the builder is instantiated without any credentials, the SDK creates the service client for the anonymous pull mode. The user must use this setting on a registry that has been enabled for anonymous pull. In this mode, the user can only call listRepositoryNames method and its overload. All the other calls will fail. For more information please read [Anonymous Pull Access](https://docs.microsoft.com/azure/container-registry/container-registry-faq#how-do-i-enable-anonymous-pull-access) ```java readme-sample-createAnonymousAccessClient -ContainerRegistryClient client = new ContainerRegistryClientBuilder() +ContainerRegistryClient registryClient = new ContainerRegistryClientBuilder() .endpoint(endpoint) .buildClient(); ``` ```java readme-sample-createAnonymousAsyncAccessClient -ContainerRegistryAsyncClient client = new ContainerRegistryClientBuilder() +ContainerRegistryAsyncClient registryClient = new ContainerRegistryClientBuilder() .endpoint(endpoint) .buildAsyncClient(); ``` @@ -153,36 +153,35 @@ For more information please see [Container Registry Concepts](https://docs.micro ### Sync examples -- [List repository names](#list-repository-names) -- [List tags with anonymous access](#list-tags-with-anonymous-access) -- [Set artifact properties](#set-artifact-properties) -- [Delete images](#delete-images) -- [Upload images](#upload-images) -- [Download images](#download-images) -- [Delete repository with anonymous access throws](#delete-a-repository-with-anonymous-access-throws) +- Registry operations: + - [List repository names](#list-repository-names) + - [List artifact tags with anonymous access](#list-tags-with-anonymous-access) + - [Set artifact properties](#set-artifact-properties) + - [Delete images](#delete-images) + - [Delete repository with anonymous access throws](#delete-a-repository-with-anonymous-access-throws) +- Blob and manifest operations: + - [Upload images](#upload-images) + - [Download images](#download-images) + - [Delete manifest](#delete-manifest) + - [Delete blob](#delete-blob) -### List repository names +### Registry operations + +This section contains `ContainerRegistryClient` samples. + +#### List repository names Iterate through the collection of repositories in the registry. ```java readme-sample-listRepositoryNames -DefaultAzureCredential credential = new DefaultAzureCredentialBuilder().build(); -ContainerRegistryClient client = new ContainerRegistryClientBuilder() - .endpoint(endpoint) - .credential(credential) - .buildClient(); - -client.listRepositoryNames().forEach(repository -> System.out.println(repository)); +registryClient.listRepositoryNames().forEach(repository -> System.out.println(repository)); ``` -### List tags with anonymous access +#### List artifact tags with anonymous access ```java readme-sample-listTagProperties -ContainerRegistryClient anonymousClient = new ContainerRegistryClientBuilder() - .endpoint(endpoint) - .buildClient(); - RegistryArtifact image = anonymousClient.getArtifact(repositoryName, digest); + PagedIterable tags = image.listTagProperties(); System.out.printf(String.format("%s has the following aliases:", image.getFullyQualifiedReference())); @@ -192,17 +191,10 @@ for (ArtifactTagProperties tag : tags) { } ``` -### Set artifact properties +#### Set artifact properties ```java readme-sample-setArtifactProperties -TokenCredential defaultCredential = new DefaultAzureCredentialBuilder().build(); - -ContainerRegistryClient client = new ContainerRegistryClientBuilder() - .endpoint(endpoint) - .credential(defaultCredential) - .buildClient(); - -RegistryArtifact image = client.getArtifact(repositoryName, digest); +RegistryArtifact image = registryClient.getArtifact(repositoryName, digest); image.updateTagProperties( tag, @@ -211,19 +203,13 @@ image.updateTagProperties( .setDeleteEnabled(false)); ``` -### Delete Images - -```java readme-sample-deleteImages -TokenCredential defaultCredential = new DefaultAzureCredentialBuilder().build(); -ContainerRegistryClient client = new ContainerRegistryClientBuilder() - .endpoint(endpoint) - .credential(defaultCredential) - .buildClient(); +#### Delete Images +```java readme-sample-deleteImages final int imagesCountToKeep = 3; -for (String repositoryName : client.listRepositoryNames()) { - final ContainerRepository repository = client.getRepository(repositoryName); +for (String repositoryName : registryClient.listRepositoryNames()) { + final ContainerRepository repository = registryClient.getRepository(repositoryName); // Obtain the images ordered from newest to oldest PagedIterable imageManifests = @@ -245,16 +231,46 @@ for (String repositoryName : client.listRepositoryNames()) { } ``` -### Upload Images +#### Delete a repository with anonymous access throws -```java readme-sample-uploadImage +```java readme-sample-anonymousClientThrows +final String endpoint = getEndpoint(); +final String repositoryName = getRepositoryName(); + +ContainerRegistryClient anonymousClient = new ContainerRegistryClientBuilder() + .endpoint(endpoint) + .buildClient(); + +try { + anonymousClient.deleteRepository(repositoryName); + System.out.println("Unexpected Success: Delete is not allowed on anonymous access"); +} catch (ClientAuthenticationException ex) { + System.out.println("Expected exception: Delete is not allowed on anonymous access"); +} +``` + +### Blob and manifest operations + +This section contains samples for `ContainerRegistryBlobClient` that show how to upload and download images. + +First, we need to create blob client. + +```java readme-sample-createBlobClient +DefaultAzureCredential credential = new DefaultAzureCredentialBuilder().build(); ContainerRegistryBlobClient blobClient = new ContainerRegistryBlobClientBuilder() - .endpoint(ENDPOINT) - .repository(REPOSITORY) + .endpoint(endpoint) .credential(credential) + .repository(repository) .buildClient(); +``` + +#### Upload -BinaryData configContent = BinaryData.fromObject(new ManifestConfig().setProperty("sync client")); +To upload a full image, we need to upload individual layers and configuration. After that we can upload a manifest +which describes an image or artifact and assign it a tag. + +```java readme-sample-uploadImage +BinaryData configContent = BinaryData.fromObject(Collections.singletonMap("hello", "world")); UploadBlobResult configUploadResult = blobClient.uploadBlob(configContent); System.out.printf("Uploaded config: digest - %s, size - %s\n", configUploadResult.getDigest(), configContent.getLength()); @@ -277,52 +293,48 @@ OciImageManifest manifest = new OciImageManifest() .setSizeInBytes(layerContent.getLength()) .setMediaType("application/octet-stream"))); -UploadManifestResult manifestResult = blobClient.uploadManifest(new UploadManifestOptions(manifest).setTag("latest")); +UploadManifestResult manifestResult = blobClient.uploadManifest(manifest, "latest"); System.out.printf("Uploaded manifest: digest - %s\n", manifestResult.getDigest()); ``` -### Download Images +#### Download Images -```java readme-sample-downloadImage -ContainerRegistryBlobClient blobClient = new ContainerRegistryBlobClientBuilder() - .endpoint(ENDPOINT) - .repository(REPOSITORY) - .credential(credential) - .buildClient(); +To download a full image, we need to download its manifest and then download individual layers and configuration. +```java readme-sample-downloadImage DownloadManifestResult manifestResult = blobClient.downloadManifest("latest"); OciImageManifest manifest = manifestResult.asOciManifest(); -System.out.printf("Got manifest:\n%s\n\n", PRETTY_PRINT.writeValueAsString(manifest)); +System.out.printf("Got manifest:\n%s\n", PRETTY_PRINT.writeValueAsString(manifest)); String configFileName = manifest.getConfig().getDigest() + ".json"; -blobClient.downloadStream(manifest.getConfig().getDigest(), createWriteChannel(configFileName)); +blobClient.downloadStream(manifest.getConfig().getDigest(), createFileChannel(configFileName)); System.out.printf("Got config: %s\n", configFileName); for (OciDescriptor layer : manifest.getLayers()) { - blobClient.downloadStream(layer.getDigest(), createWriteChannel(layer.getDigest())); + blobClient.downloadStream(layer.getDigest(), createFileChannel(layer.getDigest())); System.out.printf("Got layer: %s\n", layer.getDigest()); } ``` +#### Delete blob -### Delete a repository with anonymous access throws -```java readme-sample-anonymousClientThrows -final String endpoint = getEndpoint(); -final String repositoryName = getRepositoryName(); - -ContainerRegistryClient anonymousClient = new ContainerRegistryClientBuilder() - .endpoint(endpoint) - .buildClient(); +```java readme-sample-deleteBlob +DownloadManifestResult manifestResult = blobClient.downloadManifest("latest"); -try { - anonymousClient.deleteRepository(repositoryName); - System.out.println("Unexpected Success: Delete is not allowed on anonymous access"); -} catch (ClientAuthenticationException ex) { - System.out.println("Expected exception: Delete is not allowed on anonymous access"); +OciImageManifest manifest = manifestResult.asOciManifest(); +for (OciDescriptor layer : manifest.getLayers()) { + blobClient.deleteBlob(layer.getDigest()); } ``` +#### Delete manifest + +```java readme-sample-deleteManifest +DownloadManifestResult manifestResult = blobClient.downloadManifest("latest"); +blobClient.deleteManifest(manifestResult.getDigest()); +``` + ## Troubleshooting See our [troubleshooting guide](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/containerregistry/azure-containers-containerregistry/TROUBLESHOOTING.md) for details on how to diagnose various failure scenarios. diff --git a/sdk/containerregistry/azure-containers-containerregistry/TROUBLESHOOTING.md b/sdk/containerregistry/azure-containers-containerregistry/TROUBLESHOOTING.md index cd610c652069..cbc17a6f5cbe 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/TROUBLESHOOTING.md +++ b/sdk/containerregistry/azure-containers-containerregistry/TROUBLESHOOTING.md @@ -53,7 +53,7 @@ Reviewing the HTTP request sent or response received over the wire to/from the A troubleshooting issues. To enable logging the HTTP request and response payload, the `ContainerRegistryClient` can be configured as shown below: ```java readme-sample-enablehttplogging -ContainerRegistryClient client = new ContainerRegistryClientBuilder() +ContainerRegistryClient registryClient = new ContainerRegistryClientBuilder() .endpoint(endpoint) .credential(defaultCredential) .httpLogOptions(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS)) @@ -102,7 +102,7 @@ AcrErrorsException: Status code 401, "{"errors":[{"code":"UNAUTHORIZED","message ``` The error indicates that authentication with ARM access token was disabled on accessed Container Registry resource. Check if audience was provided to -Container Registry client builder. When ARM AAD tokens are disabled on the Container Registry resource, audience should not be set. +Container Registry client builder. When ARM AAD tokens are disabled on the Container Registry resource, audience should not be set. Refer to [ACR CLI reference](https://learn.microsoft.com/cli/azure/acr/config/authentication-as-arm?view=azure-cli-latest) for information on how to check and configure authentication with ARM tokens. diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/ConstructorAccessors.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/ConstructorAccessors.java index 0f0c28147bb8..3b628eaeb5fc 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/ConstructorAccessors.java +++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/ConstructorAccessors.java @@ -35,7 +35,7 @@ public interface UploadManifestResultConstructorAccessor { } public interface UploadBlobResultConstructorAccessor { - UploadBlobResult create(String digest); + UploadBlobResult create(String digest, long length); } public static void setDownloadBlobResultAccessor(final DownloadBlobAsyncResultConstructorAccessor accessor) { @@ -80,7 +80,7 @@ public static DownloadManifestResult createDownloadManifestResult(String digest, return downloadManifestAccessor.create(digest, mediaType, rawData); } - public static UploadBlobResult createUploadBlobResult(String digest) { + public static UploadBlobResult createUploadBlobResult(String digest, long length) { if (uploadBlobResultAccessor == null) { try { // it's possible that nobody yet created BlobDownloadAsyncResult, so we'll need to force its static section to run and set accessor. @@ -90,7 +90,7 @@ public static UploadBlobResult createUploadBlobResult(String digest) { } } assert uploadBlobResultAccessor != null; - return uploadBlobResultAccessor.create(digest); + return uploadBlobResultAccessor.create(digest, length); } public static UploadManifestResult createUploadManifestResult(String digest) { diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/UtilsImpl.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/UtilsImpl.java index 8da05e49dba8..7d4bceb0e766 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/UtilsImpl.java +++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/UtilsImpl.java @@ -84,6 +84,7 @@ public final class UtilsImpl { private static final String HTTP_REST_PROXY_SYNC_PROXY_ENABLE = "com.azure.core.http.restproxy.syncproxy.enable"; public static final HttpHeaderName DOCKER_DIGEST_HEADER_NAME = HttpHeaderName.fromString("docker-content-digest"); + // TODO (limolkova) should we send index and list too so that we won't need to change the default later on? public static final String SUPPORTED_MANIFEST_TYPES = ManifestMediaType.OCI_MANIFEST + "," + ManifestMediaType.DOCKER_MANIFEST; private static final String CONTAINER_REGISTRY_TRACING_NAMESPACE_VALUE = "Microsoft.ContainerRegistry"; private static final Context CONTEXT_WITH_SYNC = new Context(HTTP_REST_PROXY_SYNC_PROXY_ENABLE, true); diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/DownloadManifestResult.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/DownloadManifestResult.java index 1c02656acecb..5b4900c357ae 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/DownloadManifestResult.java +++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/DownloadManifestResult.java @@ -4,11 +4,13 @@ import com.azure.containers.containerregistry.implementation.ConstructorAccessors; import com.azure.core.util.BinaryData; +import com.azure.core.util.logging.ClientLogger; /** * The result from downloading an OCI manifest from the registry. */ public class DownloadManifestResult { + private static final ClientLogger LOGGER = new ClientLogger(DownloadManifestResult.class); static { ConstructorAccessors.setDownloadManifestResultAccessor(DownloadManifestResult::new); } @@ -34,13 +36,20 @@ public String getDigest() { /** * The OCI manifest that was downloaded. - * @return The OCIManifest object. + * @return The {@link OciImageManifest} instance. + * @throws IllegalStateException thrown when attempting to get {@link OciImageManifest} from incompatible media type. */ public OciImageManifest asOciManifest() { if (ociManifest != null) { return ociManifest; } + if (!ManifestMediaType.DOCKER_MANIFEST.equals(mediaType) + && !ManifestMediaType.OCI_MANIFEST.equals(mediaType)) { + throw LOGGER.logExceptionAsError(new IllegalStateException( + String.format("Cannot convert manifest with %s media type to OciImageManifest", mediaType))); + } + ociManifest = rawData.toObject(OciImageManifest.class); return ociManifest; diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/OciImageManifest.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/OciImageManifest.java index 61876d960783..ce3e2c3960f0 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/OciImageManifest.java +++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/OciImageManifest.java @@ -15,6 +15,8 @@ /** Returns the requested OCI Manifest file. */ @Fluent public final class OciImageManifest implements JsonSerializable { + // TODO (limolkova) should default value be auto-generated? + private static final int DEFAULT_VERSION = 2; /* * V2 image config descriptor */ @@ -33,7 +35,7 @@ public final class OciImageManifest implements JsonSerializable writer.writeJson(element)); jsonWriter.writeJsonField("annotations", this.annotations); - jsonWriter.writeNumberField("schemaVersion", this.schemaVersion); return jsonWriter.writeEndObject(); } @@ -134,36 +136,37 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of OciImageManifest if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. * @throws IOException If an error occurs while reading the OciImageManifest. */ public static OciImageManifest fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject( reader -> { + int schemaVersion = DEFAULT_VERSION; OciDescriptor config = null; List layers = null; OciAnnotations annotations = null; - Integer schemaVersion = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("config".equals(fieldName)) { + if ("schemaVersion".equals(fieldName)) { + schemaVersion = reader.getInt(); + } else if ("config".equals(fieldName)) { config = OciDescriptor.fromJson(reader); } else if ("layers".equals(fieldName)) { layers = reader.readArray(reader1 -> OciDescriptor.fromJson(reader1)); } else if ("annotations".equals(fieldName)) { annotations = OciAnnotations.fromJson(reader); - } else if ("schemaVersion".equals(fieldName)) { - schemaVersion = reader.getNullable(JsonReader::getInt); } else { reader.skipChildren(); } } OciImageManifest deserializedValue = new OciImageManifest(); + deserializedValue.schemaVersion = schemaVersion; deserializedValue.config = config; deserializedValue.layers = layers; deserializedValue.annotations = annotations; - deserializedValue.schemaVersion = schemaVersion; return deserializedValue; }); diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/UploadBlobResult.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/UploadBlobResult.java index aef8e0123883..2129c0812ae9 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/UploadBlobResult.java +++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/UploadBlobResult.java @@ -14,13 +14,15 @@ public final class UploadBlobResult { } private final String digest; + private final long length; /** * Instantiate the upload blob result. * @param digest The digest of the blob that was uploaded. */ - private UploadBlobResult(String digest) { + private UploadBlobResult(String digest, long length) { this.digest = digest; + this.length = length; } /** @@ -30,4 +32,12 @@ private UploadBlobResult(String digest) { public String getDigest() { return digest; } + + /** + * The size of uploaded blob. + * @return Size of the uploaded blob in bytes. + */ + public long getSizeInBytes() { + return length; + } } diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/specialized/ContainerRegistryBlobAsyncClient.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/specialized/ContainerRegistryBlobAsyncClient.java index e3a1aefd0957..562bebc18c92 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/specialized/ContainerRegistryBlobAsyncClient.java +++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/specialized/ContainerRegistryBlobAsyncClient.java @@ -41,6 +41,7 @@ import java.util.ArrayList; import java.util.Collection; import java.util.List; +import java.util.concurrent.atomic.AtomicLong; import java.util.concurrent.atomic.AtomicReference; import java.util.function.Function; @@ -105,50 +106,55 @@ public String getEndpoint() { /** * Upload the Oci manifest to the repository. - * The upload is done as a single operation. + * + *

Code Samples:

+ * + * + *
+     * OciImageManifest manifest = new OciImageManifest()
+     *         .setConfig(configDescriptor)
+     *         .setSchemaVersion(2)
+     *         .setLayers(Collections.singletonList(layerDescriptor));
+     * Mono<UploadManifestResult> result = blobClient.uploadManifest(manifest, "latest");
+     * 
+ * + * * @see Oci Manifest Specification - * @param manifest The OciManifest that needs to be uploaded. - * @return operation result. + * @param manifest The {@link OciImageManifest} that needs to be uploaded. + * @param tag Tag to apply on uploaded manifest. If {@code null} is passed, no tags will be applied. + * @return upload result. * @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace. * @throws NullPointerException thrown if the {@code manifest} is null. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono uploadManifest(OciImageManifest manifest) { + public Mono uploadManifest(OciImageManifest manifest, String tag) { if (manifest == null) { return monoError(LOGGER, new NullPointerException("'manifest' can't be null.")); } - return withContext(context -> uploadManifestWithResponse(BinaryData.fromObject(manifest), null, ManifestMediaType.OCI_MANIFEST, context)) + return withContext(context -> uploadManifestWithResponse(BinaryData.fromObject(manifest), tag, ManifestMediaType.OCI_MANIFEST, context)) .flatMap(FluxUtil::toMono); } /** * Uploads a manifest to the repository. - * The client currently only supports uploading OciManifests to the repository. - * And this operation makes the assumption that the data provided is a valid OCI manifest. - *

- * Also, the data is read into memory and then an upload operation is performed as a single operation. - * @see Oci Manifest Specification - * @param options The options for the upload manifest operation. - * @return operation result. - * @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace. - * @throws NullPointerException thrown if the {@code data} is null. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono uploadManifest(UploadManifestOptions options) { - return uploadManifestWithResponse(options).flatMap(FluxUtil::toMono); - } - - /** - * Uploads a manifest to the repository. - * The client currently only supports uploading OciManifests to the repository. - * And this operation makes the assumption that the data provided is a valid OCI manifest. - *

- * Also, the data is read into memory and then an upload operation is performed as a single operation. - * @see Oci Manifest Specification * + *

Code Samples:

+ * + * + *
+     * UploadManifestOptions options = new UploadManifestOptions(manifestList, DOCKER_MANIFEST_LIST_TYPE)
+     *     .setTag("v2");
+     *
+     * blobClient.uploadManifestWithResponse(options)
+     *     .subscribe(response ->
+     *         System.out.println("Manifest uploaded, digest - " + response.getValue().getDigest()));
+     * 
+ * + * + * @see Oci Manifest Specification * @param options The options for the upload manifest operation. - * @return The rest response containing the operation result. + * @return The rest response containing the upload result. * @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace. * @throws NullPointerException thrown if the {@code data} is null. */ @@ -161,38 +167,27 @@ public Mono> uploadManifestWithResponse(UploadMan return withContext(context -> this.uploadManifestWithResponse(options.getManifest(), options.getTag(), options.getMediaType(), context)); } - private Mono> uploadManifestWithResponse(BinaryData manifestData, String tagOrDigest, ManifestMediaType manifestMediaType, Context context) { - ByteBuffer data = manifestData.toByteBuffer(); - if (tagOrDigest == null) { - tagOrDigest = computeDigest(data); - } - - return registriesImpl - .createManifestWithResponseAsync( - repositoryName, - tagOrDigest, - Flux.just(data), - data.remaining(), - manifestMediaType.toString(), - context) - .map(response -> (Response) - new ResponseBase<>( - response.getRequest(), - response.getStatusCode(), - response.getHeaders(), - ConstructorAccessors.createUploadManifestResult(response.getDeserializedHeaders().getDockerContentDigest()), - response.getDeserializedHeaders())) - .onErrorMap(UtilsImpl::mapException); - } - /** * Uploads a blob to the repository. - * The client currently uploads the entire blob\layer as a single unit. - *

- * The blob is read into memory and then an upload operation is performed as a single operation. - * We currently do not support breaking the layer into multiple chunks and uploading them one at a time * - * @param data The blob\image content that needs to be uploaded. + *

Code Samples:

+ * + * + *
+     * BinaryData configContent = BinaryData.fromObject(Collections.singletonMap("hello", "world"));
+     *
+     * blobClient
+     *     .uploadBlob(configContent)
+     *     .subscribe(uploadResult -> System.out.printf("Uploaded blob: digest - '%s', size - %s\n",
+     *             uploadResult.getDigest(), uploadResult.getSizeInBytes()));
+     * 
+ * + * + * Content is uploaded in chunks of up to 4MB size. Chunk size depends on passed {@link ByteBuffer} + * sizes. Buffers that are bigger than 4MB are broken down into smaller chunks, but small buffers are not aggregated. + * To decrease number of chunks for big content, use buffers of 4MB size. + * + * @param data The blob content that needs to be uploaded. * @return The operation result. * @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace. * @throws NullPointerException thrown if the {@code data} is null. @@ -208,12 +203,26 @@ public Mono uploadBlob(BinaryData data) { /** * Uploads a blob to the repository. - * The client currently uploads the entire blob\layer as a single unit. - *

- * The blob is read into memory and then an upload operation is performed as a single operation. - * We currently do not support breaking the layer into multiple chunks and uploading them one at a time * - * @param data The blob\image content that needs to be uploaded. + *

Code Samples:

+ * + * + *
+     * Flux.using(
+     *         () -> new FileInputStream("artifact.tar.gz"),
+     *         fileStream -> blobClient.uploadBlob(FluxUtil.toFluxByteBuffer(fileStream, CHUNK_SIZE)),
+     *         this::closeStream)
+     *     .subscribe(uploadResult ->
+     *         System.out.printf("Uploaded blob: digest - '%s', size - %s\n",
+     *             uploadResult.getDigest(), uploadResult.getSizeInBytes()));
+     * 
+ * + * + * Content is uploaded in chunks of up to 4MB size. Chunk size depends on passed {@link ByteBuffer} + * sizes. Buffers that are bigger than 4MB are broken down into smaller chunks, but small buffers are not aggregated. + * To decrease number of chunks for big content, use buffers of 4MB size. + * + * @param data The blob content that needs to be uploaded. * @return The rest response containing the operation result. * @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace. * @throws NullPointerException thrown if the {@code data} is null. @@ -223,43 +232,31 @@ public Mono uploadBlob(Flux data) { return withContext(context -> runWithTracing(UPLOAD_BLOB_SPAN_NAME, span -> uploadBlob(data, span), context)); } - private Mono upload(Flux data, String location, Context context) { - AtomicReference locationRef = new AtomicReference<>(location); - - return data - .flatMapSequential(chunk -> { - BinaryData chunkData = BinaryData.fromByteBuffer(chunk); - return blobsImpl.uploadChunkWithResponseAsync(locationRef.get(), chunkData, chunkData.getLength(), context) - .map(response -> getLocation(response)); - }, 1, 1) - .doOnNext(locationRef::set) - .last(); - } - - private Mono uploadBlob(Flux data, Context context) { - if (data == null) { - return monoError(LOGGER, new NullPointerException("'data' can't be null.")); - } - MessageDigest sha256 = createSha256(); - Flux chunks = chunkSource(data, sha256); - - return blobsImpl - .startUploadWithResponseAsync(repositoryName, context) - .flatMap(response -> upload(chunks, getLocation(response), context)) - // TODO (limolkova) if we knew when's the last chunk, we could upload it in complete call instead. - .flatMap(location -> blobsImpl.completeUploadWithResponseAsync("sha256:" + bytesToHexString(sha256.digest()), location, (BinaryData) null, 0L, context)) - .map(response -> ConstructorAccessors.createUploadBlobResult(response.getHeaders().getValue(DOCKER_DIGEST_HEADER_NAME))) - .onErrorMap(UtilsImpl::mapException); - } - /** - * Download the manifest associated with the given tag or digest. - * We currently only support downloading OCI manifests. + * Download the manifest identified by the given tag or digest. + * + *

Code Samples:

+ * + * + *
+     * blobClient.downloadManifest("latest")
+     *     .doOnNext(downloadResult -> {
+     *         if (ManifestMediaType.OCI_MANIFEST.equals(downloadResult.getMediaType())
+     *             || ManifestMediaType.DOCKER_MANIFEST.equals(downloadResult.getMediaType())) {
+     *             OciImageManifest manifest = downloadResult.asOciManifest();
+     *             System.out.println("Got OCI manifest");
+     *         } else {
+     *             throw new IllegalArgumentException("Unexpected manifest type: " + downloadResult.getMediaType());
+     *         }
+     *     })
+     *     .block();
+     * 
+ * * * @see Oci Manifest Specification * * @param tagOrDigest Manifest reference which can be tag or digest. - * @return The manifest associated with the given tag or digest. + * @return The manifest identified by the given tag or digest. * @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace. * @throws NullPointerException thrown if the {@code tagOrDigest} is null. */ @@ -269,14 +266,38 @@ public Mono downloadManifest(String tagOrDigest) { } /** - * Download the manifest associated with the given tag or digest. - * We currently only support downloading OCI manifests. + * Download the manifest identified by the given tag or digest. * - * @see Oci Manifest Specification + *

Code Samples:

+ * + * + *
+     * ManifestMediaType dockerListType = ManifestMediaType
+     *     .fromString("application/vnd.docker.distribution.manifest.list.v2+json");
+     * ManifestMediaType ociIndexType = ManifestMediaType
+     *     .fromString("application/vnd.oci.image.index.v1+json");
+     *
+     * blobClient.downloadManifestWithResponse("latest", Arrays.asList(dockerListType, ociIndexType))
+     *     .doOnNext(downloadResult -> {
+     *         if (dockerListType.equals(downloadResult.getValue().getMediaType())) {
+     *             // DockerManifestList manifestList =
+     *             //     downloadResult.getValue().getContent().toObject(DockerManifestList.class);
+     *             System.out.println("Got docker manifest list");
+     *         } else if (ociIndexType.equals(downloadResult.getValue().getMediaType())) {
+     *             // OciIndex ociIndex = downloadResult.getValue().getContent().toObject(OciIndex.class);
+     *             System.out.println("Got OCI index");
+     *         } else {
+     *             throw new IllegalArgumentException("Got unexpected content type: "
+     *                 + downloadResult.getValue().getMediaType());
+     *         }
+     *     })
+     *     .block();
+     * 
+ * * * @param tagOrDigest Manifest reference which can be tag or digest. * @param mediaTypes List of {@link ManifestMediaType} to request. - * @return The response for the manifest associated with the given tag or digest. + * @return The response for the manifest identified by the given tag or digest. * @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace. * @throws NullPointerException thrown if the {@code tagOrDigest} is null. */ @@ -285,23 +306,43 @@ public Mono> downloadManifestWithResponse(Strin return withContext(context -> this.downloadManifestWithResponse(tagOrDigest, mediaTypes, context)); } - private Mono> downloadManifestWithResponse(String tagOrDigest, Collection mediaTypes, Context context) { - if (tagOrDigest == null) { - return monoError(LOGGER, new NullPointerException("'tagOrDigest' can't be null.")); - } - - String requestMediaTypes = getContentTypeString(mediaTypes); - - return registriesImpl.getManifestWithResponseAsync(repositoryName, tagOrDigest, requestMediaTypes, context) - .map(response -> toDownloadManifestResponse(tagOrDigest, response)) - .onErrorMap(UtilsImpl::mapException); - } - /** - * Download the blob\layer associated with the given digest. + * Download the blob identified by the given digest. + * Content is downloaded in chunks of 4MB size each. + * + *

Code Samples:

+ * + * Write content to synchronous channel, for example {@link java.nio.channels.FileChannel}: + * + * + *
+     * blobClient
+     *     .downloadStream(digest)
+     *     .flatMap(downloadResult ->
+     *         Mono.using(() -> new FileOutputStream(trimSha(digest)),
+     *             fileStream -> downloadResult.writeValueTo(fileStream.getChannel()),
+     *             fileStream -> closeStream(fileStream)))
+     *     .block();
+     * 
+ * + * + * Write content to asynchronous byte channel, for example {@link java.nio.channels.AsynchronousSocketChannel}: + * + * + *
+     * blobClient
+     *     .downloadStream(digest)
+     *     .flatMap(downloadResult ->
+     *         Mono.using(
+     *             () -> openSocket(),
+     *             socket -> downloadResult.writeValueToAsync(socket),
+     *             socket -> closeStream(socket)))
+     *     .block();
+     * 
+ * * * @param digest The digest for the given image layer. - * @return The image associated with the given digest. + * @return The image identified by the given digest. * @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace. * @throws NullPointerException thrown if the {@code digest} is null. */ @@ -311,35 +352,18 @@ public Mono downloadStream(String digest) { runWithTracing(DOWNLOAD_BLOB_SPAN_NAME, span -> downloadBlobInternal(digest, span), context)); } - private Mono downloadBlobInternal(String digest, Context context) { - if (digest == null) { - return monoError(LOGGER, new NullPointerException("'digest' can't be null.")); - } - - Flux content = - blobsImpl.getChunkWithResponseAsync(repositoryName, digest, new HttpRange(0, (long) CHUNK_SIZE).toString(), context) - .flatMapMany(firstResponse -> getAllChunks(firstResponse, digest, context)) - .flatMapSequential(chunk -> chunk.getValue().toFluxByteBuffer(), 1); - return Mono.just(ConstructorAccessors.createDownloadBlobResult(digest, content)); - } - - private Flux> getAllChunks( - ResponseBase firstResponse, String digest, Context context) { - validateResponseHeaderDigest(digest, firstResponse.getHeaders()); - - long blobSize = getBlobSize(firstResponse.getHeaders().get(HttpHeaderName.CONTENT_RANGE)); - List>> others = new ArrayList<>(); - others.add(Mono.just(firstResponse)); - for (long p = firstResponse.getValue().getLength(); p < blobSize; p += CHUNK_SIZE) { - HttpRange range = new HttpRange(p, (long) CHUNK_SIZE); - others.add(blobsImpl.getChunkWithResponseAsync(repositoryName, digest, range.toString(), context)); - } - - return Flux.concat(others); - } - /** - * Delete the image associated with the given digest + * Delete the image identified by the given digest + * + *

Code Samples:

+ * + * + *
+     * blobClient.downloadManifest("latest")
+     *     .flatMap(manifest -> blobClient.deleteBlob(manifest.getDigest()))
+     *     .block();
+     * 
+ * * * @param digest The digest for the given image layer. * @return The completion signal. @@ -352,7 +376,7 @@ public Mono deleteBlob(String digest) { } /** - * Delete the image associated with the given digest + * Delete the image identified by the given digest * * @param digest The digest for the given image layer. * @return The REST response for the completion. @@ -364,29 +388,18 @@ public Mono> deleteBlobWithResponse(String digest) { return withContext(context -> deleteBlobWithResponse(digest, context)); } - private Mono> deleteBlobWithResponse(String digest, Context context) { - if (digest == null) { - return monoError(LOGGER, new NullPointerException("'digest' can't be null.")); - } - - return this.blobsImpl.deleteBlobWithResponseAsync(repositoryName, digest, context) - .flatMap(response -> Mono.just(UtilsImpl.deleteResponseToSuccess(response))) - .onErrorResume( - ex -> ex instanceof HttpResponseException && ((HttpResponseException) ex).getResponse().getStatusCode() == 404, - ex -> { - HttpResponse response = ((HttpResponseException) ex).getResponse(); - // In case of 404, we still convert it to success i.e. no-op. - return Mono.just(new SimpleResponse(response.getRequest(), 202, - response.getHeaders(), null)); - }) - .onErrorMap(UtilsImpl::mapException); - } - /** - * Delete the manifest associated with the given digest. - * We currently only support downloading OCI manifests. + * Delete the manifest identified by the given digest. * - * @see Oci Manifest Specification + *

Code Samples:

+ * + * + *
+     * blobClient.downloadManifest("latest")
+     *     .flatMap(manifest -> blobClient.deleteManifest(manifest.getDigest()))
+     *     .block();
+     * 
+ * * * @param digest The digest of the manifest. * @return The completion. @@ -399,10 +412,7 @@ public Mono deleteManifest(String digest) { } /** - * Delete the manifest associated with the given digest. - * We currently only support downloading OCI manifests. - * - * @see Oci Manifest Specification + * Delete the manifest identified by the given digest. * * @param digest The digest of the manifest. * @return The REST response for completion. @@ -414,25 +424,63 @@ public Mono> deleteManifestWithResponse(String digest) { return withContext(context -> deleteManifestWithResponse(digest, context)); } + private Mono> uploadManifestWithResponse(BinaryData manifestData, String tagOrDigest, ManifestMediaType manifestMediaType, Context context) { + ByteBuffer data = manifestData.toByteBuffer(); + if (tagOrDigest == null) { + tagOrDigest = computeDigest(data); + } + + return registriesImpl + .createManifestWithResponseAsync( + repositoryName, + tagOrDigest, + Flux.just(data), + data.remaining(), + manifestMediaType.toString(), + context) + .map(response -> (Response) + new ResponseBase<>( + response.getRequest(), + response.getStatusCode(), + response.getHeaders(), + ConstructorAccessors.createUploadManifestResult(response.getDeserializedHeaders().getDockerContentDigest()), + response.getDeserializedHeaders())) + .onErrorMap(UtilsImpl::mapException); + } + + + private Mono> downloadManifestWithResponse(String tagOrDigest, Collection mediaTypes, Context context) { + if (tagOrDigest == null) { + return monoError(LOGGER, new NullPointerException("'tagOrDigest' can't be null.")); + } + + String requestMediaTypes = getContentTypeString(mediaTypes); + + return registriesImpl.getManifestWithResponseAsync(repositoryName, tagOrDigest, requestMediaTypes, context) + .map(response -> toDownloadManifestResponse(tagOrDigest, response)) + .onErrorMap(UtilsImpl::mapException); + } + private Mono> deleteManifestWithResponse(String digest, Context context) { return this.registriesImpl.deleteManifestWithResponseAsync(repositoryName, digest, context) .flatMap(response -> Mono.just(UtilsImpl.deleteResponseToSuccess(response))) .onErrorMap(UtilsImpl::mapException); } - /** * Break the source Flux into chunks that are <= chunk size. This makes filling the pooled buffers much easier * as we can guarantee we only need at most two buffers for any call to write (two in the case of one pool buffer * filling up with more data to write). We use flatMapSequential because we need to guarantee we preserve the * ordering of the buffers, but we don't really care if one is split before another. * @param data Data to chunk + * @param length stream length * @return Chunked data */ - private static Flux chunkSource(Flux data, MessageDigest sha256) { + private static Flux chunkSource(Flux data, MessageDigest sha256, AtomicLong length) { // TODO (limolkova) unify with storage, taken from it. return data .flatMapSequential(buffer -> { + length.addAndGet(buffer.remaining()); if (buffer.remaining() <= CHUNK_SIZE) { sha256.update(buffer.asReadOnlyBuffer()); return Flux.just(buffer); @@ -449,6 +497,82 @@ private static Flux chunkSource(Flux data, MessageDigest }, 1, 1); } + private Mono downloadBlobInternal(String digest, Context context) { + if (digest == null) { + return monoError(LOGGER, new NullPointerException("'digest' can't be null.")); + } + + Flux content = + blobsImpl.getChunkWithResponseAsync(repositoryName, digest, new HttpRange(0, (long) CHUNK_SIZE).toString(), context) + .flatMapMany(firstResponse -> getAllChunks(firstResponse, digest, context)) + .flatMapSequential(chunk -> chunk.getValue().toFluxByteBuffer(), 1); + return Mono.just(ConstructorAccessors.createDownloadBlobResult(digest, content)); + } + + private Flux> getAllChunks( + ResponseBase firstResponse, String digest, Context context) { + validateResponseHeaderDigest(digest, firstResponse.getHeaders()); + + long blobSize = getBlobSize(firstResponse.getHeaders().get(HttpHeaderName.CONTENT_RANGE)); + List>> others = new ArrayList<>(); + others.add(Mono.just(firstResponse)); + for (long p = firstResponse.getValue().getLength(); p < blobSize; p += CHUNK_SIZE) { + HttpRange range = new HttpRange(p, (long) CHUNK_SIZE); + others.add(blobsImpl.getChunkWithResponseAsync(repositoryName, digest, range.toString(), context)); + } + + return Flux.concat(others); + } + + private Mono> deleteBlobWithResponse(String digest, Context context) { + if (digest == null) { + return monoError(LOGGER, new NullPointerException("'digest' can't be null.")); + } + + return this.blobsImpl.deleteBlobWithResponseAsync(repositoryName, digest, context) + .flatMap(response -> Mono.just(UtilsImpl.deleteResponseToSuccess(response))) + .onErrorResume( + ex -> ex instanceof HttpResponseException && ((HttpResponseException) ex).getResponse().getStatusCode() == 404, + ex -> { + HttpResponse response = ((HttpResponseException) ex).getResponse(); + // In case of 404, we still convert it to success i.e. no-op. + return Mono.just(new SimpleResponse(response.getRequest(), 202, + response.getHeaders(), null)); + }) + .onErrorMap(UtilsImpl::mapException); + } + + private Mono upload(Flux data, String location, Context context) { + AtomicReference locationRef = new AtomicReference<>(location); + + return data + .flatMapSequential(chunk -> { + BinaryData chunkData = BinaryData.fromByteBuffer(chunk); + return blobsImpl.uploadChunkWithResponseAsync(locationRef.get(), chunkData, chunkData.getLength(), context) + .map(response -> getLocation(response)); + }, 1, 1) + .doOnNext(locationRef::set) + .last(); + } + + private Mono uploadBlob(Flux data, Context context) { + if (data == null) { + return monoError(LOGGER, new NullPointerException("'data' can't be null.")); + } + + AtomicLong streamLength = new AtomicLong(0); + MessageDigest sha256 = createSha256(); + Flux chunks = chunkSource(data, sha256, streamLength); + + return blobsImpl + .startUploadWithResponseAsync(repositoryName, context) + .flatMap(response -> upload(chunks, getLocation(response), context)) + // TODO (limolkova) if we knew when's the last chunk, we could upload it in complete call instead. + .flatMap(location -> blobsImpl.completeUploadWithResponseAsync("sha256:" + bytesToHexString(sha256.digest()), location, (BinaryData) null, 0L, context)) + .map(response -> ConstructorAccessors.createUploadBlobResult(response.getHeaders().getValue(DOCKER_DIGEST_HEADER_NAME), streamLength.get())) + .onErrorMap(UtilsImpl::mapException); + } + private Mono runWithTracing(String spanName, Function> operation, Context context) { Context span = tracer.start(spanName, context); return operation.apply(span) diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/specialized/ContainerRegistryBlobClient.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/specialized/ContainerRegistryBlobClient.java index 26cc0bbdb35b..1b46c6691646 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/specialized/ContainerRegistryBlobClient.java +++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/specialized/ContainerRegistryBlobClient.java @@ -111,53 +111,47 @@ public String getEndpoint() { } /** - * Upload the Oci manifest to the repository. - * The upload is done as a single operation. + * Upload the OCI manifest to the repository. + * + *

Code Samples:

+ * + * + *
+     * blobClient.uploadManifest(manifest, "v1");
+     * 
+ * * * @see Oci Manifest Specification * - * @param manifest The OciManifest that needs to be updated. - * @return operation result. + * @param manifest The {@link OciImageManifest} that needs to be updated. + * @param tag Tag to apply on uploaded manifest. If {@code null} is passed, no tags will be applied. + * @return upload result. * @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace. * @throws NullPointerException thrown if the {@code manifest} is null. */ @ServiceMethod(returns = ReturnType.SINGLE) - public UploadManifestResult uploadManifest(OciImageManifest manifest) { + public UploadManifestResult uploadManifest(OciImageManifest manifest, String tag) { Objects.requireNonNull(manifest, "'manifest' cannot be null."); - return uploadManifestWithResponse(BinaryData.fromObject(manifest), null, ManifestMediaType.OCI_MANIFEST, Context.NONE).getValue(); + return uploadManifestWithResponse(BinaryData.fromObject(manifest), tag, ManifestMediaType.OCI_MANIFEST, Context.NONE).getValue(); } /** * Uploads a manifest to the repository. - * The client currently only supports uploading OciManifests to the repository. - * And this operation makes the assumption that the data provided is a valid OCI manifest. - *

- * Also, the data is read into memory and then an upload operation is performed as a single operation. * - * @see Oci Manifest Specification + *

Code Samples:

* - * @param options The options for the upload manifest operation. - * @return The operation result. - * @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace. - * @throws NullPointerException thrown if the {@code data} is null. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public UploadManifestResult uploadManifest(UploadManifestOptions options) { - return uploadManifestWithResponse(options.getManifest(), options.getTag(), options.getMediaType(), Context.NONE).getValue(); - } - - /** - * Uploads a manifest to the repository. - * The client currently only supports uploading OciManifests to the repository. - * And this operation makes the assumption that the data provided is a valid OCI manifest. - *

- * Also, the data is read into memory and then an upload operation is performed as a single operation. + * + *

+     * UploadManifestOptions options = new UploadManifestOptions(manifestList, DOCKER_MANIFEST_LIST_TYPE);
      *
-     * @see Oci Manifest Specification
+     * Response<UploadManifestResult> response = blobClient.uploadManifestWithResponse(options, Context.NONE);
+     * System.out.println("Manifest uploaded, digest - " + response.getValue().getDigest());
+     * 
+ * * * @param options The options for the upload manifest operation. * @param context Additional context that is passed through the Http pipeline during the service call. - * @return The rest response containing the operation result. + * @return The rest response containing the upload result. * @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace. * @throws NullPointerException thrown if the {@code data} is null. */ @@ -167,39 +161,26 @@ public Response uploadManifestWithResponse(UploadManifestO return uploadManifestWithResponse(options.getManifest(), options.getTag(), options.getMediaType(), context); } - private Response uploadManifestWithResponse(BinaryData manifestData, String tagOrDigest, ManifestMediaType manifestMediaType, Context context) { - BinaryData data = manifestData.toReplayableBinaryData(); - if (tagOrDigest == null) { - tagOrDigest = computeDigest(data.toByteBuffer()); - } - - try { - ResponseBase response = this.registriesImpl - .createManifestWithResponse(repositoryName, tagOrDigest, data, data.getLength(), - manifestMediaType.toString(), enableSync(context)); - - return new ResponseBase<>( - response.getRequest(), - response.getStatusCode(), - response.getHeaders(), - ConstructorAccessors.createUploadManifestResult(response.getDeserializedHeaders().getDockerContentDigest()), - response.getDeserializedHeaders()); - } catch (AcrErrorsException exception) { - throw LOGGER.logExceptionAsError(mapAcrErrorsException(exception)); - } - } - /** - * Uploads a blob to the repository. - * The client currently uploads the entire blob\layer as a single unit. - *

- * Also, the blob is read into memory and then an upload operation is performed as a single operation. - * We currently do not support breaking the layer into multiple chunks and uploading them one at a time - * - * @param data The blob\image content that needs to be uploaded. - * @return The operation result. + * Uploads a blob to the repository in chunks of 4MB. + * Use this method to upload relatively small content that fits into memory. For large content use + * {@link ContainerRegistryBlobClient#uploadBlob(ReadableByteChannel, Context)} overload. + * + *

Code Samples

+ * + * + *
+     * BinaryData configContent = BinaryData.fromObject(Collections.singletonMap("hello", "world"));
+     *
+     * UploadBlobResult uploadResult = blobClient.uploadBlob(configContent);
+     * System.out.printf("Uploaded blob: digest - '%s', size - %s\n", uploadResult.getDigest(), uploadResult.getSizeInBytes());
+     * 
+ * + * + * @param data The blob content. The content may be loaded into memory depending on how {@link BinaryData} is created. + * @return The upload response. * @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace. - * @throws NullPointerException thrown if the {@code data} is null. + * @throws NullPointerException thrown if the {@code data} is {@code null}. */ @ServiceMethod(returns = ReturnType.SINGLE) public UploadBlobResult uploadBlob(BinaryData data) { @@ -217,18 +198,25 @@ public UploadBlobResult uploadBlob(BinaryData data) { } /** - * Uploads a blob to the repository. - * The client currently uploads the entire blob\layer as a single unit. - *

- * Also, the blob is read into memory and then an upload operation is performed as a single operation. - * We currently do not support breaking the layer into multiple chunks and uploading them one at a time - * The service does support this via range header. - * - * @param stream The blob\image content that needs to be uploaded. + * Uploads a blob to the repository in chunks of 4MB. + * + *

Code Samples

+ * + * + *
+     * try (FileInputStream content = new FileInputStream("artifact.tar.gz")) {
+     *     UploadBlobResult uploadResult = blobClient.uploadBlob(content.getChannel(), Context.NONE);
+     *     System.out.printf("Uploaded blob: digest - '%s', size - %s\n",
+     *         uploadResult.getDigest(), uploadResult.getSizeInBytes());
+     * }
+     * 
+ * + * + * @param stream The blob content. * @param context Additional context that is passed through the Http pipeline during the service call. - * @return The rest response containing the operation result. + * @return The upload response. * @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace. - * @throws NullPointerException thrown if the {@code data} is null. + * @throws NullPointerException thrown if the {@code stream} is {@code null}. */ @ServiceMethod(returns = ReturnType.SINGLE) public UploadBlobResult uploadBlob(ReadableByteChannel stream, Context context) { @@ -236,64 +224,36 @@ public UploadBlobResult uploadBlob(ReadableByteChannel stream, Context context) return runWithTracing(UPLOAD_BLOB_SPAN_NAME, (span) -> uploadBlobInternal(stream, span), enableSync(context)); } - private UploadBlobResult uploadBlobInternal(ReadableByteChannel stream, Context context) { - MessageDigest sha256 = createSha256(); - byte[] buffer = new byte[CHUNK_SIZE]; - - try { - ResponseBase startUploadResponse = - blobsImpl.startUploadWithResponse(repositoryName, context); - String location = getLocation(startUploadResponse); - - BinaryData chunk; - while (true) { - chunk = readChunk(stream, sha256, buffer); - if (chunk == null || chunk.getLength() < CHUNK_SIZE) { - break; - } - - ResponseBase uploadChunkResponse = - blobsImpl.uploadChunkWithResponse(location, chunk, chunk.getLength(), context); - location = getLocation(uploadChunkResponse); - } - - String digest = "sha256:" + bytesToHexString(sha256.digest()); - - ResponseBase completeUploadResponse = - blobsImpl.completeUploadWithResponse(digest, location, chunk, chunk == null ? null : chunk.getLength(), context); - - return ConstructorAccessors.createUploadBlobResult(completeUploadResponse.getDeserializedHeaders().getDockerContentDigest()); - } catch (AcrErrorsException ex) { - throw LOGGER.logExceptionAsError(mapAcrErrorsException(ex)); - } - } - private BinaryData readChunk(ReadableByteChannel stream, MessageDigest sha256, byte[] buffer) { - ByteBuffer byteBuffer = ByteBuffer.wrap(buffer); - while (byteBuffer.position() < CHUNK_SIZE) { - try { - if (stream.read(byteBuffer) < 0) { - break; - } - } catch (IOException ex) { - throw LOGGER.logExceptionAsError(new UncheckedIOException(ex)); - } - } - if (byteBuffer.position() == 0) { - return null; - } - - byteBuffer.flip(); - sha256.update(byteBuffer.asReadOnlyBuffer()); - return BinaryData.fromByteBuffer(byteBuffer); - } /** - * Download the manifest associated with the given tag or digest. - * We currently only support downloading OCI manifests. + * Download the manifest identified by the given tag or digest. * - * @see Oci Manifest Specification + *

Code Samples:

+ * + * Download manifest with tag: + * + * + *
+     * DownloadManifestResult latestResult = blobClient.downloadManifest("latest");
+     * if (ManifestMediaType.DOCKER_MANIFEST.equals(latestResult.getMediaType())
+     *     || ManifestMediaType.OCI_MANIFEST.equals(latestResult.getMediaType())) {
+     *     OciImageManifest manifest = latestResult.asOciManifest();
+     * } else {
+     *     throw new IllegalArgumentException("Unexpected manifest type: " + latestResult.getMediaType());
+     * }
+     * 
+ * + * + * Download manifest with digest: + * + * + *
+     * DownloadManifestResult digestResult = blobClient.downloadManifest(
+     *     "sha256:6581596932dc735fd0df8cc240e6c28845a66829126da5ce25b983cf244e2311");
+     * 
+ * * * @param tagOrDigest Manifest tag or digest. - * @return The manifest associated with the given tag or digest. + * @return The manifest identified by the given tag or digest. * @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace. * @throws NullPointerException thrown if the {@code tagOrDigest} is null. */ @@ -303,15 +263,37 @@ public DownloadManifestResult downloadManifest(String tagOrDigest) { } /** - * Download the manifest associated with the given tag or digest. - * We currently only support downloading OCI manifests. + * Download the manifest of custom type identified by the given tag or digest. * - * @see Oci Manifest Specification + *

Code Samples:

+ * + * + *
+     * ManifestMediaType dockerListType = ManifestMediaType
+     *     .fromString("application/vnd.docker.distribution.manifest.list.v2+json");
+     * ManifestMediaType ociIndexType = ManifestMediaType
+     *     .fromString("application/vnd.oci.image.index.v1+json");
+     *
+     * Response<DownloadManifestResult> response = blobClient.downloadManifestWithResponse(
+     *     "latest",
+     *     Arrays.asList(dockerListType, ociIndexType),
+     *     Context.NONE);
+     * if (dockerListType.equals(response.getValue().getMediaType())) {
+     *     // DockerManifestList manifestList = downloadResult.getValue().getContent().toObject(DockerManifestList.class);
+     *     System.out.println("Got docker manifest list");
+     * } else if (ociIndexType.equals(response.getValue().getMediaType())) {
+     *     // OciIndex ociIndex = downloadResult.getValue().getContent().toObject(OciIndex.class);
+     *     System.out.println("Got OCI index");
+     * } else {
+     *     throw new IllegalArgumentException("Got unexpected manifest type: " + response.getValue().getMediaType());
+     * }
+     * 
+ * * * @param tagOrDigest Manifest reference which can be tag or digest. * @param mediaTypes List of {@link ManifestMediaType} to request. * @param context Additional context that is passed through the Http pipeline during the service call. - * @return The response for the manifest associated with the given tag or digest. + * @return The response for the manifest identified by the given tag or digest. * @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace. * @throws NullPointerException thrown if the {@code tagOrDigest} is null. */ @@ -332,7 +314,17 @@ public Response downloadManifestWithResponse(String tagO } /** - * Download the blob associated with the given digest. + * Download the blob identified by the given digest. + * + *

Code Samples:

+ * + * + *
+     * Path file = Files.createTempFile(digest, ".tmp");
+     * SeekableByteChannel channel = Files.newByteChannel(file, StandardOpenOption.CREATE_NEW, StandardOpenOption.WRITE);
+     * blobClient.downloadStream(digest, channel);
+     * 
+ * * * @param digest The digest for the given image layer. * @param channel The channel to write content to. @@ -346,7 +338,7 @@ public void downloadStream(String digest, WritableByteChannel channel) { } /** - * Download the blob\layer associated with the given digest. + * Download the blob identified by the given digest. * * @param digest The digest for the given image layer. * @param channel The channel to write content to. @@ -363,42 +355,21 @@ public void downloadStream(String digest, WritableByteChannel channel, Context c }, context); } - private void downloadBlobInternal(String digest, WritableByteChannel channel, Context context) { - Objects.requireNonNull(digest, "'digest' cannot be null."); - - context = enableSync(context); - MessageDigest sha256 = createSha256(); - try { - Response firstChunk = readRange(digest, new HttpRange(0, (long) CHUNK_SIZE), channel, sha256, context); - validateResponseHeaderDigest(digest, firstChunk.getHeaders()); - - long blobSize = getBlobSize(firstChunk.getHeaders().get(HttpHeaderName.CONTENT_RANGE)); - for (long p = firstChunk.getValue().getLength(); p < blobSize; p += CHUNK_SIZE) { - readRange(digest, new HttpRange(p, (long) CHUNK_SIZE), channel, sha256, context); - } - } catch (AcrErrorsException exception) { - throw LOGGER.logExceptionAsError(mapAcrErrorsException(exception)); - } - - validateDigest(sha256, digest); - } - - private Response readRange(String digest, HttpRange range, WritableByteChannel channel, MessageDigest sha256, Context context) { - Response response = blobsImpl.getChunkWithResponse(repositoryName, digest, range.toString(), context); - - ByteBuffer buffer = response.getValue().toByteBuffer(); - sha256.update(buffer.asReadOnlyBuffer()); - try { - channel.write(buffer); - } catch (IOException e) { - throw LOGGER.logExceptionAsError(new UncheckedIOException(e)); - } - - return response; - } - /** - * Delete the image associated with the given digest + * Delete the image identified by the given digest + * + *

Code Samples:

+ * + * + *
+     * DownloadManifestResult manifestResult = blobClient.downloadManifest("latest");
+     *
+     * OciImageManifest manifest = manifestResult.asOciManifest();
+     * for (OciDescriptor layer : manifest.getLayers()) {
+     *     blobClient.deleteBlob(layer.getDigest());
+     * }
+     * 
+ * * * @param digest The digest for the given image layer. * @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace. @@ -410,7 +381,7 @@ public void deleteBlob(String digest) { } /** - * Delete the image associated with the given digest + * Delete the image identified by the given digest * * @param digest The digest for the given image layer. * @param context Additional context that is passed through the Http pipeline during the service call. @@ -440,10 +411,16 @@ public Response deleteBlobWithResponse(String digest, Context context) { } /** - * Delete the manifest associated with the given digest. - * We currently only support downloading OCI manifests. + * Delete the manifest identified by the given digest. * - * @see Oci Manifest Specification + *

Code Samples:

+ * + * + *
+     * DownloadManifestResult manifestResult = blobClient.downloadManifest("latest");
+     * blobClient.deleteManifest(manifestResult.getDigest());
+     * 
+ * * * @param digest The digest of the manifest. * @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace. @@ -455,10 +432,7 @@ public void deleteManifest(String digest) { } /** - * Delete the manifest associated with the given digest. - * We currently only support downloading OCI manifests. - * - * @see Oci Manifest Specification + * Delete the manifest identified by the given digest. * * @param digest The digest of the manifest. * @param context Additional context that is passed through the Http pipeline during the service call. @@ -479,6 +453,120 @@ public Response deleteManifestWithResponse(String digest, Context context) } } + private UploadBlobResult uploadBlobInternal(ReadableByteChannel stream, Context context) { + MessageDigest sha256 = createSha256(); + byte[] buffer = new byte[CHUNK_SIZE]; + + try { + ResponseBase startUploadResponse = + blobsImpl.startUploadWithResponse(repositoryName, context); + String location = getLocation(startUploadResponse); + + BinaryData chunk; + long streamLength = 0L; + while (true) { + chunk = readChunk(stream, sha256, buffer); + if (chunk == null) { + break; + } + + streamLength += chunk.getLength(); + if (chunk.getLength() < CHUNK_SIZE) { + break; + } + + ResponseBase uploadChunkResponse = + blobsImpl.uploadChunkWithResponse(location, chunk, chunk.getLength(), context); + location = getLocation(uploadChunkResponse); + } + + String digest = "sha256:" + bytesToHexString(sha256.digest()); + + ResponseBase completeUploadResponse = + blobsImpl.completeUploadWithResponse(digest, location, chunk, chunk == null ? null : chunk.getLength(), context); + + return ConstructorAccessors.createUploadBlobResult(completeUploadResponse.getDeserializedHeaders().getDockerContentDigest(), streamLength); + } catch (AcrErrorsException ex) { + throw LOGGER.logExceptionAsError(mapAcrErrorsException(ex)); + } + } + + private BinaryData readChunk(ReadableByteChannel stream, MessageDigest sha256, byte[] buffer) { + ByteBuffer byteBuffer = ByteBuffer.wrap(buffer); + while (byteBuffer.position() < CHUNK_SIZE) { + try { + if (stream.read(byteBuffer) < 0) { + break; + } + } catch (IOException ex) { + throw LOGGER.logExceptionAsError(new UncheckedIOException(ex)); + } + } + if (byteBuffer.position() == 0) { + return null; + } + + byteBuffer.flip(); + sha256.update(byteBuffer.asReadOnlyBuffer()); + return BinaryData.fromByteBuffer(byteBuffer); + } + + private Response uploadManifestWithResponse(BinaryData manifestData, String tagOrDigest, ManifestMediaType manifestMediaType, Context context) { + BinaryData data = manifestData.toReplayableBinaryData(); + if (tagOrDigest == null) { + tagOrDigest = computeDigest(data.toByteBuffer()); + } + + try { + ResponseBase response = this.registriesImpl + .createManifestWithResponse(repositoryName, tagOrDigest, data, data.getLength(), + manifestMediaType.toString(), enableSync(context)); + + return new ResponseBase<>( + response.getRequest(), + response.getStatusCode(), + response.getHeaders(), + ConstructorAccessors.createUploadManifestResult(response.getDeserializedHeaders().getDockerContentDigest()), + response.getDeserializedHeaders()); + } catch (AcrErrorsException exception) { + throw LOGGER.logExceptionAsError(mapAcrErrorsException(exception)); + } + } + + private void downloadBlobInternal(String digest, WritableByteChannel channel, Context context) { + Objects.requireNonNull(digest, "'digest' cannot be null."); + + context = enableSync(context); + MessageDigest sha256 = createSha256(); + try { + Response firstChunk = readRange(digest, new HttpRange(0, (long) CHUNK_SIZE), channel, sha256, context); + validateResponseHeaderDigest(digest, firstChunk.getHeaders()); + + long blobSize = getBlobSize(firstChunk.getHeaders().get(HttpHeaderName.CONTENT_RANGE)); + for (long p = firstChunk.getValue().getLength(); p < blobSize; p += CHUNK_SIZE) { + readRange(digest, new HttpRange(p, (long) CHUNK_SIZE), channel, sha256, context); + } + } catch (AcrErrorsException exception) { + throw LOGGER.logExceptionAsError(mapAcrErrorsException(exception)); + } + + validateDigest(sha256, digest); + } + + private Response readRange(String digest, HttpRange range, WritableByteChannel channel, MessageDigest sha256, Context context) { + Response response = blobsImpl.getChunkWithResponse(repositoryName, digest, range.toString(), context); + + ByteBuffer buffer = response.getValue().toByteBuffer(); + sha256.update(buffer.asReadOnlyBuffer()); + try { + channel.write(buffer); + } catch (IOException e) { + throw LOGGER.logExceptionAsError(new UncheckedIOException(e)); + } + + return response; + } + private T runWithTracing(String spanName, Function operation, Context context) { Context span = tracer.start(spanName, context); Exception exception = null; diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/DockerV2ManifestList.java b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/DockerV2ManifestList.java deleted file mode 100644 index cafb1d0461ad..000000000000 --- a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/DockerV2ManifestList.java +++ /dev/null @@ -1,126 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.azure.containers.containerregistry; - -import com.fasterxml.jackson.annotation.JsonProperty; - -import java.util.List; - -public final class DockerV2ManifestList { - @JsonProperty("mediaType") - private String mediaType; - @JsonProperty("schemaVersion") - private Integer schemaVersion; - @JsonProperty("manifests") - private List manifests; - - public DockerV2ManifestList() { - } - - public String getMediaType() { - return this.mediaType; - } - - public DockerV2ManifestList setMediaType(String mediaType) { - this.mediaType = mediaType; - return this; - } - - public List getManifests() { - return this.manifests; - } - - public DockerV2ManifestList setManifests(List manifests) { - this.manifests = manifests; - return this; - } - - public DockerV2ManifestList setSchemaVersion(Integer schemaVersion) { - this.schemaVersion = schemaVersion; - return this; - } - - public Integer getSchemaVersion() { - return this.schemaVersion; - } - - public static final class DockerV2ManifestListAttributes { - @JsonProperty("mediaType") - private String mediaType; - - @JsonProperty("size") - private Long size; - - @JsonProperty("digest") - private String digest; - - @JsonProperty("platform") - private Platform platform; - - public DockerV2ManifestListAttributes() { - } - - public String getMediaType() { - return this.mediaType; - } - - public DockerV2ManifestListAttributes setMediaType(String mediaType) { - this.mediaType = mediaType; - return this; - } - - public Long getSize() { - return this.size; - } - - public DockerV2ManifestListAttributes setSize(Long size) { - this.size = size; - return this; - } - - public String getDigest() { - return this.digest; - } - - public DockerV2ManifestListAttributes setDigest(String digest) { - this.digest = digest; - return this; - } - - public Platform getPlatform() { - return this.platform; - } - - public DockerV2ManifestListAttributes setPlatform(Platform platform) { - this.platform = platform; - return this; - } - } - - public static final class Platform { - @JsonProperty("architecture") - private String architecture; - - @JsonProperty("os") - private String os; - - public Platform setOs(String os) { - this.os = os; - return this; - } - - public String getOs() { - return this.os; - } - - public Platform setArchitecture(String os) { - this.architecture = architecture; - return this; - } - - public String getArchitecture() { - return this.architecture; - } - } -} diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/DownloadImage.java b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/DownloadImage.java index 6d2cb5d51ae7..04efada16465 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/DownloadImage.java +++ b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/DownloadImage.java @@ -4,10 +4,13 @@ package com.azure.containers.containerregistry; import com.azure.containers.containerregistry.models.DownloadManifestResult; +import com.azure.containers.containerregistry.models.ManifestMediaType; import com.azure.containers.containerregistry.models.OciDescriptor; import com.azure.containers.containerregistry.models.OciImageManifest; import com.azure.containers.containerregistry.specialized.ContainerRegistryBlobClient; import com.azure.containers.containerregistry.specialized.ContainerRegistryBlobClientBuilder; +import com.azure.core.http.rest.Response; +import com.azure.core.util.Context; import com.azure.identity.DefaultAzureCredential; import com.azure.identity.DefaultAzureCredentialBuilder; import com.fasterxml.jackson.databind.ObjectMapper; @@ -16,36 +19,37 @@ import java.io.IOException; import java.nio.channels.SeekableByteChannel; import java.nio.file.Files; +import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.StandardOpenOption; +import java.util.Arrays; public class DownloadImage { private static final String ENDPOINT = "https://registryName.azurecr.io"; private static final String REPOSITORY = "samples/nginx"; private static final String OUT_DIRECTORY = getTempDirectory(); private static final ObjectMapper PRETTY_PRINT = new ObjectMapper().enable(SerializationFeature.INDENT_OUTPUT); + private static final DefaultAzureCredential CREDENTIAL = new DefaultAzureCredentialBuilder().build(); public static void main(String[] args) throws IOException { - DefaultAzureCredential credential = new DefaultAzureCredentialBuilder().build(); - - // BEGIN: readme-sample-downloadImage ContainerRegistryBlobClient blobClient = new ContainerRegistryBlobClientBuilder() .endpoint(ENDPOINT) .repository(REPOSITORY) - .credential(credential) + .credential(CREDENTIAL) .buildClient(); + // BEGIN: readme-sample-downloadImage DownloadManifestResult manifestResult = blobClient.downloadManifest("latest"); OciImageManifest manifest = manifestResult.asOciManifest(); - System.out.printf("Got manifest:\n%s\n\n", PRETTY_PRINT.writeValueAsString(manifest)); + System.out.printf("Got manifest:\n%s\n", PRETTY_PRINT.writeValueAsString(manifest)); String configFileName = manifest.getConfig().getDigest() + ".json"; - blobClient.downloadStream(manifest.getConfig().getDigest(), createWriteChannel(configFileName)); + blobClient.downloadStream(manifest.getConfig().getDigest(), createFileChannel(configFileName)); System.out.printf("Got config: %s\n", configFileName); for (OciDescriptor layer : manifest.getLayers()) { - blobClient.downloadStream(layer.getDigest(), createWriteChannel(layer.getDigest())); + blobClient.downloadStream(layer.getDigest(), createFileChannel(layer.getDigest())); System.out.printf("Got layer: %s\n", layer.getDigest()); } // END: readme-sample-downloadImage @@ -53,11 +57,11 @@ public static void main(String[] args) throws IOException { System.out.println("Done"); } - private static SeekableByteChannel createWriteChannel(String name) throws IOException { - if (name.startsWith("sha256:")) { - name = name.substring(7); + private static SeekableByteChannel createFileChannel(String fileName) throws IOException { + if (fileName.startsWith("sha256:")) { + fileName = fileName.substring(7); } - return Files.newByteChannel(Paths.get(OUT_DIRECTORY, name), StandardOpenOption.CREATE_NEW, StandardOpenOption.WRITE); + return Files.newByteChannel(Paths.get(OUT_DIRECTORY, fileName), StandardOpenOption.CREATE_NEW, StandardOpenOption.WRITE); } private static String getTempDirectory() { @@ -71,4 +75,72 @@ private static String getTempDirectory() { System.out.printf("Writing content to %s\n", outDir); return outDir; } + + private void downloadStream() throws IOException { + ContainerRegistryBlobClient blobClient = new ContainerRegistryBlobClientBuilder() + .endpoint(ENDPOINT) + .repository(REPOSITORY) + .credential(CREDENTIAL) + .buildClient(); + + String digest = "sha256:6581596932dc735fd0df8cc240e6c28845a66829126da5ce25b983cf244e2311"; + + // BEGIN: com.azure.containers.containerregistry.downloadStream + Path file = Files.createTempFile(digest, ".tmp"); + SeekableByteChannel channel = Files.newByteChannel(file, StandardOpenOption.CREATE_NEW, StandardOpenOption.WRITE); + blobClient.downloadStream(digest, channel); + // END: com.azure.containers.containerregistry.downloadStream + } + + private void downloadManifest() { + ContainerRegistryBlobClient blobClient = new ContainerRegistryBlobClientBuilder() + .endpoint(ENDPOINT) + .repository(REPOSITORY) + .credential(CREDENTIAL) + .buildClient(); + + // BEGIN: com.azure.containers.containerregistry.downloadManifestTag + DownloadManifestResult latestResult = blobClient.downloadManifest("latest"); + if (ManifestMediaType.DOCKER_MANIFEST.equals(latestResult.getMediaType()) + || ManifestMediaType.OCI_MANIFEST.equals(latestResult.getMediaType())) { + OciImageManifest manifest = latestResult.asOciManifest(); + } else { + throw new IllegalArgumentException("Unexpected manifest type: " + latestResult.getMediaType()); + } + // END: com.azure.containers.containerregistry.downloadManifestTag + + // BEGIN: com.azure.containers.containerregistry.downloadManifestDigest + DownloadManifestResult digestResult = blobClient.downloadManifest( + "sha256:6581596932dc735fd0df8cc240e6c28845a66829126da5ce25b983cf244e2311"); + // END: com.azure.containers.containerregistry.downloadManifestDigest + } + + private void downloadCustomManifest() { + ContainerRegistryBlobClient blobClient = new ContainerRegistryBlobClientBuilder() + .endpoint(ENDPOINT) + .repository(REPOSITORY) + .credential(CREDENTIAL) + .buildClient(); + + // BEGIN: com.azure.containers.containerregistry.downloadCustomManifest + ManifestMediaType dockerListType = ManifestMediaType + .fromString("application/vnd.docker.distribution.manifest.list.v2+json"); + ManifestMediaType ociIndexType = ManifestMediaType + .fromString("application/vnd.oci.image.index.v1+json"); + + Response response = blobClient.downloadManifestWithResponse( + "latest", + Arrays.asList(dockerListType, ociIndexType), + Context.NONE); + if (dockerListType.equals(response.getValue().getMediaType())) { + // DockerManifestList manifestList = downloadResult.getValue().getContent().toObject(DockerManifestList.class); + System.out.println("Got docker manifest list"); + } else if (ociIndexType.equals(response.getValue().getMediaType())) { + // OciIndex ociIndex = downloadResult.getValue().getContent().toObject(OciIndex.class); + System.out.println("Got OCI index"); + } else { + throw new IllegalArgumentException("Got unexpected manifest type: " + response.getValue().getMediaType()); + } + // END: com.azure.containers.containerregistry.downloadCustomManifest + } } diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/DownloadImageAsync.java b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/DownloadImageAsync.java index 8ed7f03f672b..cc78b5210524 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/DownloadImageAsync.java +++ b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/DownloadImageAsync.java @@ -7,7 +7,6 @@ import com.azure.containers.containerregistry.models.OciImageManifest; import com.azure.containers.containerregistry.specialized.ContainerRegistryBlobAsyncClient; import com.azure.containers.containerregistry.specialized.ContainerRegistryBlobClientBuilder; -import com.azure.core.util.io.IOUtils; import com.azure.identity.DefaultAzureCredential; import com.azure.identity.DefaultAzureCredentialBuilder; import com.fasterxml.jackson.core.JsonProcessingException; @@ -16,9 +15,11 @@ import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; +import java.io.Closeable; +import java.io.FileOutputStream; import java.io.IOException; -import java.nio.channels.AsynchronousByteChannel; -import java.nio.channels.AsynchronousFileChannel; +import java.nio.channels.AsynchronousSocketChannel; +import java.nio.channels.FileChannel; import java.nio.file.Files; import java.nio.file.Paths; import java.nio.file.StandardOpenOption; @@ -29,34 +30,38 @@ public class DownloadImageAsync { private static final String REPOSITORY = "samples/nginx"; private static final ObjectMapper PRETTY_PRINT = new ObjectMapper().enable(SerializationFeature.INDENT_OUTPUT); private static final String OUT_DIRECTORY = getTempDirectory(); + private static final DefaultAzureCredential CREDENTIAL = new DefaultAzureCredentialBuilder().build(); public static void main(String[] args) { - DefaultAzureCredential credential = new DefaultAzureCredentialBuilder().build(); - - // BEGIN: readme-sample-downloadImageAsync ContainerRegistryBlobAsyncClient blobClient = new ContainerRegistryBlobClientBuilder() .endpoint(ENDPOINT) .repository(REPOSITORY) - .credential(credential) + .credential(CREDENTIAL) .buildAsyncClient(); + // BEGIN: readme-sample-downloadImageAsync blobClient .downloadManifest("latest") .map(manifestResult -> manifestResult.asOciManifest()) .doOnSuccess(manifest -> System.out.printf("Got manifest:\n%s\n", prettyPrint(manifest))) .flatMapMany(manifest -> { String configFileName = manifest.getConfig().getDigest() + ".json"; + FileChannel configChannel = createFileChannel(configFileName); Mono downloadConfig = blobClient .downloadStream(manifest.getConfig().getDigest()) - .flatMap(downloadResponse -> downloadResponse.writeValueToAsync(createWriteChannel(configFileName))) - .doOnSuccess(i -> System.out.printf("Got config: %s\n", configFileName)); + .flatMap(downloadResponse -> downloadResponse.writeValueTo(configChannel)) + .doOnSuccess(i -> System.out.printf("Got config: %s\n", configFileName)) + .doFinally(i -> closeStream(configChannel)); Flux downloadLayers = Flux.fromIterable(manifest.getLayers()) - .flatMap(layer -> blobClient - .downloadStream(layer.getDigest()) - .flatMap(downloadResponse -> downloadResponse.writeValueToAsync(createWriteChannel(layer.getDigest()))) - .doOnSuccess(i -> System.out.printf("Got layer: %s\n", layer.getDigest()))); + .flatMap(layer -> { + FileChannel layerChannel = createFileChannel(layer.getDigest()); + return blobClient.downloadStream(layer.getDigest()) + .flatMap(downloadResponse -> downloadResponse.writeValueTo(layerChannel)) + .doOnSuccess(i -> System.out.printf("Got layer: %s\n", layer.getDigest())) + .doFinally(i -> closeStream(layerChannel)); + }); return Flux.concat(downloadConfig, downloadLayers); }) @@ -66,7 +71,74 @@ public static void main(String[] args) { System.out.println("Done"); } - private void downloadCustomManifestMediaType() { + private static void downloadBlob() { + ContainerRegistryBlobAsyncClient blobClient = new ContainerRegistryBlobClientBuilder() + .endpoint(ENDPOINT) + .repository(REPOSITORY) + .credential(CREDENTIAL) + .buildAsyncClient(); + String digest = "sha256:6581596932dc735fd0df8cc240e6c28845a66829126da5ce25b983cf244e2311"; + + // BEGIN: com.azure.containers.containerregistry.downloadStreamAsyncFile + blobClient + .downloadStream(digest) + .flatMap(downloadResult -> + Mono.using(() -> new FileOutputStream(trimSha(digest)), + fileStream -> downloadResult.writeValueTo(fileStream.getChannel()), + fileStream -> closeStream(fileStream))) + .block(); + // END: com.azure.containers.containerregistry.downloadStreamAsyncFile + + + // BEGIN: com.azure.containers.containerregistry.downloadStreamAsyncSocket + blobClient + .downloadStream(digest) + .flatMap(downloadResult -> + Mono.using( + () -> openSocket(), + socket -> downloadResult.writeValueToAsync(socket), + socket -> closeStream(socket))) + .block(); + // END: com.azure.containers.containerregistry.downloadStreamAsyncSocket + } + + private static FileChannel createFileChannel(String name) { + try { + return FileChannel.open(Paths.get(OUT_DIRECTORY, trimSha(name)), StandardOpenOption.CREATE, StandardOpenOption.WRITE); + } catch (IOException e) { + e.printStackTrace(); + throw new RuntimeException(e); + } + } + + private static AsynchronousSocketChannel openSocket() { + // new AsynchronousSocketChannel(...).bind(...); + return null; + } + + private static void downloadManifest() { + ContainerRegistryBlobAsyncClient blobClient = new ContainerRegistryBlobClientBuilder() + .endpoint(ENDPOINT) + .repository(REPOSITORY) + .credential(CREDENTIAL) + .buildAsyncClient(); + + // BEGIN: com.azure.containers.containerregistry.downloadManifestAsync + blobClient.downloadManifest("latest") + .doOnNext(downloadResult -> { + if (ManifestMediaType.OCI_MANIFEST.equals(downloadResult.getMediaType()) + || ManifestMediaType.DOCKER_MANIFEST.equals(downloadResult.getMediaType())) { + OciImageManifest manifest = downloadResult.asOciManifest(); + System.out.println("Got OCI manifest"); + } else { + throw new IllegalArgumentException("Unexpected manifest type: " + downloadResult.getMediaType()); + } + }) + .block(); + // END: com.azure.containers.containerregistry.downloadManifestAsync + } + + private static void downloadCustomManifestMediaType() { DefaultAzureCredential credential = new DefaultAzureCredentialBuilder().build(); ContainerRegistryBlobAsyncClient blobClient = new ContainerRegistryBlobClientBuilder() .endpoint(ENDPOINT) @@ -74,22 +146,28 @@ private void downloadCustomManifestMediaType() { .credential(credential) .buildAsyncClient(); - ManifestMediaType manifestListType = ManifestMediaType.fromString("application/vnd.docker.distribution.manifest.list.v2+json"); - ManifestMediaType ociIndexType = ManifestMediaType.fromString("application/vnd.oci.image.index.v1+json"); + // BEGIN: com.azure.containers.containerregistry.downloadCustomManifestAsync + ManifestMediaType dockerListType = ManifestMediaType + .fromString("application/vnd.docker.distribution.manifest.list.v2+json"); + ManifestMediaType ociIndexType = ManifestMediaType + .fromString("application/vnd.oci.image.index.v1+json"); - blobClient.downloadManifestWithResponse("latest", Arrays.asList(manifestListType, ociIndexType)) + blobClient.downloadManifestWithResponse("latest", Arrays.asList(dockerListType, ociIndexType)) .doOnNext(downloadResult -> { - if (manifestListType.equals(downloadResult.getValue().getMediaType())) { - DockerV2ManifestList list = downloadResult.getValue().getContent().toObject(DockerV2ManifestList.class); + if (dockerListType.equals(downloadResult.getValue().getMediaType())) { + // DockerManifestList manifestList = + // downloadResult.getValue().getContent().toObject(DockerManifestList.class); System.out.println("Got docker manifest list"); } else if (ociIndexType.equals(downloadResult.getValue().getMediaType())) { - // ... get OCI Index + // OciIndex ociIndex = downloadResult.getValue().getContent().toObject(OciIndex.class); System.out.println("Got OCI index"); } else { - throw new IllegalArgumentException("Got unexpected content type: " + downloadResult.getValue().getMediaType()); + throw new IllegalArgumentException("Got unexpected content type: " + + downloadResult.getValue().getMediaType()); } }) .block(); + // END: com.azure.containers.containerregistry.downloadCustomManifestAsync } private static String prettyPrint(OciImageManifest manifest) { @@ -101,29 +179,28 @@ private static String prettyPrint(OciImageManifest manifest) { } } - private static AsynchronousByteChannel createWriteChannel(String name) { - if (name.startsWith("sha256:")) { - name = name.substring(7); - } + private static String trimSha(String digest) { + return digest.startsWith("sha256:") ? digest.substring(7) : digest; + } + private static String getTempDirectory() { + String outDir = null; try { - AsynchronousFileChannel fileChannel = AsynchronousFileChannel.open(Paths.get(OUT_DIRECTORY, name), StandardOpenOption.CREATE, StandardOpenOption.WRITE); - return IOUtils.toAsynchronousByteChannel(fileChannel, 0); + outDir = Files.createTempDirectory(null).toString(); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException(e); } + System.out.printf("Writing content to %s\n", outDir); + return outDir; } - private static String getTempDirectory() { - String outDir = null; + private static void closeStream(Closeable stream) { try { - outDir = Files.createTempDirectory(null).toString(); + stream.close(); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException(e); } - System.out.printf("Writing content to %s\n", outDir); - return outDir; } } diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ReadmeSamples.java b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ReadmeSamples.java index 9e7fec10abec..acf812f8f149 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ReadmeSamples.java +++ b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ReadmeSamples.java @@ -6,6 +6,12 @@ import com.azure.containers.containerregistry.models.ArtifactTagProperties; import com.azure.containers.containerregistry.models.ArtifactManifestOrder; import com.azure.containers.containerregistry.models.ContainerRegistryAudience; +import com.azure.containers.containerregistry.models.DownloadManifestResult; +import com.azure.containers.containerregistry.models.OciDescriptor; +import com.azure.containers.containerregistry.models.OciImageManifest; +import com.azure.containers.containerregistry.specialized.ContainerRegistryBlobAsyncClient; +import com.azure.containers.containerregistry.specialized.ContainerRegistryBlobClient; +import com.azure.containers.containerregistry.specialized.ContainerRegistryBlobClientBuilder; import com.azure.core.credential.TokenCredential; import com.azure.core.exception.ClientAuthenticationException; import com.azure.core.exception.HttpResponseException; @@ -21,38 +27,61 @@ * */ public class ReadmeSamples { - private String endpoint = "endpoint"; + private String repository = "samples/nginx"; public void createClient() { // BEGIN: readme-sample-createClient DefaultAzureCredential credential = new DefaultAzureCredentialBuilder().build(); - ContainerRegistryClient client = new ContainerRegistryClientBuilder() + ContainerRegistryClient registryClient = new ContainerRegistryClientBuilder() .endpoint(endpoint) .credential(credential) .buildClient(); // END: readme-sample-createClient } + public void createBlobClient() { + // BEGIN: readme-sample-createBlobClient + DefaultAzureCredential credential = new DefaultAzureCredentialBuilder().build(); + ContainerRegistryBlobClient blobClient = new ContainerRegistryBlobClientBuilder() + .endpoint(endpoint) + .credential(credential) + .repository(repository) + .buildClient(); + // END: readme-sample-createBlobClient + } + public void createAsyncClient() { // BEGIN: readme-sample-createAsyncClient DefaultAzureCredential credential = new DefaultAzureCredentialBuilder().build(); - ContainerRegistryAsyncClient client = new ContainerRegistryClientBuilder() + ContainerRegistryAsyncClient registryClient = new ContainerRegistryClientBuilder() .endpoint(endpoint) .credential(credential) .buildAsyncClient(); // END: readme-sample-createAsyncClient } + public void createBlobAsyncClient() { + // BEGIN: readme-sample-createBlobAsyncClient + DefaultAzureCredential credential = new DefaultAzureCredentialBuilder().build(); + ContainerRegistryBlobAsyncClient blobClient = new ContainerRegistryBlobClientBuilder() + .endpoint(endpoint) + .credential(credential) + .repository(repository) + .buildAsyncClient(); + // END: readme-sample-createBlobAsyncClient + } + + public void listRepositoryNamesSample() { - // BEGIN: readme-sample-listRepositoryNames DefaultAzureCredential credential = new DefaultAzureCredentialBuilder().build(); - ContainerRegistryClient client = new ContainerRegistryClientBuilder() + ContainerRegistryClient registryClient = new ContainerRegistryClientBuilder() .endpoint(endpoint) .credential(credential) .buildClient(); - client.listRepositoryNames().forEach(repository -> System.out.println(repository)); + // BEGIN: readme-sample-listRepositoryNames + registryClient.listRepositoryNames().forEach(repository -> System.out.println(repository)); // END: readme-sample-listRepositoryNames } @@ -76,7 +105,7 @@ public void getPropertiesThrows() { public void createAnonymousAccessClient() { // BEGIN: readme-sample-createAnonymousAccessClient - ContainerRegistryClient client = new ContainerRegistryClientBuilder() + ContainerRegistryClient registryClient = new ContainerRegistryClientBuilder() .endpoint(endpoint) .buildClient(); // END: readme-sample-createAnonymousAccessClient @@ -84,24 +113,24 @@ public void createAnonymousAccessClient() { public void createAnonymousAccessAsyncClient() { // BEGIN: readme-sample-createAnonymousAsyncAccessClient - ContainerRegistryAsyncClient client = new ContainerRegistryClientBuilder() + ContainerRegistryAsyncClient registryClient = new ContainerRegistryClientBuilder() .endpoint(endpoint) .buildAsyncClient(); // END: readme-sample-createAnonymousAsyncAccessClient } public void deleteImages() { - // BEGIN: readme-sample-deleteImages TokenCredential defaultCredential = new DefaultAzureCredentialBuilder().build(); - ContainerRegistryClient client = new ContainerRegistryClientBuilder() + ContainerRegistryClient registryClient = new ContainerRegistryClientBuilder() .endpoint(endpoint) .credential(defaultCredential) .buildClient(); + // BEGIN: readme-sample-deleteImages final int imagesCountToKeep = 3; - for (String repositoryName : client.listRepositoryNames()) { - final ContainerRepository repository = client.getRepository(repositoryName); + for (String repositoryName : registryClient.listRepositoryNames()) { + final ContainerRepository repository = registryClient.getRepository(repositoryName); // Obtain the images ordered from newest to oldest PagedIterable imageManifests = @@ -127,15 +156,15 @@ public void deleteImages() { private String tag = "tag"; public void setArtifactProperties() { - // BEGIN: readme-sample-setArtifactProperties TokenCredential defaultCredential = new DefaultAzureCredentialBuilder().build(); - ContainerRegistryClient client = new ContainerRegistryClientBuilder() + ContainerRegistryClient registryClient = new ContainerRegistryClientBuilder() .endpoint(endpoint) .credential(defaultCredential) .buildClient(); - RegistryArtifact image = client.getArtifact(repositoryName, digest); + // BEGIN: readme-sample-setArtifactProperties + RegistryArtifact image = registryClient.getArtifact(repositoryName, digest); image.updateTagProperties( tag, @@ -148,12 +177,13 @@ public void setArtifactProperties() { private final String digest = "digest"; public void listTagProperties() { - // BEGIN: readme-sample-listTagProperties ContainerRegistryClient anonymousClient = new ContainerRegistryClientBuilder() .endpoint(endpoint) .buildClient(); + // BEGIN: readme-sample-listTagProperties RegistryArtifact image = anonymousClient.getArtifact(repositoryName, digest); + PagedIterable tags = image.listTagProperties(); System.out.printf(String.format("%s has the following aliases:", image.getFullyQualifiedReference())); @@ -202,11 +232,10 @@ public void anonymousAsyncClientThrows() { public void enableHttpLogging() { final String endpoint = getEndpoint(); - final String repositoryName = getRepositoryName(); final TokenCredential defaultCredential = new DefaultAzureCredentialBuilder().build(); // BEGIN: readme-sample-enablehttplogging - ContainerRegistryClient client = new ContainerRegistryClientBuilder() + ContainerRegistryClient registryClient = new ContainerRegistryClientBuilder() .endpoint(endpoint) .credential(defaultCredential) .httpLogOptions(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS)) @@ -228,14 +257,14 @@ private static String getTagName() { private final TokenCredential credential = null; public void nationalCloudSample() { // BEGIN: readme-sample-armTokenChina - ContainerRegistryClient containerRegistryClient = new ContainerRegistryClientBuilder() + ContainerRegistryClient registryClient = new ContainerRegistryClientBuilder() .endpoint(getEndpoint()) .credential(credential) // only if ACR access tokens are disabled or not supported .audience(ContainerRegistryAudience.AZURE_RESOURCE_MANAGER_CHINA) .buildClient(); - containerRegistryClient + registryClient .listRepositoryNames() .forEach(name -> System.out.println(name)); // END: readme-sample-armTokenChina @@ -243,16 +272,74 @@ public void nationalCloudSample() { public void armTokenSample() { // BEGIN: readme-sample-armTokenPublic - ContainerRegistryClient containerRegistryClient = new ContainerRegistryClientBuilder() + ContainerRegistryClient registryClient = new ContainerRegistryClientBuilder() .endpoint(getEndpoint()) .credential(credential) .audience(ContainerRegistryAudience.AZURE_RESOURCE_MANAGER_PUBLIC_CLOUD) .buildClient(); - containerRegistryClient + registryClient .listRepositoryNames() .forEach(name -> System.out.println(name)); // END: readme-sample-armTokenPublic } + + public void deleteBlob() { + ContainerRegistryBlobClient blobClient = new ContainerRegistryBlobClientBuilder() + .endpoint(getEndpoint()) + .repository(repository) + .credential(credential) + .buildClient(); + + // BEGIN: readme-sample-deleteBlob + DownloadManifestResult manifestResult = blobClient.downloadManifest("latest"); + + OciImageManifest manifest = manifestResult.asOciManifest(); + for (OciDescriptor layer : manifest.getLayers()) { + blobClient.deleteBlob(layer.getDigest()); + } + // END: readme-sample-deleteBlob + } + + public void deleteManifest() { + ContainerRegistryBlobClient blobClient = new ContainerRegistryBlobClientBuilder() + .endpoint(getEndpoint()) + .repository(repository) + .credential(credential) + .buildClient(); + + // BEGIN: readme-sample-deleteManifest + DownloadManifestResult manifestResult = blobClient.downloadManifest("latest"); + blobClient.deleteManifest(manifestResult.getDigest()); + // END: readme-sample-deleteManifest + } + + public void deleteBlobAsync() { + ContainerRegistryBlobAsyncClient blobClient = new ContainerRegistryBlobClientBuilder() + .endpoint(getEndpoint()) + .repository(repository) + .credential(credential) + .buildAsyncClient(); + + // BEGIN: readme-sample-deleteBlobAsync + blobClient.downloadManifest("latest") + .flatMap(manifest -> blobClient.deleteBlob(manifest.getDigest())) + .block(); + // END: readme-sample-deleteBlobAsync + } + + public void deleteManifestAsync() { + ContainerRegistryBlobAsyncClient blobClient = new ContainerRegistryBlobClientBuilder() + .endpoint(getEndpoint()) + .repository(repository) + .credential(credential) + .buildAsyncClient(); + + // BEGIN: readme-sample-deleteManifestAsync + blobClient.downloadManifest("latest") + .flatMap(manifest -> blobClient.deleteManifest(manifest.getDigest())) + .block(); + // END: readme-sample-deleteManifestAsync + } } diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/UploadImage.java b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/UploadImage.java index 1dabb8c96770..c4d7dab49fa1 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/UploadImage.java +++ b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/UploadImage.java @@ -3,6 +3,7 @@ package com.azure.containers.containerregistry; +import com.azure.containers.containerregistry.models.ManifestMediaType; import com.azure.containers.containerregistry.models.OciDescriptor; import com.azure.containers.containerregistry.models.OciImageManifest; import com.azure.containers.containerregistry.models.UploadBlobResult; @@ -10,28 +11,33 @@ import com.azure.containers.containerregistry.models.UploadManifestResult; import com.azure.containers.containerregistry.specialized.ContainerRegistryBlobClient; import com.azure.containers.containerregistry.specialized.ContainerRegistryBlobClientBuilder; +import com.azure.core.http.rest.Response; import com.azure.core.util.BinaryData; +import com.azure.core.util.Context; import com.azure.identity.DefaultAzureCredential; import com.azure.identity.DefaultAzureCredentialBuilder; -import com.fasterxml.jackson.annotation.JsonProperty; +import java.io.FileInputStream; +import java.io.IOException; +import java.nio.file.Files; import java.util.Collections; public class UploadImage { private static final String ENDPOINT = "https://registryName.azurecr.io"; private static final String REPOSITORY = "hello/world"; - + private static final DefaultAzureCredential CREDENTIAL = new DefaultAzureCredentialBuilder().build(); + private static final ManifestMediaType DOCKER_MANIFEST_LIST_TYPE = ManifestMediaType.fromString("application/vnd.docker.distribution.manifest.list.v2+json"); + private static final String OUT_DIRECTORY = getTempDirectory(); public static void main(String[] args) { - DefaultAzureCredential credential = new DefaultAzureCredentialBuilder().build(); - // BEGIN: readme-sample-uploadImage ContainerRegistryBlobClient blobClient = new ContainerRegistryBlobClientBuilder() .endpoint(ENDPOINT) .repository(REPOSITORY) - .credential(credential) + .credential(CREDENTIAL) .buildClient(); - BinaryData configContent = BinaryData.fromObject(new ManifestConfig().setProperty("sync client")); + // BEGIN: readme-sample-uploadImage + BinaryData configContent = BinaryData.fromObject(Collections.singletonMap("hello", "world")); UploadBlobResult configUploadResult = blobClient.uploadBlob(configContent); System.out.printf("Uploaded config: digest - %s, size - %s\n", configUploadResult.getDigest(), configContent.getLength()); @@ -54,24 +60,129 @@ public static void main(String[] args) { .setSizeInBytes(layerContent.getLength()) .setMediaType("application/octet-stream"))); - UploadManifestResult manifestResult = blobClient.uploadManifest(new UploadManifestOptions(manifest).setTag("latest")); + UploadManifestResult manifestResult = blobClient.uploadManifest(manifest, "latest"); System.out.printf("Uploaded manifest: digest - %s\n", manifestResult.getDigest()); // END: readme-sample-uploadImage System.out.println("Done"); } - private static class ManifestConfig { - @JsonProperty("property") - private String property; + private void uploadBlobBinaryData() { + ContainerRegistryBlobClient blobClient = new ContainerRegistryBlobClientBuilder() + .endpoint(ENDPOINT) + .repository(REPOSITORY) + .credential(CREDENTIAL) + .buildClient(); + + // BEGIN: com.azure.containers.containerregistry.uploadBlob + BinaryData configContent = BinaryData.fromObject(Collections.singletonMap("hello", "world")); + + UploadBlobResult uploadResult = blobClient.uploadBlob(configContent); + System.out.printf("Uploaded blob: digest - '%s', size - %s\n", uploadResult.getDigest(), uploadResult.getSizeInBytes()); + // END: com.azure.containers.containerregistry.uploadBlob + } - public String getProperty() { - return property; + private void uploadStream() throws IOException { + ContainerRegistryBlobClient blobClient = new ContainerRegistryBlobClientBuilder() + .endpoint(ENDPOINT) + .repository(REPOSITORY) + .credential(CREDENTIAL) + .buildClient(); + + // BEGIN: com.azure.containers.containerregistry.uploadStream + try (FileInputStream content = new FileInputStream("artifact.tar.gz")) { + UploadBlobResult uploadResult = blobClient.uploadBlob(content.getChannel(), Context.NONE); + System.out.printf("Uploaded blob: digest - '%s', size - %s\n", + uploadResult.getDigest(), uploadResult.getSizeInBytes()); } + // END: com.azure.containers.containerregistry.uploadStream + } + + private void uploadManifest() { + ContainerRegistryBlobClient blobClient = new ContainerRegistryBlobClientBuilder() + .endpoint(ENDPOINT) + .repository(REPOSITORY) + .credential(CREDENTIAL) + .buildClient(); + + BinaryData configContent = BinaryData.fromObject(Collections.singletonMap("hello", "world")); + + UploadBlobResult configUploadResult = blobClient.uploadBlob(configContent); + + OciDescriptor configDescriptor = new OciDescriptor() + .setMediaType("application/vnd.unknown.config.v1+json") + .setDigest(configUploadResult.getDigest()) + .setSizeInBytes(configContent.getLength()); + + BinaryData layerContent = BinaryData.fromString("Hello Azure Container Registry"); + UploadBlobResult layerUploadResult = blobClient.uploadBlob(layerContent); + + OciImageManifest manifest = new OciImageManifest() + .setConfig(configDescriptor) + .setSchemaVersion(2) + .setLayers(Collections.singletonList( + new OciDescriptor() + .setDigest(layerUploadResult.getDigest()) + .setSizeInBytes(layerContent.getLength()) + .setMediaType("application/octet-stream"))); + + // BEGIN: com.azure.containers.containerregistry.uploadManifest + blobClient.uploadManifest(manifest, "v1"); + // END: com.azure.containers.containerregistry.uploadManifest + } + + private void uploadCustomManifestMediaType() { + ContainerRegistryBlobClient blobClient = new ContainerRegistryBlobClientBuilder() + .endpoint(ENDPOINT) + .repository(REPOSITORY) + .credential(CREDENTIAL) + .buildClient(); + + // get manifest in custom format as string or an object of your custom type + String manifest = "{" + + "\"schemaVersion\": 2," + + "\"mediaType\": \"application/vnd.docker.distribution.manifest.list.v2+json\"," + + "\"manifests\": [" + + "{" + + "\"mediaType\": \"application/vnd.docker.distribution.manifest.v2+json\"," + + "\"digest\": \"sha256:e692418e4cbaf90ca69d05a66403747baa33ee08806650b51fab815ad7fc331f\"," + + "\"size\": 7143," + + "\"platform\": { \"architecture\": \"ppc64le\", \"os\": \"linux\" }" + + "},{" + + "\"mediaType\": \"application/vnd.docker.distribution.manifest.v2+json\"," + + "\"digest\": \"sha256:5b0bcabd1ed22e9fb1310cf6c2dec7cdef19f0ad69efa1f392e94a4333501270\"," + + "\"size\": 7682," + + "\"platform\": { \"architecture\": \"amd64\", \"os\": \"linux\", \"features\": [\"sse4\"]}" + + "}]}"; + // then create a binary data from it + BinaryData manifestList = BinaryData.fromString(manifest); + + // BEGIN: com.azure.containers.containerregistry.uploadCustomManifest + UploadManifestOptions options = new UploadManifestOptions(manifestList, DOCKER_MANIFEST_LIST_TYPE); + + Response response = blobClient.uploadManifestWithResponse(options, Context.NONE); + System.out.println("Manifest uploaded, digest - " + response.getValue().getDigest()); + // END: com.azure.containers.containerregistry.uploadCustomManifest + } + + private static FileInputStream getFileStream(String name) { + try { + return new FileInputStream(name); + } catch (IOException e) { + e.printStackTrace(); + throw new RuntimeException(e); + } + } - public ManifestConfig setProperty(String property) { - this.property = property; - return this; + private static String getTempDirectory() { + String outDir = null; + try { + outDir = Files.createTempDirectory(null).toString(); + } catch (IOException e) { + e.printStackTrace(); + throw new RuntimeException(e); } + System.out.printf("Writing content to %s\n", outDir); + return outDir; } } diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/UploadImageAsync.java b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/UploadImageAsync.java index b72d20106de4..a226ffb0315a 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/UploadImageAsync.java +++ b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/UploadImageAsync.java @@ -3,8 +3,6 @@ package com.azure.containers.containerregistry; -import com.azure.containers.containerregistry.models.ArtifactArchitecture; -import com.azure.containers.containerregistry.models.ArtifactOperatingSystem; import com.azure.containers.containerregistry.models.ManifestMediaType; import com.azure.containers.containerregistry.models.OciDescriptor; import com.azure.containers.containerregistry.models.OciImageManifest; @@ -13,44 +11,50 @@ import com.azure.containers.containerregistry.specialized.ContainerRegistryBlobAsyncClient; import com.azure.containers.containerregistry.specialized.ContainerRegistryBlobClientBuilder; import com.azure.core.util.BinaryData; +import com.azure.core.util.FluxUtil; import com.azure.identity.DefaultAzureCredential; import com.azure.identity.DefaultAzureCredentialBuilder; -import com.fasterxml.jackson.annotation.JsonProperty; +import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.io.InputStream; +import java.nio.ByteBuffer; import java.util.Collections; +import java.util.Random; public class UploadImageAsync { private static final String ENDPOINT = "https://registryName.azurecr.io"; private static final String REPOSITORY = "hello/world"; - + private static final DefaultAzureCredential CREDENTIAL = new DefaultAzureCredentialBuilder().build(); + private static final ManifestMediaType DOCKER_MANIFEST_LIST_TYPE = ManifestMediaType.fromString("application/vnd.docker.distribution.manifest.list.v2+json"); + private static final int CHUNK_SIZE = 4 * 1024 * 1024; // content will be uploaded in chunks of up to 4MB size public static void main(String[] args) { - DefaultAzureCredential credential = new DefaultAzureCredentialBuilder().build(); - // BEGIN: readme-sample-uploadImageAsync ContainerRegistryBlobAsyncClient blobClient = new ContainerRegistryBlobClientBuilder() .endpoint(ENDPOINT) .repository(REPOSITORY) - .credential(credential) + .credential(CREDENTIAL) .buildAsyncClient(); - BinaryData configContent = BinaryData.fromObject(new ManifestConfig().setProperty("async client")); + // BEGIN: readme-sample-uploadImageAsync + BinaryData configContent = BinaryData.fromObject(Collections.singletonMap("hello", "world")); Mono uploadConfig = blobClient .uploadBlob(configContent) - .doOnSuccess(configUploadResult -> System.out.printf("Uploaded config: digest - %s, size - %s\n", configUploadResult.getDigest(), configContent.getLength())) - .map(configUploadResult -> new OciDescriptor() + .map(result -> new OciDescriptor() .setMediaType("application/vnd.unknown.config.v1+json") - .setDigest(configUploadResult.getDigest()) - .setSizeInBytes(configContent.getLength())); + .setDigest(result.getDigest()) + .setSizeInBytes(result.getSizeInBytes())); - BinaryData layerContent = BinaryData.fromString("Hello Azure Container Registry"); + Flux layerContent = getData(1024 * 1024 * 1024); // 1 GB Mono uploadLayer = blobClient .uploadBlob(layerContent) - .doOnSuccess(layerUploadResult -> System.out.printf("Uploaded layer: digest - %s, size - %s\n", layerUploadResult.getDigest(), layerContent.getLength())) - .map(layerUploadResult -> new OciDescriptor() - .setDigest(layerUploadResult.getDigest()) - .setSizeInBytes(layerContent.getLength()) + .map(result -> new OciDescriptor() + .setDigest(result.getDigest()) + .setSizeInBytes(result.getSizeInBytes()) .setMediaType("application/octet-stream")); Mono.zip(uploadConfig, uploadLayer) @@ -58,7 +62,7 @@ public static void main(String[] args) { .setConfig(tuple.getT1()) .setSchemaVersion(2) .setLayers(Collections.singletonList(tuple.getT2()))) - .flatMap(manifest -> blobClient.uploadManifest(new UploadManifestOptions(manifest).setTag("latest"))) + .flatMap(manifest -> blobClient.uploadManifest(manifest, "latest")) .doOnSuccess(manifestResult -> System.out.printf("Uploaded manifest: digest - %s\n", manifestResult.getDigest())) .block(); // END: readme-sample-uploadImageAsync @@ -66,6 +70,66 @@ public static void main(String[] args) { System.out.println("Done"); } + private static Flux getData(long size) { + Random rand = new Random(42); + byte[] data = new byte[12 * 1024 * 1024]; + rand.nextBytes(data); + return Flux.generate(() -> 0L, (pos, sink) -> { + long remaining = size - pos; + if (remaining <= 0) { + sink.complete(); + return size; + } + + ByteBuffer buffer = ByteBuffer.wrap(data); + if (remaining < data.length) { + buffer.limit((int) remaining); + } + sink.next(buffer); + + return pos + data.length; + }); + } + + private void uploadManifest() { + ContainerRegistryBlobAsyncClient blobClient = new ContainerRegistryBlobClientBuilder() + .endpoint(ENDPOINT) + .repository(REPOSITORY) + .credential(CREDENTIAL) + .buildAsyncClient(); + + BinaryData configContent = BinaryData.fromObject(Collections.singletonMap("hello", "world")); + + Mono config = blobClient + .uploadBlob(configContent) + .map(configUploadResult -> new OciDescriptor() + .setMediaType("application/vnd.unknown.config.v1+json") + .setDigest(configUploadResult.getDigest()) + .setSizeInBytes(configContent.getLength())); + + Flux layerContent = getData(1024 * 1024 * 1024); // 1 GB + Mono layer = blobClient + .uploadBlob(layerContent) + .map(result -> new OciDescriptor() + .setDigest(result.getDigest()) + .setSizeInBytes(result.getSizeInBytes()) + .setMediaType("application/octet-stream")); + + config + .flatMap(configDescriptor -> + layer.flatMap(layerDescriptor -> { + // BEGIN: com.azure.containers.containerregistry.uploadManifestAsync + OciImageManifest manifest = new OciImageManifest() + .setConfig(configDescriptor) + .setSchemaVersion(2) + .setLayers(Collections.singletonList(layerDescriptor)); + Mono result = blobClient.uploadManifest(manifest, "latest"); + // END: com.azure.containers.containerregistry.uploadManifestAsync + return result; + })) + .subscribe(result -> System.out.println("Manifest uploaded, digest - " + result.getDigest())); + } + private void uploadCustomManifestMediaType() { DefaultAzureCredential credential = new DefaultAzureCredentialBuilder().build(); ContainerRegistryBlobAsyncClient blobClient = new ContainerRegistryBlobClientBuilder() @@ -74,35 +138,68 @@ private void uploadCustomManifestMediaType() { .credential(credential) .buildAsyncClient(); - ManifestMediaType manifestListType = ManifestMediaType.fromString("application/vnd.docker.distribution.manifest.list.v2+json"); - DockerV2ManifestList manifestList = new DockerV2ManifestList() - .setSchemaVersion(2) - .setMediaType(manifestListType.toString()) - .setManifests(Collections.singletonList(new DockerV2ManifestList.DockerV2ManifestListAttributes() - .setDigest("sha256:f54a58bc1aac5ea1a25d796ae155dc228b3f0e11d046ae276b39c4bf2f13d8c4") - .setMediaType(ManifestMediaType.DOCKER_MANIFEST.toString()) - .setPlatform(new DockerV2ManifestList.Platform() - .setArchitecture(ArtifactArchitecture.AMD64.toString()) - .setOs(ArtifactOperatingSystem.LINUX.toString()))) - ); - - UploadManifestResult result = blobClient.uploadManifest(new UploadManifestOptions(BinaryData.fromObject(manifestList), manifestListType)) - .block(); - - System.out.println("Manifest uploaded, digest - " + result.getDigest()); + // get manifest in custom format as string or an object of your custom type + String manifest = "{" + + "\"schemaVersion\": 2," + + "\"mediaType\": \"application/vnd.docker.distribution.manifest.list.v2+json\"," + + "\"manifests\": [" + + "{" + + "\"mediaType\": \"application/vnd.docker.distribution.manifest.v2+json\"," + + "\"digest\": \"sha256:e692418e4cbaf90ca69d05a66403747baa33ee08806650b51fab815ad7fc331f\"," + + "\"size\": 7143," + + "\"platform\": { \"architecture\": \"ppc64le\", \"os\": \"linux\" }" + + "},{" + + "\"mediaType\": \"application/vnd.docker.distribution.manifest.v2+json\"," + + "\"digest\": \"sha256:5b0bcabd1ed22e9fb1310cf6c2dec7cdef19f0ad69efa1f392e94a4333501270\"," + + "\"size\": 7682," + + "\"platform\": { \"architecture\": \"amd64\", \"os\": \"linux\", \"features\": [\"sse4\"]}" + + "}]}"; + // then create a binary data from it + BinaryData manifestList = BinaryData.fromString(manifest); + + // BEGIN: com.azure.containers.containerregistry.uploadCustomManifestAsync + UploadManifestOptions options = new UploadManifestOptions(manifestList, DOCKER_MANIFEST_LIST_TYPE) + .setTag("v2"); + + blobClient.uploadManifestWithResponse(options) + .subscribe(response -> + System.out.println("Manifest uploaded, digest - " + response.getValue().getDigest())); + // END: com.azure.containers.containerregistry.uploadCustomManifestAsync } - private static class ManifestConfig { - @JsonProperty("property") - private String property; + private void uploadBlob() throws FileNotFoundException { + ContainerRegistryBlobAsyncClient blobClient = new ContainerRegistryBlobClientBuilder() + .endpoint(ENDPOINT) + .repository(REPOSITORY) + .credential(CREDENTIAL) + .buildAsyncClient(); - public String getProperty() { - return property; - } + // BEGIN: com.azure.containers.containerregistry.uploadBlobAsync + BinaryData configContent = BinaryData.fromObject(Collections.singletonMap("hello", "world")); + + blobClient + .uploadBlob(configContent) + .subscribe(uploadResult -> System.out.printf("Uploaded blob: digest - '%s', size - %s\n", + uploadResult.getDigest(), uploadResult.getSizeInBytes())); + // END: com.azure.containers.containerregistry.uploadBlobAsync + + // BEGIN: com.azure.containers.containerregistry.uploadStreamAsync + Flux.using( + () -> new FileInputStream("artifact.tar.gz"), + fileStream -> blobClient.uploadBlob(FluxUtil.toFluxByteBuffer(fileStream, CHUNK_SIZE)), + this::closeStream) + .subscribe(uploadResult -> + System.out.printf("Uploaded blob: digest - '%s', size - %s\n", + uploadResult.getDigest(), uploadResult.getSizeInBytes())); + // END: com.azure.containers.containerregistry.uploadStreamAsync + } - public ManifestConfig setProperty(String property) { - this.property = property; - return this; + private void closeStream(InputStream stream) { + try { + stream.close(); + } catch (IOException e) { + e.printStackTrace(); + throw new RuntimeException(e); } } } diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/ContainerRegistryBlobClientIntegrationTests.java b/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/ContainerRegistryBlobClientIntegrationTests.java index 13d817bcc9ed..8e38b4792232 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/ContainerRegistryBlobClientIntegrationTests.java +++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/ContainerRegistryBlobClientIntegrationTests.java @@ -14,6 +14,7 @@ import com.azure.containers.containerregistry.models.UploadManifestResult; import com.azure.containers.containerregistry.specialized.ContainerRegistryBlobAsyncClient; import com.azure.containers.containerregistry.specialized.ContainerRegistryBlobClient; +import com.azure.core.exception.ServiceResponseException; import com.azure.core.http.HttpClient; import com.azure.core.http.rest.PagedIterable; import com.azure.core.http.rest.Response; @@ -29,8 +30,8 @@ import org.junit.jupiter.api.parallel.ExecutionMode; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; -import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; import reactor.test.StepVerifier; import java.io.ByteArrayOutputStream; @@ -61,6 +62,7 @@ import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assumptions.assumeTrue; @Execution(ExecutionMode.SAME_THREAD) @@ -104,7 +106,7 @@ public void canUploadOciManifest(HttpClient httpClient) { uploadManifestPrerequisites(); - UploadManifestResult result = client.uploadManifest(MANIFEST); + UploadManifestResult result = client.uploadManifest(MANIFEST, null); assertNotNull(result); assertNotNull(result.getDigest()); @@ -119,8 +121,8 @@ public void canUploadOciManifestBinaryData(HttpClient httpClient) { client = getBlobClient("oci-artifact", httpClient); uploadManifestPrerequisites(); - BinaryData manifestData = BinaryData.fromObject(MANIFEST); - UploadManifestResult result = client.uploadManifest(new UploadManifestOptions(manifestData, ManifestMediaType.OCI_MANIFEST)); + UploadManifestOptions options = new UploadManifestOptions(BinaryData.fromObject(MANIFEST), ManifestMediaType.OCI_MANIFEST); + UploadManifestResult result = client.uploadManifestWithResponse(options, Context.NONE).getValue(); assertNotNull(result); assertNotNull(result.getDigest()); @@ -135,7 +137,7 @@ public void canUploadOciManifestViaOptions(HttpClient httpClient) { client = getBlobClient("oci-artifact", httpClient); uploadManifestPrerequisites(); - UploadManifestResult result = client.uploadManifest(new UploadManifestOptions(MANIFEST)); + UploadManifestResult result = client.uploadManifestWithResponse(new UploadManifestOptions(MANIFEST), Context.NONE).getValue(); assertNotNull(result); assertNotNull(result.getDigest()); @@ -150,7 +152,7 @@ public void canDownloadManifestWithListOfTypes(HttpClient httpClient) { client = getBlobClient("oci-artifact", httpClient); uploadManifestPrerequisites(); - UploadManifestResult result = client.uploadManifest(MANIFEST); + UploadManifestResult result = client.uploadManifest(MANIFEST, null); assertNotNull(result); assertNotNull(result.getDigest()); @@ -172,7 +174,7 @@ public void canUploadOciManifestWithTag(HttpClient httpClient) { String tag = "v1"; uploadManifestPrerequisites(); - UploadManifestResult result = client.uploadManifest(new UploadManifestOptions(MANIFEST).setTag(tag)); + UploadManifestResult result = client.uploadManifest(MANIFEST, tag); assertNotNull(result); assertNotNull(result.getDigest()); @@ -191,11 +193,13 @@ public void canUploadDockerManifestWithTag(HttpClient httpClient) { uploadManifestPrerequisites(); BinaryData dockerV2Manifest = BinaryData.fromObject(createDockerV2Manifest()); - UploadManifestResult result = client.uploadManifest(new UploadManifestOptions(dockerV2Manifest, ManifestMediaType.DOCKER_MANIFEST).setTag(tag)); + UploadManifestOptions options = new UploadManifestOptions(dockerV2Manifest, ManifestMediaType.DOCKER_MANIFEST) + .setTag(tag); + UploadManifestResult result = client.uploadManifestWithResponse(options, Context.NONE).getValue(); assertNotNull(result); assertNotNull(result.getDigest()); - DownloadManifestResult downloadManifestResult = client.downloadManifest(result.getDigest()); + DownloadManifestResult downloadManifestResult = client.downloadManifest(tag); assertEquals(result.getDigest(), downloadManifestResult.getDigest()); validateTag("oci-artifact", result.getDigest(), tag, httpClient); @@ -208,7 +212,7 @@ public void canUploadOciManifestAsync(HttpClient httpClient) { asyncClient = getBlobAsyncClient("oci-artifact", httpClient); uploadManifestPrerequisites(); - StepVerifier.create(asyncClient.uploadManifest(MANIFEST) + StepVerifier.create(asyncClient.uploadManifest(MANIFEST, null) .flatMap(result -> { assertNotNull(result); assertNotNull(result.getDigest()); @@ -232,12 +236,13 @@ public void canUploadDockerManifestWithTagAsync(HttpClient httpClient) { BinaryData dockerV2Manifest = BinaryData.fromObject(createDockerV2Manifest()); String digest = computeDigest(dockerV2Manifest.toByteBuffer().asReadOnlyBuffer()); - StepVerifier.create(asyncClient.uploadManifest(new UploadManifestOptions(dockerV2Manifest, ManifestMediaType.DOCKER_MANIFEST).setTag(tag)) + UploadManifestOptions options = new UploadManifestOptions(dockerV2Manifest, ManifestMediaType.DOCKER_MANIFEST).setTag(tag); + StepVerifier.create(asyncClient.uploadManifestWithResponse(options) .flatMap(result -> { assertNotNull(result); - assertNotNull(result.getDigest()); + assertNotNull(result.getValue().getDigest()); - return asyncClient.downloadManifest(result.getDigest()); + return asyncClient.downloadManifest(tag); })) .assertNext(downloadManifestResult -> assertEquals(digest, downloadManifestResult.getDigest())) .verifyComplete(); @@ -251,7 +256,9 @@ public void canUploadBlob(HttpClient httpClient) { client = getBlobClient("oci-artifact", httpClient); UploadBlobResult result = client.uploadBlob(CONFIG_DATA); + assertEquals(CONFIG_DIGEST, result.getDigest()); + assertEquals(CONFIG_DATA.getLength(), result.getSizeInBytes()); } @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @@ -269,6 +276,7 @@ public void canUploadHugeBlobInChunks(HttpClient httpClient) throws IOException client.downloadStream(result.getDigest(), Channels.newChannel(output)); output.flush(); assertEquals(size, output.getPosition()); + assertEquals(size, result.getSizeInBytes()); } @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @@ -283,7 +291,10 @@ public void canUploadHugeBlobInChunksAsync(HttpClient httpClient) { StepVerifier.setDefaultTimeout(Duration.ofMinutes(30)); StepVerifier.create(BinaryData.fromFlux(generateAsyncStream(size)) .flatMap(data -> asyncClient.uploadBlob(data)) - .flatMap(uploadBlobResult -> asyncClient.downloadStream(uploadBlobResult.getDigest())) + .flatMap(uploadBlobResult -> { + assertEquals(size, uploadBlobResult.getSizeInBytes()); + return asyncClient.downloadStream(uploadBlobResult.getDigest()); + }) .flatMap(downloadResult -> downloadResult.writeValueTo(Channels.newChannel(output)))) .verifyComplete(); @@ -303,7 +314,6 @@ public void downloadBlob(HttpClient httpClient) throws IOException { assertArrayEquals(content.toBytes(), stream.toByteArray()); } - @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("getHttpClients") public void downloadSmallBlob(HttpClient httpClient) throws IOException { @@ -365,11 +375,14 @@ public void downloadManifest(HttpClient httpClient) { client = getBlobClient("oci-artifact", httpClient); uploadManifestPrerequisites(); - UploadManifestResult result = client.uploadManifest(MANIFEST); + UploadManifestResult result = client.uploadManifest(MANIFEST, "latest"); DownloadManifestResult downloadResult = client.downloadManifest(result.getDigest()); - OciImageManifest returnedManifest = downloadResult.asOciManifest(); - assertNotNull(returnedManifest); - validateManifest(MANIFEST, returnedManifest); + assertNotNull(downloadResult.asOciManifest()); + validateManifest(MANIFEST, downloadResult.asOciManifest()); + + downloadResult = client.downloadManifest("latest"); + assertNotNull(downloadResult.asOciManifest()); + validateManifest(MANIFEST, downloadResult.asOciManifest()); } @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @@ -378,7 +391,7 @@ public void downloadManifestAsync(HttpClient httpClient) { asyncClient = getBlobAsyncClient("oci-artifact", httpClient); StepVerifier.create( uploadManifestPrerequisitesAsync() - .then(asyncClient.uploadManifest(MANIFEST)) + .then(asyncClient.uploadManifest(MANIFEST, null)) .flatMap(result -> asyncClient.downloadManifest(result.getDigest()))) .assertNext(downloadResult -> { OciImageManifest returnedManifest = downloadResult.asOciManifest(); @@ -399,7 +412,7 @@ public void downloadManifestWithListOfTypesAsync(HttpClient httpClient) { asyncClient = getBlobAsyncClient("oci-artifact", httpClient); StepVerifier.create( uploadManifestPrerequisitesAsync() - .then(asyncClient.uploadManifest(MANIFEST)) + .then(asyncClient.uploadManifest(MANIFEST, null)) .flatMap(result -> asyncClient.downloadManifestWithResponse(result.getDigest(), manifestTypes)) .map(response -> response.getValue())) .assertNext(downloadResult -> { @@ -418,6 +431,9 @@ public void downloadManifestListManifest(HttpClient httpClient) { Response manifestResult = client.downloadManifestWithResponse("latest", Collections.singletonList(dockerListType), Context.NONE); assertNotNull(manifestResult.getValue()); assertEquals(dockerListType, manifestResult.getValue().getMediaType()); + + assertThrows(IllegalStateException.class, () -> manifestResult.getValue().asOciManifest()); + // does not throw ManifestList list = manifestResult.getValue().getContent().toObject(ManifestList.class); assertEquals(2, list.getSchemaVersion()); @@ -425,6 +441,31 @@ public void downloadManifestListManifest(HttpClient httpClient) { assertEquals(11, list.getManifests().size()); } + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("getHttpClients") + public void downloadManifestIncompatibleType(HttpClient httpClient) { + client = getBlobClient(HELLO_WORLD_REPOSITORY_NAME, httpClient); + ManifestMediaType dockerV1 = ManifestMediaType.fromString("application/vnd.docker.distribution.manifest.v1+json"); + + assertThrows(ServiceResponseException.class, () -> client.downloadManifestWithResponse("latest", + Collections.singletonList(dockerV1), Context.NONE)); + } + + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("getHttpClients") + public void downloadManifestDifferentType(HttpClient httpClient) { + client = getBlobClient(HELLO_WORLD_REPOSITORY_NAME, httpClient); + + // the original content there is docker v2 manifest list + Response manifestResult = client.downloadManifestWithResponse("latest", + Collections.singletonList(ManifestMediaType.DOCKER_MANIFEST), Context.NONE); + + // but service does the best effort to return what it supports + OciImageManifest manifest = manifestResult.getValue().asOciManifest(); + assertEquals(1, manifest.getLayers().size()); + assertEquals("application/vnd.docker.image.rootfs.diff.tar.gzip", manifest.getLayers().get(0).getMediaType()); + } + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("getHttpClients") public void downloadManifestListManifestAsync(HttpClient httpClient) { diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/ContainerRegistryBlobClientTests.java b/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/ContainerRegistryBlobClientTests.java index 6e6367930ec9..7c02a03b6cf8 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/ContainerRegistryBlobClientTests.java +++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/ContainerRegistryBlobClientTests.java @@ -6,7 +6,6 @@ import com.azure.containers.containerregistry.implementation.UtilsImpl; import com.azure.containers.containerregistry.models.DownloadManifestResult; import com.azure.containers.containerregistry.models.ManifestMediaType; -import com.azure.containers.containerregistry.models.OciImageManifest; import com.azure.containers.containerregistry.specialized.ContainerRegistryBlobAsyncClient; import com.azure.containers.containerregistry.specialized.ContainerRegistryBlobClient; import com.azure.containers.containerregistry.specialized.ContainerRegistryBlobClientBuilder; @@ -68,7 +67,6 @@ import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; -import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.fail; @@ -209,11 +207,8 @@ public void downloadManifestWithOciIndexType() { assertArrayEquals(OCI_INDEX.toBytes(), result.getValue().getContent().toBytes()); assertEquals(OCI_INDEX_MEDIA_TYPE, result.getValue().getMediaType()); - OciImageManifest ociManifest = result.getValue().asOciManifest(); - assertEquals(2, ociManifest.getSchemaVersion()); - assertNull(ociManifest.getConfig()); - assertNull(ociManifest.getLayers()); - assertNull(ociManifest.getAnnotations()); + + assertThrows(IllegalStateException.class, () -> result.getValue().asOciManifest()); } @SyncAsyncTest diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/TestUtils.java b/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/TestUtils.java index 830d5b458b84..afca2ff4bfca 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/TestUtils.java +++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/TestUtils.java @@ -43,7 +43,7 @@ public class TestUtils { public static final BinaryData LAYER_DATA = BinaryData.fromString("hello world"); public static final String LAYER_DIGEST = computeDigest(LAYER_DATA.toByteBuffer()); public static final OciImageManifest MANIFEST = createManifest(); - public static final String MANIFEST_DIGEST = "sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284"; + public static final String MANIFEST_DIGEST = "sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598"; public static final String DISPLAY_NAME_WITH_ARGUMENTS = "{displayName} with [{arguments}]"; private static final Configuration CONFIGURATION = Configuration.getGlobalConfiguration(); public static final String ALPINE_REPOSITORY_NAME = "library/alpine"; @@ -216,7 +216,6 @@ static void importImage(TestMode mode, String registryName, String repository, L private static OciImageManifest createManifest() { OciImageManifest manifest = new OciImageManifest() - .setSchemaVersion(2) .setConfig(new OciDescriptor() .setMediaType("application/vnd.acme.rocket.config.v1+json") .setDigest(CONFIG_DIGEST) diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canDownloadManifestWithListOfTypes[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canDownloadManifestWithListOfTypes[1].json index ad3bbcc6352a..d468991edf65 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canDownloadManifestWithListOfTypes[1].json +++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canDownloadManifestWithListOfTypes[1].json @@ -3,21 +3,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "1787ea8d-d313-4da1-b3fe-d9df7ba449c5", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "bce26712-f266-435b-b0c0-c1f6fec28adf", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "836ef8df-b4be-452d-af61-c11461aeae17", + "X-Ms-Correlation-Request-Id" : "de8df4a7-d788-45c6-9d08-e3d3d6134056", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.333333", + "x-ms-ratelimit-remaining-calls-per-second" : "332.683333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"refresh_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 19:57:13 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:21 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -25,21 +25,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "dbd48761-26e4-475d-bae2-6c67892cc4df", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "17e307ca-29fa-445a-af57-de16f27be364", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "a3952b40-8d34-425f-8815-ab1c22beec23", + "X-Ms-Correlation-Request-Id" : "c460f878-b54a-4086-8a1b-cc00a7a20b30", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.633333", + "x-ms-ratelimit-remaining-calls-per-second" : "332.4", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 19:57:13 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:21 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -47,8 +47,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "61a495d8-a9bc-4fb6-a6ea-7d7d42e28cfb" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "321da019-82c7-40f8-895e-46d4d5cd9c7c" }, "Response" : { "Server" : "openresty", @@ -57,46 +57,46 @@ "retry-after" : "0", "Range" : "0-0", "StatusCode" : "202", - "Date" : "Wed, 08 Mar 2023 19:57:13 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:21 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "a4b54ecd-7807-4746-b1a2-cfea8e4de5b5", + "X-Ms-Correlation-Request-Id" : "27044e39-89a9-4802-a386-1d515374a16d", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "19dc6c45-b130-452c-96b5-233b9719fe54", - "X-Ms-Client-Request-Id" : "61a495d8-a9bc-4fb6-a6ea-7d7d42e28cfb", - "Docker-Upload-Uuid" : "78b2e74f-3c66-4634-8f4f-b650112c60c9", + "X-Ms-Request-Id" : "c811ebe8-9673-41d1-9947-daa7ae22d655", + "X-Ms-Client-Request-Id" : "321da019-82c7-40f8-895e-46d4d5cd9c7c", + "Docker-Upload-Uuid" : "13ac981d-51fe-4fd0-ac7a-264cc1bf30df", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/78b2e74f-3c66-4634-8f4f-b650112c60c9?_nouploadcache=false&_state=Gh4KKSKZydXz47XyC2X8xvMACyx8sj6b5WX5BGvQ8vl7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNzhiMmU3NGYtM2M2Ni00NjM0LThmNGYtYjY1MDExMmM2MGM5IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTA4VDE5OjU3OjEzLjI0MTU0MTM5N1oifQ%3D%3D" + "Location" : "/v2/oci-artifact/blobs/uploads/13ac981d-51fe-4fd0-ac7a-264cc1bf30df?_nouploadcache=false&_state=SEavvk9AqF5jSgAQOBPRFJx5HS6bj8laLojrLMf62eF7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMTNhYzk4MWQtNTFmZS00ZmQwLWFjN2EtMjY0Y2MxYmYzMGRmIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjIxLjI4NDUwMjU0WiJ9" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "40a7b90e-f841-4b6f-bfd6-df3945b9a77c", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "e50d2704-39a2-45e6-a57b-99eb6ba12ba1", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "0bf6b963-6fcc-4170-8179-78d19df48f24", + "X-Ms-Correlation-Request-Id" : "79771062-6940-43e7-bd3e-276427a0269d", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.316667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.666667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 19:57:13 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:21 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/78b2e74f-3c66-4634-8f4f-b650112c60c9?_nouploadcache=false&_state=Gh4KKSKZydXz47XyC2X8xvMACyx8sj6b5WX5BGvQ8vl7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNzhiMmU3NGYtM2M2Ni00NjM0LThmNGYtYjY1MDExMmM2MGM5IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTA4VDE5OjU3OjEzLjI0MTU0MTM5N1oifQ%3D%3D&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/13ac981d-51fe-4fd0-ac7a-264cc1bf30df?_nouploadcache=false&_state=SEavvk9AqF5jSgAQOBPRFJx5HS6bj8laLojrLMf62eF7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMTNhYzk4MWQtNTFmZS00ZmQwLWFjN2EtMjY0Y2MxYmYzMGRmIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjIxLjI4NDUwMjU0WiJ9&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "3c572333-24b2-451c-8b2c-746bf6b526c8", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "295f3bbc-78f0-4acf-8c9b-d522bc0c770e", "Content-Type" : "application/octet-stream" }, "Response" : { @@ -105,14 +105,14 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Mar 2023 19:57:13 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:21 GMT", "Docker-Content-Digest" : "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "6c1fcf88-3eb4-477c-9a2d-e49b9c06a8cb", + "X-Ms-Correlation-Request-Id" : "053a3089-644e-4e13-bb6b-a54e3c6613f7", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "d4dca945-ac4a-48df-976c-776326b42cfb", - "X-Ms-Client-Request-Id" : "3c572333-24b2-451c-8b2c-746bf6b526c8", + "X-Ms-Request-Id" : "60f429e0-a8da-43a5-8ddc-f4e10ba68d2b", + "X-Ms-Client-Request-Id" : "295f3bbc-78f0-4acf-8c9b-d522bc0c770e", "Content-Length" : "0", "Location" : "/v2/oci-artifact/blobs/sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a" }, @@ -121,21 +121,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "551b0cff-9ea6-4d46-92d4-f72c67ef1042", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "b14ea42c-d6db-4c0f-a62b-4dba0d9a0b0c", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "eb96d957-377c-4e9c-bce5-9ab7c2d8f075", + "X-Ms-Correlation-Request-Id" : "138f8018-a106-485b-885a-347d09f00f92", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.616667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.383333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 19:57:13 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:21 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -143,8 +143,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "cd0772bc-c611-4d97-b26d-5791be508c41" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "2b13b382-48fc-41c0-ad75-62d275731f95" }, "Response" : { "Server" : "openresty", @@ -153,46 +153,46 @@ "retry-after" : "0", "Range" : "0-0", "StatusCode" : "202", - "Date" : "Wed, 08 Mar 2023 19:57:13 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:21 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "e17bb72c-3776-4068-9ea6-2cdc25938e0c", + "X-Ms-Correlation-Request-Id" : "e79f1349-29a2-46a1-819f-f2c58b03c3fd", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "ec03da29-1d99-497d-bd86-f644d6798c7a", - "X-Ms-Client-Request-Id" : "cd0772bc-c611-4d97-b26d-5791be508c41", - "Docker-Upload-Uuid" : "a284395a-04d6-4cff-99ff-654792c5ab30", + "X-Ms-Request-Id" : "de39f2eb-b4bb-4264-8a49-edbd9c7885a0", + "X-Ms-Client-Request-Id" : "2b13b382-48fc-41c0-ad75-62d275731f95", + "Docker-Upload-Uuid" : "9df3e81e-578f-428e-b551-01343849f303", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/a284395a-04d6-4cff-99ff-654792c5ab30?_nouploadcache=false&_state=uWydM-nVLuM2_jVOFTga4DNLuysNoAmL_N_8iyP5Qgl7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYTI4NDM5NWEtMDRkNi00Y2ZmLTk5ZmYtNjU0NzkyYzVhYjMwIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTA4VDE5OjU3OjEzLjU1MTY5MTU5NFoifQ%3D%3D" + "Location" : "/v2/oci-artifact/blobs/uploads/9df3e81e-578f-428e-b551-01343849f303?_nouploadcache=false&_state=FwuATEyWzOuXr1uvk-Cxp-Dq7uqz8ApAStpW-zOvWk97Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiOWRmM2U4MWUtNTc4Zi00MjhlLWI1NTEtMDEzNDM4NDlmMzAzIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjIxLjYxMjY4MDgyMVoifQ%3D%3D" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "4fb85e3a-4a0d-46d8-ba94-ee28369d5455", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "1992ad1d-4938-4838-91d7-9be160606705", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "11e61370-3a8e-41c1-a3ec-5cd4e6edf504", + "X-Ms-Correlation-Request-Id" : "77019631-aa9b-4573-9e33-e7bd20d7ad36", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.3", + "x-ms-ratelimit-remaining-calls-per-second" : "332.65", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 19:57:13 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:21 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/a284395a-04d6-4cff-99ff-654792c5ab30?_nouploadcache=false&_state=uWydM-nVLuM2_jVOFTga4DNLuysNoAmL_N_8iyP5Qgl7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYTI4NDM5NWEtMDRkNi00Y2ZmLTk5ZmYtNjU0NzkyYzVhYjMwIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTA4VDE5OjU3OjEzLjU1MTY5MTU5NFoifQ%3D%3D&digest=sha256%3Ab94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/9df3e81e-578f-428e-b551-01343849f303?_nouploadcache=false&_state=FwuATEyWzOuXr1uvk-Cxp-Dq7uqz8ApAStpW-zOvWk97Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiOWRmM2U4MWUtNTc4Zi00MjhlLWI1NTEtMDEzNDM4NDlmMzAzIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjIxLjYxMjY4MDgyMVoifQ%3D%3D&digest=sha256%3Ab94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "a7b86605-40dc-4258-9bb7-c5ff6ef66baf", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "2db1f2de-8784-4129-bdc5-55328ec0ae9e", "Content-Type" : "application/octet-stream" }, "Response" : { @@ -201,14 +201,14 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Mar 2023 19:57:13 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:21 GMT", "Docker-Content-Digest" : "sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "3d10797c-7b96-4868-898a-050b05095abb", + "X-Ms-Correlation-Request-Id" : "669e20fd-448a-4723-8850-89aff0b3e48d", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "af9001e7-f2ce-44a8-b625-46b865ca609e", - "X-Ms-Client-Request-Id" : "a7b86605-40dc-4258-9bb7-c5ff6ef66baf", + "X-Ms-Request-Id" : "3ecb956a-b768-4cdd-8eac-e0abf7baaf40", + "X-Ms-Client-Request-Id" : "2db1f2de-8784-4129-bdc5-55328ec0ae9e", "Content-Length" : "0", "Location" : "/v2/oci-artifact/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9" }, @@ -217,30 +217,30 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "7c95172e-daa1-4cbf-a30e-24b32f4f5ab9", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "1a024a00-a999-4814-94ee-6e139331444c", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "ec4f3f41-c315-416f-b41e-8608724f2dd5", + "X-Ms-Correlation-Request-Id" : "2e9d1c8d-bedd-42f7-864e-e5ae86806325", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.6", + "x-ms-ratelimit-remaining-calls-per-second" : "332.366667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 19:57:13 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:21 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "1a778205-1a2a-4f51-8a6f-5333f0b4bb97", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "018a7d70-2deb-4000-b3b6-7e0e217a8496", "Content-Type" : "application/vnd.oci.image.manifest.v1+json" }, "Response" : { @@ -249,46 +249,46 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Mar 2023 19:57:13 GMT", - "Docker-Content-Digest" : "sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Date" : "Sat, 11 Mar 2023 00:31:22 GMT", + "Docker-Content-Digest" : "sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "d41c0405-db8f-446f-bf69-067280b9b0cb", + "X-Ms-Correlation-Request-Id" : "d86706f7-1bed-4980-8699-48726e8e5fbb", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "4727eb3d-7e73-4d71-b93b-8464bb16c6cb", - "X-Ms-Client-Request-Id" : "1a778205-1a2a-4f51-8a6f-5333f0b4bb97", + "X-Ms-Request-Id" : "1f4f44b5-d7eb-481a-a331-eb57eee8293c", + "X-Ms-Client-Request-Id" : "018a7d70-2deb-4000-b3b6-7e0e217a8496", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284" + "Location" : "/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "ffdff56b-f840-43ea-96d8-2ba7db3007f8", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "4bd313da-4ec6-4656-9c05-a6e2039d7352", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "055f499e-7d22-42ff-8c2c-c68ac4412833", + "X-Ms-Correlation-Request-Id" : "6bd9199d-239b-48ba-9910-dbf929e50b7f", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.283333", + "x-ms-ratelimit-remaining-calls-per-second" : "332.633333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 19:57:14 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:22 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "e4ee94da-fbd7-4e1c-abe2-265e265f6faf" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "8f17c049-ddcc-4113-bb68-d39e80f2bdfb" }, "Response" : { "Server" : "openresty", @@ -296,17 +296,17 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Mar 2023 19:57:14 GMT", - "Docker-Content-Digest" : "sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Date" : "Sat, 11 Mar 2023 00:31:22 GMT", + "Docker-Content-Digest" : "sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "0bc3b3c4-1385-457b-a3e2-2f9b56c97b3e", + "X-Ms-Correlation-Request-Id" : "dc5b9095-729a-4c91-b7ea-1329a1e65659", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "f1c7682a-f4c1-405b-bcd1-760242da7486", - "X-Ms-Client-Request-Id" : "e4ee94da-fbd7-4e1c-abe2-265e265f6faf", - "Etag" : "\"sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284\"", + "X-Ms-Request-Id" : "1fab99c2-9365-4d80-a318-3842fe1a255e", + "X-Ms-Client-Request-Id" : "8f17c049-ddcc-4113-bb68-d39e80f2bdfb", + "Etag" : "\"sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598\"", "Content-Length" : "459", - "Body" : "{\"config\":{\"mediaType\":\"application/vnd.acme.rocket.config.v1+json\",\"size\":171,\"digest\":\"sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\"},\"layers\":[{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar\",\"size\":28,\"digest\":\"sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9\",\"annotations\":{\"org.opencontainers.image.ref.name\":\"654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed\"}}],\"schemaVersion\":2}", + "Body" : "{\"schemaVersion\":2,\"config\":{\"mediaType\":\"application/vnd.acme.rocket.config.v1+json\",\"size\":171,\"digest\":\"sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\"},\"layers\":[{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar\",\"size\":28,\"digest\":\"sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9\",\"annotations\":{\"org.opencontainers.image.ref.name\":\"654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed\"}}]}", "Content-Type" : "application/vnd.oci.image.manifest.v1+json" }, "Exception" : null @@ -314,21 +314,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "dedfcb2b-5e0e-4b5f-8b65-72891f267524", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "beb4686e-4692-496d-9f67-3f0d4b60f4b5", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "14428200-09aa-416d-8a40-f1870ded9a10", + "X-Ms-Correlation-Request-Id" : "ca315cac-3968-4d16-a15e-8700f95d4ad2", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.266667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.616667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 19:57:14 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:22 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -336,8 +336,8 @@ "Method" : "DELETE", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "507b0735-14a9-4362-beab-09d70a783768" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "d07bfd04-42c8-4d02-adcb-e6f8cf462b52" }, "Response" : { "Server" : "openresty", @@ -345,13 +345,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Wed, 08 Mar 2023 19:57:14 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:22 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "bd292e24-170a-4fe8-9391-7767e58b3e18", + "X-Ms-Correlation-Request-Id" : "2c271437-2a65-4d38-ad6e-b6f617dcf125", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "6051a478-4abd-49b6-b392-6f1ee84a751c", - "X-Ms-Client-Request-Id" : "507b0735-14a9-4362-beab-09d70a783768", + "X-Ms-Request-Id" : "966d44fa-b448-40ed-86a0-17edf04d4559", + "X-Ms-Client-Request-Id" : "d07bfd04-42c8-4d02-adcb-e6f8cf462b52", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "32.000000", "Content-Length" : "0" }, @@ -360,21 +360,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "75da9306-5de2-487b-bc2e-e2853e4a06c5", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "ddb5acdc-0fd6-4ee3-b5f4-70ec86fdc397", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "1eb0488f-6a0b-438a-992f-60c71a11bbfd", + "X-Ms-Correlation-Request-Id" : "59a14abe-591c-4360-b8de-b157a6806616", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.25", + "x-ms-ratelimit-remaining-calls-per-second" : "331.983333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 19:57:14 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:22 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -382,8 +382,8 @@ "Method" : "DELETE", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "ff0b112e-9efa-4953-8655-c9182e8d882a" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "6d55295a-94b1-4298-9c58-89b3a643955a" }, "Response" : { "Server" : "openresty", @@ -391,13 +391,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Wed, 08 Mar 2023 19:57:14 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:22 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "1af41b86-4295-4310-81f7-9815a05309f7", + "X-Ms-Correlation-Request-Id" : "a7f04e4d-a7e9-4b50-8ec9-997c6ce29791", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "2a9507d9-c805-434c-9287-faed711685e9", - "X-Ms-Client-Request-Id" : "ff0b112e-9efa-4953-8655-c9182e8d882a", + "X-Ms-Request-Id" : "f7e5effa-7158-4143-ac0e-b7cbf5ce80e3", + "X-Ms-Client-Request-Id" : "6d55295a-94b1-4298-9c58-89b3a643955a", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "31.000000", "Content-Length" : "0" }, @@ -406,30 +406,30 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "5dfc69d5-9d5d-495d-b0b4-d0b0cddca9ca", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "ae7bc863-3fa4-4996-80f7-96692904d0ed", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "ca940db8-2697-42f3-9037-64f1682fff09", + "X-Ms-Correlation-Request-Id" : "05437644-a5d2-4f72-8ea2-78b9356f5d04", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.583333", + "x-ms-ratelimit-remaining-calls-per-second" : "331.966667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 19:57:14 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:22 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "9536fc34-eb13-47c7-b147-c2c8dabb9194" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "60629951-ed91-4478-ba27-60d8dae6b14f" }, "Response" : { "Server" : "openresty", @@ -437,13 +437,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Wed, 08 Mar 2023 19:57:14 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:22 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "bb76a42d-c3d9-40e3-885a-2474af74e205", + "X-Ms-Correlation-Request-Id" : "2d1fba96-45c6-4f5d-925c-303829958dcf", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "17065c09-3cae-442b-a074-f8263f446ada", - "X-Ms-Client-Request-Id" : "9536fc34-eb13-47c7-b147-c2c8dabb9194", + "X-Ms-Request-Id" : "ac2bc7cd-d1b5-4266-9b2d-db3e790d709d", + "X-Ms-Client-Request-Id" : "60629951-ed91-4478-ba27-60d8dae6b14f", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "30.000000", "Content-Length" : "0" }, diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadDockerManifestWithTagAsync[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadDockerManifestWithTagAsync[1].json index fb3630935c0b..baa3da84ebc5 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadDockerManifestWithTagAsync[1].json +++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadDockerManifestWithTagAsync[1].json @@ -307,7 +307,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:6581596932dc735fd0df8cc240e6c28845a66829126da5ce25b983cf244e2311", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/v2", "Headers" : { "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", "x-ms-client-request-id" : "c3e42642-cd22-4e01-b35c-c6e324398825" @@ -584,4 +584,4 @@ "Exception" : null } ], "variables" : [ ] -} \ No newline at end of file +} diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadDockerManifestWithTag[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadDockerManifestWithTag[1].json index 08c0048f989d..b47485b2c18e 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadDockerManifestWithTag[1].json +++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadDockerManifestWithTag[1].json @@ -285,7 +285,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:6581596932dc735fd0df8cc240e6c28845a66829126da5ce25b983cf244e2311", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/v2", "Headers" : { "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", "x-ms-client-request-id" : "78959a59-724b-4ed4-b880-61f0fa9f7e11" @@ -562,4 +562,4 @@ "Exception" : null } ], "variables" : [ ] -} \ No newline at end of file +} diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadOciManifestAsync[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadOciManifestAsync[1].json index 86e5a7aab054..cf0f3ca124dc 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadOciManifestAsync[1].json +++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadOciManifestAsync[1].json @@ -3,21 +3,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "3d1ca0ae-59e1-4093-ad11-d015d486af4d", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "d5a99c1e-b666-4206-8e13-9f1d6e1c03d3", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "06811468-ffcb-4999-9e62-c6db549b559a", + "X-Ms-Correlation-Request-Id" : "c9884bf3-5be0-489e-a031-5a890b2296e2", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.35", + "x-ms-ratelimit-remaining-calls-per-second" : "332.483333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"refresh_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:18 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:18 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -25,21 +25,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "d109bc81-fcaa-41fb-a465-d93921eacf79", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "c4765c12-678f-427b-b1d8-9bb5a0c2fd3b", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "26ab9753-f423-4959-86c3-cf604062a5b6", + "X-Ms-Correlation-Request-Id" : "781323ce-992b-4078-9bf3-b1db513ee210", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.083333", + "x-ms-ratelimit-remaining-calls-per-second" : "331.433333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:18 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:18 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -47,8 +47,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "709c8d58-5f0e-4e4d-a5e3-1c45152ebcf4" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "5499f65f-d3bd-4c6d-86c9-a8fd00a23860" }, "Response" : { "Server" : "openresty", @@ -57,46 +57,46 @@ "retry-after" : "0", "Range" : "0-0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:11:18 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:18 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "a325d08c-be20-47e5-93b5-81eeef3295aa", + "X-Ms-Correlation-Request-Id" : "f6f4507c-baea-4715-9ff3-6c4401d8ebfa", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "297ce959-3023-46c4-ba84-f3d1d8b457ea", - "X-Ms-Client-Request-Id" : "709c8d58-5f0e-4e4d-a5e3-1c45152ebcf4", - "Docker-Upload-Uuid" : "3c80babc-5771-4e29-8365-bf9f4b8b8e21", + "X-Ms-Request-Id" : "6e766279-2c0d-40f2-a200-7317f76f2ee1", + "X-Ms-Client-Request-Id" : "5499f65f-d3bd-4c6d-86c9-a8fd00a23860", + "Docker-Upload-Uuid" : "3d060442-2668-43bc-a294-e8152d287634", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/3c80babc-5771-4e29-8365-bf9f4b8b8e21?_nouploadcache=false&_state=cG42vbOlO5-T8ZiLWwHlDS3ImqTumNlRGpFWFv775Z97Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiM2M4MGJhYmMtNTc3MS00ZTI5LTgzNjUtYmY5ZjRiOGI4ZTIxIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTIzVDIzOjExOjE4LjU0OTk4MTAwOFoifQ%3D%3D" + "Location" : "/v2/oci-artifact/blobs/uploads/3d060442-2668-43bc-a294-e8152d287634?_nouploadcache=false&_state=S4ZBusZMoLTVhQghh4wugM0IxFUMQgwNGOSHS406eDR7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiM2QwNjA0NDItMjY2OC00M2JjLWEyOTQtZTgxNTJkMjg3NjM0IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjE4Ljg4ODQwNTY1NVoifQ%3D%3D" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "54875962-1434-453c-9aef-7f64018ce05e", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "a7e0f615-0e54-4d47-a325-e208bf9a3d96", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "a7fa4190-34c6-4968-bfcc-a38f8d2d9506", + "X-Ms-Correlation-Request-Id" : "d8fa8cdd-e7cf-4ca7-807c-5f0003ea03c6", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.333333", + "x-ms-ratelimit-remaining-calls-per-second" : "332.466667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:18 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:18 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/3c80babc-5771-4e29-8365-bf9f4b8b8e21?_nouploadcache=false&_state=cG42vbOlO5-T8ZiLWwHlDS3ImqTumNlRGpFWFv775Z97Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiM2M4MGJhYmMtNTc3MS00ZTI5LTgzNjUtYmY5ZjRiOGI4ZTIxIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTIzVDIzOjExOjE4LjU0OTk4MTAwOFoifQ%3D%3D&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/3d060442-2668-43bc-a294-e8152d287634?_nouploadcache=false&_state=S4ZBusZMoLTVhQghh4wugM0IxFUMQgwNGOSHS406eDR7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiM2QwNjA0NDItMjY2OC00M2JjLWEyOTQtZTgxNTJkMjg3NjM0IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjE4Ljg4ODQwNTY1NVoifQ%3D%3D&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "cf28a32c-be35-47bd-b0bb-4d606b81fc59", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "70fcae98-95d9-4eff-981b-aaf0c93e5787", "Content-Type" : "application/octet-stream" }, "Response" : { @@ -105,14 +105,14 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 23 Feb 2023 23:11:18 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:19 GMT", "Docker-Content-Digest" : "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "1276475e-b79a-4cbe-9c49-ad9fb973b772", + "X-Ms-Correlation-Request-Id" : "7708c2d5-b7ab-4bf1-8b63-5a434a7d7ba7", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "a6464c6e-6f52-467e-92d0-1413f7392d69", - "X-Ms-Client-Request-Id" : "cf28a32c-be35-47bd-b0bb-4d606b81fc59", + "X-Ms-Request-Id" : "f2031e8d-6bb5-42b4-8fda-39f704236656", + "X-Ms-Client-Request-Id" : "70fcae98-95d9-4eff-981b-aaf0c93e5787", "Content-Length" : "0", "Location" : "/v2/oci-artifact/blobs/sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a" }, @@ -121,21 +121,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "76bd2ace-f7bc-4185-82b9-820dabd1d17a", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "9537c771-c308-4621-b7fa-8dd8142bc1be", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "ea90e8c6-8010-40cf-bf11-7b64a8bda13a", + "X-Ms-Correlation-Request-Id" : "e6a096fa-f4cc-4e20-a327-ed4cc6bd84ad", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.066667", + "x-ms-ratelimit-remaining-calls-per-second" : "331.416667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:18 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:19 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -143,8 +143,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "dfce6bad-aaae-4eac-ac3c-0b3aded9b14f" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "c15990b3-1e1f-47d2-8d88-a250c2225b3f" }, "Response" : { "Server" : "openresty", @@ -153,46 +153,46 @@ "retry-after" : "0", "Range" : "0-0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:11:18 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:19 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "d6cc70a6-b09a-4784-9f49-527346069849", + "X-Ms-Correlation-Request-Id" : "d05247b8-c80d-4fd8-937b-62602dda383b", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "db0de19d-1279-40ff-a89e-e7091983df5e", - "X-Ms-Client-Request-Id" : "dfce6bad-aaae-4eac-ac3c-0b3aded9b14f", - "Docker-Upload-Uuid" : "e490fc66-b763-47db-9ff2-ae1dbef10a37", + "X-Ms-Request-Id" : "691d7e95-26aa-4794-a729-a33c9c18fd04", + "X-Ms-Client-Request-Id" : "c15990b3-1e1f-47d2-8d88-a250c2225b3f", + "Docker-Upload-Uuid" : "1a2ba46a-bcc6-4cb6-9754-e96230d11817", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/e490fc66-b763-47db-9ff2-ae1dbef10a37?_nouploadcache=false&_state=hoJSpdCb3fcE6f-GFNlSAz3IA0v-4rwBAKazqzR3EKx7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZTQ5MGZjNjYtYjc2My00N2RiLTlmZjItYWUxZGJlZjEwYTM3IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTIzVDIzOjExOjE4Ljg2MjYyNzk5NVoifQ%3D%3D" + "Location" : "/v2/oci-artifact/blobs/uploads/1a2ba46a-bcc6-4cb6-9754-e96230d11817?_nouploadcache=false&_state=MUhf_4RTFa8h8vc9Mh9a8F8L1lKKXEnnsGcVXJmeJhN7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMWEyYmE0NmEtYmNjNi00Y2I2LTk3NTQtZTk2MjMwZDExODE3IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjE5LjIwMzUzNzg0NloifQ%3D%3D" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "21a1af23-e6fa-4cb8-b7f8-6742025e756d", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "7288d671-446f-4e40-a8c4-91ef3f5fb086", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "bda6c8b2-0ec4-48f1-a6e0-5bed7d19f172", + "X-Ms-Correlation-Request-Id" : "8f4cd90d-cdcc-4587-b23d-7c7635b506a0", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.316667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.45", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:18 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:19 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/e490fc66-b763-47db-9ff2-ae1dbef10a37?_nouploadcache=false&_state=hoJSpdCb3fcE6f-GFNlSAz3IA0v-4rwBAKazqzR3EKx7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZTQ5MGZjNjYtYjc2My00N2RiLTlmZjItYWUxZGJlZjEwYTM3IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTIzVDIzOjExOjE4Ljg2MjYyNzk5NVoifQ%3D%3D&digest=sha256%3Ab94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/1a2ba46a-bcc6-4cb6-9754-e96230d11817?_nouploadcache=false&_state=MUhf_4RTFa8h8vc9Mh9a8F8L1lKKXEnnsGcVXJmeJhN7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMWEyYmE0NmEtYmNjNi00Y2I2LTk3NTQtZTk2MjMwZDExODE3IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjE5LjIwMzUzNzg0NloifQ%3D%3D&digest=sha256%3Ab94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "67897bed-8ae5-4da9-aa0a-e454e8b9e7ab", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "14fa0d6b-b6bf-4c20-b643-eca83da7b344", "Content-Type" : "application/octet-stream" }, "Response" : { @@ -201,14 +201,14 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 23 Feb 2023 23:11:19 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:19 GMT", "Docker-Content-Digest" : "sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "b919f0ff-1e4a-40e3-865c-f7b53b926c31", + "X-Ms-Correlation-Request-Id" : "26b0e6f0-6925-46fa-8b32-8c321c83dbb7", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "41829474-a1aa-4d91-9db4-0a845d64bb9d", - "X-Ms-Client-Request-Id" : "67897bed-8ae5-4da9-aa0a-e454e8b9e7ab", + "X-Ms-Request-Id" : "5d2dbf6d-85cc-4159-be90-2811b23cdaeb", + "X-Ms-Client-Request-Id" : "14fa0d6b-b6bf-4c20-b643-eca83da7b344", "Content-Length" : "0", "Location" : "/v2/oci-artifact/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9" }, @@ -217,21 +217,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "e844ce39-7122-4c2c-87db-3177d73d48dc", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "42343260-299a-40ad-99e7-43d035ed1891", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "2db10572-41b4-4b59-a41c-5927f68650d5", + "X-Ms-Correlation-Request-Id" : "c3a620bc-f139-40c0-81ae-af16194ad85d", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.05", + "x-ms-ratelimit-remaining-calls-per-second" : "331.4", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"refresh_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:19 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:19 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -239,30 +239,30 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "eee28e66-bd99-408d-ab22-59bc2e0c4061", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "25e8c003-5756-44fb-b820-d819f963a5cb", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "c415c497-67e8-4dd0-b343-55fa2f165f87", + "X-Ms-Correlation-Request-Id" : "e029ced1-3ef2-4405-89c2-6efee37463e5", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.3", + "x-ms-ratelimit-remaining-calls-per-second" : "332.433333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:19 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:19 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "0feaba96-8754-4558-891f-330b8f57b0fb", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "09bf7243-7782-42a5-8765-eb0c159c2dc0", "Content-Type" : "application/vnd.oci.image.manifest.v1+json" }, "Response" : { @@ -271,46 +271,46 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 23 Feb 2023 23:11:19 GMT", - "Docker-Content-Digest" : "sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Date" : "Sat, 11 Mar 2023 00:31:19 GMT", + "Docker-Content-Digest" : "sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "e4018c60-9326-4109-bd52-fc3fcc5bf550", + "X-Ms-Correlation-Request-Id" : "1dbe9b75-6275-4551-92a8-60a0b568cba7", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "a06029a4-e8fa-4fa4-8c6a-e4f295b74fb4", - "X-Ms-Client-Request-Id" : "0feaba96-8754-4558-891f-330b8f57b0fb", + "X-Ms-Request-Id" : "b68c8d26-8087-4084-ab02-4c15282305e2", + "X-Ms-Client-Request-Id" : "09bf7243-7782-42a5-8765-eb0c159c2dc0", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284" + "Location" : "/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "1db14408-05fa-4872-9f95-baf58f4b8565", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "e646a9c4-ad53-4f88-b104-24c4cc97fecd", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "b5eb0b93-1c25-412a-b57b-0782e029b539", + "X-Ms-Correlation-Request-Id" : "e195dc78-4047-42ca-8d0c-e080e917a916", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.033333", + "x-ms-ratelimit-remaining-calls-per-second" : "331.383333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:19 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:19 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "6bbb2b97-d3f7-4498-8653-615b743f6065" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "2724e321-02a6-4a3c-88cf-6fc7a6aaad7c" }, "Response" : { "Server" : "openresty", @@ -318,17 +318,17 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 23 Feb 2023 23:11:19 GMT", - "Docker-Content-Digest" : "sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Date" : "Sat, 11 Mar 2023 00:31:20 GMT", + "Docker-Content-Digest" : "sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "ebbe7e64-6c80-4761-82ed-51b036321422", + "X-Ms-Correlation-Request-Id" : "1efd4e79-8270-4f38-af11-0a57122427d4", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "c86b4c57-1f16-4b5c-b58f-400705f1536c", - "X-Ms-Client-Request-Id" : "6bbb2b97-d3f7-4498-8653-615b743f6065", - "Etag" : "\"sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284\"", + "X-Ms-Request-Id" : "c1031339-fc02-427c-a3da-052037708d31", + "X-Ms-Client-Request-Id" : "2724e321-02a6-4a3c-88cf-6fc7a6aaad7c", + "Etag" : "\"sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598\"", "Content-Length" : "459", - "Body" : "{\"config\":{\"mediaType\":\"application/vnd.acme.rocket.config.v1+json\",\"size\":171,\"digest\":\"sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\"},\"layers\":[{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar\",\"size\":28,\"digest\":\"sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9\",\"annotations\":{\"org.opencontainers.image.ref.name\":\"654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed\"}}],\"schemaVersion\":2}", + "Body" : "{\"schemaVersion\":2,\"config\":{\"mediaType\":\"application/vnd.acme.rocket.config.v1+json\",\"size\":171,\"digest\":\"sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\"},\"layers\":[{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar\",\"size\":28,\"digest\":\"sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9\",\"annotations\":{\"org.opencontainers.image.ref.name\":\"654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed\"}}]}", "Content-Type" : "application/vnd.oci.image.manifest.v1+json" }, "Exception" : null @@ -336,21 +336,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "c6103eec-85dc-4a5b-8b4e-ee112b595fcb", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "23e98215-f707-49df-a367-dfc6ba7dd25a", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "ba4f65be-f413-4eae-b528-397390fc8916", + "X-Ms-Correlation-Request-Id" : "3adca27d-cbdf-4e01-98df-a8b3a27efbc4", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.283333", + "x-ms-ratelimit-remaining-calls-per-second" : "332", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:19 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:20 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -358,8 +358,8 @@ "Method" : "DELETE", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "ec7d4f42-d6c3-4449-b586-e70c1d3d4429" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "4ec4c142-9462-4c67-b5c9-bf37d0eb899a" }, "Response" : { "Server" : "openresty", @@ -367,13 +367,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:11:20 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:20 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "9bbf4e49-169d-4792-b621-f4c2ec8b467d", + "X-Ms-Correlation-Request-Id" : "a1e45737-266c-4fec-975e-c79f84bf0ef1", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "80643169-96a3-4d8a-bc52-dc538607817c", - "X-Ms-Client-Request-Id" : "ec7d4f42-d6c3-4449-b586-e70c1d3d4429", + "X-Ms-Request-Id" : "d0a1913c-5fe8-4614-8c7c-c35dcc75ff45", + "X-Ms-Client-Request-Id" : "4ec4c142-9462-4c67-b5c9-bf37d0eb899a", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "32.000000", "Content-Length" : "0" }, @@ -382,21 +382,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "7aeeab4a-7a5c-451d-b9c7-eefb52ea05ad", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "64c46464-8c5d-44fd-9a15-cc53c6c5aaf4", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "4aedfcd4-9750-4819-9bb9-693742abb8bd", + "X-Ms-Correlation-Request-Id" : "3eab0819-713e-45b7-a75e-a1af44f0b266", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.266667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.7", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:20 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:20 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -404,8 +404,8 @@ "Method" : "DELETE", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "7dd89d62-9f56-4ec7-a4f9-2bf5ef487fb8" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "5d0865b8-4bda-4e3f-9bc4-309e5ee35f89" }, "Response" : { "Server" : "openresty", @@ -413,13 +413,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:11:20 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:20 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "b243dd5e-3c22-4a5a-a8f1-59f9417cdd48", + "X-Ms-Correlation-Request-Id" : "da4e36d2-0919-4908-b07d-ab68d38e5140", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "26d47460-d7e9-49d7-a090-44eb68991ca9", - "X-Ms-Client-Request-Id" : "7dd89d62-9f56-4ec7-a4f9-2bf5ef487fb8", + "X-Ms-Request-Id" : "075b8ebb-ad9e-40bb-a9fb-41ac74dc0048", + "X-Ms-Client-Request-Id" : "5d0865b8-4bda-4e3f-9bc4-309e5ee35f89", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "31.000000", "Content-Length" : "0" }, @@ -428,30 +428,30 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "93b5dc1b-716e-46b2-ac72-88b1963bdb6f", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "d6d31628-10f6-4194-a38a-6335f36f057e", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "19765d23-51de-4ecc-ac4a-bb35722124e2", + "X-Ms-Correlation-Request-Id" : "883b880b-b8b8-4b4f-a187-0ba56474fc49", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.016667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.416667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:20 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:20 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "f4b87f17-6291-4b37-bec8-252b01ace333" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "15c508df-3560-440e-95c1-99d005631df7" }, "Response" : { "Server" : "openresty", @@ -459,13 +459,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:11:20 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:20 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "27319122-c389-4da4-afd9-2275131d8e6c", + "X-Ms-Correlation-Request-Id" : "dffb1bc5-c62d-48d5-b478-ca4e4feee5cb", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "9021c9d1-a5cf-4107-aa2d-27e4b4b1af51", - "X-Ms-Client-Request-Id" : "f4b87f17-6291-4b37-bec8-252b01ace333", + "X-Ms-Request-Id" : "95f954e0-f976-4d87-8c36-af84ea156259", + "X-Ms-Client-Request-Id" : "15c508df-3560-440e-95c1-99d005631df7", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "30.000000", "Content-Length" : "0" }, diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadOciManifestBinaryData[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadOciManifestBinaryData[1].json index 46482d7ee9e8..3040147d3244 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadOciManifestBinaryData[1].json +++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadOciManifestBinaryData[1].json @@ -3,21 +3,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "9ffd91e9-f27b-4b34-a27e-ce8f8262a1dd", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "396bbe2d-fb6d-49b4-bfe9-8d0cc65ac403", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "be7a95b1-887f-4015-ab9f-9e7f5ccf5ecd", + "X-Ms-Correlation-Request-Id" : "d0381407-0a28-47f6-94f4-1234f21e1f7b", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "331.816667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.15", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"refresh_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:34 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:37 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -25,21 +25,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "104bae7b-0cb2-4c24-8def-7bb0a879f54b", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "0685d174-fcb0-4ebc-9eb5-b13c5d930ee7", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "9d42878f-83be-4c60-91ab-e7f688428dc2", + "X-Ms-Correlation-Request-Id" : "c4027bec-8da3-4208-9b7b-d88795703985", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.083333", + "x-ms-ratelimit-remaining-calls-per-second" : "331.7", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:34 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:37 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -47,8 +47,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "5ceed0b3-92ac-4675-997f-4b3214e84f03" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "90644933-3eef-43a7-a7e1-e3003c1a9ad3" }, "Response" : { "Server" : "openresty", @@ -57,46 +57,46 @@ "retry-after" : "0", "Range" : "0-0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:11:34 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:37 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "51aeddea-eba7-45b8-9301-f68f9e1e0e21", + "X-Ms-Correlation-Request-Id" : "cd7fb43e-616f-43bc-8f10-770ccbff12b7", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "28395f4d-1d69-4cf3-a548-dde1983f9bd5", - "X-Ms-Client-Request-Id" : "5ceed0b3-92ac-4675-997f-4b3214e84f03", - "Docker-Upload-Uuid" : "bb72a2e4-fd66-4b63-acfc-4fcb7324055d", + "X-Ms-Request-Id" : "9b78f307-641d-4415-aff6-ee7dbb72d81b", + "X-Ms-Client-Request-Id" : "90644933-3eef-43a7-a7e1-e3003c1a9ad3", + "Docker-Upload-Uuid" : "fd29a0b7-0c95-45ef-9509-d2504f8ef448", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/bb72a2e4-fd66-4b63-acfc-4fcb7324055d?_nouploadcache=false&_state=tTZjjOFU3sV4SGzZgDCFaLhgc3w5t42j9KnVdMH1Pp17Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYmI3MmEyZTQtZmQ2Ni00YjYzLWFjZmMtNGZjYjczMjQwNTVkIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTIzVDIzOjExOjM0LjQ5MTcxNTM1M1oifQ%3D%3D" + "Location" : "/v2/oci-artifact/blobs/uploads/fd29a0b7-0c95-45ef-9509-d2504f8ef448?_nouploadcache=false&_state=y229jOTS_MwLQykjO_qu4c_U_2laTA0cTn6NQwroBt57Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZmQyOWEwYjctMGM5NS00NWVmLTk1MDktZDI1MDRmOGVmNDQ4IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjM3LjM2NDEzMjQyOFoifQ%3D%3D" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "a907c4c3-9b0a-4d91-893c-cf9f849b5811", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "62240d80-5983-42c1-8376-ed0e9704266e", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "a9e05897-a006-424c-899f-9fdc22363175", + "X-Ms-Correlation-Request-Id" : "41eb09ab-e262-42c1-8bc3-f171eee996e6", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "331.8", + "x-ms-ratelimit-remaining-calls-per-second" : "332.133333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:34 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:37 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/bb72a2e4-fd66-4b63-acfc-4fcb7324055d?_nouploadcache=false&_state=tTZjjOFU3sV4SGzZgDCFaLhgc3w5t42j9KnVdMH1Pp17Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYmI3MmEyZTQtZmQ2Ni00YjYzLWFjZmMtNGZjYjczMjQwNTVkIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTIzVDIzOjExOjM0LjQ5MTcxNTM1M1oifQ%3D%3D&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/fd29a0b7-0c95-45ef-9509-d2504f8ef448?_nouploadcache=false&_state=y229jOTS_MwLQykjO_qu4c_U_2laTA0cTn6NQwroBt57Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZmQyOWEwYjctMGM5NS00NWVmLTk1MDktZDI1MDRmOGVmNDQ4IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjM3LjM2NDEzMjQyOFoifQ%3D%3D&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "e94107a3-9ac0-4e6b-bd89-b8db927a35d0", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "cd188def-85b4-4b17-8243-887d48c0247a", "Content-Type" : "application/octet-stream" }, "Response" : { @@ -105,14 +105,14 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 23 Feb 2023 23:11:34 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:37 GMT", "Docker-Content-Digest" : "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "e464ad50-c716-4c2c-a0cb-5634771f75e2", + "X-Ms-Correlation-Request-Id" : "28837f47-d30f-4928-987f-44edd371a1ff", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "e253dec5-2bd8-41c4-9883-cb750c03c964", - "X-Ms-Client-Request-Id" : "e94107a3-9ac0-4e6b-bd89-b8db927a35d0", + "X-Ms-Request-Id" : "cedb037b-dbe1-4339-8e1b-4f7265f7fabd", + "X-Ms-Client-Request-Id" : "cd188def-85b4-4b17-8243-887d48c0247a", "Content-Length" : "0", "Location" : "/v2/oci-artifact/blobs/sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a" }, @@ -121,21 +121,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "66385af5-43de-4d77-bf16-937fc4c810b3", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "22567275-6bc5-48e1-bc1c-fe2202c72ef7", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "07f1e47d-16c4-4f35-ab5e-04b91a31ddce", + "X-Ms-Correlation-Request-Id" : "16052977-5277-4d52-95eb-e18baf5889f6", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.066667", + "x-ms-ratelimit-remaining-calls-per-second" : "331.683333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:34 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:37 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -143,8 +143,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "4efa0142-a74d-4783-ba68-066d294d9d12" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "6bb709fd-94e0-4ddc-b3fd-1ac81d67f548" }, "Response" : { "Server" : "openresty", @@ -153,46 +153,46 @@ "retry-after" : "0", "Range" : "0-0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:11:34 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:37 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "b4a40bb9-35dc-4068-b959-4826eba29cab", + "X-Ms-Correlation-Request-Id" : "15c22f5c-70e3-4ff7-80b4-192918abc534", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "37f790dd-5c96-4ef7-8e71-1332d4e88f32", - "X-Ms-Client-Request-Id" : "4efa0142-a74d-4783-ba68-066d294d9d12", - "Docker-Upload-Uuid" : "690b2340-f7db-4c18-8162-41b9cde7f713", + "X-Ms-Request-Id" : "d2d6e15b-5791-485a-a0ae-f769cf351158", + "X-Ms-Client-Request-Id" : "6bb709fd-94e0-4ddc-b3fd-1ac81d67f548", + "Docker-Upload-Uuid" : "7d55695b-87a5-4eea-b1b1-c490a9808935", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/690b2340-f7db-4c18-8162-41b9cde7f713?_nouploadcache=false&_state=un3SUjIe8WT_nNofe44XEqOdaDUE_hDcNOd_8C0lRyV7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNjkwYjIzNDAtZjdkYi00YzE4LTgxNjItNDFiOWNkZTdmNzEzIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTIzVDIzOjExOjM0LjgyMDk2ODY4NloifQ%3D%3D" + "Location" : "/v2/oci-artifact/blobs/uploads/7d55695b-87a5-4eea-b1b1-c490a9808935?_nouploadcache=false&_state=d4IX360CddQzd3QNgctWV4nEb3VCUQwEiLPGGdMhuG17Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiN2Q1NTY5NWItODdhNS00ZWVhLWIxYjEtYzQ5MGE5ODA4OTM1IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjM3LjY5MDMzMjYwNFoifQ%3D%3D" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "cffa2b20-7e25-4630-80c5-1d436c2c4ac4", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "9564c8ae-882a-45e4-ab00-dbaef0b64fba", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "2180ce81-445f-42fb-aeff-590200bfddc2", + "X-Ms-Correlation-Request-Id" : "3021d0e0-1fc7-4afd-9700-c366a8e4714c", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "331.783333", + "x-ms-ratelimit-remaining-calls-per-second" : "332.116667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:34 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:37 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/690b2340-f7db-4c18-8162-41b9cde7f713?_nouploadcache=false&_state=un3SUjIe8WT_nNofe44XEqOdaDUE_hDcNOd_8C0lRyV7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNjkwYjIzNDAtZjdkYi00YzE4LTgxNjItNDFiOWNkZTdmNzEzIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTIzVDIzOjExOjM0LjgyMDk2ODY4NloifQ%3D%3D&digest=sha256%3Ab94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/7d55695b-87a5-4eea-b1b1-c490a9808935?_nouploadcache=false&_state=d4IX360CddQzd3QNgctWV4nEb3VCUQwEiLPGGdMhuG17Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiN2Q1NTY5NWItODdhNS00ZWVhLWIxYjEtYzQ5MGE5ODA4OTM1IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjM3LjY5MDMzMjYwNFoifQ%3D%3D&digest=sha256%3Ab94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "5d61c508-5697-4347-9713-362aed37b4a0", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "2058d607-5559-4e9d-9c6c-21eb8bd609a3", "Content-Type" : "application/octet-stream" }, "Response" : { @@ -201,14 +201,14 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 23 Feb 2023 23:11:35 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:37 GMT", "Docker-Content-Digest" : "sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "40ce402f-8073-4f0e-aaf9-c1ebc0179468", + "X-Ms-Correlation-Request-Id" : "b8e26fb1-94bc-4a10-8933-7f5b3f371cab", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "9f5a2451-94b0-49d0-9c07-4c9838c13fbc", - "X-Ms-Client-Request-Id" : "5d61c508-5697-4347-9713-362aed37b4a0", + "X-Ms-Request-Id" : "6dbd884f-a7f5-4b81-b544-0939d9f48803", + "X-Ms-Client-Request-Id" : "2058d607-5559-4e9d-9c6c-21eb8bd609a3", "Content-Length" : "0", "Location" : "/v2/oci-artifact/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9" }, @@ -217,30 +217,30 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "1ca707e6-80ff-4af9-ba4e-ff2f111930e0", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "b61e1457-d572-457c-b889-552363054132", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "99d60f85-a83c-48aa-9e29-c498cbb4c387", + "X-Ms-Correlation-Request-Id" : "1499bf97-e123-40a2-a960-b83d80b81d5f", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.05", + "x-ms-ratelimit-remaining-calls-per-second" : "331.666667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:35 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:37 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "ddf97dfc-def5-453b-98ae-3c96fa3aea38", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "013f2b30-7016-40a1-940d-53b2cb270e22", "Content-Type" : "application/vnd.oci.image.manifest.v1+json" }, "Response" : { @@ -249,46 +249,46 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 23 Feb 2023 23:11:35 GMT", - "Docker-Content-Digest" : "sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Date" : "Sat, 11 Mar 2023 00:31:38 GMT", + "Docker-Content-Digest" : "sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "88ea90c7-f4f1-40fd-8c85-ccbec8d42a3f", + "X-Ms-Correlation-Request-Id" : "fa57de9e-3350-45f5-91db-571fab0044d1", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "be116d2f-f784-4e08-a0bc-2cc21519ab6c", - "X-Ms-Client-Request-Id" : "ddf97dfc-def5-453b-98ae-3c96fa3aea38", + "X-Ms-Request-Id" : "c27602dd-9d4d-42a3-ba17-2fa998ebae20", + "X-Ms-Client-Request-Id" : "013f2b30-7016-40a1-940d-53b2cb270e22", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284" + "Location" : "/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "aefc0b3b-1112-419a-9ede-eb2af85adbb4", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "52f547ea-3f3e-4a03-ba8a-495508f5352b", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "88814a46-b229-429d-8aca-edd0f07548c9", + "X-Ms-Correlation-Request-Id" : "2d1fb4f0-806d-4c69-a8fc-3fd26e6a2c63", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "331.766667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.1", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:35 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:38 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "68cd8030-736c-46cc-b6fa-608fe334bcb9" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "dd9827c0-5e66-4094-8658-4fa85c71f6fb" }, "Response" : { "Server" : "openresty", @@ -296,17 +296,17 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 23 Feb 2023 23:11:35 GMT", - "Docker-Content-Digest" : "sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Date" : "Sat, 11 Mar 2023 00:31:38 GMT", + "Docker-Content-Digest" : "sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "7e36446b-d6d0-4d64-81b2-14c0f42ff7d8", + "X-Ms-Correlation-Request-Id" : "969bbde0-4f77-4e78-894a-577c2f112c21", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "311ff7b5-7217-4276-8038-625bd868fe37", - "X-Ms-Client-Request-Id" : "68cd8030-736c-46cc-b6fa-608fe334bcb9", - "Etag" : "\"sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284\"", + "X-Ms-Request-Id" : "833830ea-8b11-4c36-b9d7-72061e92003c", + "X-Ms-Client-Request-Id" : "dd9827c0-5e66-4094-8658-4fa85c71f6fb", + "Etag" : "\"sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598\"", "Content-Length" : "459", - "Body" : "{\"config\":{\"mediaType\":\"application/vnd.acme.rocket.config.v1+json\",\"size\":171,\"digest\":\"sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\"},\"layers\":[{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar\",\"size\":28,\"digest\":\"sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9\",\"annotations\":{\"org.opencontainers.image.ref.name\":\"654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed\"}}],\"schemaVersion\":2}", + "Body" : "{\"schemaVersion\":2,\"config\":{\"mediaType\":\"application/vnd.acme.rocket.config.v1+json\",\"size\":171,\"digest\":\"sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\"},\"layers\":[{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar\",\"size\":28,\"digest\":\"sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9\",\"annotations\":{\"org.opencontainers.image.ref.name\":\"654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed\"}}]}", "Content-Type" : "application/vnd.oci.image.manifest.v1+json" }, "Exception" : null @@ -314,21 +314,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "25197b29-52cc-43b4-83d4-5c6d7cfae2ad", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "83c66995-ad6b-4c8a-9685-887e994df9de", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "ed04f450-bb18-4db8-9e9a-cd0dcba318c4", + "X-Ms-Correlation-Request-Id" : "cd1136f4-7548-46e5-9dad-ff9f84d00ed9", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.033333", + "x-ms-ratelimit-remaining-calls-per-second" : "332.083333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:35 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:38 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -336,8 +336,8 @@ "Method" : "DELETE", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "60ab44e3-017c-467f-8e50-e1c2b08b24bf" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "e2d6366d-6b2a-4224-9724-d2f8553c4727" }, "Response" : { "Server" : "openresty", @@ -345,13 +345,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:11:35 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:38 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "ddc9a5f9-e1b0-4e0f-8a1c-6b3d55f743a9", + "X-Ms-Correlation-Request-Id" : "aa710a1e-1c32-4d87-ac27-c7e8e74e240a", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "e00bde41-37e8-4477-bd04-dd8d23d25645", - "X-Ms-Client-Request-Id" : "60ab44e3-017c-467f-8e50-e1c2b08b24bf", + "X-Ms-Request-Id" : "503267b2-c633-419d-8861-9605e21892aa", + "X-Ms-Client-Request-Id" : "e2d6366d-6b2a-4224-9724-d2f8553c4727", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "32.000000", "Content-Length" : "0" }, @@ -360,21 +360,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "d5109b46-c011-433d-8a1e-104b0f0b46d7", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "e9d052f4-2afb-4560-a5b7-6209eaf708a1", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "95f0c2b1-9d56-4d72-8102-77fbc50c87a2", + "X-Ms-Correlation-Request-Id" : "dc24f174-1ce7-40fe-82fc-f89bf567a702", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.016667", + "x-ms-ratelimit-remaining-calls-per-second" : "330.833333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:35 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:38 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -382,8 +382,8 @@ "Method" : "DELETE", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "e03aa90a-54e3-4dbf-922e-58550d498e0c" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "427e1cce-80ef-4946-a17f-3eee36a990c4" }, "Response" : { "Server" : "openresty", @@ -391,13 +391,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:11:35 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:38 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "36cd3666-889c-495a-b213-209042841272", + "X-Ms-Correlation-Request-Id" : "ad2280d2-e32d-4bc1-8670-aec2922ae12d", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "ce8fc525-1381-4d8b-bd0d-7d6b5debaad4", - "X-Ms-Client-Request-Id" : "e03aa90a-54e3-4dbf-922e-58550d498e0c", + "X-Ms-Request-Id" : "4aedcc49-eac8-4edb-9f85-ebacb8f2d451", + "X-Ms-Client-Request-Id" : "427e1cce-80ef-4946-a17f-3eee36a990c4", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "31.000000", "Content-Length" : "0" }, @@ -406,30 +406,30 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "2e2f15c2-6baa-47b0-8186-abae02776b2f", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "bf084343-653f-4655-8284-826e2ec2bc89", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "04d90a51-996e-445f-8551-14d11be2a799", + "X-Ms-Correlation-Request-Id" : "fac8bc9e-582a-4912-b9a5-19782957e968", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "331.85", + "x-ms-ratelimit-remaining-calls-per-second" : "332.066667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:35 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:38 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "bf9406f4-41e4-4eba-b02b-6f9be03a002e" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "5d923a44-69e8-4b27-8402-a5f7bf24b601" }, "Response" : { "Server" : "openresty", @@ -437,13 +437,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:11:36 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:38 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "45af2a4f-406e-4687-9516-421166c01c5c", + "X-Ms-Correlation-Request-Id" : "7a6f65a0-8f7b-41f6-b251-f67627f7481b", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "9439eb97-f473-45c7-a37e-cb7acb75c696", - "X-Ms-Client-Request-Id" : "bf9406f4-41e4-4eba-b02b-6f9be03a002e", + "X-Ms-Request-Id" : "50b4c6d7-8c57-4ca7-b93c-d0d0ffc3f3c7", + "X-Ms-Client-Request-Id" : "5d923a44-69e8-4b27-8402-a5f7bf24b601", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "30.000000", "Content-Length" : "0" }, diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadOciManifestViaOptions[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadOciManifestViaOptions[1].json index bc5cfbac4e4f..1b6ce8585595 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadOciManifestViaOptions[1].json +++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadOciManifestViaOptions[1].json @@ -3,21 +3,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "71730223-ffa6-44aa-98d8-48c97fa80f64", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "9402acce-d7af-4341-9d9e-d206ebc3336e", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "1d2cc0f7-226e-4165-b73f-ff219459b01c", + "X-Ms-Correlation-Request-Id" : "17f942ad-36fb-41c5-8aa7-d6459609a66a", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.316667", + "x-ms-ratelimit-remaining-calls-per-second" : "333.3", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"refresh_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:10:46 GMT", + "Date" : "Sat, 11 Mar 2023 00:30:47 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -25,21 +25,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "eae1eae9-b894-4b12-b5a0-f499ffd2c8f6", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "10c2e24c-3df1-495a-b085-a4b32bd39c26", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "41a5b254-be6b-4cf5-8270-9ae22cec26f3", + "X-Ms-Correlation-Request-Id" : "ee880176-1c67-4db5-b818-1edc0da08acf", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.316667", + "x-ms-ratelimit-remaining-calls-per-second" : "333.266667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:10:46 GMT", + "Date" : "Sat, 11 Mar 2023 00:30:47 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -47,8 +47,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "da44ec3f-6da1-45dd-a523-9b77060eed2c" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "1183aaf5-c051-496a-9537-ea69f5f6587b" }, "Response" : { "Server" : "openresty", @@ -57,46 +57,46 @@ "retry-after" : "0", "Range" : "0-0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:10:46 GMT", + "Date" : "Sat, 11 Mar 2023 00:30:47 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "c85a6c46-6fda-4fb4-9558-05b26ca091c3", + "X-Ms-Correlation-Request-Id" : "253f8298-b6b3-4e7b-adca-2a01329a14b5", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "a0de699a-036e-4f8b-a033-8793d0321548", - "X-Ms-Client-Request-Id" : "da44ec3f-6da1-45dd-a523-9b77060eed2c", - "Docker-Upload-Uuid" : "c5e7cfb8-7888-4136-b7be-ccb4dffcdfcc", + "X-Ms-Request-Id" : "abfc35d6-b862-49a7-985d-cfc1182e9310", + "X-Ms-Client-Request-Id" : "1183aaf5-c051-496a-9537-ea69f5f6587b", + "Docker-Upload-Uuid" : "31992124-b32f-4f0f-87b0-814a4cd356e0", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/c5e7cfb8-7888-4136-b7be-ccb4dffcdfcc?_nouploadcache=false&_state=t5gucdInFB3Rc_sPfqvcz2qpRWR2tenLNF2H7kb5cYt7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYzVlN2NmYjgtNzg4OC00MTM2LWI3YmUtY2NiNGRmZmNkZmNjIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTIzVDIzOjEwOjQ2Ljg2OTA4MjczMVoifQ%3D%3D" + "Location" : "/v2/oci-artifact/blobs/uploads/31992124-b32f-4f0f-87b0-814a4cd356e0?_nouploadcache=false&_state=ZwwNAeq939uDusfTu9KpABpXJfoYOmoK1eCi93OvEe57Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMzE5OTIxMjQtYjMyZi00ZjBmLTg3YjAtODE0YTRjZDM1NmUwIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMwOjQ3Ljg5MDEyMDkxM1oifQ%3D%3D" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "6f1f1cfb-e982-419f-9bd0-f602d497d5c9", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "ad0f6865-fd1a-49f5-b857-8db5ec56555d", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "c28cdfd2-93c8-4587-aa11-be0fa4e1e4c7", + "X-Ms-Correlation-Request-Id" : "89220064-25ac-41c2-99d2-18d7f4c91c23", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.3", + "x-ms-ratelimit-remaining-calls-per-second" : "333.283333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:10:46 GMT", + "Date" : "Sat, 11 Mar 2023 00:30:47 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/c5e7cfb8-7888-4136-b7be-ccb4dffcdfcc?_nouploadcache=false&_state=t5gucdInFB3Rc_sPfqvcz2qpRWR2tenLNF2H7kb5cYt7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYzVlN2NmYjgtNzg4OC00MTM2LWI3YmUtY2NiNGRmZmNkZmNjIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTIzVDIzOjEwOjQ2Ljg2OTA4MjczMVoifQ%3D%3D&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/31992124-b32f-4f0f-87b0-814a4cd356e0?_nouploadcache=false&_state=ZwwNAeq939uDusfTu9KpABpXJfoYOmoK1eCi93OvEe57Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMzE5OTIxMjQtYjMyZi00ZjBmLTg3YjAtODE0YTRjZDM1NmUwIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMwOjQ3Ljg5MDEyMDkxM1oifQ%3D%3D&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "e074632d-f722-4024-8c0a-ae548fca830b", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "43976402-0916-470a-aca3-f6c9f55e74b2", "Content-Type" : "application/octet-stream" }, "Response" : { @@ -105,14 +105,14 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 23 Feb 2023 23:10:47 GMT", + "Date" : "Sat, 11 Mar 2023 00:30:48 GMT", "Docker-Content-Digest" : "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "c0fb2db3-671c-4a5a-a4f0-dd4ece8cd90f", + "X-Ms-Correlation-Request-Id" : "ba3e5271-838f-43b9-933f-0ba5938e610b", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "b8c80ebd-3b98-411b-bb6f-bb11a45f2975", - "X-Ms-Client-Request-Id" : "e074632d-f722-4024-8c0a-ae548fca830b", + "X-Ms-Request-Id" : "14a932bd-8baf-48d8-995f-16b1694202bc", + "X-Ms-Client-Request-Id" : "43976402-0916-470a-aca3-f6c9f55e74b2", "Content-Length" : "0", "Location" : "/v2/oci-artifact/blobs/sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a" }, @@ -121,21 +121,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "b56e126b-a856-4820-92a8-0f7507cd569a", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "33084e5d-9d51-4af7-a5a6-2115f21e20b0", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "cb32307a-019b-4e89-a595-ba9ed657adf3", + "X-Ms-Correlation-Request-Id" : "eaca987a-b176-4244-8105-ec213395f674", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.3", + "x-ms-ratelimit-remaining-calls-per-second" : "333.25", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:10:47 GMT", + "Date" : "Sat, 11 Mar 2023 00:30:48 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -143,8 +143,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "6c542d4f-60df-4478-8700-887834a062b3" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "4e80b861-2132-46ae-b111-d432bdd514c9" }, "Response" : { "Server" : "openresty", @@ -153,46 +153,46 @@ "retry-after" : "0", "Range" : "0-0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:10:47 GMT", + "Date" : "Sat, 11 Mar 2023 00:30:48 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "f35ce4db-9cbc-44a7-b9cf-bd7bc72a66ce", + "X-Ms-Correlation-Request-Id" : "2ec837c8-969a-4566-875e-0584e7a1f012", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "f0cdf78c-ebf3-48ea-9de7-e858860caa1f", - "X-Ms-Client-Request-Id" : "6c542d4f-60df-4478-8700-887834a062b3", - "Docker-Upload-Uuid" : "4bd18693-9a6f-4375-bfee-4d4423fcb19b", + "X-Ms-Request-Id" : "fa0a64b2-939a-4d7d-9f91-54c8a63fe1c0", + "X-Ms-Client-Request-Id" : "4e80b861-2132-46ae-b111-d432bdd514c9", + "Docker-Upload-Uuid" : "0ae21f68-ef39-44e0-88a2-a52ad0222f97", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/4bd18693-9a6f-4375-bfee-4d4423fcb19b?_nouploadcache=false&_state=PNgz8sj3uPvYF4ch1OiW1x84KumLDFASJbacKi_C-Ql7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNGJkMTg2OTMtOWE2Zi00Mzc1LWJmZWUtNGQ0NDIzZmNiMTliIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTIzVDIzOjEwOjQ3LjI3ODE0NzgyWiJ9" + "Location" : "/v2/oci-artifact/blobs/uploads/0ae21f68-ef39-44e0-88a2-a52ad0222f97?_nouploadcache=false&_state=ZXjKXRnLGQqhfU6vQtJRyv1ZrsZnRuVYko1zGiinxAh7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMGFlMjFmNjgtZWYzOS00NGUwLTg4YTItYTUyYWQwMjIyZjk3IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMwOjQ4LjIxOTMwNDc5NFoifQ%3D%3D" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "35f18c78-95c1-428a-8c4d-d718e9acb050", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "a7a7df97-3cb9-4a88-831b-2d9f85c4d0eb", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "8f7dcc89-d0c5-43c7-a7a8-890e6c488f10", + "X-Ms-Correlation-Request-Id" : "587fd49b-7cd3-488f-a636-7e682b91b4a9", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.283333", + "x-ms-ratelimit-remaining-calls-per-second" : "333.266667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:10:47 GMT", + "Date" : "Sat, 11 Mar 2023 00:30:48 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/4bd18693-9a6f-4375-bfee-4d4423fcb19b?_nouploadcache=false&_state=PNgz8sj3uPvYF4ch1OiW1x84KumLDFASJbacKi_C-Ql7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNGJkMTg2OTMtOWE2Zi00Mzc1LWJmZWUtNGQ0NDIzZmNiMTliIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTIzVDIzOjEwOjQ3LjI3ODE0NzgyWiJ9&digest=sha256%3Ab94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/0ae21f68-ef39-44e0-88a2-a52ad0222f97?_nouploadcache=false&_state=ZXjKXRnLGQqhfU6vQtJRyv1ZrsZnRuVYko1zGiinxAh7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMGFlMjFmNjgtZWYzOS00NGUwLTg4YTItYTUyYWQwMjIyZjk3IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMwOjQ4LjIxOTMwNDc5NFoifQ%3D%3D&digest=sha256%3Ab94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "ff326ea6-850a-442e-87c5-b43c02ff1139", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "f966e9b4-dab2-4e1f-a72f-7d39e7243b73", "Content-Type" : "application/octet-stream" }, "Response" : { @@ -201,14 +201,14 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 23 Feb 2023 23:10:47 GMT", + "Date" : "Sat, 11 Mar 2023 00:30:48 GMT", "Docker-Content-Digest" : "sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "ba64f6fe-3b6a-4eb3-b55a-5aeacc37fae2", + "X-Ms-Correlation-Request-Id" : "61f4ca56-8942-42ee-bf9a-51d26ccafd8b", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "3355f1e0-c1ab-466c-9126-49f463a804ca", - "X-Ms-Client-Request-Id" : "ff326ea6-850a-442e-87c5-b43c02ff1139", + "X-Ms-Request-Id" : "d22123fb-3798-4b14-8195-f865148ef8c0", + "X-Ms-Client-Request-Id" : "f966e9b4-dab2-4e1f-a72f-7d39e7243b73", "Content-Length" : "0", "Location" : "/v2/oci-artifact/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9" }, @@ -217,30 +217,30 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "9d5bef46-4a98-45f4-9cf1-ecc3f2ef1f34", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "92e87771-78ff-484e-863d-5edc3fb82ef8", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "6cd2fe98-c872-4419-85d4-9f386ca88190", + "X-Ms-Correlation-Request-Id" : "c900583d-2cc7-44ec-85f1-771d9ef6b5a3", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.283333", + "x-ms-ratelimit-remaining-calls-per-second" : "333.233333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:10:47 GMT", + "Date" : "Sat, 11 Mar 2023 00:30:48 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "541a1d16-12c3-4c8e-b943-2e1db3704942", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "bec0adb6-21f1-44b1-9b99-839976dc3626", "Content-Type" : "application/vnd.oci.image.manifest.v1+json" }, "Response" : { @@ -249,46 +249,46 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 23 Feb 2023 23:10:47 GMT", - "Docker-Content-Digest" : "sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Date" : "Sat, 11 Mar 2023 00:30:48 GMT", + "Docker-Content-Digest" : "sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "087663eb-380d-45e2-86b3-73329f548e51", + "X-Ms-Correlation-Request-Id" : "ebea5ddb-8d73-455f-85a7-a4a3588dfc87", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "77b0e137-c9ce-41f7-bdf7-931b5847b711", - "X-Ms-Client-Request-Id" : "541a1d16-12c3-4c8e-b943-2e1db3704942", + "X-Ms-Request-Id" : "34b3a7a2-38d1-4bf3-b94e-87970933f41f", + "X-Ms-Client-Request-Id" : "bec0adb6-21f1-44b1-9b99-839976dc3626", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284" + "Location" : "/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "11429207-e430-4e6b-ab52-e40f4a30c088", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "f9e99da5-f341-4590-aff6-088ab5a54412", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "0b81c0bf-c5a7-46eb-b584-c38c85793d41", + "X-Ms-Correlation-Request-Id" : "855019fa-cf57-42be-b52a-3e5a6296f4be", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.266667", + "x-ms-ratelimit-remaining-calls-per-second" : "333.25", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:10:47 GMT", + "Date" : "Sat, 11 Mar 2023 00:30:48 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "2c2e3484-b947-4078-b6d0-8c0955029e78" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "d982598f-ba90-4b52-bb5a-cbdda82e1e8e" }, "Response" : { "Server" : "openresty", @@ -296,17 +296,17 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 23 Feb 2023 23:10:47 GMT", - "Docker-Content-Digest" : "sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Date" : "Sat, 11 Mar 2023 00:30:48 GMT", + "Docker-Content-Digest" : "sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "788cf0c1-4dbf-421f-b536-d7be141acb75", + "X-Ms-Correlation-Request-Id" : "b74e792e-ddb4-482e-a078-7ac4b938ecd3", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "112ee514-6ad2-4a78-b55f-cd339be52df1", - "X-Ms-Client-Request-Id" : "2c2e3484-b947-4078-b6d0-8c0955029e78", - "Etag" : "\"sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284\"", + "X-Ms-Request-Id" : "7583d553-17bb-4525-9adb-e09c4ced8b0e", + "X-Ms-Client-Request-Id" : "d982598f-ba90-4b52-bb5a-cbdda82e1e8e", + "Etag" : "\"sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598\"", "Content-Length" : "459", - "Body" : "{\"config\":{\"mediaType\":\"application/vnd.acme.rocket.config.v1+json\",\"size\":171,\"digest\":\"sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\"},\"layers\":[{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar\",\"size\":28,\"digest\":\"sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9\",\"annotations\":{\"org.opencontainers.image.ref.name\":\"654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed\"}}],\"schemaVersion\":2}", + "Body" : "{\"schemaVersion\":2,\"config\":{\"mediaType\":\"application/vnd.acme.rocket.config.v1+json\",\"size\":171,\"digest\":\"sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\"},\"layers\":[{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar\",\"size\":28,\"digest\":\"sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9\",\"annotations\":{\"org.opencontainers.image.ref.name\":\"654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed\"}}]}", "Content-Type" : "application/vnd.oci.image.manifest.v1+json" }, "Exception" : null @@ -314,21 +314,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "0ee7a32c-6125-499a-a1b2-7c1a94818299", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "297a0dbd-8885-44c0-9a5e-22593d7ae6e6", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "5be5959e-dbf1-4160-a57a-ffa7894617e6", + "X-Ms-Correlation-Request-Id" : "15006fce-7031-462c-b346-472823270fd7", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.266667", + "x-ms-ratelimit-remaining-calls-per-second" : "333.233333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:10:48 GMT", + "Date" : "Sat, 11 Mar 2023 00:30:48 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -336,8 +336,8 @@ "Method" : "DELETE", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "23d0bfec-10b6-403d-a354-3069bd2bb302" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "c658d5f6-7e00-490d-9630-35ef86b1aeef" }, "Response" : { "Server" : "openresty", @@ -345,13 +345,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:10:48 GMT", + "Date" : "Sat, 11 Mar 2023 00:30:49 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "a6b61633-8106-4ef8-aa6c-9f36deb2df8a", + "X-Ms-Correlation-Request-Id" : "20d54aff-2f75-458a-b642-a1e37bb07d66", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "8b2b9345-5a8e-4bbb-88eb-5a1235075897", - "X-Ms-Client-Request-Id" : "23d0bfec-10b6-403d-a354-3069bd2bb302", + "X-Ms-Request-Id" : "7e5c766d-1707-4c72-b2dd-9164df298674", + "X-Ms-Client-Request-Id" : "c658d5f6-7e00-490d-9630-35ef86b1aeef", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "32.000000", "Content-Length" : "0" }, @@ -360,21 +360,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "82d761f8-5656-4338-aff2-cac49783e4f1", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "eff5d08c-d8f9-4f6c-b570-e693b8ad5bdf", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "cb1f9362-c6e3-4732-ae2d-dd427818defa", + "X-Ms-Correlation-Request-Id" : "d94b3cc6-537c-4ce6-bd47-9354b8190b8e", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.25", + "x-ms-ratelimit-remaining-calls-per-second" : "333.316667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:10:48 GMT", + "Date" : "Sat, 11 Mar 2023 00:30:49 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -382,8 +382,8 @@ "Method" : "DELETE", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "36b8093c-37f8-4df2-9708-93043d4c8de4" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "4ccdae64-4846-4d6c-b511-ec78db93d167" }, "Response" : { "Server" : "openresty", @@ -391,13 +391,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:10:48 GMT", + "Date" : "Sat, 11 Mar 2023 00:30:49 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "a9ab0acb-7f7e-46f3-a1b2-a4229a13c8ac", + "X-Ms-Correlation-Request-Id" : "e03b2a4b-7b2a-412b-a1f7-05161d140ce0", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "d3e8fd39-3c8e-4363-a5b4-47b9f73ff2a2", - "X-Ms-Client-Request-Id" : "36b8093c-37f8-4df2-9708-93043d4c8de4", + "X-Ms-Request-Id" : "1906ee23-5c40-4e73-8693-f230d49bc027", + "X-Ms-Client-Request-Id" : "4ccdae64-4846-4d6c-b511-ec78db93d167", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "31.000000", "Content-Length" : "0" }, @@ -406,30 +406,30 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "925a8068-660d-476c-a517-8907e383c2ec", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "ac22026e-0dff-4010-8501-e4ee66e83994", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "90f7d02e-f9ca-4fa4-aef1-d992f05af1a3", + "X-Ms-Correlation-Request-Id" : "db0e29ae-98e9-4526-828a-66d247705ae9", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.233333", + "x-ms-ratelimit-remaining-calls-per-second" : "333.283333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:10:48 GMT", + "Date" : "Sat, 11 Mar 2023 00:30:49 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "2ab69bae-e840-4d94-a9f9-642301cba449" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "024451ec-9ec3-4f70-988b-d6ce94d1e674" }, "Response" : { "Server" : "openresty", @@ -437,13 +437,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:10:48 GMT", + "Date" : "Sat, 11 Mar 2023 00:30:49 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "6849396e-3522-4931-b0b2-1dd67421c743", + "X-Ms-Correlation-Request-Id" : "031ceb76-1c65-459c-898b-1b3c3137fc2d", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "1272e20e-7828-4282-b375-4120e97aaca8", - "X-Ms-Client-Request-Id" : "2ab69bae-e840-4d94-a9f9-642301cba449", + "X-Ms-Request-Id" : "eacf60a1-147e-4189-889b-d3caff78d80a", + "X-Ms-Client-Request-Id" : "024451ec-9ec3-4f70-988b-d6ce94d1e674", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "30.000000", "Content-Length" : "0" }, diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadOciManifestWithTag[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadOciManifestWithTag[1].json index 320bac6f5502..f92a0f699b0c 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadOciManifestWithTag[1].json +++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadOciManifestWithTag[1].json @@ -3,21 +3,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "9f301635-7f40-4756-b1dd-68c086fb5694", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "a33c3666-9d2f-4d2e-b344-94ac4951baf4", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "fd3b92f6-3e76-43df-90b4-21f9f37a4faf", + "X-Ms-Correlation-Request-Id" : "2a91734c-0c84-4b84-b6d2-0f668e2738eb", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.7", + "x-ms-ratelimit-remaining-calls-per-second" : "332.6", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"refresh_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:10 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:08 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -25,21 +25,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "c223d854-c0bc-4a9a-b624-7a2fba523640", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "c3a80610-69f4-4f2e-bfa6-cfc5d6569c08", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "8aff6bfa-7d9b-4cc6-8576-e4200373cc0f", + "X-Ms-Correlation-Request-Id" : "cc1962de-4d84-4c9b-9262-f03749de7354", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.766667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.816667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:10 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:08 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -47,8 +47,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "0e604d4d-2307-43eb-806d-1b70e25ffe7b" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "d96ce16f-c2dd-4eea-b7d2-6cd6b0a9c91f" }, "Response" : { "Server" : "openresty", @@ -57,46 +57,46 @@ "retry-after" : "0", "Range" : "0-0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:11:10 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:08 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "2d05cefd-86d7-4fb5-9e67-91fa367da604", + "X-Ms-Correlation-Request-Id" : "58823880-dddb-4c7b-ba6e-773ecfe1ff8b", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "6da7f814-7eac-4d50-aaa3-21985799e7b8", - "X-Ms-Client-Request-Id" : "0e604d4d-2307-43eb-806d-1b70e25ffe7b", - "Docker-Upload-Uuid" : "f0b12098-4fd2-42fd-b3a5-eb6903873206", + "X-Ms-Request-Id" : "1652e4d6-b8dd-4bfe-afba-679c7fe3c58b", + "X-Ms-Client-Request-Id" : "d96ce16f-c2dd-4eea-b7d2-6cd6b0a9c91f", + "Docker-Upload-Uuid" : "97264bf4-e854-4f54-ba32-91a09e8185ee", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/f0b12098-4fd2-42fd-b3a5-eb6903873206?_nouploadcache=false&_state=NDEem3X1Yw10LZ9YGlQdUUdOWn8futg2JPlvVuHyVLl7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZjBiMTIwOTgtNGZkMi00MmZkLWIzYTUtZWI2OTAzODczMjA2IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTIzVDIzOjExOjEwLjg1MjYwODI3OVoifQ%3D%3D" + "Location" : "/v2/oci-artifact/blobs/uploads/97264bf4-e854-4f54-ba32-91a09e8185ee?_nouploadcache=false&_state=Aw8KjNl2JjE_DXG0keMDZj34UGIDU_8UZztOOQsJOMN7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiOTcyNjRiZjQtZTg1NC00ZjU0LWJhMzItOTFhMDllODE4NWVlIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjA4Ljc2NTQ1MjYwOVoifQ%3D%3D" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "482cedfe-922a-4728-82e1-9bad4d4c37b9", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "0049973a-5b25-4c8a-aacd-000dc84d856c", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "5a844f87-e6c9-4226-8599-6cc102533c33", + "X-Ms-Correlation-Request-Id" : "b14ab82c-7b40-4d75-9a14-ab9568e66718", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.683333", + "x-ms-ratelimit-remaining-calls-per-second" : "332.583333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:10 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:08 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/f0b12098-4fd2-42fd-b3a5-eb6903873206?_nouploadcache=false&_state=NDEem3X1Yw10LZ9YGlQdUUdOWn8futg2JPlvVuHyVLl7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZjBiMTIwOTgtNGZkMi00MmZkLWIzYTUtZWI2OTAzODczMjA2IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTIzVDIzOjExOjEwLjg1MjYwODI3OVoifQ%3D%3D&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/97264bf4-e854-4f54-ba32-91a09e8185ee?_nouploadcache=false&_state=Aw8KjNl2JjE_DXG0keMDZj34UGIDU_8UZztOOQsJOMN7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiOTcyNjRiZjQtZTg1NC00ZjU0LWJhMzItOTFhMDllODE4NWVlIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjA4Ljc2NTQ1MjYwOVoifQ%3D%3D&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "96ed27be-9ab4-47c1-a2af-9882828cbe01", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "2d3f2933-d493-4cc8-ada7-7645b844eef0", "Content-Type" : "application/octet-stream" }, "Response" : { @@ -105,14 +105,14 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 23 Feb 2023 23:11:11 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:09 GMT", "Docker-Content-Digest" : "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "73de553a-47a9-4bf7-aaa1-2fff4a16faad", + "X-Ms-Correlation-Request-Id" : "ea4ce79b-f598-4bce-8290-c11c991a3517", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "5284fe6d-2c9f-42d8-90fd-3df5510fa884", - "X-Ms-Client-Request-Id" : "96ed27be-9ab4-47c1-a2af-9882828cbe01", + "X-Ms-Request-Id" : "e9ad71ba-cc38-41fe-8114-9208e3b49a34", + "X-Ms-Client-Request-Id" : "2d3f2933-d493-4cc8-ada7-7645b844eef0", "Content-Length" : "0", "Location" : "/v2/oci-artifact/blobs/sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a" }, @@ -121,21 +121,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "e6643a1b-4787-4a04-9fe0-a9b4deabc9ed", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "0081f5c5-f474-4e08-9b14-bd790494d073", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "ef4537a0-b649-4d7d-8a47-ae23641bb23c", + "X-Ms-Correlation-Request-Id" : "8238d58a-bef9-4a4d-9f10-d6a6c20df10f", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.75", + "x-ms-ratelimit-remaining-calls-per-second" : "332.8", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:11 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:09 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -143,8 +143,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "8dd755fa-63ba-4d40-b86c-04ce1ec62a15" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "38c6ea43-df5b-4c7f-abd1-9bbeb13fbdca" }, "Response" : { "Server" : "openresty", @@ -153,46 +153,46 @@ "retry-after" : "0", "Range" : "0-0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:11:11 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:09 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "d2db060f-aeee-4eee-b4d9-f1c384aa0cab", + "X-Ms-Correlation-Request-Id" : "ba08f1e0-38f1-45eb-92dd-bfc012f8aae8", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "28ad51ce-a14d-4b5f-bbc0-74fbb60ab4b9", - "X-Ms-Client-Request-Id" : "8dd755fa-63ba-4d40-b86c-04ce1ec62a15", - "Docker-Upload-Uuid" : "976e515d-ae92-4c2c-a9ac-13f8dae5d0ae", + "X-Ms-Request-Id" : "3cfcd2ec-90cf-4505-b6be-b2c4d59c0bbd", + "X-Ms-Client-Request-Id" : "38c6ea43-df5b-4c7f-abd1-9bbeb13fbdca", + "Docker-Upload-Uuid" : "a9b14a47-e36f-4d9d-a681-74eae2cc5ddb", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/976e515d-ae92-4c2c-a9ac-13f8dae5d0ae?_nouploadcache=false&_state=rE5LMxuWlEngxfLeQvzttln7i6N7p0_sVKKiH_gEk9B7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiOTc2ZTUxNWQtYWU5Mi00YzJjLWE5YWMtMTNmOGRhZTVkMGFlIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTIzVDIzOjExOjExLjE1NzUxMjAxOVoifQ%3D%3D" + "Location" : "/v2/oci-artifact/blobs/uploads/a9b14a47-e36f-4d9d-a681-74eae2cc5ddb?_nouploadcache=false&_state=OjtyeTfOB6wfEniMyOAyvznQrGFujXmFUiT-wRXV8Dd7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYTliMTRhNDctZTM2Zi00ZDlkLWE2ODEtNzRlYWUyY2M1ZGRiIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjA5LjI1MTkxNzY5OFoifQ%3D%3D" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "49693720-d640-443a-a9ad-be17eaf708f6", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "9fe4ebae-28fa-43d6-a24e-81517d487e13", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "0b305508-1e44-4659-8619-ae1ab25b13d7", + "X-Ms-Correlation-Request-Id" : "3843a45b-e423-4b63-802e-fb61dbbb62f6", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.666667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.566667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:11 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:09 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/976e515d-ae92-4c2c-a9ac-13f8dae5d0ae?_nouploadcache=false&_state=rE5LMxuWlEngxfLeQvzttln7i6N7p0_sVKKiH_gEk9B7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiOTc2ZTUxNWQtYWU5Mi00YzJjLWE5YWMtMTNmOGRhZTVkMGFlIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTIzVDIzOjExOjExLjE1NzUxMjAxOVoifQ%3D%3D&digest=sha256%3Ab94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/a9b14a47-e36f-4d9d-a681-74eae2cc5ddb?_nouploadcache=false&_state=OjtyeTfOB6wfEniMyOAyvznQrGFujXmFUiT-wRXV8Dd7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYTliMTRhNDctZTM2Zi00ZDlkLWE2ODEtNzRlYWUyY2M1ZGRiIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjA5LjI1MTkxNzY5OFoifQ%3D%3D&digest=sha256%3Ab94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "9d36edb5-48a8-4e67-bd2a-8bc5740cf2c3", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "8567c77b-e623-4649-b088-310255c42921", "Content-Type" : "application/octet-stream" }, "Response" : { @@ -201,14 +201,14 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 23 Feb 2023 23:11:11 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:09 GMT", "Docker-Content-Digest" : "sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "a9d609b9-4ec1-43aa-a5c9-94f8ea95d5df", + "X-Ms-Correlation-Request-Id" : "787ff05d-0f39-4563-ad10-9ab60dcdcb23", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "dd4f7a56-a0f6-4321-b525-b8b9d1033163", - "X-Ms-Client-Request-Id" : "9d36edb5-48a8-4e67-bd2a-8bc5740cf2c3", + "X-Ms-Request-Id" : "511a9a02-ae1f-4d61-ab44-82e8902b2edd", + "X-Ms-Client-Request-Id" : "8567c77b-e623-4649-b088-310255c42921", "Content-Length" : "0", "Location" : "/v2/oci-artifact/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9" }, @@ -217,21 +217,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "634f2d1f-1762-4a72-8888-1c4597ff47c3", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "9bf9c580-11a6-401b-a94e-5d57adc9f778", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "6e5aba05-29e1-4183-b001-ae3d523e7e77", + "X-Ms-Correlation-Request-Id" : "52c2826a-ab6a-4596-b70e-d7a6c6292c70", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.733333", + "x-ms-ratelimit-remaining-calls-per-second" : "332.783333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:11 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:09 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -239,8 +239,8 @@ "Method" : "PUT", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/v1", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "d7d62a19-4166-4546-8e35-fb95df05cf97", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "45a2ff6f-75ca-4fa3-8d88-465ad18bbe7a", "Content-Type" : "application/vnd.oci.image.manifest.v1+json" }, "Response" : { @@ -249,46 +249,46 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 23 Feb 2023 23:11:11 GMT", - "Docker-Content-Digest" : "sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Date" : "Sat, 11 Mar 2023 00:31:09 GMT", + "Docker-Content-Digest" : "sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "433a2464-7953-4101-8a65-d97db021054d", + "X-Ms-Correlation-Request-Id" : "7d883de2-e91e-426c-914a-f4cd3d7c4ab1", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "19dfd063-57b8-427f-b38d-8d601825b288", - "X-Ms-Client-Request-Id" : "d7d62a19-4166-4546-8e35-fb95df05cf97", + "X-Ms-Request-Id" : "6663f671-24f9-4900-8a32-7bc18eb9ddac", + "X-Ms-Client-Request-Id" : "45a2ff6f-75ca-4fa3-8d88-465ad18bbe7a", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284" + "Location" : "/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "4898a81a-01a6-4993-8e89-5e44ca252b50", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "d0a5f171-9972-491f-8e8d-8819593fd2c1", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "238552e3-c890-4187-8e45-a77fcb762aa7", + "X-Ms-Correlation-Request-Id" : "0d828cdb-2194-44c1-9c5d-97b02a46a173", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.65", + "x-ms-ratelimit-remaining-calls-per-second" : "332.533333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:11 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:09 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "6ca1086c-05bc-480a-ba7f-f3812cbf8e12" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "9f2b7231-8047-41f4-8540-6b78f56aece3" }, "Response" : { "Server" : "openresty", @@ -296,17 +296,17 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 23 Feb 2023 23:11:11 GMT", - "Docker-Content-Digest" : "sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Date" : "Sat, 11 Mar 2023 00:31:09 GMT", + "Docker-Content-Digest" : "sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "e9559f2c-d771-4843-a21f-c0037be681d0", + "X-Ms-Correlation-Request-Id" : "1c300b90-96de-4719-a5c4-ae5f44ec53dd", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "2b410104-a3d1-45b6-8055-5bf392804188", - "X-Ms-Client-Request-Id" : "6ca1086c-05bc-480a-ba7f-f3812cbf8e12", - "Etag" : "\"sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284\"", + "X-Ms-Request-Id" : "54e617f5-7e38-4b34-9538-927a4fc3852d", + "X-Ms-Client-Request-Id" : "9f2b7231-8047-41f4-8540-6b78f56aece3", + "Etag" : "\"sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598\"", "Content-Length" : "459", - "Body" : "{\"config\":{\"mediaType\":\"application/vnd.acme.rocket.config.v1+json\",\"size\":171,\"digest\":\"sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\"},\"layers\":[{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar\",\"size\":28,\"digest\":\"sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9\",\"annotations\":{\"org.opencontainers.image.ref.name\":\"654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed\"}}],\"schemaVersion\":2}", + "Body" : "{\"schemaVersion\":2,\"config\":{\"mediaType\":\"application/vnd.acme.rocket.config.v1+json\",\"size\":171,\"digest\":\"sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\"},\"layers\":[{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar\",\"size\":28,\"digest\":\"sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9\",\"annotations\":{\"org.opencontainers.image.ref.name\":\"654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed\"}}]}", "Content-Type" : "application/vnd.oci.image.manifest.v1+json" }, "Exception" : null @@ -314,21 +314,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "360dd4f3-182a-43ed-8a06-5d3628c676a4", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "05cdfca4-912a-4282-aa2c-b201ea9a0982", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "f321df41-a746-412d-9099-27f25e4cc2b1", + "X-Ms-Correlation-Request-Id" : "e9f5950c-d7d3-49d0-b37f-f5dd5cedeaaa", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.716667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.516667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"refresh_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:12 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:10 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -336,30 +336,30 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "a44659d9-7c06-460f-a5ba-dee3e17a346b", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "7695bd10-7c9d-4b61-b344-a5f80828a1ad", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "c43f6308-cc8a-48ef-82af-cd668c7c6070", + "X-Ms-Correlation-Request-Id" : "d21d718f-ab4c-4195-89ea-2ab7911b2f57", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.633333", + "x-ms-ratelimit-remaining-calls-per-second" : "332.483333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:12 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:10 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.azurecr.io/acr/v1/oci-artifact/_tags?digest=sha256%3Af1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284&api-version=2021-07-01", + "Uri" : "https://REDACTED.azurecr.io/acr/v1/oci-artifact/_tags?digest=sha256%3A492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598&api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "d5e68b5f-6f83-4246-8295-f44c13759a83" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "d91f7a25-9877-44b7-8eda-db6faef45d02" }, "Response" : { "Server" : "openresty", @@ -367,13 +367,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 23 Feb 2023 23:11:12 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:10 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "70c75956-6a4e-4daf-bd19-dedd71db13ae", + "X-Ms-Correlation-Request-Id" : "234effa5-0400-4402-85bb-5822eef9e623", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", "Content-Length" : "384", - "Body" : "{\"registry\":\"limolkovaacr.azurecr.io\",\"imageName\":\"oci-artifact\",\"tags\":[{\"name\":\"v1\",\"digest\":\"sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284\",\"createdTime\":\"2023-02-23T23:11:11.5853371Z\",\"lastUpdateTime\":\"2023-02-23T23:11:11.5853371Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n", + "Body" : "{\"registry\":\"limolkovaacr.azurecr.io\",\"imageName\":\"oci-artifact\",\"tags\":[{\"name\":\"v1\",\"digest\":\"sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598\",\"createdTime\":\"2023-03-11T00:31:09.6828433Z\",\"lastUpdateTime\":\"2023-03-11T00:31:09.6828433Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -381,30 +381,30 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "5a7f17ee-2b1c-4323-9f31-064f2aa2f211", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "73a69834-15c8-43b0-8cab-fcec1c247ed5", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "304f9798-381d-44bf-8d84-34e6ae629dc9", + "X-Ms-Correlation-Request-Id" : "3dab441a-a8e8-4600-9d53-33e1cb27c395", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.7", + "x-ms-ratelimit-remaining-calls-per-second" : "332.466667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:12 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:10 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.azurecr.io/acr/v1/oci-artifact/_tags?digest=sha256%3Af1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284&api-version=2021-07-01", + "Uri" : "https://REDACTED.azurecr.io/acr/v1/oci-artifact/_tags?digest=sha256%3A492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598&api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "bfe0af58-208c-4ac5-9053-d6381ede810d" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "e8445f48-0051-42f3-9d33-e86412a13dbf" }, "Response" : { "Server" : "openresty", @@ -412,13 +412,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 23 Feb 2023 23:11:12 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:10 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "14702998-d349-469f-8da9-7df082e05f49", + "X-Ms-Correlation-Request-Id" : "2513932b-6f3d-4d6b-a8de-4ddf31954a50", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", "Content-Length" : "384", - "Body" : "{\"registry\":\"limolkovaacr.azurecr.io\",\"imageName\":\"oci-artifact\",\"tags\":[{\"name\":\"v1\",\"digest\":\"sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284\",\"createdTime\":\"2023-02-23T23:11:11.5853371Z\",\"lastUpdateTime\":\"2023-02-23T23:11:11.5853371Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n", + "Body" : "{\"registry\":\"limolkovaacr.azurecr.io\",\"imageName\":\"oci-artifact\",\"tags\":[{\"name\":\"v1\",\"digest\":\"sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598\",\"createdTime\":\"2023-03-11T00:31:09.6828433Z\",\"lastUpdateTime\":\"2023-03-11T00:31:09.6828433Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -426,21 +426,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "b9b27ef2-40e7-4001-bf9c-b8ab74e47488", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "19f8af06-707c-4624-b233-df6dd020bccf", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "2729478c-38d5-40d4-b64a-521536f431c6", + "X-Ms-Correlation-Request-Id" : "2e1b3688-dccb-4c5e-9a6f-a44537cc74f4", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.616667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.45", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:12 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:10 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -448,8 +448,8 @@ "Method" : "DELETE", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "3d60ca30-3155-45f5-8983-d0a5f2bd8e2d" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "e8a7fbe4-2388-4566-8fac-f9a71dec6c21" }, "Response" : { "Server" : "openresty", @@ -457,13 +457,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:11:12 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:10 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "e3b04f5b-55f2-4fc2-8feb-1acaa42bfb9e", + "X-Ms-Correlation-Request-Id" : "8df1e94f-6d1b-4a45-8516-33c5b06ba74a", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "dad22234-b9b0-4a85-9b7a-8841bd9e431e", - "X-Ms-Client-Request-Id" : "3d60ca30-3155-45f5-8983-d0a5f2bd8e2d", + "X-Ms-Request-Id" : "155392b7-22ce-4094-a48f-1071ddb35644", + "X-Ms-Client-Request-Id" : "e8a7fbe4-2388-4566-8fac-f9a71dec6c21", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "32.000000", "Content-Length" : "0" }, @@ -472,21 +472,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "e1d694c6-e4c7-4bf8-baee-390f527bfb04", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "9e876d9c-df6a-4b35-a45f-526c7fda1fa2", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "7839eff6-3e76-457c-b55b-6c092765814b", + "X-Ms-Correlation-Request-Id" : "59a11972-4580-44c1-b43b-bf5e06ee8d1b", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.6", + "x-ms-ratelimit-remaining-calls-per-second" : "332.433333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:12 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:10 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -494,8 +494,8 @@ "Method" : "DELETE", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "fd5c4742-4b9e-468d-b7b0-714def4cd8f7" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "d405346d-6bfa-4013-b172-59ee087fc7e0" }, "Response" : { "Server" : "openresty", @@ -503,13 +503,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:11:13 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:10 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "dc72d95f-d882-4648-92ba-b5a3e11f2292", + "X-Ms-Correlation-Request-Id" : "3fc6e17a-e759-43c5-b08c-7b8d9a9a48a3", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "72fec97e-222b-4e60-893e-ff47a5379988", - "X-Ms-Client-Request-Id" : "fd5c4742-4b9e-468d-b7b0-714def4cd8f7", + "X-Ms-Request-Id" : "3be8772a-418f-42e3-a553-7def07e53a86", + "X-Ms-Client-Request-Id" : "d405346d-6bfa-4013-b172-59ee087fc7e0", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "31.000000", "Content-Length" : "0" }, @@ -518,30 +518,30 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "beb168a6-a962-450c-b885-3b04a15f5dc0", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "be2d651f-51ea-497e-8fc2-f3421fba30df", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "19227f0f-4438-421d-86e9-7f14db56beea", + "X-Ms-Correlation-Request-Id" : "d26f9a5b-2998-4732-bf35-63ae86cea8d8", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.683333", + "x-ms-ratelimit-remaining-calls-per-second" : "332.616667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:13 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:10 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "67a81cd2-da02-44fc-9061-e5ecdd948a37" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "05f372a6-ff87-43ec-8395-e001cc816699" }, "Response" : { "Server" : "openresty", @@ -549,13 +549,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:11:13 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:11 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "3f385acc-a2e0-4c2b-9dc4-1b028281a117", + "X-Ms-Correlation-Request-Id" : "795f077d-37c4-4ee3-8ddc-fe3c0a4285f5", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "d4763874-a091-4716-b0df-02257d6d0662", - "X-Ms-Client-Request-Id" : "67a81cd2-da02-44fc-9061-e5ecdd948a37", + "X-Ms-Request-Id" : "4fb626c7-2700-48d3-bb2e-363e96bef0f3", + "X-Ms-Client-Request-Id" : "05f372a6-ff87-43ec-8395-e001cc816699", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "30.000000", "Content-Length" : "0" }, diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadOciManifest[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadOciManifest[1].json index 5f0da6a9804c..af8f6d7e7015 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadOciManifest[1].json +++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.canUploadOciManifest[1].json @@ -3,21 +3,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "df82ebba-e741-4392-833f-511d32862905", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "736522a6-5072-4c61-b2a4-25bffeacad34", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "649c1bd3-29a1-4cae-84b6-66432887449e", + "X-Ms-Correlation-Request-Id" : "1bbd574b-d08b-49ad-90ec-0fa708980929", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.583333", + "x-ms-ratelimit-remaining-calls-per-second" : "332.716667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"refresh_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:16 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:14 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -25,21 +25,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "9bbb9565-8610-47f0-9ff5-bb035e3ea6d6", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "a8a8349a-19a7-4bba-84d7-c93c113428d5", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "e67c85de-987a-493b-9a7f-95ba3e2a8370", + "X-Ms-Correlation-Request-Id" : "e5d7707a-5f59-4aae-871e-a7c358055a3e", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.683333", + "x-ms-ratelimit-remaining-calls-per-second" : "332.483333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:16 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:14 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -47,8 +47,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "6e19a010-ab68-41c3-a0b9-7554d1292742" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "a9d81113-f15e-4432-9188-47389c22b88e" }, "Response" : { "Server" : "openresty", @@ -57,46 +57,46 @@ "retry-after" : "0", "Range" : "0-0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:11:16 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:14 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "9803134c-a7e4-4cd4-9432-c11cb1cd664f", + "X-Ms-Correlation-Request-Id" : "d4ae3aaa-3803-4620-8d03-7e607cdc5805", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "f68ea95a-ce84-4e12-8972-20eaea4ca4f7", - "X-Ms-Client-Request-Id" : "6e19a010-ab68-41c3-a0b9-7554d1292742", - "Docker-Upload-Uuid" : "5102081d-b8ae-4340-90df-b6ce95ae9dfe", + "X-Ms-Request-Id" : "cee4a88f-5376-41d6-988e-6d965c609f95", + "X-Ms-Client-Request-Id" : "a9d81113-f15e-4432-9188-47389c22b88e", + "Docker-Upload-Uuid" : "a44a0552-407e-4cae-9adf-1a840bb5ce5c", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/5102081d-b8ae-4340-90df-b6ce95ae9dfe?_nouploadcache=false&_state=9eEU3s7JM1S_F9RFV-8oXovxWEwCXeuPsENCKy47s7R7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNTEwMjA4MWQtYjhhZS00MzQwLTkwZGYtYjZjZTk1YWU5ZGZlIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTIzVDIzOjExOjE2LjM0MDE2ODI0OFoifQ%3D%3D" + "Location" : "/v2/oci-artifact/blobs/uploads/a44a0552-407e-4cae-9adf-1a840bb5ce5c?_nouploadcache=false&_state=cOKwqvQ48xFH3YdlyjJpQztpNvbHeRh5lQRZjUn5psx7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYTQ0YTA1NTItNDA3ZS00Y2FlLTlhZGYtMWE4NDBiYjVjZTVjIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjE0LjMzNTQ2NzM2WiJ9" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "58c75525-cfc6-4bbf-bc2c-69cc7a5c5da2", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "49cbcd07-d802-4823-b516-a5967ced1b77", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "40179557-cfa0-4bce-a6e3-edf08ccd0df7", + "X-Ms-Correlation-Request-Id" : "6d4663a6-5e78-483c-8676-3998dd724817", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.566667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.7", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:16 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:14 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/5102081d-b8ae-4340-90df-b6ce95ae9dfe?_nouploadcache=false&_state=9eEU3s7JM1S_F9RFV-8oXovxWEwCXeuPsENCKy47s7R7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNTEwMjA4MWQtYjhhZS00MzQwLTkwZGYtYjZjZTk1YWU5ZGZlIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTIzVDIzOjExOjE2LjM0MDE2ODI0OFoifQ%3D%3D&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/a44a0552-407e-4cae-9adf-1a840bb5ce5c?_nouploadcache=false&_state=cOKwqvQ48xFH3YdlyjJpQztpNvbHeRh5lQRZjUn5psx7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYTQ0YTA1NTItNDA3ZS00Y2FlLTlhZGYtMWE4NDBiYjVjZTVjIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjE0LjMzNTQ2NzM2WiJ9&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "623ae83e-add6-45e5-b5d8-8e3c690f061c", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "70f752d1-a1a7-4f90-ba28-ef61d28f374e", "Content-Type" : "application/octet-stream" }, "Response" : { @@ -105,14 +105,14 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 23 Feb 2023 23:11:16 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:14 GMT", "Docker-Content-Digest" : "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "03884c46-7da8-46e2-8c57-79543f8b1fc1", + "X-Ms-Correlation-Request-Id" : "361f2c32-9df7-40cd-9496-eb5909f08363", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "38f3cc08-b28a-4ab9-a75d-533447767e0f", - "X-Ms-Client-Request-Id" : "623ae83e-add6-45e5-b5d8-8e3c690f061c", + "X-Ms-Request-Id" : "b1e870ed-d1f3-4fb4-bba7-bfe576ac609a", + "X-Ms-Client-Request-Id" : "70f752d1-a1a7-4f90-ba28-ef61d28f374e", "Content-Length" : "0", "Location" : "/v2/oci-artifact/blobs/sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a" }, @@ -121,21 +121,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "dd2d5037-9ca3-4e3c-955c-7f0b0f1576c8", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "40611a97-b6e6-4199-9457-b3386a28adac", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "032ad192-74d4-451e-8985-f056e2ddd751", + "X-Ms-Correlation-Request-Id" : "159f1cad-baa0-4d91-9cc2-8434d608ed3a", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.15", + "x-ms-ratelimit-remaining-calls-per-second" : "332.466667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:16 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:14 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -143,8 +143,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "9127b649-cf65-4e7a-86b6-c82c5dd20d67" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "3359679f-012d-499a-bb54-310f21bb9a25" }, "Response" : { "Server" : "openresty", @@ -153,46 +153,46 @@ "retry-after" : "0", "Range" : "0-0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:11:16 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:14 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "fc13f34e-96e9-434a-b182-9fbaefaaffc1", + "X-Ms-Correlation-Request-Id" : "f4e8a160-c2b4-48f2-924b-960e77953169", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "b0e01699-4704-428d-bf18-6664dd8a9f7e", - "X-Ms-Client-Request-Id" : "9127b649-cf65-4e7a-86b6-c82c5dd20d67", - "Docker-Upload-Uuid" : "cab2c935-f440-40e9-814b-676108688bf2", + "X-Ms-Request-Id" : "6cd2cb6e-4da5-4536-b072-7e06aafddfcd", + "X-Ms-Client-Request-Id" : "3359679f-012d-499a-bb54-310f21bb9a25", + "Docker-Upload-Uuid" : "7e7aa8c6-467a-400d-ab44-428465ceb762", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/cab2c935-f440-40e9-814b-676108688bf2?_nouploadcache=false&_state=8bCjRQOuo2siI50CR4q5b0c4VeNwlBMFQoKwy9opYHB7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiY2FiMmM5MzUtZjQ0MC00MGU5LTgxNGItNjc2MTA4Njg4YmYyIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTIzVDIzOjExOjE2LjY3Mjg5Nzg0M1oifQ%3D%3D" + "Location" : "/v2/oci-artifact/blobs/uploads/7e7aa8c6-467a-400d-ab44-428465ceb762?_nouploadcache=false&_state=ssml5fmfJDnmB545S8mdCaM0Zvg_Z4WEksWuPjmZIFp7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiN2U3YWE4YzYtNDY3YS00MDBkLWFiNDQtNDI4NDY1Y2ViNzYyIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjE0LjY1MjAxNjUzOVoifQ%3D%3D" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "d6fc59ab-91bd-436f-af3e-8271826f3e0d", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "3455d325-c39c-4647-9576-3584df4484e3", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "6798ff55-4cba-4db5-a121-a2fbbdcd9709", + "X-Ms-Correlation-Request-Id" : "755e76f4-b488-49c7-b8a7-0dd0da0439fe", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.55", + "x-ms-ratelimit-remaining-calls-per-second" : "332.683333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:16 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:14 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/cab2c935-f440-40e9-814b-676108688bf2?_nouploadcache=false&_state=8bCjRQOuo2siI50CR4q5b0c4VeNwlBMFQoKwy9opYHB7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiY2FiMmM5MzUtZjQ0MC00MGU5LTgxNGItNjc2MTA4Njg4YmYyIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTIzVDIzOjExOjE2LjY3Mjg5Nzg0M1oifQ%3D%3D&digest=sha256%3Ab94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/7e7aa8c6-467a-400d-ab44-428465ceb762?_nouploadcache=false&_state=ssml5fmfJDnmB545S8mdCaM0Zvg_Z4WEksWuPjmZIFp7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiN2U3YWE4YzYtNDY3YS00MDBkLWFiNDQtNDI4NDY1Y2ViNzYyIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjE0LjY1MjAxNjUzOVoifQ%3D%3D&digest=sha256%3Ab94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "e74b4080-d325-440c-a101-b510b5678aa8", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "cd3d1b88-6f10-4e45-961c-16b8510bbb8e", "Content-Type" : "application/octet-stream" }, "Response" : { @@ -201,14 +201,14 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 23 Feb 2023 23:11:16 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:14 GMT", "Docker-Content-Digest" : "sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "42b2372d-3dee-46f8-8789-1684ee2cefd1", + "X-Ms-Correlation-Request-Id" : "615568ce-caea-48e7-ae88-01c55a49d3fd", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "123d050c-47d1-4672-a279-58940dbdcb26", - "X-Ms-Client-Request-Id" : "e74b4080-d325-440c-a101-b510b5678aa8", + "X-Ms-Request-Id" : "382cbf5f-0f82-42ed-9a05-a0d2e60a7516", + "X-Ms-Client-Request-Id" : "cd3d1b88-6f10-4e45-961c-16b8510bbb8e", "Content-Length" : "0", "Location" : "/v2/oci-artifact/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9" }, @@ -217,30 +217,30 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "9c854b39-621f-4824-ad4a-04ff11781119", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "8dec9efc-733b-4600-8e1c-928994e39393", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "0604b44d-abe9-472d-bdc1-757de495310b", + "X-Ms-Correlation-Request-Id" : "9708a16a-4b16-413f-8fa3-3395bea18d02", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.133333", + "x-ms-ratelimit-remaining-calls-per-second" : "332.45", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:16 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:14 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "a2597182-d21a-4ad9-ae0a-b7cbb7d49e8a", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "f47808c7-aebe-4f3b-a95d-17b43f591561", "Content-Type" : "application/vnd.oci.image.manifest.v1+json" }, "Response" : { @@ -249,46 +249,46 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 23 Feb 2023 23:11:17 GMT", - "Docker-Content-Digest" : "sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Date" : "Sat, 11 Mar 2023 00:31:15 GMT", + "Docker-Content-Digest" : "sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "77597d8c-cfe0-4aa1-ba58-ed1ff7d6b07f", + "X-Ms-Correlation-Request-Id" : "cdc9e6ce-10d2-482d-98fc-e2af7367e359", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "42e74b37-57f6-4013-b051-413067e39ffe", - "X-Ms-Client-Request-Id" : "a2597182-d21a-4ad9-ae0a-b7cbb7d49e8a", + "X-Ms-Request-Id" : "cf98b533-6be4-4a78-8e8d-7d3031dd018c", + "X-Ms-Client-Request-Id" : "f47808c7-aebe-4f3b-a95d-17b43f591561", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284" + "Location" : "/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "cf453bf1-cb1a-43ff-838f-f19024ccb805", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "e1a4b667-b86b-4ce8-9df9-f49395decc28", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "268c196f-7499-47e1-bead-46c3af7c7ee2", + "X-Ms-Correlation-Request-Id" : "da935a98-b8be-418e-a721-ff4870a5edf3", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.533333", + "x-ms-ratelimit-remaining-calls-per-second" : "332.666667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:17 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:15 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "50e2f865-2d86-4c69-8c41-e89fa980a34f" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "0490c1ac-c34f-494a-ab15-984fefce682d" }, "Response" : { "Server" : "openresty", @@ -296,17 +296,17 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 23 Feb 2023 23:11:17 GMT", - "Docker-Content-Digest" : "sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Date" : "Sat, 11 Mar 2023 00:31:15 GMT", + "Docker-Content-Digest" : "sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "e005fdf3-3f88-4d9d-ab68-c29696b321d5", + "X-Ms-Correlation-Request-Id" : "b9a7c50a-19b0-43a0-b849-ab86d72fd880", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "2a1a90d3-b782-4c8b-951c-f59aa18cfff7", - "X-Ms-Client-Request-Id" : "50e2f865-2d86-4c69-8c41-e89fa980a34f", - "Etag" : "\"sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284\"", + "X-Ms-Request-Id" : "f7bc9c02-283e-47e2-bbe2-b273f133884a", + "X-Ms-Client-Request-Id" : "0490c1ac-c34f-494a-ab15-984fefce682d", + "Etag" : "\"sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598\"", "Content-Length" : "459", - "Body" : "{\"config\":{\"mediaType\":\"application/vnd.acme.rocket.config.v1+json\",\"size\":171,\"digest\":\"sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\"},\"layers\":[{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar\",\"size\":28,\"digest\":\"sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9\",\"annotations\":{\"org.opencontainers.image.ref.name\":\"654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed\"}}],\"schemaVersion\":2}", + "Body" : "{\"schemaVersion\":2,\"config\":{\"mediaType\":\"application/vnd.acme.rocket.config.v1+json\",\"size\":171,\"digest\":\"sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\"},\"layers\":[{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar\",\"size\":28,\"digest\":\"sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9\",\"annotations\":{\"org.opencontainers.image.ref.name\":\"654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed\"}}]}", "Content-Type" : "application/vnd.oci.image.manifest.v1+json" }, "Exception" : null @@ -314,21 +314,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "2f2065db-5c6a-4bb4-99c0-cae09925476c", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "1e5c0db9-3826-439e-b686-132d6e9fb080", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "b3dac120-6df9-4324-b2fd-f5812e4aaf19", + "X-Ms-Correlation-Request-Id" : "a3ef0227-ec45-42ee-85d2-7498189d7014", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.116667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.65", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:17 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:15 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -336,8 +336,8 @@ "Method" : "DELETE", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "5e47f4ee-910c-4d4f-9a86-ffcb4aa4d2e3" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "f19bed26-b178-483b-a096-4b281d673161" }, "Response" : { "Server" : "openresty", @@ -345,13 +345,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:11:17 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:15 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "c771c4a5-171a-48f9-b35a-4944589cc669", + "X-Ms-Correlation-Request-Id" : "a2d83ae8-4998-4616-b704-3cb3238f6ad5", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "1ff80d93-fd49-477b-b642-d5b2348b01f3", - "X-Ms-Client-Request-Id" : "5e47f4ee-910c-4d4f-9a86-ffcb4aa4d2e3", + "X-Ms-Request-Id" : "8a2e0571-d08c-4cb9-84d2-d235d5a4b695", + "X-Ms-Client-Request-Id" : "f19bed26-b178-483b-a096-4b281d673161", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "32.000000", "Content-Length" : "0" }, @@ -360,21 +360,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "1322a40d-b164-401f-bb66-ba3da8e4fd85", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "57aca705-50fd-4ede-ab61-03bd959fa424", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "e4153433-3986-44c3-9c46-946778579616", + "X-Ms-Correlation-Request-Id" : "14628f84-7e99-45f5-bc4b-9e83901bdf10", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.1", + "x-ms-ratelimit-remaining-calls-per-second" : "332.966667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:17 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:15 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -382,8 +382,8 @@ "Method" : "DELETE", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "4347b250-6afb-4281-bb0a-9cc7c4675ccd" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "e1e429ea-d266-48b5-85e7-8ee5200a7fca" }, "Response" : { "Server" : "openresty", @@ -391,13 +391,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:11:17 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:15 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "eb046d70-5191-4343-98ab-7b53016db313", + "X-Ms-Correlation-Request-Id" : "7af6797b-0266-49dd-bb6a-26fd3b27cc6e", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "50621f0d-9ac7-47be-b4aa-9326e371afc5", - "X-Ms-Client-Request-Id" : "4347b250-6afb-4281-bb0a-9cc7c4675ccd", + "X-Ms-Request-Id" : "53f78000-dda3-4c95-b591-8518d345fd3b", + "X-Ms-Client-Request-Id" : "e1e429ea-d266-48b5-85e7-8ee5200a7fca", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "31.000000", "Content-Length" : "0" }, @@ -406,30 +406,30 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "d4771aeb-3ded-416e-9a48-1b57b3988c2f", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "d26175cd-79a7-45bb-bd04-6ef6dcc8d81f", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "a1d3adb7-790d-4496-8348-d0f3002b5f16", + "X-Ms-Correlation-Request-Id" : "72fea7d0-dddb-421a-bdcc-b06638c44c0e", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.95", + "x-ms-ratelimit-remaining-calls-per-second" : "332.633333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Thu, 23 Feb 2023 23:11:17 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:15 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "7cbb1200-397a-41cf-9618-f367aa11bf36" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "111dacd7-7aab-45f9-9d21-3ce6166f5604" }, "Response" : { "Server" : "openresty", @@ -437,13 +437,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Thu, 23 Feb 2023 23:11:17 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:16 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "9e59021d-9b0d-4845-89c0-d3ecc3247fb0", + "X-Ms-Correlation-Request-Id" : "7e4d9f13-2259-489a-ba58-562c2581395e", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "9fa55d8a-84fe-4613-a597-18e98a1d52ba", - "X-Ms-Client-Request-Id" : "7cbb1200-397a-41cf-9618-f367aa11bf36", + "X-Ms-Request-Id" : "fae160ca-0718-4aa6-b2c3-58c82dcd7c37", + "X-Ms-Client-Request-Id" : "111dacd7-7aab-45f9-9d21-3ce6166f5604", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "30.000000", "Content-Length" : "0" }, diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadBlobAsync[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadBlobAsync[1].json index bc53373e67ea..82e2daa0dee7 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadBlobAsync[1].json +++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadBlobAsync[1].json @@ -629,7 +629,7 @@ "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", "x-ms-client-request-id" : "332ddae7-dccf-480b-8c08-9616e966744d" @@ -649,10 +649,10 @@ "X-Ms-Client-Request-Id" : "332ddae7-dccf-480b-8c08-9616e966744d", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "30.000000", "Content-Length" : "147", - "Body" : "{\"errors\":[{\"code\":\"MANIFEST_UNKNOWN\",\"message\":\"manifest sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284 is not found\"}]}\n", + "Body" : "{\"errors\":[{\"code\":\"MANIFEST_UNKNOWN\",\"message\":\"manifest sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598 is not found\"}]}\n", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null } ], "variables" : [ ] -} \ No newline at end of file +} diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestAsync[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestAsync[1].json index a6db8d0160fd..f784a3b7a0b8 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestAsync[1].json +++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestAsync[1].json @@ -3,21 +3,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "93ec59d8-92a6-4d02-bacb-5b2c7ebdac3b", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "1f17d954-7766-42f8-987e-e280a0bb8300", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "322e0e90-e777-4e3a-9220-edbb1bb8a994", + "X-Ms-Correlation-Request-Id" : "1c7485e0-41da-40e0-b33d-0f6109ec3a77", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.316667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.616667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"refresh_token\":\"REDACTED\"}", - "Date" : "Sun, 12 Feb 2023 21:31:28 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:16 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -25,21 +25,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "25eed55e-fa0a-4a8f-9c15-5dbe45d06d26", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "f9dcfe29-bbf0-4a3f-900f-f9af17674c79", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "29a0ad4b-dbc0-4a78-ae03-d1a1db2d7df5", + "X-Ms-Correlation-Request-Id" : "420b6ac4-b5fa-4d57-955c-59c95d3b28a1", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.316667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.683333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Sun, 12 Feb 2023 21:31:28 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:16 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -47,8 +47,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "95043c7b-9399-4bba-9d29-0b0121961b48" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "f358775e-7736-4c91-b77d-23b73fea6ff5" }, "Response" : { "Server" : "openresty", @@ -57,46 +57,46 @@ "retry-after" : "0", "Range" : "0-0", "StatusCode" : "202", - "Date" : "Sun, 12 Feb 2023 21:31:28 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:16 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "3fe54129-70c6-4026-aa00-3cf23ce045fd", - "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Correlation-Request-Id" : "3639964b-a530-4fff-99c7-f8903364e7d9", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", - "X-Ms-Client-Request-Id" : "95043c7b-9399-4bba-9d29-0b0121961b48", - "X-Ms-Request-Id" : "0b99d745-e8f3-4315-aea3-023df5813970", - "Docker-Upload-Uuid" : "33b3a155-023c-434d-9e49-469920ddca2f", + "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Request-Id" : "4fc7aa33-06ca-41d9-bd75-512a8ec20aae", + "X-Ms-Client-Request-Id" : "f358775e-7736-4c91-b77d-23b73fea6ff5", + "Docker-Upload-Uuid" : "b8140c1a-2e70-4d29-a929-0e3f236ba5db", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/33b3a155-023c-434d-9e49-469920ddca2f?_nouploadcache=false&_state=KSuzIMXOeCxZuOTMpOEhnPH9zSiYxsddYor_Jcaa4NZ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMzNiM2ExNTUtMDIzYy00MzRkLTllNDktNDY5OTIwZGRjYTJmIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTEyVDIxOjMxOjI4LjU4NTk0Mjc5MloifQ%3D%3D" + "Location" : "/v2/oci-artifact/blobs/uploads/b8140c1a-2e70-4d29-a929-0e3f236ba5db?_nouploadcache=false&_state=-OjjdfJbaQkQ9Z0mQEHCjLrdi02yAu2k1TVBvy8pdmJ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYjgxNDBjMWEtMmU3MC00ZDI5LWE5MjktMGUzZjIzNmJhNWRiIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjE2LjQ5OTMxNzM0MVoifQ%3D%3D" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "dca1fbf2-1a92-48fc-8953-edc72c2afa27", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "28f21552-b8b9-4130-905a-4497b708143f", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "56d2f1c3-4e17-4e2e-8e17-2b2983a451e3", + "X-Ms-Correlation-Request-Id" : "a5cea723-b93e-4065-a47c-74eaa2d458b6", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.3", + "x-ms-ratelimit-remaining-calls-per-second" : "332.6", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Sun, 12 Feb 2023 21:31:28 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:16 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/33b3a155-023c-434d-9e49-469920ddca2f?_nouploadcache=false&_state=KSuzIMXOeCxZuOTMpOEhnPH9zSiYxsddYor_Jcaa4NZ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMzNiM2ExNTUtMDIzYy00MzRkLTllNDktNDY5OTIwZGRjYTJmIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTEyVDIxOjMxOjI4LjU4NTk0Mjc5MloifQ%3D%3D", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/b8140c1a-2e70-4d29-a929-0e3f236ba5db?_nouploadcache=false&_state=-OjjdfJbaQkQ9Z0mQEHCjLrdi02yAu2k1TVBvy8pdmJ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYjgxNDBjMWEtMmU3MC00ZDI5LWE5MjktMGUzZjIzNmJhNWRiIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjE2LjQ5OTMxNzM0MVoifQ%3D%3D", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "41360976-5731-40a4-9d21-27b92700308a", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "028299e1-183b-4946-8043-05cc4e662d7e", "Content-Type" : "application/octet-stream" }, "Response" : { @@ -106,46 +106,46 @@ "retry-after" : "0", "Range" : "0-1", "StatusCode" : "202", - "Date" : "Sun, 12 Feb 2023 21:31:28 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:16 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "39b4d7b2-4ee7-47cc-8ebd-d37003b2ca8c", - "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Correlation-Request-Id" : "e0a74d8b-ce7a-4991-b202-947687dd3b66", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", - "X-Ms-Client-Request-Id" : "41360976-5731-40a4-9d21-27b92700308a", - "X-Ms-Request-Id" : "c6370642-0cb2-4075-8a1a-ba8b4940a6a1", - "Docker-Upload-Uuid" : "33b3a155-023c-434d-9e49-469920ddca2f", + "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Request-Id" : "059010e2-8a84-4f00-8c34-6d047378946e", + "X-Ms-Client-Request-Id" : "028299e1-183b-4946-8043-05cc4e662d7e", + "Docker-Upload-Uuid" : "b8140c1a-2e70-4d29-a929-0e3f236ba5db", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/33b3a155-023c-434d-9e49-469920ddca2f?_nouploadcache=false&_state=67pDDDV22a43h5nZ7eZjf1ukZigC9tRkXyFOiagBhPZ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMzNiM2ExNTUtMDIzYy00MzRkLTllNDktNDY5OTIwZGRjYTJmIiwiT2Zmc2V0IjoyLCJTdGFydGVkQXQiOiIyMDIzLTAyLTEyVDIxOjMxOjI4WiJ9" + "Location" : "/v2/oci-artifact/blobs/uploads/b8140c1a-2e70-4d29-a929-0e3f236ba5db?_nouploadcache=false&_state=jmI5MAkkm3Pg8ajXxD0OLDsx-0sgT2ek0FLvemWj55Z7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYjgxNDBjMWEtMmU3MC00ZDI5LWE5MjktMGUzZjIzNmJhNWRiIiwiT2Zmc2V0IjoyLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjE2WiJ9" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "42a03871-e33d-4229-86c0-372d282079df", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "d2d887ab-6e57-4a18-be5c-c65b14e7227e", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "8d4f700a-a435-40ae-abf9-d79bf7210c07", + "X-Ms-Correlation-Request-Id" : "cfb28df1-5554-416f-b3ed-8dff8ced6e4e", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.3", + "x-ms-ratelimit-remaining-calls-per-second" : "331.983333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Sun, 12 Feb 2023 21:31:28 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:16 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/33b3a155-023c-434d-9e49-469920ddca2f?_nouploadcache=false&_state=67pDDDV22a43h5nZ7eZjf1ukZigC9tRkXyFOiagBhPZ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiMzNiM2ExNTUtMDIzYy00MzRkLTllNDktNDY5OTIwZGRjYTJmIiwiT2Zmc2V0IjoyLCJTdGFydGVkQXQiOiIyMDIzLTAyLTEyVDIxOjMxOjI4WiJ9&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/b8140c1a-2e70-4d29-a929-0e3f236ba5db?_nouploadcache=false&_state=jmI5MAkkm3Pg8ajXxD0OLDsx-0sgT2ek0FLvemWj55Z7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYjgxNDBjMWEtMmU3MC00ZDI5LWE5MjktMGUzZjIzNmJhNWRiIiwiT2Zmc2V0IjoyLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjE2WiJ9&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "b30a6eef-99b5-41bd-b363-a59085a39e62" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "41dca6a7-fd62-487f-8be1-92f19e7f3b7e" }, "Response" : { "Server" : "openresty", @@ -153,14 +153,14 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Sun, 12 Feb 2023 21:31:29 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:16 GMT", "Docker-Content-Digest" : "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "56b028c5-c732-4ff9-bf30-99e81edeef48", - "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Correlation-Request-Id" : "effca218-d3ce-48a3-882e-d6892fabac23", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", - "X-Ms-Client-Request-Id" : "b30a6eef-99b5-41bd-b363-a59085a39e62", - "X-Ms-Request-Id" : "918cf0b8-71ac-44bb-aca3-e9505cf43bd2", + "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Request-Id" : "9f444756-404c-4efd-a490-8a31e9da7fca", + "X-Ms-Client-Request-Id" : "41dca6a7-fd62-487f-8be1-92f19e7f3b7e", "Content-Length" : "0", "Location" : "/v2/oci-artifact/blobs/sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a" }, @@ -169,21 +169,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "18574d60-c6f3-4b2d-a99f-b3c94ac5229c", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "ac9f134b-9890-4649-a5ba-503b193e2b8e", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "67290546-5126-4bc0-81d5-702e8e8f2468", + "X-Ms-Correlation-Request-Id" : "3db8d9b6-c67c-481a-b349-4c5c52d004cf", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.283333", + "x-ms-ratelimit-remaining-calls-per-second" : "332.583333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Sun, 12 Feb 2023 21:31:29 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:16 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -191,8 +191,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "3c3e82eb-ae35-4bd9-8edf-6b24478a9242" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "0b8f5721-6c6e-48fd-a669-88d967bc6486" }, "Response" : { "Server" : "openresty", @@ -201,46 +201,46 @@ "retry-after" : "0", "Range" : "0-0", "StatusCode" : "202", - "Date" : "Sun, 12 Feb 2023 21:31:29 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:16 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "7cc59865-a2d1-4638-90dd-4b19db4f6e6d", - "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Correlation-Request-Id" : "da22537e-f2e3-4c56-b46c-d981c0971e73", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", - "X-Ms-Client-Request-Id" : "3c3e82eb-ae35-4bd9-8edf-6b24478a9242", - "X-Ms-Request-Id" : "42b1186c-2735-43e9-bbd6-41f2d06e3d6a", - "Docker-Upload-Uuid" : "e101a48a-c1ef-4fce-8a38-2f23b6ceaec4", + "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Request-Id" : "cdaab4f0-d12c-433c-b83e-ae47a2b60f0c", + "X-Ms-Client-Request-Id" : "0b8f5721-6c6e-48fd-a669-88d967bc6486", + "Docker-Upload-Uuid" : "66b52e4e-0f40-4f14-8049-be76a3a051a8", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/e101a48a-c1ef-4fce-8a38-2f23b6ceaec4?_nouploadcache=false&_state=xz6YVFmDfC9sXJX0YAYcqtXHvAIJJmEXY10iwA-GyQ97Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZTEwMWE0OGEtYzFlZi00ZmNlLThhMzgtMmYyM2I2Y2VhZWM0IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTEyVDIxOjMxOjI5LjIwMjk4NTkzOVoifQ%3D%3D" + "Location" : "/v2/oci-artifact/blobs/uploads/66b52e4e-0f40-4f14-8049-be76a3a051a8?_nouploadcache=false&_state=JIXHVg4kcSZpo9t9U7OayiU3l6pdSlpJ8Ci75FJ927R7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNjZiNTJlNGUtMGY0MC00ZjE0LTgwNDktYmU3NmEzYTA1MWE4IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjE2Ljk3ODYyODY1MVoifQ%3D%3D" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "4f41065d-d854-4440-b831-5d8bf01b26bd", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "7cba539f-dd80-4dc0-821c-745511fde719", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "695d90d5-2339-4589-8b0c-606f88458e6e", + "X-Ms-Correlation-Request-Id" : "cda8858e-bdb8-40f6-b6c9-025ae0a1a2f4", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.283333", + "x-ms-ratelimit-remaining-calls-per-second" : "331.966667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Sun, 12 Feb 2023 21:31:29 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:17 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/e101a48a-c1ef-4fce-8a38-2f23b6ceaec4?_nouploadcache=false&_state=xz6YVFmDfC9sXJX0YAYcqtXHvAIJJmEXY10iwA-GyQ97Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZTEwMWE0OGEtYzFlZi00ZmNlLThhMzgtMmYyM2I2Y2VhZWM0IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAyLTEyVDIxOjMxOjI5LjIwMjk4NTkzOVoifQ%3D%3D", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/66b52e4e-0f40-4f14-8049-be76a3a051a8?_nouploadcache=false&_state=JIXHVg4kcSZpo9t9U7OayiU3l6pdSlpJ8Ci75FJ927R7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNjZiNTJlNGUtMGY0MC00ZjE0LTgwNDktYmU3NmEzYTA1MWE4IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjE2Ljk3ODYyODY1MVoifQ%3D%3D", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "6cc623a6-b5c0-47be-9c1f-7798ef1c9f00", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "44230082-5404-42ee-a14d-2d60c65d330d", "Content-Type" : "application/octet-stream" }, "Response" : { @@ -250,46 +250,46 @@ "retry-after" : "0", "Range" : "0-10", "StatusCode" : "202", - "Date" : "Sun, 12 Feb 2023 21:31:29 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:17 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "21f3f353-13da-4a50-9e6c-8985695aa784", - "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Correlation-Request-Id" : "ff379e46-af04-41c0-992d-c18ffb0e6bdb", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", - "X-Ms-Client-Request-Id" : "6cc623a6-b5c0-47be-9c1f-7798ef1c9f00", - "X-Ms-Request-Id" : "10f43dc5-be38-4d51-be87-cfa13977cf19", - "Docker-Upload-Uuid" : "e101a48a-c1ef-4fce-8a38-2f23b6ceaec4", + "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Request-Id" : "8c89caaf-f4c3-4714-a035-a51fdb9dfc40", + "X-Ms-Client-Request-Id" : "44230082-5404-42ee-a14d-2d60c65d330d", + "Docker-Upload-Uuid" : "66b52e4e-0f40-4f14-8049-be76a3a051a8", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/e101a48a-c1ef-4fce-8a38-2f23b6ceaec4?_nouploadcache=false&_state=5zOrofZ44e2fux2eqRH3NiSRg7IUbwCFA2buaPxkqzN7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZTEwMWE0OGEtYzFlZi00ZmNlLThhMzgtMmYyM2I2Y2VhZWM0IiwiT2Zmc2V0IjoxMSwiU3RhcnRlZEF0IjoiMjAyMy0wMi0xMlQyMTozMToyOVoifQ%3D%3D" + "Location" : "/v2/oci-artifact/blobs/uploads/66b52e4e-0f40-4f14-8049-be76a3a051a8?_nouploadcache=false&_state=qyCPC5YjIHw-phDFac-c58mUV8UAnYYDfy_17K1nODN7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNjZiNTJlNGUtMGY0MC00ZjE0LTgwNDktYmU3NmEzYTA1MWE4IiwiT2Zmc2V0IjoxMSwiU3RhcnRlZEF0IjoiMjAyMy0wMy0xMVQwMDozMToxNloifQ%3D%3D" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "29695b7f-bb98-4bd2-b7c1-9ebb48fafa59", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "4bca968b-1508-4e1a-9a3e-dff4a84cdbb0", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "499bb482-893e-4ffc-8f76-1d8285c46c2c", + "X-Ms-Correlation-Request-Id" : "a63012fc-39bc-4eac-9c35-eba9f4f0a4b9", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.266667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.566667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Sun, 12 Feb 2023 21:31:29 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:17 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/e101a48a-c1ef-4fce-8a38-2f23b6ceaec4?_nouploadcache=false&_state=5zOrofZ44e2fux2eqRH3NiSRg7IUbwCFA2buaPxkqzN7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZTEwMWE0OGEtYzFlZi00ZmNlLThhMzgtMmYyM2I2Y2VhZWM0IiwiT2Zmc2V0IjoxMSwiU3RhcnRlZEF0IjoiMjAyMy0wMi0xMlQyMTozMToyOVoifQ%3D%3D&digest=sha256%3Ab94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/66b52e4e-0f40-4f14-8049-be76a3a051a8?_nouploadcache=false&_state=qyCPC5YjIHw-phDFac-c58mUV8UAnYYDfy_17K1nODN7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNjZiNTJlNGUtMGY0MC00ZjE0LTgwNDktYmU3NmEzYTA1MWE4IiwiT2Zmc2V0IjoxMSwiU3RhcnRlZEF0IjoiMjAyMy0wMy0xMVQwMDozMToxNloifQ%3D%3D&digest=sha256%3Ab94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "36ab5360-2134-40a0-9a17-4cc2a7d5c4d5" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "c29d7443-1ca4-4a2c-8df6-1f217ca19246" }, "Response" : { "Server" : "openresty", @@ -297,14 +297,14 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Sun, 12 Feb 2023 21:31:29 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:17 GMT", "Docker-Content-Digest" : "sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "b73ae931-6940-4c97-8863-5e4a0ed7ca48", - "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Correlation-Request-Id" : "78b54315-7d03-424c-90ba-5cf4f310412b", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", - "X-Ms-Client-Request-Id" : "36ab5360-2134-40a0-9a17-4cc2a7d5c4d5", - "X-Ms-Request-Id" : "c3fcbcaa-a9bf-4310-831e-11e590c1135a", + "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Request-Id" : "c9996bd4-059e-4033-ab40-8f0f45235524", + "X-Ms-Client-Request-Id" : "c29d7443-1ca4-4a2c-8df6-1f217ca19246", "Content-Length" : "0", "Location" : "/v2/oci-artifact/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9" }, @@ -313,30 +313,30 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "16719032-5bef-45da-9c53-c399f9f8adf9", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "db95d687-f2b2-4a9a-b418-4ed577c7d47b", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "14eab258-b75a-4f65-ae38-d61f05c565f5", + "X-Ms-Correlation-Request-Id" : "8440d700-491a-4967-a86c-0a98f3240b97", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.266667", + "x-ms-ratelimit-remaining-calls-per-second" : "331.95", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Sun, 12 Feb 2023 21:31:29 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:17 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "8f4bf2b9-542a-4122-85f3-88b1ae547dad", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "856cff42-b073-4dfe-99cb-98d0b049b183", "Content-Type" : "application/vnd.oci.image.manifest.v1+json" }, "Response" : { @@ -345,46 +345,46 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Sun, 12 Feb 2023 21:31:29 GMT", - "Docker-Content-Digest" : "sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Date" : "Sat, 11 Mar 2023 00:31:17 GMT", + "Docker-Content-Digest" : "sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "e8022faf-589e-4577-b352-cf36f811ef81", - "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Correlation-Request-Id" : "22cfbb44-4df1-4b97-a46e-7c592b42c684", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", - "X-Ms-Client-Request-Id" : "8f4bf2b9-542a-4122-85f3-88b1ae547dad", - "X-Ms-Request-Id" : "959e9fe8-865a-423a-9d83-89df793e4e11", + "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Request-Id" : "a894589e-de9e-4a39-adae-730f35f4fe6d", + "X-Ms-Client-Request-Id" : "856cff42-b073-4dfe-99cb-98d0b049b183", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284" + "Location" : "/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "fd2e14ff-db0f-451a-b357-cb41364af94e", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "51b72d6b-6b28-4363-a086-098d60c5f6c3", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "208edba4-54d8-4b8a-8732-fdece3f0e326", + "X-Ms-Correlation-Request-Id" : "cb1262a5-ed99-4658-8b0c-3ec3ccf5fc87", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.25", + "x-ms-ratelimit-remaining-calls-per-second" : "332.55", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Sun, 12 Feb 2023 21:31:29 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:17 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "a0d9f928-4214-4b19-a411-3e0f14391071" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "1008b9eb-c981-4a8e-b96d-d163853834f2" }, "Response" : { "Server" : "openresty", @@ -392,17 +392,17 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Sun, 12 Feb 2023 21:31:29 GMT", - "Docker-Content-Digest" : "sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Date" : "Sat, 11 Mar 2023 00:31:17 GMT", + "Docker-Content-Digest" : "sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "096686b4-17e9-4476-ba29-9da9efb4413e", + "X-Ms-Correlation-Request-Id" : "47bc0fca-c603-4f03-841b-753bfccf97ca", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "ed41c567-febe-4d7a-9c9e-7226b100e2fa", - "X-Ms-Client-Request-Id" : "a0d9f928-4214-4b19-a411-3e0f14391071", - "Etag" : "\"sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284\"", + "X-Ms-Request-Id" : "54acf188-7a4f-445c-a110-00b27c0849f1", + "X-Ms-Client-Request-Id" : "1008b9eb-c981-4a8e-b96d-d163853834f2", + "Etag" : "\"sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598\"", "Content-Length" : "459", - "Body" : "{\"config\":{\"mediaType\":\"application/vnd.acme.rocket.config.v1+json\",\"size\":171,\"digest\":\"sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\"},\"layers\":[{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar\",\"size\":28,\"digest\":\"sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9\",\"annotations\":{\"org.opencontainers.image.ref.name\":\"654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed\"}}],\"schemaVersion\":2}", + "Body" : "{\"schemaVersion\":2,\"config\":{\"mediaType\":\"application/vnd.acme.rocket.config.v1+json\",\"size\":171,\"digest\":\"sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\"},\"layers\":[{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar\",\"size\":28,\"digest\":\"sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9\",\"annotations\":{\"org.opencontainers.image.ref.name\":\"654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed\"}}]}", "Content-Type" : "application/vnd.oci.image.manifest.v1+json" }, "Exception" : null @@ -410,21 +410,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "53d35de4-05bf-4797-8968-ae518e3200d1", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "820dcd63-047c-4594-88a1-506aa47cc3dd", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "3814758c-1505-452a-ad85-f3065509bf25", + "X-Ms-Correlation-Request-Id" : "ef180d93-e295-48ec-82e9-4c8674c75d30", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.316667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.716667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Sun, 12 Feb 2023 21:31:30 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:17 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -432,8 +432,8 @@ "Method" : "DELETE", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "b4da9f64-3b91-4fcb-ad12-be7e5d968427" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "93ad75e6-a579-4685-ab1b-3cb8f1d0e6ef" }, "Response" : { "Server" : "openresty", @@ -441,13 +441,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Sun, 12 Feb 2023 21:31:30 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:17 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "a072af9b-c959-4e2e-a40e-c695bb67c34f", - "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Correlation-Request-Id" : "5e5b4ad6-0d78-454d-8772-0b76bf95a378", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", - "X-Ms-Client-Request-Id" : "b4da9f64-3b91-4fcb-ad12-be7e5d968427", - "X-Ms-Request-Id" : "67193856-3ee1-4a1e-9f70-bdd9f89ee549", + "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Request-Id" : "9bf418c5-ad3e-4ced-a30e-540ac5dcce59", + "X-Ms-Client-Request-Id" : "93ad75e6-a579-4685-ab1b-3cb8f1d0e6ef", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "32.000000", "Content-Length" : "0" }, @@ -456,21 +456,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "8069d548-fc43-42e0-988a-f642738e837b", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "5a3cba29-cd32-40a5-918f-ac05eb0c08c1", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "384f8a79-b15d-48da-9aef-8918fdcb9b9d", + "X-Ms-Correlation-Request-Id" : "3ddfb162-eecd-420a-99cd-ced80510e314", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.3", + "x-ms-ratelimit-remaining-calls-per-second" : "332.516667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Sun, 12 Feb 2023 21:31:30 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:18 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -478,8 +478,8 @@ "Method" : "DELETE", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "56bccc0e-11c9-4196-8a30-ec98717be907" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "45e761fe-3bc8-46b0-ae2b-ccf6c7881e98" }, "Response" : { "Server" : "openresty", @@ -487,13 +487,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Sun, 12 Feb 2023 21:31:30 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:18 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "28d95d21-33ee-428d-8eca-9f67ab1075a5", - "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Correlation-Request-Id" : "63cc6cd8-a3df-4494-86bd-1511dcbc8a72", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", - "X-Ms-Client-Request-Id" : "56bccc0e-11c9-4196-8a30-ec98717be907", - "X-Ms-Request-Id" : "32eaa4d7-8c41-4858-b8da-4041796e7384", + "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Request-Id" : "59b75c3f-d282-429f-8def-a1417ee1ece5", + "X-Ms-Client-Request-Id" : "45e761fe-3bc8-46b0-ae2b-ccf6c7881e98", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "31.000000", "Content-Length" : "0" }, @@ -502,30 +502,30 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "ec11452d-9f45-4607-979c-5b4eac640513", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "3a827702-57fa-49ab-b063-728992efddce", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "a1cea3fd-e0e0-407e-ab3c-1b9a8b33b650", + "X-Ms-Correlation-Request-Id" : "b68929f6-be81-44cd-9c41-01286a4a5b47", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.316667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.366667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Sun, 12 Feb 2023 21:31:30 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:18 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "1390bd92-9a61-48ce-99cc-c4e35bd38f08" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "e311e42c-dec9-4b21-a9cd-3ed8da0d1024" }, "Response" : { "Server" : "openresty", @@ -533,13 +533,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Sun, 12 Feb 2023 21:31:31 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:18 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "efd397e3-ef3b-459b-b204-61475e6162c4", + "X-Ms-Correlation-Request-Id" : "4a805fa7-efd3-48d6-85ae-eff7b77cb7f9", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "0fdf2bf9-a7dd-4c35-87d8-8ca10d8fdb75", - "X-Ms-Client-Request-Id" : "1390bd92-9a61-48ce-99cc-c4e35bd38f08", + "X-Ms-Request-Id" : "91c779ee-bdb3-4ba6-9851-6e3551b1b45c", + "X-Ms-Client-Request-Id" : "e311e42c-dec9-4b21-a9cd-3ed8da0d1024", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "30.000000", "Content-Length" : "0" }, diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestDifferentType[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestDifferentType[1].json new file mode 100644 index 000000000000..760a71ec8890 --- /dev/null +++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestDifferentType[1].json @@ -0,0 +1,219 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange?api-version=2021-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "8a11bd46-e7c4-46f5-9d22-2fe269717299", + "Content-Type" : "application/x-www-form-urlencoded" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Ms-Correlation-Request-Id" : "92bb10bb-2a5c-4eb5-a712-28250e05663c", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Server" : "openresty", + "x-ms-ratelimit-remaining-calls-per-second" : "333.183333", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"refresh_token\":\"REDACTED\"}", + "Date" : "Fri, 10 Mar 2023 02:47:59 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "e078ba2d-3489-494d-970d-fdbe008237bf", + "Content-Type" : "application/x-www-form-urlencoded" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Ms-Correlation-Request-Id" : "6262bdc9-b9e7-4a76-b9c6-09ae1fe66d02", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Server" : "openresty", + "x-ms-ratelimit-remaining-calls-per-second" : "333.016667", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"access_token\":\"REDACTED\"}", + "Date" : "Fri, 10 Mar 2023 02:47:59 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.azurecr.io/v2/library%2Fhello-world/manifests/latest", + "Headers" : { + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "d216e8a6-6340-4d85-92f1-baf0a1796a4d" + }, + "Response" : { + "Server" : "openresty", + "X-Content-Type-Options" : "nosniff", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Fri, 10 Mar 2023 02:47:59 GMT", + "Docker-Content-Digest" : "sha256:f54a58bc1aac5ea1a25d796ae155dc228b3f0e11d046ae276b39c4bf2f13d8c4", + "Docker-Distribution-Api-Version" : "registry/2.0", + "X-Ms-Correlation-Request-Id" : "b96bdded-02ba-4c72-b10e-7eb0367eaf65", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", + "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Request-Id" : "0768cbf9-b60e-49c9-9693-1d9bac941786", + "X-Ms-Client-Request-Id" : "d216e8a6-6340-4d85-92f1-baf0a1796a4d", + "Etag" : "\"sha256:f54a58bc1aac5ea1a25d796ae155dc228b3f0e11d046ae276b39c4bf2f13d8c4\"", + "Content-Length" : "525", + "Body" : "{\n \"schemaVersion\": 2,\n \"mediaType\": \"application/vnd.docker.distribution.manifest.v2+json\",\n \"config\": {\n \"mediaType\": \"application/vnd.docker.container.image.v1+json\",\n \"size\": 1469,\n \"digest\": \"sha256:feb5d9fea6a5e9606aa995e879d862b825965ba48de054caab5ef356dc6b3412\"\n },\n \"layers\": [\n {\n \"mediaType\": \"application/vnd.docker.image.rootfs.diff.tar.gzip\",\n \"size\": 2479,\n \"digest\": \"sha256:2db29710123e3e53a794f2694094b9b4338aa9ee5c40b930cb8063a1be392c54\"\n }\n ]\n}", + "Content-Type" : "application/vnd.docker.distribution.manifest.v2+json" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "5e0ee615-475c-4c45-8e45-0cfa0b14feaa", + "Content-Type" : "application/x-www-form-urlencoded" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Ms-Correlation-Request-Id" : "89cf1565-2d6c-4516-9a13-a9347cffb914", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Server" : "openresty", + "x-ms-ratelimit-remaining-calls-per-second" : "333.166667", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"access_token\":\"REDACTED\"}", + "Date" : "Fri, 10 Mar 2023 02:47:59 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://REDACTED.azurecr.io/v2/library%2Fhello-world/blobs/sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", + "Headers" : { + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "d8c44aba-013a-406d-8830-0eb4189b98b0" + }, + "Response" : { + "Server" : "openresty", + "X-Content-Type-Options" : "nosniff", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "404", + "Date" : "Fri, 10 Mar 2023 02:48:00 GMT", + "Docker-Distribution-Api-Version" : "registry/2.0", + "X-Ms-Correlation-Request-Id" : "9daee987-ea50-427b-8937-295161dd2c61", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", + "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Request-Id" : "58fb4c5f-cf4a-40b0-a4dd-b1d5b29f7354", + "X-Ms-Client-Request-Id" : "d8c44aba-013a-406d-8830-0eb4189b98b0", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "32.000000", + "Content-Length" : "74", + "Body" : "{\"errors\":[{\"code\":\"BLOB_UNKNOWN\",\"message\":\"blob unknown to registry\"}]}\n", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "00d7eaa6-9015-47f0-b191-bfb1edc212ae", + "Content-Type" : "application/x-www-form-urlencoded" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Ms-Correlation-Request-Id" : "cacbbeb4-297a-4a48-8ad6-98a38f93168b", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Server" : "openresty", + "x-ms-ratelimit-remaining-calls-per-second" : "333.233333", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"access_token\":\"REDACTED\"}", + "Date" : "Fri, 10 Mar 2023 02:48:00 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://REDACTED.azurecr.io/v2/library%2Fhello-world/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", + "Headers" : { + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "1b7c9a70-633a-48a1-abad-46bdce8acc83" + }, + "Response" : { + "Server" : "openresty", + "X-Content-Type-Options" : "nosniff", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "404", + "Date" : "Fri, 10 Mar 2023 02:48:00 GMT", + "Docker-Distribution-Api-Version" : "registry/2.0", + "X-Ms-Correlation-Request-Id" : "9b077fe2-5254-412e-8fac-2a0cb27c252f", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", + "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Request-Id" : "37a3bc5d-cc3e-4488-8228-083cf7d4c41c", + "X-Ms-Client-Request-Id" : "1b7c9a70-633a-48a1-abad-46bdce8acc83", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "31.000000", + "Content-Length" : "74", + "Body" : "{\"errors\":[{\"code\":\"BLOB_UNKNOWN\",\"message\":\"blob unknown to registry\"}]}\n", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "d5ad7354-bedc-4709-a72a-e614f87787a8", + "Content-Type" : "application/x-www-form-urlencoded" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Ms-Correlation-Request-Id" : "6d56bde8-aa50-4c2c-9189-394393867ec1", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Server" : "openresty", + "x-ms-ratelimit-remaining-calls-per-second" : "333.15", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"access_token\":\"REDACTED\"}", + "Date" : "Fri, 10 Mar 2023 02:48:00 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://REDACTED.azurecr.io/v2/library%2Fhello-world/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", + "Headers" : { + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "b84ac7c0-0e52-46ed-bdcc-954589a54949" + }, + "Response" : { + "Server" : "openresty", + "X-Content-Type-Options" : "nosniff", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "404", + "Date" : "Fri, 10 Mar 2023 02:48:00 GMT", + "Docker-Distribution-Api-Version" : "registry/2.0", + "X-Ms-Correlation-Request-Id" : "27724596-cbde-4ccc-ba91-0cf39226757a", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", + "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Request-Id" : "07386422-72de-4dd4-bcf5-f5dc33e35ba2", + "X-Ms-Client-Request-Id" : "b84ac7c0-0e52-46ed-bdcc-954589a54949", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "30.000000", + "Content-Length" : "147", + "Body" : "{\"errors\":[{\"code\":\"MANIFEST_UNKNOWN\",\"message\":\"manifest sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598 is not found\"}]}\n", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + } ], + "variables" : [ ] +} diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestIncompatibleType[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestIncompatibleType[1].json new file mode 100644 index 000000000000..303767d83d2c --- /dev/null +++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestIncompatibleType[1].json @@ -0,0 +1,219 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange?api-version=2021-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "cf527caf-b438-4aa1-8674-a5df02a75317", + "Content-Type" : "application/x-www-form-urlencoded" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Ms-Correlation-Request-Id" : "f6eecb9c-29d4-4bc9-a448-f98620fe7ec3", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Server" : "openresty", + "x-ms-ratelimit-remaining-calls-per-second" : "332.5", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"refresh_token\":\"REDACTED\"}", + "Date" : "Fri, 10 Mar 2023 02:48:03 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "956784e9-12e4-4978-b465-1436499af5bf", + "Content-Type" : "application/x-www-form-urlencoded" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Ms-Correlation-Request-Id" : "3f94690f-071c-4d03-80e9-7c6b2bad04e4", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Server" : "openresty", + "x-ms-ratelimit-remaining-calls-per-second" : "332.883333", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"access_token\":\"REDACTED\"}", + "Date" : "Fri, 10 Mar 2023 02:48:03 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.azurecr.io/v2/library%2Fhello-world/manifests/latest", + "Headers" : { + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "7f452ace-dc59-4541-a94f-f953f30dc65e" + }, + "Response" : { + "Server" : "openresty", + "X-Content-Type-Options" : "nosniff", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Fri, 10 Mar 2023 02:48:03 GMT", + "Docker-Content-Digest" : "sha256:f22b12a8e1e51b533588b4ea81af13d7210dd6663373dbd3b284ca926ffa5da0", + "Docker-Distribution-Api-Version" : "registry/2.0", + "X-Ms-Correlation-Request-Id" : "180a9850-9971-4f23-b5d5-9e4fcb0ceffe", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", + "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Request-Id" : "b9b39dd6-a43a-491f-a117-11d151af4b6c", + "X-Ms-Client-Request-Id" : "7f452ace-dc59-4541-a94f-f953f30dc65e", + "Etag" : "\"sha256:f22b12a8e1e51b533588b4ea81af13d7210dd6663373dbd3b284ca926ffa5da0\"", + "Content-Length" : "2747", + "Body" : "{\n \"schemaVersion\": 1,\n \"name\": \"library/hello-world\",\n \"tag\": \"latest\",\n \"architecture\": \"amd64\",\n \"fsLayers\": [\n {\n \"blobSum\": \"sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4\"\n },\n {\n \"blobSum\": \"sha256:2db29710123e3e53a794f2694094b9b4338aa9ee5c40b930cb8063a1be392c54\"\n }\n ],\n \"history\": [\n {\n \"v1Compatibility\": \"{\\\"architecture\\\":\\\"amd64\\\",\\\"config\\\":{\\\"Hostname\\\":\\\"\\\",\\\"Domainname\\\":\\\"\\\",\\\"User\\\":\\\"\\\",\\\"AttachStdin\\\":false,\\\"AttachStdout\\\":false,\\\"AttachStderr\\\":false,\\\"Tty\\\":false,\\\"OpenStdin\\\":false,\\\"StdinOnce\\\":false,\\\"Env\\\":[\\\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\\\"],\\\"Cmd\\\":[\\\"/hello\\\"],\\\"Image\\\":\\\"sha256:b9935d4e8431fb1a7f0989304ec86b3329a99a25f5efdc7f09f3f8c41434ca6d\\\",\\\"Volumes\\\":null,\\\"WorkingDir\\\":\\\"\\\",\\\"Entrypoint\\\":null,\\\"OnBuild\\\":null,\\\"Labels\\\":null},\\\"container\\\":\\\"8746661ca3c2f215da94e6d3f7dfdcafaff5ec0b21c9aff6af3dc379a82fbc72\\\",\\\"container_config\\\":{\\\"Hostname\\\":\\\"8746661ca3c2\\\",\\\"Domainname\\\":\\\"\\\",\\\"User\\\":\\\"\\\",\\\"AttachStdin\\\":false,\\\"AttachStdout\\\":false,\\\"AttachStderr\\\":false,\\\"Tty\\\":false,\\\"OpenStdin\\\":false,\\\"StdinOnce\\\":false,\\\"Env\\\":[\\\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\\\"],\\\"Cmd\\\":[\\\"/bin/sh\\\",\\\"-c\\\",\\\"#(nop) \\\",\\\"CMD [\\\\\\\"/hello\\\\\\\"]\\\"],\\\"Image\\\":\\\"sha256:b9935d4e8431fb1a7f0989304ec86b3329a99a25f5efdc7f09f3f8c41434ca6d\\\",\\\"Volumes\\\":null,\\\"WorkingDir\\\":\\\"\\\",\\\"Entrypoint\\\":null,\\\"OnBuild\\\":null,\\\"Labels\\\":{}},\\\"created\\\":\\\"2021-09-23T23:47:57.442225064Z\\\",\\\"docker_version\\\":\\\"20.10.7\\\",\\\"id\\\":\\\"a1f125167a7f2cffa48b7851ff3f75e983824c16e8da61f20765eb55f7b3a594\\\",\\\"os\\\":\\\"linux\\\",\\\"parent\\\":\\\"cd13bf215b21e9bc78460fa5070860a498671e2ac282d86d15042cf0c26e6e8b\\\",\\\"throwaway\\\":true}\"\n },\n {\n \"v1Compatibility\": \"{\\\"id\\\":\\\"cd13bf215b21e9bc78460fa5070860a498671e2ac282d86d15042cf0c26e6e8b\\\",\\\"created\\\":\\\"2021-09-23T23:47:57.098990892Z\\\",\\\"container_config\\\":{\\\"Cmd\\\":[\\\"/bin/sh -c #(nop) COPY file:50563a97010fd7ce1ceebd1fa4f4891ac3decdf428333fb2683696f4358af6c2 in / \\\"]}}\"\n }\n ],\n \"signatures\": [\n {\n \"header\": {\n \"jwk\": {\n \"crv\": \"P-256\",\n \"kid\": \"XII7:C4CL:NMZ7:FI4T:HI6N:MVOL:ZQUH:6RWO:ABIK:SD4V:FYDS:BWXZ\",\n \"kty\": \"EC\",\n \"x\": \"ZzTrnuAoT8lr3jlH5W_p6RRYaH0STb4nuPG8WcGXQu8\",\n \"y\": \"fZXwo506w0bDSMQM4_4QsZV7lSpaUG74UCoIEDHq8Mk\"\n },\n \"alg\": \"ES256\"\n },\n \"signature\": \"ciCP30zrZ6Awm9s-tsg7gVLOwbvRMB2mOyHvsSBcLWae2d4ca7P124kfHq_xCV8zzeDtQMxzVIHkwP792zFc3g\",\n \"protected\": \"eyJmb3JtYXRMZW5ndGgiOjIxMDAsImZvcm1hdFRhaWwiOiJDbjAiLCJ0aW1lIjoiMjAyMy0wMy0xMFQwMjo0ODowM1oifQ\"\n }\n ]\n}", + "Content-Type" : "application/vnd.docker.distribution.manifest.v1+prettyjws" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "6a90219b-f33b-4fdd-8f66-1060eec5528f", + "Content-Type" : "application/x-www-form-urlencoded" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Ms-Correlation-Request-Id" : "b513b96d-45ac-4306-85e7-1e20a8e50aa9", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Server" : "openresty", + "x-ms-ratelimit-remaining-calls-per-second" : "332.483333", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"access_token\":\"REDACTED\"}", + "Date" : "Fri, 10 Mar 2023 02:48:03 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://REDACTED.azurecr.io/v2/library%2Fhello-world/blobs/sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", + "Headers" : { + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "55435448-edfc-4417-a47c-47acb788da02" + }, + "Response" : { + "Server" : "openresty", + "X-Content-Type-Options" : "nosniff", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "404", + "Date" : "Fri, 10 Mar 2023 02:48:03 GMT", + "Docker-Distribution-Api-Version" : "registry/2.0", + "X-Ms-Correlation-Request-Id" : "8ae8e713-2299-4e34-b2cd-2f157798c0e0", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", + "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Request-Id" : "e3c35792-e296-4d96-9737-f60f4bd2fc93", + "X-Ms-Client-Request-Id" : "55435448-edfc-4417-a47c-47acb788da02", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "32.000000", + "Content-Length" : "74", + "Body" : "{\"errors\":[{\"code\":\"BLOB_UNKNOWN\",\"message\":\"blob unknown to registry\"}]}\n", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "0dfdaa56-c6a7-46a7-be14-6208a4c94a89", + "Content-Type" : "application/x-www-form-urlencoded" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Ms-Correlation-Request-Id" : "9122084b-a2d1-4d4b-8adb-9d24f0ce8854", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Server" : "openresty", + "x-ms-ratelimit-remaining-calls-per-second" : "332.683333", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"access_token\":\"REDACTED\"}", + "Date" : "Fri, 10 Mar 2023 02:48:03 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://REDACTED.azurecr.io/v2/library%2Fhello-world/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", + "Headers" : { + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "ca7e2887-be18-4339-a55a-d3697fb75923" + }, + "Response" : { + "Server" : "openresty", + "X-Content-Type-Options" : "nosniff", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "404", + "Date" : "Fri, 10 Mar 2023 02:48:04 GMT", + "Docker-Distribution-Api-Version" : "registry/2.0", + "X-Ms-Correlation-Request-Id" : "a449906d-8ad5-4c9d-866d-e2d5df9d9727", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", + "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Request-Id" : "a17c63bb-4882-4aa2-a147-3dc86cf902bc", + "X-Ms-Client-Request-Id" : "ca7e2887-be18-4339-a55a-d3697fb75923", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "31.000000", + "Content-Length" : "74", + "Body" : "{\"errors\":[{\"code\":\"BLOB_UNKNOWN\",\"message\":\"blob unknown to registry\"}]}\n", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "441606b1-1a08-4098-856d-e213782e299e", + "Content-Type" : "application/x-www-form-urlencoded" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Ms-Correlation-Request-Id" : "db5ea192-83cf-409a-b931-cff02c297dab", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Server" : "openresty", + "x-ms-ratelimit-remaining-calls-per-second" : "332.55", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"access_token\":\"REDACTED\"}", + "Date" : "Fri, 10 Mar 2023 02:48:04 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://REDACTED.azurecr.io/v2/library%2Fhello-world/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", + "Headers" : { + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "3e5ae895-edd3-4079-9324-3dc2d35f020f" + }, + "Response" : { + "Server" : "openresty", + "X-Content-Type-Options" : "nosniff", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "404", + "Date" : "Fri, 10 Mar 2023 02:48:04 GMT", + "Docker-Distribution-Api-Version" : "registry/2.0", + "X-Ms-Correlation-Request-Id" : "90d98758-7171-4e2c-b555-52eb9f8b058b", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", + "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Request-Id" : "2e86cbfc-4bbb-46d5-96cb-0f0f6439aad1", + "X-Ms-Client-Request-Id" : "3e5ae895-edd3-4079-9324-3dc2d35f020f", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "30.000000", + "Content-Length" : "147", + "Body" : "{\"errors\":[{\"code\":\"MANIFEST_UNKNOWN\",\"message\":\"manifest sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598 is not found\"}]}\n", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + } ], + "variables" : [ ] +} diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestListManifestAsync[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestListManifestAsync[1].json index cef323d556c1..3d5b06428d27 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestListManifestAsync[1].json +++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestListManifestAsync[1].json @@ -190,7 +190,7 @@ "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.azurecr.io/v2/library%2Fhello-world/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/library%2Fhello-world/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", "x-ms-client-request-id" : "dc845869-e35d-4632-9433-6d5eec321e01" @@ -210,10 +210,10 @@ "X-Ms-Client-Request-Id" : "dc845869-e35d-4632-9433-6d5eec321e01", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "30.000000", "Content-Length" : "147", - "Body" : "{\"errors\":[{\"code\":\"MANIFEST_UNKNOWN\",\"message\":\"manifest sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284 is not found\"}]}\n", + "Body" : "{\"errors\":[{\"code\":\"MANIFEST_UNKNOWN\",\"message\":\"manifest sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598 is not found\"}]}\n", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null } ], "variables" : [ ] -} \ No newline at end of file +} diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestListManifest[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestListManifest[1].json index df00ad7db197..d9205d89d1cf 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestListManifest[1].json +++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestListManifest[1].json @@ -190,7 +190,7 @@ "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.azurecr.io/v2/library%2Fhello-world/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/library%2Fhello-world/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", "x-ms-client-request-id" : "b15f887c-4f5d-437d-8b0d-fe9633b9db80" @@ -210,10 +210,10 @@ "X-Ms-Client-Request-Id" : "b15f887c-4f5d-437d-8b0d-fe9633b9db80", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "30.000000", "Content-Length" : "147", - "Body" : "{\"errors\":[{\"code\":\"MANIFEST_UNKNOWN\",\"message\":\"manifest sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284 is not found\"}]}\n", + "Body" : "{\"errors\":[{\"code\":\"MANIFEST_UNKNOWN\",\"message\":\"manifest sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598 is not found\"}]}\n", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null } ], "variables" : [ ] -} \ No newline at end of file +} diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestWithListOfTypesAsync[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestWithListOfTypesAsync[1].json index 5e48ac9ea3e0..bc84cf721112 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestWithListOfTypesAsync[1].json +++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifestWithListOfTypesAsync[1].json @@ -3,21 +3,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "7354c12c-e181-4799-acee-95baafe343c3", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "a0a90370-016a-426d-b661-f5bb584b8a27", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "7d151d6c-cad8-4e51-8897-ae3a2ce881a3", + "X-Ms-Correlation-Request-Id" : "e9bc7d1e-595b-402d-8697-8fb6358f9a1a", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.166667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.85", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"refresh_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 20:03:44 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:02 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -25,21 +25,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "071276f5-d11a-46b1-8416-329922167ed0", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "8eee0589-19c8-4609-afdc-1821569b5dd7", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "14d387ee-0a52-4b38-9ef9-b2696d5a3ed1", + "X-Ms-Correlation-Request-Id" : "697a9e35-7a58-4009-9253-b5b3cf3b19a2", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.083333", + "x-ms-ratelimit-remaining-calls-per-second" : "333.066667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 20:03:44 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:02 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -47,8 +47,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "4ee9d2d3-5b30-494a-a959-ad3040dc605f" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "f9969265-2c11-49e5-8c71-7d01b8928c58" }, "Response" : { "Server" : "openresty", @@ -57,46 +57,46 @@ "retry-after" : "0", "Range" : "0-0", "StatusCode" : "202", - "Date" : "Wed, 08 Mar 2023 20:03:44 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:02 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "2217b701-3322-4861-9f93-78b05f592cb7", + "X-Ms-Correlation-Request-Id" : "40dbba0b-6c0b-4d5e-851e-a0171598a9ff", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "89a03497-79d2-453e-8df7-8865d4019469", - "X-Ms-Client-Request-Id" : "4ee9d2d3-5b30-494a-a959-ad3040dc605f", - "Docker-Upload-Uuid" : "4f389d07-40a9-4b9b-853f-04b686bc3a59", + "X-Ms-Request-Id" : "c839544d-1ea1-4889-b7e5-f582b1e81cf8", + "X-Ms-Client-Request-Id" : "f9969265-2c11-49e5-8c71-7d01b8928c58", + "Docker-Upload-Uuid" : "5ac0e651-090f-446f-a8dc-c03c91ab371e", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/4f389d07-40a9-4b9b-853f-04b686bc3a59?_nouploadcache=false&_state=5ZSuAEbJB9E6xsC41htg8E1R1ciP5LhXziq2AjHZajN7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNGYzODlkMDctNDBhOS00YjliLTg1M2YtMDRiNjg2YmMzYTU5IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTA4VDIwOjAzOjQ0LjgyNTQyNjQ1NVoifQ%3D%3D" + "Location" : "/v2/oci-artifact/blobs/uploads/5ac0e651-090f-446f-a8dc-c03c91ab371e?_nouploadcache=false&_state=kVd9tn-G20hYbaloVwHBrd31giJ3OGVNLg5C1ZCXXFp7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNWFjMGU2NTEtMDkwZi00NDZmLWE4ZGMtYzAzYzkxYWIzNzFlIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjAyLjUxNjkxNDU4NFoifQ%3D%3D" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "95f5b088-8ecb-4a23-9af9-2ff1d85309f5", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "8323d473-7e6e-4d35-8443-78be466861b8", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "d4d6f77a-7699-4fa8-b2b3-4b9cc0d3497f", + "X-Ms-Correlation-Request-Id" : "da25cd60-a659-46f9-965c-8929a637445c", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.15", + "x-ms-ratelimit-remaining-calls-per-second" : "332.833333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 20:03:44 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:02 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/4f389d07-40a9-4b9b-853f-04b686bc3a59?_nouploadcache=false&_state=5ZSuAEbJB9E6xsC41htg8E1R1ciP5LhXziq2AjHZajN7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNGYzODlkMDctNDBhOS00YjliLTg1M2YtMDRiNjg2YmMzYTU5IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTA4VDIwOjAzOjQ0LjgyNTQyNjQ1NVoifQ%3D%3D", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/5ac0e651-090f-446f-a8dc-c03c91ab371e?_nouploadcache=false&_state=kVd9tn-G20hYbaloVwHBrd31giJ3OGVNLg5C1ZCXXFp7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNWFjMGU2NTEtMDkwZi00NDZmLWE4ZGMtYzAzYzkxYWIzNzFlIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjAyLjUxNjkxNDU4NFoifQ%3D%3D", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "d782a553-c2f3-4039-905a-724be4a11a11", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "b064bf65-cda0-4475-8778-8c55bf175715", "Content-Type" : "application/octet-stream" }, "Response" : { @@ -106,46 +106,46 @@ "retry-after" : "0", "Range" : "0-1", "StatusCode" : "202", - "Date" : "Wed, 08 Mar 2023 20:03:44 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:02 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "82ed34cf-2d4d-4798-abee-ba186501ca50", + "X-Ms-Correlation-Request-Id" : "a6225cd0-4505-4b23-9896-43a6ba9a661a", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "1afc49d9-485c-4f18-a241-90449c3e5f56", - "X-Ms-Client-Request-Id" : "d782a553-c2f3-4039-905a-724be4a11a11", - "Docker-Upload-Uuid" : "4f389d07-40a9-4b9b-853f-04b686bc3a59", + "X-Ms-Request-Id" : "3067703d-eacf-4da5-ba87-25704bef3f03", + "X-Ms-Client-Request-Id" : "b064bf65-cda0-4475-8778-8c55bf175715", + "Docker-Upload-Uuid" : "5ac0e651-090f-446f-a8dc-c03c91ab371e", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/4f389d07-40a9-4b9b-853f-04b686bc3a59?_nouploadcache=false&_state=YiMWSv-RsXnSEYMvVXe-hdGUdvyXc0ggApOrahfvpv57Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNGYzODlkMDctNDBhOS00YjliLTg1M2YtMDRiNjg2YmMzYTU5IiwiT2Zmc2V0IjoyLCJTdGFydGVkQXQiOiIyMDIzLTAzLTA4VDIwOjAzOjQ0WiJ9" + "Location" : "/v2/oci-artifact/blobs/uploads/5ac0e651-090f-446f-a8dc-c03c91ab371e?_nouploadcache=false&_state=N8ZmhfKCBBa1jbMpmBY-FTxnxgm0E7RCIwDile1W0nZ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNWFjMGU2NTEtMDkwZi00NDZmLWE4ZGMtYzAzYzkxYWIzNzFlIiwiT2Zmc2V0IjoyLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjAyWiJ9" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "1d294eb5-5615-4db1-bcd1-e38f1d23971b", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "d5105e1d-f637-4dd1-98e8-f37d0e99697a", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "e6f99266-cc56-4390-99b2-133e7e56451c", + "X-Ms-Correlation-Request-Id" : "e3cb73d8-ea7b-4ef3-9d26-17f6b0f9866a", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.066667", + "x-ms-ratelimit-remaining-calls-per-second" : "333.05", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 20:03:45 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:02 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/4f389d07-40a9-4b9b-853f-04b686bc3a59?_nouploadcache=false&_state=YiMWSv-RsXnSEYMvVXe-hdGUdvyXc0ggApOrahfvpv57Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNGYzODlkMDctNDBhOS00YjliLTg1M2YtMDRiNjg2YmMzYTU5IiwiT2Zmc2V0IjoyLCJTdGFydGVkQXQiOiIyMDIzLTAzLTA4VDIwOjAzOjQ0WiJ9&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/5ac0e651-090f-446f-a8dc-c03c91ab371e?_nouploadcache=false&_state=N8ZmhfKCBBa1jbMpmBY-FTxnxgm0E7RCIwDile1W0nZ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNWFjMGU2NTEtMDkwZi00NDZmLWE4ZGMtYzAzYzkxYWIzNzFlIiwiT2Zmc2V0IjoyLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjAyWiJ9&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "3d39ace2-55b3-45d7-8691-e55cbb6fcce6" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "5ffa387f-fbab-49ed-ae45-828acfbdecb8" }, "Response" : { "Server" : "openresty", @@ -153,14 +153,14 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Mar 2023 20:03:45 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:02 GMT", "Docker-Content-Digest" : "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "7c1d13a6-7466-4113-a3a3-951a6badea96", + "X-Ms-Correlation-Request-Id" : "8ab4ba5b-a76b-46a9-91a7-ddf1c57ab649", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "862d9946-3f94-4846-bf85-600de4711c08", - "X-Ms-Client-Request-Id" : "3d39ace2-55b3-45d7-8691-e55cbb6fcce6", + "X-Ms-Request-Id" : "f739542c-cbec-495d-9bc0-ca6751cd48a4", + "X-Ms-Client-Request-Id" : "5ffa387f-fbab-49ed-ae45-828acfbdecb8", "Content-Length" : "0", "Location" : "/v2/oci-artifact/blobs/sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a" }, @@ -169,21 +169,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "61a42e02-bb16-4c18-9bef-ae64e9141677", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "b91358aa-6972-4dfd-880d-85eb46ad5850", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "76ea5cce-e5b1-4fd7-b5b3-f646ca8e5fea", + "X-Ms-Correlation-Request-Id" : "2e439d30-e186-4542-a890-4e8695cd4323", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.133333", + "x-ms-ratelimit-remaining-calls-per-second" : "332.816667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 20:03:45 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:02 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -191,8 +191,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "9b4672c6-9207-4fc1-b568-f7f026219bba" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "d7b2722a-1a72-4a78-b020-6e4ac6060b2c" }, "Response" : { "Server" : "openresty", @@ -201,46 +201,46 @@ "retry-after" : "0", "Range" : "0-0", "StatusCode" : "202", - "Date" : "Wed, 08 Mar 2023 20:03:45 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:03 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "5dd1f7bf-a2e7-42e4-ad43-356b8d6f3eda", + "X-Ms-Correlation-Request-Id" : "09462bba-bc71-4eb1-993d-1dfe4551536a", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "09481cd9-c329-45ca-bddd-7d78eebe9fef", - "X-Ms-Client-Request-Id" : "9b4672c6-9207-4fc1-b568-f7f026219bba", - "Docker-Upload-Uuid" : "c8dd87d9-b973-4a46-b5cb-2c588ba8f842", + "X-Ms-Request-Id" : "3f3700da-387d-45e6-a943-0384a63290d7", + "X-Ms-Client-Request-Id" : "d7b2722a-1a72-4a78-b020-6e4ac6060b2c", + "Docker-Upload-Uuid" : "cd694244-7d07-48af-b11f-2bdba7cb8789", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/c8dd87d9-b973-4a46-b5cb-2c588ba8f842?_nouploadcache=false&_state=7tuF_oJtmCPW5DPbzK7lXdpGrZE2L6lFLfmkotxcb1x7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYzhkZDg3ZDktYjk3My00YTQ2LWI1Y2ItMmM1ODhiYThmODQyIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTA4VDIwOjAzOjQ1LjI5Nzk0NzcwN1oifQ%3D%3D" + "Location" : "/v2/oci-artifact/blobs/uploads/cd694244-7d07-48af-b11f-2bdba7cb8789?_nouploadcache=false&_state=-E9V28TNpXONNCWIUXtjuyhmgakZcLeUmVtFWpeb1Kh7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiY2Q2OTQyNDQtN2QwNy00OGFmLWIxMWYtMmJkYmE3Y2I4Nzg5IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjAyLjk4NjUyODUxNVoifQ%3D%3D" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "b467f5a9-6200-4e88-84a4-ec801e843b79", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "94adb947-8c8d-49a5-aa36-1c98b4f8bbce", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "23dacb80-1cb8-4f98-a859-78e2466f5ff9", + "X-Ms-Correlation-Request-Id" : "9faefc4c-5370-4ebe-9fcc-c5977f10a793", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.05", + "x-ms-ratelimit-remaining-calls-per-second" : "333.033333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 20:03:45 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:03 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/c8dd87d9-b973-4a46-b5cb-2c588ba8f842?_nouploadcache=false&_state=7tuF_oJtmCPW5DPbzK7lXdpGrZE2L6lFLfmkotxcb1x7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYzhkZDg3ZDktYjk3My00YTQ2LWI1Y2ItMmM1ODhiYThmODQyIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTA4VDIwOjAzOjQ1LjI5Nzk0NzcwN1oifQ%3D%3D", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/cd694244-7d07-48af-b11f-2bdba7cb8789?_nouploadcache=false&_state=-E9V28TNpXONNCWIUXtjuyhmgakZcLeUmVtFWpeb1Kh7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiY2Q2OTQyNDQtN2QwNy00OGFmLWIxMWYtMmJkYmE3Y2I4Nzg5IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjAyLjk4NjUyODUxNVoifQ%3D%3D", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "fa14bb17-0cda-4335-822b-6118994cc566", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "955ddc9c-44a6-4a8a-9540-3f3d7bd28ae6", "Content-Type" : "application/octet-stream" }, "Response" : { @@ -250,46 +250,46 @@ "retry-after" : "0", "Range" : "0-10", "StatusCode" : "202", - "Date" : "Wed, 08 Mar 2023 20:03:45 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:03 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "19645afd-682b-403d-9441-87d70c20ba86", + "X-Ms-Correlation-Request-Id" : "5f8555fd-bb46-40f6-919e-dfb8af0a2c38", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "bfb67ca4-83df-49f8-aac2-ebe88cb912ba", - "X-Ms-Client-Request-Id" : "fa14bb17-0cda-4335-822b-6118994cc566", - "Docker-Upload-Uuid" : "c8dd87d9-b973-4a46-b5cb-2c588ba8f842", + "X-Ms-Request-Id" : "8535611e-b1ec-4b66-8955-c5c402c48770", + "X-Ms-Client-Request-Id" : "955ddc9c-44a6-4a8a-9540-3f3d7bd28ae6", + "Docker-Upload-Uuid" : "cd694244-7d07-48af-b11f-2bdba7cb8789", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/c8dd87d9-b973-4a46-b5cb-2c588ba8f842?_nouploadcache=false&_state=TAOoZEfQQ83zWPITQ1vPYu8xGyMr9UcLxGH0QkEQNDJ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYzhkZDg3ZDktYjk3My00YTQ2LWI1Y2ItMmM1ODhiYThmODQyIiwiT2Zmc2V0IjoxMSwiU3RhcnRlZEF0IjoiMjAyMy0wMy0wOFQyMDowMzo0NVoifQ%3D%3D" + "Location" : "/v2/oci-artifact/blobs/uploads/cd694244-7d07-48af-b11f-2bdba7cb8789?_nouploadcache=false&_state=zWRbAZIzbVWRdRwk-6GnRxOz6nSeMn9jdxT10NXHGBJ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiY2Q2OTQyNDQtN2QwNy00OGFmLWIxMWYtMmJkYmE3Y2I4Nzg5IiwiT2Zmc2V0IjoxMSwiU3RhcnRlZEF0IjoiMjAyMy0wMy0xMVQwMDozMTowMloifQ%3D%3D" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "a667b1df-2e26-470e-a1d8-a3c1f3f9f9aa", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "62d104a9-7886-4bb6-a03e-9a19337b8a7a", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "02cddf4c-eb3f-495a-8e06-b5fa57f4075c", + "X-Ms-Correlation-Request-Id" : "5ca1a014-f8c7-4065-b064-a86d14df12c0", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.866667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.8", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 20:03:45 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:03 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/c8dd87d9-b973-4a46-b5cb-2c588ba8f842?_nouploadcache=false&_state=TAOoZEfQQ83zWPITQ1vPYu8xGyMr9UcLxGH0QkEQNDJ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiYzhkZDg3ZDktYjk3My00YTQ2LWI1Y2ItMmM1ODhiYThmODQyIiwiT2Zmc2V0IjoxMSwiU3RhcnRlZEF0IjoiMjAyMy0wMy0wOFQyMDowMzo0NVoifQ%3D%3D&digest=sha256%3Ab94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/cd694244-7d07-48af-b11f-2bdba7cb8789?_nouploadcache=false&_state=zWRbAZIzbVWRdRwk-6GnRxOz6nSeMn9jdxT10NXHGBJ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiY2Q2OTQyNDQtN2QwNy00OGFmLWIxMWYtMmJkYmE3Y2I4Nzg5IiwiT2Zmc2V0IjoxMSwiU3RhcnRlZEF0IjoiMjAyMy0wMy0xMVQwMDozMTowMloifQ%3D%3D&digest=sha256%3Ab94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "722bf334-ddb5-42b8-9dbf-6b23610ecf1b" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "7c6e4edb-3ea5-48ac-a525-035b8cfbe0e8" }, "Response" : { "Server" : "openresty", @@ -297,14 +297,14 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Mar 2023 20:03:45 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:03 GMT", "Docker-Content-Digest" : "sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "02d39f25-05fb-47f1-8adc-f0a64503ce2c", + "X-Ms-Correlation-Request-Id" : "d204e54b-ec42-4b60-ad98-a300c8b621c5", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "1c22aec7-a652-41fc-8afd-2277ac414dfd", - "X-Ms-Client-Request-Id" : "722bf334-ddb5-42b8-9dbf-6b23610ecf1b", + "X-Ms-Request-Id" : "6156b329-d8a3-4a14-a7e6-a08fba09db67", + "X-Ms-Client-Request-Id" : "7c6e4edb-3ea5-48ac-a525-035b8cfbe0e8", "Content-Length" : "0", "Location" : "/v2/oci-artifact/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9" }, @@ -313,30 +313,30 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "8fd0583f-2d7c-4b14-a3f8-c69f3c92f034", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "739809cb-b65b-4ac5-9eba-97c32f8bf153", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "64330611-b77c-4abf-b28c-1de935225688", + "X-Ms-Correlation-Request-Id" : "cda2a7ed-4276-44a9-b617-96f665c715df", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.033333", + "x-ms-ratelimit-remaining-calls-per-second" : "333.016667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 20:03:45 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:03 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "68b79126-dcee-4a4a-ae04-e77915e3bed0", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "ba9be621-47f7-4c9e-a225-55367b4782b8", "Content-Type" : "application/vnd.oci.image.manifest.v1+json" }, "Response" : { @@ -345,46 +345,46 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Mar 2023 20:03:45 GMT", - "Docker-Content-Digest" : "sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Date" : "Sat, 11 Mar 2023 00:31:03 GMT", + "Docker-Content-Digest" : "sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "d8f7aa20-7616-4250-94dc-6740ebf7436f", + "X-Ms-Correlation-Request-Id" : "d469a8d8-5562-4651-8c00-5326e0d4bc20", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "72161aab-2c2e-4e46-8012-6d440e9c8439", - "X-Ms-Client-Request-Id" : "68b79126-dcee-4a4a-ae04-e77915e3bed0", + "X-Ms-Request-Id" : "5f7ff146-974d-41b7-aa51-797b368dd737", + "X-Ms-Client-Request-Id" : "ba9be621-47f7-4c9e-a225-55367b4782b8", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284" + "Location" : "/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "0835e156-1611-409e-b79b-2838901c58be", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "71defc9c-55e4-4692-996a-7189ab4f50fe", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "5a5aaebc-7459-49f8-8659-be3c9ab93d6d", + "X-Ms-Correlation-Request-Id" : "96c86585-73df-473b-a732-150fff2dd8c4", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.85", + "x-ms-ratelimit-remaining-calls-per-second" : "332.783333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 20:03:45 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:03 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "e48a5bad-1bb8-434b-a611-816bca60db1e" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "0d7cdce6-2c4d-4e62-9e53-b54d4ed53f4f" }, "Response" : { "Server" : "openresty", @@ -392,17 +392,17 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Mar 2023 20:03:45 GMT", - "Docker-Content-Digest" : "sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Date" : "Sat, 11 Mar 2023 00:31:03 GMT", + "Docker-Content-Digest" : "sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "248e0ae4-f4e2-48af-bb61-66fbd698e3a2", + "X-Ms-Correlation-Request-Id" : "af892a26-d49e-400b-9a29-9aca7c5b230a", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "a6172d36-a362-4b45-8ee5-ac3f19deb10a", - "X-Ms-Client-Request-Id" : "e48a5bad-1bb8-434b-a611-816bca60db1e", - "Etag" : "\"sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284\"", + "X-Ms-Request-Id" : "658a018d-2c0d-40fd-803c-e89c79069e01", + "X-Ms-Client-Request-Id" : "0d7cdce6-2c4d-4e62-9e53-b54d4ed53f4f", + "Etag" : "\"sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598\"", "Content-Length" : "459", - "Body" : "{\"config\":{\"mediaType\":\"application/vnd.acme.rocket.config.v1+json\",\"size\":171,\"digest\":\"sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\"},\"layers\":[{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar\",\"size\":28,\"digest\":\"sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9\",\"annotations\":{\"org.opencontainers.image.ref.name\":\"654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed\"}}],\"schemaVersion\":2}", + "Body" : "{\"schemaVersion\":2,\"config\":{\"mediaType\":\"application/vnd.acme.rocket.config.v1+json\",\"size\":171,\"digest\":\"sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\"},\"layers\":[{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar\",\"size\":28,\"digest\":\"sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9\",\"annotations\":{\"org.opencontainers.image.ref.name\":\"654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed\"}}]}", "Content-Type" : "application/vnd.oci.image.manifest.v1+json" }, "Exception" : null @@ -410,21 +410,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "e42d5402-09a9-4ffe-b7c2-7801cdcd0f92", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "904500ce-1634-46a4-9507-0aa086761b7b", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "471d9a35-029d-4ed2-b54d-99a93a56e3ef", + "X-Ms-Correlation-Request-Id" : "cd7873a5-70fb-44cd-8d4c-9cebe5442f18", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.016667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.7", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 20:03:46 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:03 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -432,8 +432,8 @@ "Method" : "DELETE", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "32b25f5f-8835-4d80-b96e-37050b5ebba9" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "d0c18aca-2459-4e6c-a845-b1de33312438" }, "Response" : { "Server" : "openresty", @@ -441,13 +441,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Wed, 08 Mar 2023 20:03:46 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:03 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "b94c7ac9-8ea3-4bb3-847d-66196cd8d8bf", + "X-Ms-Correlation-Request-Id" : "72ca9b7c-ab61-45da-b373-ebc89ddcd079", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "abd93763-5243-48d5-93e7-5988c9712e0c", - "X-Ms-Client-Request-Id" : "32b25f5f-8835-4d80-b96e-37050b5ebba9", + "X-Ms-Request-Id" : "5a36295e-0ffb-4c6d-b92f-40e687e164e1", + "X-Ms-Client-Request-Id" : "d0c18aca-2459-4e6c-a845-b1de33312438", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "32.000000", "Content-Length" : "0" }, @@ -456,21 +456,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "e82d347b-f94f-41a3-b2c9-1f0a102adbc8", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "25e1a06e-9b54-41f7-bc36-7eacd48c0b9d", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "0cb62edf-39f6-4213-be5b-7b10d4c564ca", + "X-Ms-Correlation-Request-Id" : "c49137a5-ff28-4f2c-b865-48239ff25066", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.166667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.9", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 20:03:46 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:04 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -478,8 +478,8 @@ "Method" : "DELETE", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "d67c2c6c-d498-4032-9831-8f17d9f92e91" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "0281cee7-e94e-48d2-9a8d-dc547f39ea26" }, "Response" : { "Server" : "openresty", @@ -487,13 +487,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Wed, 08 Mar 2023 20:03:46 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:04 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "54ad5c96-399b-49fc-92c0-b78d81413846", + "X-Ms-Correlation-Request-Id" : "362336c7-e516-4d2e-aee1-164b3273026f", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "ccb25fef-134a-4683-9416-aa08519dc50d", - "X-Ms-Client-Request-Id" : "d67c2c6c-d498-4032-9831-8f17d9f92e91", + "X-Ms-Request-Id" : "91d3d886-b52f-44a5-aea2-36fa7253809d", + "X-Ms-Client-Request-Id" : "0281cee7-e94e-48d2-9a8d-dc547f39ea26", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "31.000000", "Content-Length" : "0" }, @@ -502,30 +502,30 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "cd025f9d-4206-4456-9086-bfc769503286", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "648f1bd2-a104-45bf-9136-5adc769c7d97", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "bce6b7e3-6f00-483d-b2df-2bfd97375cc4", + "X-Ms-Correlation-Request-Id" : "c064ff7c-afe1-4b37-b1ba-a9d37622b107", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.2", + "x-ms-ratelimit-remaining-calls-per-second" : "332.683333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 08 Mar 2023 20:03:46 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:04 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "99e85c54-aeac-4788-9b35-e14a770e1099" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "bb60aa36-87d6-49f9-a3f5-9aee8f436e43" }, "Response" : { "Server" : "openresty", @@ -533,13 +533,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Wed, 08 Mar 2023 20:03:46 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:04 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "f2ff2a83-caee-4af6-8297-c2ba29ec352e", + "X-Ms-Correlation-Request-Id" : "4130e174-6706-4ac2-8348-d1ca073885cd", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "fd83c040-c381-4f07-adb5-77ac1c4444aa", - "X-Ms-Client-Request-Id" : "99e85c54-aeac-4788-9b35-e14a770e1099", + "X-Ms-Request-Id" : "d3b8d90d-1951-4d0e-9042-b8958e502a08", + "X-Ms-Client-Request-Id" : "bb60aa36-87d6-49f9-a3f5-9aee8f436e43", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "30.000000", "Content-Length" : "0" }, diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifest[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifest[1].json index 074eba3566c1..5c4a962cb350 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifest[1].json +++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryBlobClientIntegrationTests.downloadManifest[1].json @@ -3,21 +3,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "cd581feb-612a-4863-a2c6-55f66f8174be", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "78cc2281-0837-4592-81c3-c8190ba139dd", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "cdd751e4-4c66-4844-9d5f-d31ece87f103", + "X-Ms-Correlation-Request-Id" : "9aa6fdba-28d4-40cc-b49e-e3e699e3a71b", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.65", + "x-ms-ratelimit-remaining-calls-per-second" : "332.583333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"refresh_token\":\"REDACTED\"}", - "Date" : "Wed, 01 Mar 2023 01:58:02 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:11 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -25,21 +25,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "d2c5d6cf-9a73-417d-97a1-38fdf8aaf11f", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "c0493e2e-c9cc-4fcd-9d9f-aa9ab06cee18", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "97d2c5f9-5c31-426c-99da-aa51e862b9db", + "X-Ms-Correlation-Request-Id" : "79fcee03-2b00-43cb-a83b-978f4f4c33ed", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "333.066667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.416667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 01 Mar 2023 01:58:02 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:11 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -47,8 +47,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "90d1047a-011d-4549-bd28-d77a3f14a034" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "899419d6-d5bc-4642-809c-644d98b9d8fb" }, "Response" : { "Server" : "openresty", @@ -57,46 +57,46 @@ "retry-after" : "0", "Range" : "0-0", "StatusCode" : "202", - "Date" : "Wed, 01 Mar 2023 01:58:02 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:11 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "f4b88e67-a8c4-4990-84ef-79e0ba42dad7", + "X-Ms-Correlation-Request-Id" : "aee3545e-59eb-4785-8194-214b23c26215", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "90c0b257-23bf-4712-9cbc-73f63bbb6b54", - "X-Ms-Client-Request-Id" : "90d1047a-011d-4549-bd28-d77a3f14a034", - "Docker-Upload-Uuid" : "89eb55b3-b1df-4c6a-89cd-cde0f0a37167", + "X-Ms-Request-Id" : "9c01e75e-664f-469a-a9a7-1200aad7b9a4", + "X-Ms-Client-Request-Id" : "899419d6-d5bc-4642-809c-644d98b9d8fb", + "Docker-Upload-Uuid" : "f4ade6ec-0536-402d-b90b-95f5f52883a4", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/89eb55b3-b1df-4c6a-89cd-cde0f0a37167?_nouploadcache=false&_state=xHZZdHIjVjVxrfP_Shi85mUL-KSQT13T0h9CJ_xdmgB7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiODllYjU1YjMtYjFkZi00YzZhLTg5Y2QtY2RlMGYwYTM3MTY3IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTAxVDAxOjU4OjAyLjg5MTcwNjEyNFoifQ%3D%3D" + "Location" : "/v2/oci-artifact/blobs/uploads/f4ade6ec-0536-402d-b90b-95f5f52883a4?_nouploadcache=false&_state=k3TFxYKlU9wUHY5LPetYn6zbHgSzmoEkwllZ5MmszJZ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZjRhZGU2ZWMtMDUzNi00MDJkLWI5MGItOTVmNWY1Mjg4M2E0IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjExLjgwOTE4ODA4WiJ9" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "e6a83e44-acd2-4353-9872-8487a2779498", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "88c2404f-030b-4b8d-8c3c-3210b2e18bd5", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "7cdbcde3-f698-4bad-b38c-03586f4d563b", + "X-Ms-Correlation-Request-Id" : "aaf991b1-367c-4668-9ccf-98d6ba9140c8", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.633333", + "x-ms-ratelimit-remaining-calls-per-second" : "332.566667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 01 Mar 2023 01:58:02 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:11 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/89eb55b3-b1df-4c6a-89cd-cde0f0a37167?_nouploadcache=false&_state=xHZZdHIjVjVxrfP_Shi85mUL-KSQT13T0h9CJ_xdmgB7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiODllYjU1YjMtYjFkZi00YzZhLTg5Y2QtY2RlMGYwYTM3MTY3IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTAxVDAxOjU4OjAyLjg5MTcwNjEyNFoifQ%3D%3D&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/f4ade6ec-0536-402d-b90b-95f5f52883a4?_nouploadcache=false&_state=k3TFxYKlU9wUHY5LPetYn6zbHgSzmoEkwllZ5MmszJZ7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiZjRhZGU2ZWMtMDUzNi00MDJkLWI5MGItOTVmNWY1Mjg4M2E0IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjExLjgwOTE4ODA4WiJ9&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "d300065f-9fff-438f-93e0-2ead23efa7f0", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "9ba52809-7b8b-40ba-8bf5-e0b83c1096d6", "Content-Type" : "application/octet-stream" }, "Response" : { @@ -105,14 +105,14 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 01 Mar 2023 01:58:03 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:12 GMT", "Docker-Content-Digest" : "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "27b5c1bc-5120-4027-b2cd-19a1d529e92e", + "X-Ms-Correlation-Request-Id" : "edb0fad4-f8ee-4d3a-be23-bc2ccecf2ff4", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "2d0897bf-bbd3-47f6-afba-c629fff6458a", - "X-Ms-Client-Request-Id" : "d300065f-9fff-438f-93e0-2ead23efa7f0", + "X-Ms-Request-Id" : "59b93dc7-43bc-4960-a048-0c741fdba336", + "X-Ms-Client-Request-Id" : "9ba52809-7b8b-40ba-8bf5-e0b83c1096d6", "Content-Length" : "0", "Location" : "/v2/oci-artifact/blobs/sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a" }, @@ -121,21 +121,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "df355622-73e8-4ad9-befd-e307d8b25606", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "2b1361fc-fefb-432f-ac39-45303aff43a8", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "df129dd4-194a-4a1f-a1f5-804d70cd26f1", + "X-Ms-Correlation-Request-Id" : "21d50f36-61d9-417b-b956-5e87022798ba", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.566667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.4", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 01 Mar 2023 01:58:03 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:12 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -143,8 +143,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "246215ad-4dc4-4d64-aebb-7129ae5d41aa" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "d34c3442-fa93-4b0b-9786-aced6c5634db" }, "Response" : { "Server" : "openresty", @@ -153,46 +153,46 @@ "retry-after" : "0", "Range" : "0-0", "StatusCode" : "202", - "Date" : "Wed, 01 Mar 2023 01:58:03 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:12 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "ee8417d6-524a-49e8-915c-64a585d6b631", + "X-Ms-Correlation-Request-Id" : "8f7e3133-af0e-4be0-915e-0a9ffbd8ba33", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "905076c5-4ec2-47ae-9559-86f8495f3898", - "X-Ms-Client-Request-Id" : "246215ad-4dc4-4d64-aebb-7129ae5d41aa", - "Docker-Upload-Uuid" : "50a31454-82e5-41a7-8ed6-5644ce9efd3b", + "X-Ms-Request-Id" : "09afc994-9db5-4001-bf83-84ee3c0e87d7", + "X-Ms-Client-Request-Id" : "d34c3442-fa93-4b0b-9786-aced6c5634db", + "Docker-Upload-Uuid" : "829fd1cb-81c8-4277-b7c4-1cafaf907ebe", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/blobs/uploads/50a31454-82e5-41a7-8ed6-5644ce9efd3b?_nouploadcache=false&_state=IaO7uiLr8-TPEBXQDYq9t0Z7PRVBByNSk2KPhyzBspB7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNTBhMzE0NTQtODJlNS00MWE3LThlZDYtNTY0NGNlOWVmZDNiIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTAxVDAxOjU4OjAzLjIwNzUzMjUwM1oifQ%3D%3D" + "Location" : "/v2/oci-artifact/blobs/uploads/829fd1cb-81c8-4277-b7c4-1cafaf907ebe?_nouploadcache=false&_state=MsDRci9hLD4OScXKuCIbbummZbClyuBi9X3EHDzG5sh7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiODI5ZmQxY2ItODFjOC00Mjc3LWI3YzQtMWNhZmFmOTA3ZWJlIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjEyLjEzOTgwNDYyN1oifQ%3D%3D" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "c312d4ef-4700-4f24-97f7-b1741d331706", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "abf1e016-bace-49bf-b09c-db0d3853054e", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "56949c68-009b-4d75-ae6c-feddd3a3bb7e", + "X-Ms-Correlation-Request-Id" : "d98af7da-6e74-48a1-98f4-a4834be292eb", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.616667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.55", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 01 Mar 2023 01:58:03 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:12 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/50a31454-82e5-41a7-8ed6-5644ce9efd3b?_nouploadcache=false&_state=IaO7uiLr8-TPEBXQDYq9t0Z7PRVBByNSk2KPhyzBspB7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiNTBhMzE0NTQtODJlNS00MWE3LThlZDYtNTY0NGNlOWVmZDNiIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTAxVDAxOjU4OjAzLjIwNzUzMjUwM1oifQ%3D%3D&digest=sha256%3Ab94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/uploads/829fd1cb-81c8-4277-b7c4-1cafaf907ebe?_nouploadcache=false&_state=MsDRci9hLD4OScXKuCIbbummZbClyuBi9X3EHDzG5sh7Ik5hbWUiOiJvY2ktYXJ0aWZhY3QiLCJVVUlEIjoiODI5ZmQxY2ItODFjOC00Mjc3LWI3YzQtMWNhZmFmOTA3ZWJlIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTAzLTExVDAwOjMxOjEyLjEzOTgwNDYyN1oifQ%3D%3D&digest=sha256%3Ab94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "021d76ff-e17e-4fb0-a29d-b318ba2a3032", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "798feac2-2378-4931-a91a-89bc728b2dff", "Content-Type" : "application/octet-stream" }, "Response" : { @@ -201,14 +201,14 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 01 Mar 2023 01:58:03 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:12 GMT", "Docker-Content-Digest" : "sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "e3f417ca-5182-448a-b441-43e6a9f203ad", + "X-Ms-Correlation-Request-Id" : "96f7a563-8f79-42dc-8a50-0e2688af9f47", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "fe1fa372-b404-4f14-9af3-457e47ffb412", - "X-Ms-Client-Request-Id" : "021d76ff-e17e-4fb0-a29d-b318ba2a3032", + "X-Ms-Request-Id" : "79f4f80f-3832-40ee-a045-2cb988782834", + "X-Ms-Client-Request-Id" : "798feac2-2378-4931-a91a-89bc728b2dff", "Content-Length" : "0", "Location" : "/v2/oci-artifact/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9" }, @@ -217,30 +217,30 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "534f3293-4ed5-43d6-8377-6a93055ad963", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "e566bf1e-ef76-4821-b4a0-1caf61d7d0ed", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "839878be-41ee-4f96-aff8-96890331b07b", + "X-Ms-Correlation-Request-Id" : "c7c64599-ca9e-4685-9cb5-e33cf8cba588", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.55", + "x-ms-ratelimit-remaining-calls-per-second" : "332.383333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 01 Mar 2023 01:58:03 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:12 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/latest", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "7de1e417-cbdd-43d2-8e10-c5a947c3c95c", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "d4d6196b-6959-40e4-9136-47935fe8f097", "Content-Type" : "application/vnd.oci.image.manifest.v1+json" }, "Response" : { @@ -249,46 +249,46 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 01 Mar 2023 01:58:03 GMT", - "Docker-Content-Digest" : "sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Date" : "Sat, 11 Mar 2023 00:31:12 GMT", + "Docker-Content-Digest" : "sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "eaddf1a9-8560-4c9b-bb2e-ffcf01e8d846", + "X-Ms-Correlation-Request-Id" : "d49b63f3-2850-41e1-96b9-0e46f243663c", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "867b49e6-f6ac-43d7-8cec-a134e6e4f7f5", - "X-Ms-Client-Request-Id" : "7de1e417-cbdd-43d2-8e10-c5a947c3c95c", + "X-Ms-Request-Id" : "da060465-62da-4188-9d72-fdaef3c12047", + "X-Ms-Client-Request-Id" : "d4d6196b-6959-40e4-9136-47935fe8f097", "Content-Length" : "0", - "Location" : "/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284" + "Location" : "/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "3cd87b38-2341-401d-bd39-d3aaf5569a0f", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "da5c6922-56db-436b-b6d2-1ffd5e1a24c5", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "618358b8-ef8d-4d88-b117-f41b2c697185", + "X-Ms-Correlation-Request-Id" : "3c1277cc-bfc6-4413-a43f-f1462dc35f4a", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.6", + "x-ms-ratelimit-remaining-calls-per-second" : "332.533333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 01 Mar 2023 01:58:03 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:12 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "8e30ad8b-621a-4e2c-9537-75e79a75ae29" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "8ae6c248-f9b8-470c-9fec-fa48a3281ae4" }, "Response" : { "Server" : "openresty", @@ -296,17 +296,17 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 01 Mar 2023 01:58:03 GMT", - "Docker-Content-Digest" : "sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Date" : "Sat, 11 Mar 2023 00:31:12 GMT", + "Docker-Content-Digest" : "sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "95b3454f-ce2f-485c-8362-9d5a1923f4c5", + "X-Ms-Correlation-Request-Id" : "2a13367d-43fc-4d09-b68b-af8456fcb37a", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "eb50de22-345a-4aac-968f-f32f30d102d5", - "X-Ms-Client-Request-Id" : "8e30ad8b-621a-4e2c-9537-75e79a75ae29", - "Etag" : "\"sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284\"", + "X-Ms-Request-Id" : "5974bd5b-f68d-49d7-90e1-50ee00e46269", + "X-Ms-Client-Request-Id" : "8ae6c248-f9b8-470c-9fec-fa48a3281ae4", + "Etag" : "\"sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598\"", "Content-Length" : "459", - "Body" : "{\"config\":{\"mediaType\":\"application/vnd.acme.rocket.config.v1+json\",\"size\":171,\"digest\":\"sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\"},\"layers\":[{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar\",\"size\":28,\"digest\":\"sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9\",\"annotations\":{\"org.opencontainers.image.ref.name\":\"654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed\"}}],\"schemaVersion\":2}", + "Body" : "{\"schemaVersion\":2,\"config\":{\"mediaType\":\"application/vnd.acme.rocket.config.v1+json\",\"size\":171,\"digest\":\"sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\"},\"layers\":[{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar\",\"size\":28,\"digest\":\"sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9\",\"annotations\":{\"org.opencontainers.image.ref.name\":\"654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed\"}}]}", "Content-Type" : "application/vnd.oci.image.manifest.v1+json" }, "Exception" : null @@ -314,21 +314,70 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "084b347d-e3cf-4672-afc7-8503fdfb7572", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "bc65efa6-5bb0-40da-b29e-27734238828f", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "e8b03c8e-8c84-46a2-b2ff-252505584567", + "X-Ms-Correlation-Request-Id" : "a1d68a28-3dc4-4a3e-978e-eba4eea2e4fa", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.583333", + "x-ms-ratelimit-remaining-calls-per-second" : "332.516667", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 01 Mar 2023 01:58:03 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:12 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/latest", + "Headers" : { + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "8987ad0c-7198-4014-b8c7-82a3fc32d6e8" + }, + "Response" : { + "Server" : "openresty", + "X-Content-Type-Options" : "nosniff", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Sat, 11 Mar 2023 00:31:13 GMT", + "Docker-Content-Digest" : "sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", + "Docker-Distribution-Api-Version" : "registry/2.0", + "X-Ms-Correlation-Request-Id" : "7180e9e9-b581-41a6-9ad1-50013a26ea61", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", + "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", + "X-Ms-Request-Id" : "b82fe6cd-cebe-403f-9ae0-1ebba48b4d92", + "X-Ms-Client-Request-Id" : "8987ad0c-7198-4014-b8c7-82a3fc32d6e8", + "Etag" : "\"sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598\"", + "Content-Length" : "459", + "Body" : "{\"schemaVersion\":2,\"config\":{\"mediaType\":\"application/vnd.acme.rocket.config.v1+json\",\"size\":171,\"digest\":\"sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\"},\"layers\":[{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar\",\"size\":28,\"digest\":\"sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9\",\"annotations\":{\"org.opencontainers.image.ref.name\":\"654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed\"}}]}", + "Content-Type" : "application/vnd.oci.image.manifest.v1+json" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "c8928f3c-71dc-4da5-8b24-feaf1817e4ff", + "Content-Type" : "application/x-www-form-urlencoded" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Ms-Correlation-Request-Id" : "9df3904e-4620-47f3-8a3b-8a971e2f1736", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Server" : "openresty", + "x-ms-ratelimit-remaining-calls-per-second" : "332.7", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"access_token\":\"REDACTED\"}", + "Date" : "Sat, 11 Mar 2023 00:31:13 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -336,8 +385,8 @@ "Method" : "DELETE", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "1776863c-5aa2-4fc0-b92e-0ffe9c096536" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "0911ae3a-e3ea-4b9c-b54e-6b7dd1606550" }, "Response" : { "Server" : "openresty", @@ -345,13 +394,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Wed, 01 Mar 2023 01:58:04 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:13 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "b00fd7ca-ff85-4bb4-8a80-17a8d22a2d09", + "X-Ms-Correlation-Request-Id" : "20907cc9-9069-4b30-b415-8d490327f859", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "07da4aa7-ec37-4f14-ac38-0824b1362b3a", - "X-Ms-Client-Request-Id" : "1776863c-5aa2-4fc0-b92e-0ffe9c096536", + "X-Ms-Request-Id" : "887b674d-790c-4f0b-8ea1-2a0fb8986765", + "X-Ms-Client-Request-Id" : "0911ae3a-e3ea-4b9c-b54e-6b7dd1606550", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "32.000000", "Content-Length" : "0" }, @@ -360,21 +409,21 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "5629a26b-b182-464a-93a2-9b5a2a19c1a4", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "b221db2f-7f55-4874-8986-b2818fb39375", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "cefdb2bf-b8fd-4f0a-863e-ed959019de33", + "X-Ms-Correlation-Request-Id" : "6e03663c-54c1-42ec-aee0-fa84e71c7d43", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.733333", + "x-ms-ratelimit-remaining-calls-per-second" : "332.5", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 01 Mar 2023 01:58:04 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:13 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null @@ -382,8 +431,8 @@ "Method" : "DELETE", "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/blobs/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "13f297d7-a2ab-4092-8f7d-f17bf202d1f8" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "036bb27a-d9cd-4739-8356-5d214a5f78b8" }, "Response" : { "Server" : "openresty", @@ -391,13 +440,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Wed, 01 Mar 2023 01:58:04 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:13 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "ab914045-c7de-496d-8a0f-e0a5f45a870e", + "X-Ms-Correlation-Request-Id" : "8995a54c-e176-4bc5-a092-d6887bc09eab", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "16757d90-97d3-46f4-a029-eac204de1333", - "X-Ms-Client-Request-Id" : "13f297d7-a2ab-4092-8f7d-f17bf202d1f8", + "X-Ms-Request-Id" : "1062f7d5-32de-4d93-9481-23562920590b", + "X-Ms-Client-Request-Id" : "036bb27a-d9cd-4739-8356-5d214a5f78b8", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "31.000000", "Content-Length" : "0" }, @@ -406,30 +455,30 @@ "Method" : "POST", "Uri" : "https://REDACTED.azurecr.io/oauth2/token?api-version=2021-07-01", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "7c09ce97-a8ff-4f9c-90dd-7b89a39814ab", + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "3dfdafbf-b9b1-4731-9ef4-2fee50e4f153", "Content-Type" : "application/x-www-form-urlencoded" }, "Response" : { "Transfer-Encoding" : "chunked", - "X-Ms-Correlation-Request-Id" : "f43884cb-34cf-46fd-a168-2037193f2333", + "X-Ms-Correlation-Request-Id" : "7c850422-ccf9-4839-b5a5-40e798d53056", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Server" : "openresty", - "x-ms-ratelimit-remaining-calls-per-second" : "332.566667", + "x-ms-ratelimit-remaining-calls-per-second" : "332.733333", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", "Body" : "{\"access_token\":\"REDACTED\"}", - "Date" : "Wed, 01 Mar 2023 01:58:04 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:13 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:f1e8b959aa4250751da92d2f79263e35e9d4b00fe0166a2aa3a31e104fbe2284", + "Uri" : "https://REDACTED.azurecr.io/v2/oci-artifact/manifests/sha256:492bc88863bdf51159c4efe84e851c48d7034881159b56c4338003e50e801598", "Headers" : { - "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.3 (17.0.4; Windows 11; 10.0)", - "x-ms-client-request-id" : "6a5ef97e-d105-4aee-bb57-4d427ef62699" + "User-Agent" : "azsdk-java-azure-containers-containerregistry/1.1.0-beta.4 (17.0.4; Windows 11; 10.0)", + "x-ms-client-request-id" : "4e2e7e3a-4c89-4499-85f0-37644a903539" }, "Response" : { "Server" : "openresty", @@ -437,13 +486,13 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "202", - "Date" : "Wed, 01 Mar 2023 01:58:04 GMT", + "Date" : "Sat, 11 Mar 2023 00:31:13 GMT", "Docker-Distribution-Api-Version" : "registry/2.0", - "X-Ms-Correlation-Request-Id" : "c93ec9f8-74ad-42bc-bb87-f05d082a7f57", + "X-Ms-Correlation-Request-Id" : "8b3ca3dc-e22d-4397-8226-5004429d286d", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains", "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id", - "X-Ms-Request-Id" : "ff943872-8d8f-420f-903c-bcba64de0961", - "X-Ms-Client-Request-Id" : "6a5ef97e-d105-4aee-bb57-4d427ef62699", + "X-Ms-Request-Id" : "6cb92544-30a2-450f-bafb-9937c249a51d", + "X-Ms-Client-Request-Id" : "4e2e7e3a-4c89-4499-85f0-37644a903539", "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "30.000000", "Content-Length" : "0" }, diff --git a/sdk/containerregistry/azure-containers-containerregistry/swagger/autorest.md b/sdk/containerregistry/azure-containers-containerregistry/swagger/autorest.md index 82e8dee2b596..f7e7f31bb12a 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/swagger/autorest.md +++ b/sdk/containerregistry/azure-containers-containerregistry/swagger/autorest.md @@ -226,11 +226,13 @@ directive: where: $.definitions.OCIManifest transform: > $["x-ms-client-name"] = "OciImageManifest"; + $["required"] = ["schemaVersion"]; delete $["x-accessibility"]; delete $["allOf"]; $.properties["schemaVersion"] = { "type": "integer", - "description": "Schema version" + "description": "Schema version", + "x-ms-client-default": 2 }; ``` @@ -258,15 +260,6 @@ directive: } ``` -# Rename ArtifactBlobDescriptor.size to sizeInBytes -```yaml -directive: - from: swagger-document - where: $.definitions.Descriptor - transform: > - $.properties.size["x-ms-client-name"] = "sizeInBytes"; -``` - # Rename ArtifactBlobDescriptor to OciDescriptor ```yaml directive: @@ -274,6 +267,7 @@ directive: where: $.definitions.Descriptor transform: > $["x-ms-client-name"] = "OciDescriptor"; + $.properties.size["x-ms-client-name"] = "sizeInBytes"; delete $["x-accessibility"] ```