diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/Azure.Containers.ContainerRegistry.sln b/sdk/containerregistry/Azure.Containers.ContainerRegistry/Azure.Containers.ContainerRegistry.sln index 93a026cbc1fa..cff371f34ac4 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/Azure.Containers.ContainerRegistry.sln +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/Azure.Containers.ContainerRegistry.sln @@ -13,6 +13,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Test.Perf", "..\..\.. EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Containers.ContainerRegistry.Tests", "tests\Azure.Containers.ContainerRegistry.Tests.csproj", "{3AEC1467-61D0-4A91-93FA-2BD391122D21}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core", "..\..\core\Azure.Core\src\Azure.Core.csproj", "{F62DCD51-5101-4427-B6C9-C24974F9DD3F}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -39,6 +41,10 @@ Global {3AEC1467-61D0-4A91-93FA-2BD391122D21}.Debug|Any CPU.Build.0 = Debug|Any CPU {3AEC1467-61D0-4A91-93FA-2BD391122D21}.Release|Any CPU.ActiveCfg = Release|Any CPU {3AEC1467-61D0-4A91-93FA-2BD391122D21}.Release|Any CPU.Build.0 = Release|Any CPU + {F62DCD51-5101-4427-B6C9-C24974F9DD3F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F62DCD51-5101-4427-B6C9-C24974F9DD3F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F62DCD51-5101-4427-B6C9-C24974F9DD3F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F62DCD51-5101-4427-B6C9-C24974F9DD3F}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Authentication/ContainerRegistryChallengeAuthenticationPolicy.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Authentication/ContainerRegistryChallengeAuthenticationPolicy.cs index 22e66270c727..a35467f634dd 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Authentication/ContainerRegistryChallengeAuthenticationPolicy.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Authentication/ContainerRegistryChallengeAuthenticationPolicy.cs @@ -34,14 +34,37 @@ namespace Azure.Containers.ContainerRegistry internal class ContainerRegistryChallengeAuthenticationPolicy : BearerTokenAuthenticationPolicy { private readonly IContainerRegistryAuthenticationClient _authenticationClient; + private readonly ContainerRegistryRefreshTokenCache _refreshTokenCache; + private readonly string[] _aadScopes; public ContainerRegistryChallengeAuthenticationPolicy(TokenCredential credential, string aadScope, IContainerRegistryAuthenticationClient authenticationClient) + : this(credential, aadScope, authenticationClient, null, null) + { + } + + internal ContainerRegistryChallengeAuthenticationPolicy(TokenCredential credential, string aadScope, IContainerRegistryAuthenticationClient authenticationClient, TimeSpan? tokenRefreshOffset = null, TimeSpan? tokenRefreshRetryDelay = null) : base(credential, aadScope) { Argument.AssertNotNull(credential, nameof(credential)); Argument.AssertNotNull(aadScope, nameof(aadScope)); _authenticationClient = authenticationClient; + _refreshTokenCache = new ContainerRegistryRefreshTokenCache(credential, authenticationClient, tokenRefreshOffset, tokenRefreshRetryDelay); + _aadScopes = new[] { aadScope }; + } + + // Since we'll not cache the AAD access token or set an auth header on the initial request, + // that receives a challenge response, we override the method that does this. + protected override void AuthorizeRequest(HttpMessage message) + { + return; + } + + // Since we'll not cache the AAD access token or set an auth header on the initial request, + // that receives a challenge response, we override the method that does this. + protected override ValueTask AuthorizeRequestAsync(HttpMessage message) + { + return default; } protected override ValueTask AuthorizeRequestOnChallengeAsync(HttpMessage message) @@ -54,52 +77,26 @@ private async ValueTask AuthorizeRequestOnChallengeAsyncInternal(HttpMessa { // Once we're here, we've completed Step 1. + // We'll need this context to refresh the AAD access credential if that's needed. + var context = new TokenRequestContext(_aadScopes, message.Request.ClientRequestId); + // Step 2: Parse challenge string to retrieve serviceName and scope, where scope is the ACR Scope var service = AuthorizationChallengeParser.GetChallengeParameterFromResponse(message.Response, "Bearer", "service"); var scope = AuthorizationChallengeParser.GetChallengeParameterFromResponse(message.Response, "Bearer", "scope"); - string acrAccessToken = string.Empty; - if (async) - { - // Step 3: Exchange AAD Access Token for ACR Refresh Token - string acrRefreshToken = await ExchangeAadAccessTokenForAcrRefreshTokenAsync(message, service, true).ConfigureAwait(false); - - // Step 4: Send in acrRefreshToken and get back acrAccessToken - acrAccessToken = await ExchangeAcrRefreshTokenForAcrAccessTokenAsync(acrRefreshToken, service, scope, true, message.CancellationToken).ConfigureAwait(false); - } - else - { - // Step 3: Exchange AAD Access Token for ACR Refresh Token - string acrRefreshToken = ExchangeAadAccessTokenForAcrRefreshTokenAsync(message, service, false).EnsureCompleted(); + // Step 3: Exchange AAD Access Token for ACR Refresh Token, or get the cached value instead. + string acrRefreshToken = await _refreshTokenCache.GetAcrRefreshTokenAsync(message, context, service, async).ConfigureAwait(false); - // Step 4: Send in acrRefreshToken and get back acrAccessToken - acrAccessToken = ExchangeAcrRefreshTokenForAcrAccessTokenAsync(acrRefreshToken, service, scope, false, message.CancellationToken).EnsureCompleted(); - } + // Step 4: Send in acrRefreshToken and get back acrAccessToken + string acrAccessToken = await ExchangeAcrRefreshTokenForAcrAccessTokenAsync(acrRefreshToken, service, scope, async, message.CancellationToken).ConfigureAwait(false); - // Step 5 - Authorize Request. Note, we don't use SetAuthorizationHeader here, because it + // Step 5 - Authorize Request. Note, we don't use SetAuthorizationHeader from the base class here, because it // sets an AAD access token header, and at this point we're done with AAD and using an ACR access token. message.Request.Headers.SetValue(HttpHeader.Names.Authorization, $"Bearer {acrAccessToken}"); return true; } - private async Task ExchangeAadAccessTokenForAcrRefreshTokenAsync(HttpMessage message, string service, bool async) - { - string aadAccessToken = GetAuthorizationToken(message); - - Response acrRefreshToken = null; - if (async) - { - acrRefreshToken = await _authenticationClient.ExchangeAadAccessTokenForAcrRefreshTokenAsync(service, aadAccessToken, message.CancellationToken).ConfigureAwait(false); - } - else - { - acrRefreshToken = _authenticationClient.ExchangeAadAccessTokenForAcrRefreshToken(service, aadAccessToken, message.CancellationToken); - } - - return acrRefreshToken.Value.RefreshToken; - } - private async Task ExchangeAcrRefreshTokenForAcrAccessTokenAsync(string acrRefreshToken, string service, string scope, bool async, CancellationToken cancellationToken) { Response acrAccessToken = null; @@ -114,16 +111,5 @@ private async Task ExchangeAcrRefreshTokenForAcrAccessTokenAsync(string return acrAccessToken.Value.AccessToken; } - - private static string GetAuthorizationToken(HttpMessage message) - { - string aadAuthHeader; - if (!message.Request.Headers.TryGetValue(HttpHeader.Names.Authorization, out aadAuthHeader)) - { - throw new InvalidOperationException("Failed to retrieve Authentication header from message request."); - } - - return aadAuthHeader.Remove(0, "Bearer ".Length); - } } } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Authentication/ContainerRegistryRefreshTokenCache.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Authentication/ContainerRegistryRefreshTokenCache.cs new file mode 100644 index 000000000000..b8b596f66bcd --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Authentication/ContainerRegistryRefreshTokenCache.cs @@ -0,0 +1,293 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Diagnostics; +using System.Text.Json; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Core.Pipeline; + +#nullable enable + +namespace Azure.Containers.ContainerRegistry +{ + /// + /// This is a direct copy of BearerTokenChallengeAuthenticationPolicy.AccessTokenCache, with only the token lookup and force refresh logic replaced. + /// + internal class ContainerRegistryRefreshTokenCache + { + private readonly TimeSpan DefaultTokenRefreshOffset = TimeSpan.FromMinutes(5); + private readonly TimeSpan DefaultTokenRefreshRetryDelay = TimeSpan.FromSeconds(30); + + private readonly object _syncObj = new object(); + private readonly TokenCredential _aadTokenCredential; + private readonly TimeSpan _tokenRefreshOffset; + private readonly TimeSpan _tokenRefreshRetryDelay; + private readonly IContainerRegistryAuthenticationClient _authenticationRestClient; + + private string? _currentTokenService; + private TaskCompletionSource? _infoTcs; + private TaskCompletionSource? _backgroundUpdateTcs; + + public ContainerRegistryRefreshTokenCache(TokenCredential aadTokenCredential, IContainerRegistryAuthenticationClient authClient, TimeSpan? tokenRefreshOffset = null, TimeSpan? tokenRefreshRetryDelay = null) + { + _aadTokenCredential = aadTokenCredential; + _authenticationRestClient = authClient; + + _tokenRefreshOffset = tokenRefreshOffset ?? DefaultTokenRefreshOffset; + _tokenRefreshRetryDelay = tokenRefreshRetryDelay ?? DefaultTokenRefreshRetryDelay; + } + + public async ValueTask GetAcrRefreshTokenAsync(HttpMessage message, TokenRequestContext context, string service, bool async) + { + bool getTokenFromCredential; + TaskCompletionSource refreshTokenTcs; + TaskCompletionSource? backgroundUpdateTcs; + int maxCancellationRetries = 3; + + while (true) + { + (refreshTokenTcs, backgroundUpdateTcs, getTokenFromCredential) = GetTaskCompletionSources(service); + RefreshTokenInfo info; + if (getTokenFromCredential) + { + if (backgroundUpdateTcs != null) + { + if (async) + { + info = await refreshTokenTcs.Task.ConfigureAwait(false); + } + else + { +#pragma warning disable AZC0104 // Use EnsureCompleted() directly on asynchronous method return value. + info = refreshTokenTcs.Task.EnsureCompleted(); +#pragma warning restore AZC0104 // Use EnsureCompleted() directly on asynchronous method return value. + } + + _ = Task.Run(() => GetRefreshTokenFromCredentialInBackgroundAsync(backgroundUpdateTcs, info, context, service, async)); + return info.RefreshToken; + } + + try + { + info = await GetRefreshTokenFromCredentialAsync(context, service, async, message.CancellationToken).ConfigureAwait(false); + refreshTokenTcs.SetResult(info); + } + catch (OperationCanceledException) + { + refreshTokenTcs.SetCanceled(); + } + catch (Exception exception) + { + refreshTokenTcs.SetException(exception); + // The exception will be thrown on the next lines when we touch the result of + // refreshTokenTcs.Task, this approach will prevent later runtime UnobservedTaskException + } + } + + var refreshTokenTask = refreshTokenTcs.Task; + try + { + if (!refreshTokenTask.IsCompleted) + { + if (async) + { + await refreshTokenTask.AwaitWithCancellation(message.CancellationToken); + } + else + { + try + { + refreshTokenTask.Wait(message.CancellationToken); + } + catch (AggregateException) { } // ignore exception here to rethrow it with EnsureCompleted + } + } + if (async) + { + info = await refreshTokenTcs.Task.ConfigureAwait(false); + } + else + { +#pragma warning disable AZC0104 // Use EnsureCompleted() directly on asynchronous method return value. + info = refreshTokenTcs.Task.EnsureCompleted(); +#pragma warning restore AZC0104 // Use EnsureCompleted() directly on asynchronous method return value. + } + + return info.RefreshToken; + } + catch (TaskCanceledException) when (!message.CancellationToken.IsCancellationRequested) + { + maxCancellationRetries--; + + // If the current message has no CancellationToken and we have tried this 3 times, throw. + if (!message.CancellationToken.CanBeCanceled && maxCancellationRetries <= 0) + { + throw; + } + + // We were waiting on a previous refreshTokenTcs operation which was canceled. + //Retry the call to GetTaskCompletionSources. + continue; + } + } + } + + private (TaskCompletionSource InfoTcs, TaskCompletionSource? BackgroundUpdateTcs, bool GetTokenFromCredential) GetTaskCompletionSources(string service) + { + lock (_syncObj) + { + // Initial state. GetTaskCompletionSources has been called for the first time + if (_infoTcs == null || RequestRequiresNewToken(service)) + { + _currentTokenService = service; + _infoTcs = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); + _backgroundUpdateTcs = default; + return (_infoTcs, _backgroundUpdateTcs, true); + } + + // Getting new access token is in progress, wait for it + if (!_infoTcs.Task.IsCompleted) + { + _backgroundUpdateTcs = default; + return (_infoTcs, _backgroundUpdateTcs, false); + } + + DateTimeOffset now = DateTimeOffset.UtcNow; + + // Access token has been successfully acquired in background and it is not expired yet, use it instead of current one + if (_backgroundUpdateTcs != null && _backgroundUpdateTcs.Task.Status == TaskStatus.RanToCompletion && _backgroundUpdateTcs.Task.Result.ExpiresOn > now) + { + _infoTcs = _backgroundUpdateTcs; + _backgroundUpdateTcs = default; + + // return nothing here so we can enter the 5th case and start bg thread if needed. + } + + // Attempt to get access token has failed or it has already expired. Need to get a new one + if (_infoTcs.Task.Status != TaskStatus.RanToCompletion || now >= _infoTcs.Task.Result.ExpiresOn) + { + _infoTcs = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); + return (_infoTcs, default, true); + } + + // Access token is still valid but is about to expire, try to get it in background + if (now >= _infoTcs.Task.Result.RefreshOn && _backgroundUpdateTcs == null) + { + _backgroundUpdateTcs = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); + return (_infoTcs, _backgroundUpdateTcs, true); + } + + // Access token is valid, use it + return (_infoTcs, default, false); + } + } + + // must be called under lock (_syncObj) + private bool RequestRequiresNewToken(string service) => + _currentTokenService == null || + (service != null && !string.Equals(service, _currentTokenService)); + + private async ValueTask GetRefreshTokenFromCredentialInBackgroundAsync(TaskCompletionSource backgroundUpdateTcs, RefreshTokenInfo info, TokenRequestContext context, string service, bool async) + { + var cts = new CancellationTokenSource(_tokenRefreshRetryDelay); + try + { + RefreshTokenInfo newInfo = await GetRefreshTokenFromCredentialAsync(context, service, async, cts.Token).ConfigureAwait(false); + backgroundUpdateTcs.SetResult(newInfo); + } + catch (OperationCanceledException) when (cts.IsCancellationRequested) + { + backgroundUpdateTcs.SetResult(new RefreshTokenInfo(info.RefreshToken, info.ExpiresOn, DateTimeOffset.UtcNow)); + + // https://github.com/Azure/azure-sdk-for-net/issues/18539 + //AzureCoreEventSource.Singleton.BackgroundRefreshFailed(context.ParentRequestId ?? string.Empty, oce.ToString()); + } + catch (Exception) + { + backgroundUpdateTcs.SetResult(new RefreshTokenInfo(info.RefreshToken, info.ExpiresOn, DateTimeOffset.UtcNow + _tokenRefreshRetryDelay)); + + // https://github.com/Azure/azure-sdk-for-net/issues/18539 + //AzureCoreEventSource.Singleton.BackgroundRefreshFailed(context.ParentRequestId ?? string.Empty, e.ToString()); + } + finally + { + cts.Dispose(); + } + } + + private async ValueTask GetRefreshTokenFromCredentialAsync(TokenRequestContext context, string service, bool async, CancellationToken cancellationToken) + { + AccessToken aadAccessToken = async ? await _aadTokenCredential.GetTokenAsync(context, cancellationToken).ConfigureAwait(false) : + _aadTokenCredential.GetToken(context, cancellationToken); + + AcrRefreshToken acrRefreshToken = async ? await _authenticationRestClient.ExchangeAadAccessTokenForAcrRefreshTokenAsync(service, aadAccessToken.Token, cancellationToken).ConfigureAwait(false) : + _authenticationRestClient.ExchangeAadAccessTokenForAcrRefreshToken(service, aadAccessToken.Token, cancellationToken); + + DateTimeOffset expiresOn = GetTokenExpiryTime(acrRefreshToken); + + return new RefreshTokenInfo(acrRefreshToken.RefreshToken, expiresOn, expiresOn - _tokenRefreshOffset); + } + + internal static DateTimeOffset GetTokenExpiryTime(AcrRefreshToken acrRefreshToken) + { + // If we can't parse the expiration from the JWT, indicate that it's expired now. + return GetTokenExpiryFromJwt(acrRefreshToken.RefreshToken) ?? DateTimeOffset.UtcNow; + } + + private static DateTimeOffset? GetTokenExpiryFromJwt(string jwtValue) + { + // The JWT is in the format .. + // Here, we Base64Url decode the body and treat it as a JSON object in order to get the "exp" value + + if (string.IsNullOrEmpty(jwtValue)) + { + return null; + } + + string[] jwtSegments = jwtValue.Split('.'); + if (jwtSegments.Length < 2) + { + return null; + } + + string jwtBodyEncoded = jwtSegments[1]; + + if (string.IsNullOrEmpty(jwtBodyEncoded)) + { + return null; + } + + byte[] jwtBodyDecoded = Base64Url.Decode(jwtBodyEncoded); + JsonDocument jsonBody = JsonDocument.Parse(jwtBodyDecoded); + + if (!jsonBody.RootElement.TryGetProperty("exp", out JsonElement value)) + { + return null; + } + + if (!value.TryGetInt64(out long expValue)) + { + return null; + } + + return DateTimeOffset.FromUnixTimeSeconds(expValue); + } + + private readonly struct RefreshTokenInfo + { + public string RefreshToken { get; } + public DateTimeOffset ExpiresOn { get; } + public DateTimeOffset RefreshOn { get; } + + public RefreshTokenInfo(string refreshToken, DateTimeOffset expiresOn, DateTimeOffset refreshOn) + { + RefreshToken = refreshToken; + ExpiresOn = expiresOn; + RefreshOn = refreshOn; + } + } + } +} diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Azure.Containers.ContainerRegistry.csproj b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Azure.Containers.ContainerRegistry.csproj index 77c4832c37e0..2139c41da8a4 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Azure.Containers.ContainerRegistry.csproj +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Azure.Containers.ContainerRegistry.csproj @@ -17,6 +17,7 @@ + diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/Authentication/ContainerRegistryChallengeAuthenticationPolicyTest.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/Authentication/ContainerRegistryChallengeAuthenticationPolicyTest.cs index 825112996cca..857823a3bc8c 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/Authentication/ContainerRegistryChallengeAuthenticationPolicyTest.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/Authentication/ContainerRegistryChallengeAuthenticationPolicyTest.cs @@ -2,6 +2,9 @@ // Licensed under the MIT License. using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading; using System.Threading.Tasks; using Azure.Core; using Azure.Core.TestFramework; @@ -11,21 +14,44 @@ namespace Azure.Containers.ContainerRegistry.Tests { public class ContainerRegistryChallengeAuthenticationPolicyTest : SyncAsyncPolicyTestBase { + private readonly string TestAcrRefreshToken = "TestAcrRefreshToken"; + private readonly string TestAcrAccessToken = "TestAcrAccessToken"; + public ContainerRegistryChallengeAuthenticationPolicyTest(bool isAsync) : base(isAsync) { } + private MockResponse GetChallengeResponse(string serviceName = "example") + { + MockResponse challengeResponse = new MockResponse(401); + string challenge = $"Bearer realm=\"https://example.azurecr.io/oauth2/token\",service=\"{serviceName}.azurecr.io\",scope=\"repository:library/hello-world:metadata_read\",error=\"invalid_token\""; + challengeResponse.AddHeader(new HttpHeader(HttpHeader.Names.WwwAuthenticate, challenge)); + return challengeResponse; + } + + private MockAuthenticationClient GetMockAuthClient() + { + return new MockAuthenticationClient( + service => new AcrRefreshToken(TestAcrRefreshToken), + (service, scope) => new AcrAccessToken(TestAcrAccessToken)); + } + + private string GetMockJwt(TimeSpan expireIn) + { + long expireOn = (DateTimeOffset.UtcNow + expireIn).ToUnixTimeSeconds(); + string decodedHeader = "{header}"; + string decodedBody = $"{{ \"exp\": {expireOn} }}"; + string decodedSignature = "{signature}"; + return $"{Base64Url.EncodeString(decodedHeader)}.{Base64Url.EncodeString(decodedBody)}.{Base64Url.EncodeString(decodedSignature)}"; + } + [Test] - public async Task ChallengePolicySetsToken() + public async Task ContainerRegistryChallengeAuthenticationPolicy_UsesTokenProvidedByAuthClient() { - MockAuthenticationClient mockClient = new MockAuthenticationClient(); + MockAuthenticationClient mockClient = GetMockAuthClient(); MockCredential mockCredential = new MockCredential(); var policy = new ContainerRegistryChallengeAuthenticationPolicy(mockCredential, "TestScope", mockClient); - var challengeResponse = new MockResponse(401); - string challenge = "Bearer realm=\"https://example.azurecr.io/oauth2/token\",service=\"example.azurecr.io\",scope=\"repository:library/hello-world:metadata_read\",error=\"invalid_token\""; - challengeResponse.AddHeader(new HttpHeader(HttpHeader.Names.WwwAuthenticate, challenge)); - - MockTransport transport = CreateMockTransport(challengeResponse, new MockResponse(200)); + MockTransport transport = CreateMockTransport(GetChallengeResponse(), new MockResponse(200)); await SendGetRequest(transport, policy, uri: new Uri("https://example.azurecr.io/acr/v1/hello-world/_tags/latest"), cancellationToken: default); @@ -34,5 +60,346 @@ public async Task ChallengePolicySetsToken() Assert.IsTrue(request.Headers.TryGetValue(HttpHeader.Names.Authorization, out string authHeaderValue)); Assert.AreEqual("Bearer TestAcrAccessToken", authHeaderValue); } + + [Test] + public async Task ContainerRegistryChallengeAuthenticationPolicy_CachesRefreshToken() + { + // Arrange + int refreshTokenRequests = 0; + int accessTokenRequests = 0; + + string mockJwt = GetMockJwt(TimeSpan.FromHours(3)); + + // We expect the refresh token request method to be called only the first time. + MockAuthenticationClient mockClient = new MockAuthenticationClient( + service => + { + refreshTokenRequests++; + return new AcrRefreshToken(mockJwt); + }, + (service, scope) => + { + accessTokenRequests++; + return new AcrAccessToken($"TestAcrAccessToken{accessTokenRequests}"); + }); + MockCredential mockCredential = new MockCredential(); + + var policy = new ContainerRegistryChallengeAuthenticationPolicy(mockCredential, "TestScope", mockClient); + + // We'll send two GET requests - each will receive a challenge response + MockTransport transport = CreateMockTransport( + GetChallengeResponse(), new MockResponse(200), + GetChallengeResponse(), new MockResponse(200)); + + // Act + await SendGetRequest(transport, policy, uri: new Uri("https://example.azurecr.io/acr/v1/hello-world/_tags/latest"), cancellationToken: default); + MockRequest firstRequest = transport.Requests[0]; + + // Assert + string authHeaderValue; + Assert.IsTrue(firstRequest.Headers.TryGetValue(HttpHeader.Names.Authorization, out authHeaderValue)); + Assert.AreEqual("Bearer TestAcrAccessToken1", authHeaderValue); + Assert.AreEqual(1, refreshTokenRequests); + Assert.AreEqual(1, accessTokenRequests); + + // Act + await SendGetRequest(transport, policy, uri: new Uri("https://example.azurecr.io/acr/v1/hello-world/_tags/latest"), cancellationToken: default); + MockRequest secondRequest = transport.Requests[2]; + + // Assert + Assert.IsTrue(secondRequest.Headers.TryGetValue(HttpHeader.Names.Authorization, out authHeaderValue)); + Assert.AreEqual("Bearer TestAcrAccessToken2", authHeaderValue); + Assert.AreEqual(1, refreshTokenRequests); + Assert.AreEqual(2, accessTokenRequests); + } + + [Test] + public async Task ContainerRegistryChallengeAuthenticationPolicy_ExpiresRefreshToken() + { + // Arrange + int refreshTokenRequests = 0; + int accessTokenRequests = 0; + TimeSpan expiryTime = TimeSpan.FromSeconds(5); + + string mockJwt = GetMockJwt(expiryTime); + + // We expect the refresh token request method to be called the first and third times. + MockAuthenticationClient mockClient = new MockAuthenticationClient( + service => + { + refreshTokenRequests++; + return new AcrRefreshToken(mockJwt); + }, + (service, scope) => + { + accessTokenRequests++; + return new AcrAccessToken($"TestAcrAccessToken{accessTokenRequests}"); + }); + MockCredential mockCredential = new MockCredential(); + + // We set refresh offset to zero so we don't try to refresh it before it expires. + var policy = new ContainerRegistryChallengeAuthenticationPolicy(mockCredential, "TestScope", mockClient, tokenRefreshOffset: TimeSpan.FromSeconds(0)); + + // We'll send three GET requests - each will receive a challenge response + // In the last one, the token will have expired so a new request for it will be sent + MockTransport transport = CreateMockTransport( + GetChallengeResponse(), new MockResponse(200), + GetChallengeResponse(), new MockResponse(200), + GetChallengeResponse(), new MockResponse(200)); + + // Act + await SendGetRequest(transport, policy, uri: new Uri("https://example.azurecr.io/acr/v1/hello-world/_tags/latest"), cancellationToken: default); + MockRequest firstRequest = transport.Requests[0]; + + // Assert + string authHeaderValue; + Assert.IsTrue(firstRequest.Headers.TryGetValue(HttpHeader.Names.Authorization, out authHeaderValue)); + Assert.AreEqual("Bearer TestAcrAccessToken1", authHeaderValue); + Assert.AreEqual(1, refreshTokenRequests); + Assert.AreEqual(1, accessTokenRequests); + + // Act + await SendGetRequest(transport, policy, uri: new Uri("https://example.azurecr.io/acr/v1/hello-world/_tags/latest"), cancellationToken: default); + MockRequest secondRequest = transport.Requests[2]; + + // Assert + Assert.IsTrue(secondRequest.Headers.TryGetValue(HttpHeader.Names.Authorization, out authHeaderValue)); + Assert.AreEqual("Bearer TestAcrAccessToken2", authHeaderValue); + Assert.AreEqual(1, refreshTokenRequests); + Assert.AreEqual(2, accessTokenRequests); + + // Act + await Task.Delay(expiryTime); + + await SendGetRequest(transport, policy, uri: new Uri("https://example.azurecr.io/acr/v1/hello-world/_tags/latest"), cancellationToken: default); + MockRequest thirdRequest = transport.Requests[4]; + + // Wait for bg thread to complete its refresh request. + await Task.Delay(TimeSpan.FromSeconds(1)); + + // Assert + Assert.IsTrue(thirdRequest.Headers.TryGetValue(HttpHeader.Names.Authorization, out authHeaderValue)); + Assert.AreEqual("Bearer TestAcrAccessToken3", authHeaderValue); + Assert.AreEqual(2, refreshTokenRequests); + Assert.AreEqual(3, accessTokenRequests); + } + + [Test] + public async Task ContainerRegistryChallengeAuthenticationPolicy_RefreshesRefreshToken() + { + // Arrange + int refreshTokenRequests = 0; + int accessTokenRequests = 0; + TimeSpan refreshOffset = TimeSpan.FromSeconds(30); + TimeSpan expiryTime = TimeSpan.FromSeconds(35); + + string mockJwt = GetMockJwt(expiryTime); + + // We expect the refresh token request method to be called the first and third times. + MockAuthenticationClient mockClient = new MockAuthenticationClient( + service => + { + refreshTokenRequests++; + return new AcrRefreshToken(mockJwt); + }, + (service, scope) => + { + accessTokenRequests++; + return new AcrAccessToken($"TestAcrAccessToken{accessTokenRequests}"); + }); + MockCredential mockCredential = new MockCredential(); + + // Set expiration 5 seconds longer than refresh time. Result should be that it tries to refresh in 5 seconds. + var policy = new ContainerRegistryChallengeAuthenticationPolicy(mockCredential, "TestScope", mockClient, tokenRefreshOffset: refreshOffset); + + // We'll send three GET requests - each will receive a challenge response + // In the last one, the token will need to be refreshed so a new request for it will be sent + MockTransport transport = CreateMockTransport( + GetChallengeResponse(), new MockResponse(200), + GetChallengeResponse(), new MockResponse(200), + GetChallengeResponse(), new MockResponse(200)); + + // Act + await SendGetRequest(transport, policy, uri: new Uri("https://example.azurecr.io/acr/v1/hello-world/_tags/latest"), cancellationToken: default); + MockRequest firstRequest = transport.Requests[0]; + + // Assert + string authHeaderValue; + Assert.IsTrue(firstRequest.Headers.TryGetValue(HttpHeader.Names.Authorization, out authHeaderValue)); + Assert.AreEqual("Bearer TestAcrAccessToken1", authHeaderValue); + Assert.AreEqual(1, refreshTokenRequests); + Assert.AreEqual(1, accessTokenRequests); + + // Act + await SendGetRequest(transport, policy, uri: new Uri("https://example.azurecr.io/acr/v1/hello-world/_tags/latest"), cancellationToken: default); + MockRequest secondRequest = transport.Requests[2]; + + // Assert + Assert.IsTrue(secondRequest.Headers.TryGetValue(HttpHeader.Names.Authorization, out authHeaderValue)); + Assert.AreEqual("Bearer TestAcrAccessToken2", authHeaderValue); + Assert.AreEqual(1, refreshTokenRequests); + Assert.AreEqual(2, accessTokenRequests); + + // Act + await Task.Delay(expiryTime - refreshOffset); + + await SendGetRequest(transport, policy, uri: new Uri("https://example.azurecr.io/acr/v1/hello-world/_tags/latest"), cancellationToken: default); + MockRequest thirdRequest = transport.Requests[4]; + + // Wait for bg thread to complete its refresh request. + await Task.Delay(TimeSpan.FromSeconds(1)); + + // Assert + Assert.IsTrue(thirdRequest.Headers.TryGetValue(HttpHeader.Names.Authorization, out authHeaderValue)); + Assert.AreEqual("Bearer TestAcrAccessToken3", authHeaderValue); + Assert.AreEqual(2, refreshTokenRequests); + Assert.AreEqual(3, accessTokenRequests); + } + + [Test] + public async Task ContainerRegistryChallengeAuthenticationPolicy_RequestsTokenOnForceRefresh() + { + // Arrange + int refreshTokenRequests = 0; + int accessTokenRequests = 0; + + MockAuthenticationClient mockClient = new MockAuthenticationClient( + service => + { + refreshTokenRequests++; + return new AcrRefreshToken(GetMockJwt(TimeSpan.FromHours(3))); + }, + (service, scope) => + { + accessTokenRequests++; + return new AcrAccessToken($"TestAcrAccessToken{accessTokenRequests}"); + }); + MockCredential mockCredential = new MockCredential(); + + var policy = new ContainerRegistryChallengeAuthenticationPolicy(mockCredential, "TestScope", mockClient); + + // Getting a different service name will invalidate the token and force a refresh. + MockTransport transport = CreateMockTransport( + GetChallengeResponse("example1"), new MockResponse(200), + GetChallengeResponse("example2"), new MockResponse(200)); + + // Act + await SendGetRequest(transport, policy, uri: new Uri("https://example.azurecr.io/acr/v1/hello-world/_tags/latest"), cancellationToken: default); + MockRequest firstRequest = transport.Requests[0]; + + // Assert + string authHeaderValue; + Assert.IsTrue(firstRequest.Headers.TryGetValue(HttpHeader.Names.Authorization, out authHeaderValue)); + Assert.AreEqual("Bearer TestAcrAccessToken1", authHeaderValue); + Assert.AreEqual(1, refreshTokenRequests); + Assert.AreEqual(1, accessTokenRequests); + + // Act + await SendGetRequest(transport, policy, uri: new Uri("https://example.azurecr.io/acr/v1/hello-world/_tags/latest"), cancellationToken: default); + MockRequest secondRequest = transport.Requests[2]; + + // Assert + Assert.IsTrue(secondRequest.Headers.TryGetValue(HttpHeader.Names.Authorization, out authHeaderValue)); + Assert.AreEqual("Bearer TestAcrAccessToken2", authHeaderValue); + Assert.AreEqual(2, refreshTokenRequests); + Assert.AreEqual(2, accessTokenRequests); + } + + [Test] + public void ContainerRegistryChallengeAuthenticationPolicy_ThrowsForNonTlsEndpoint() + { + MockAuthenticationClient mockAuthClient = GetMockAuthClient(); + var policy = new ContainerRegistryChallengeAuthenticationPolicy(new MockCredential(), "scope", mockAuthClient); + MockTransport transport = CreateMockTransport(); + + Assert.ThrowsAsync(async () => await SendGetRequest(transport, policy, uri: new Uri("http://example.com"))); + } + + [Test] + public async Task ContainerRegistryChallengeAuthenticationPolicy_OneHundredConcurrentCalls() + { + MockAuthenticationClient mockAuthClient = new MockAuthenticationClient( + service => new AcrRefreshToken("TestAcrRefreshToken"), + (service, scope) => + { + Thread.Sleep(100); + return new AcrAccessToken("TestAcrAccessToken"); + }); + + var policy = new ContainerRegistryChallengeAuthenticationPolicy(new MockCredential(), "scope", mockAuthClient); + MockTransport transport = CreateMockTransport(r => GetChallengeResponse()); + var requestTasks = new Task[100]; + + for (int i = 0; i < requestTasks.Length; i++) + { + requestTasks[i] = SendGetRequest(transport, policy, uri: new Uri("https://example.com")); + } + + await Task.WhenAll(requestTasks); + Assert.True(transport.Requests[0].Headers.TryGetValue("Authorization", out string auth1Value)); + + for (int i = 1; i < requestTasks.Length; i++) + { + Assert.True(transport.Requests[i].Headers.TryGetValue("Authorization", out string authValue)); + Assert.AreEqual(auth1Value, authValue); + } + } + + [Test] + public void ContainerRegistryChallengeAuthenticationPolicy_OneHundredConcurrentCallsFailed() + { + MockAuthenticationClient mockAuthClient = new MockAuthenticationClient( + service => + { + Thread.Sleep(100); + throw new InvalidOperationException("Error"); + }, + (service, scope) => + { + return new AcrAccessToken("TestAcrAccessToken"); + }); + + var policy = new ContainerRegistryChallengeAuthenticationPolicy(new MockCredential(), "scope", mockAuthClient); + MockTransport transport = CreateMockTransport(r => GetChallengeResponse()); + var requestTasks = new Task[100]; + + for (int i = 0; i < requestTasks.Length; i++) + { + requestTasks[i] = SendGetRequest(transport, policy, uri: new Uri("https://example.com")); + } + + Assert.CatchAsync(async () => await Task.WhenAll(requestTasks)); + + foreach (Task task in requestTasks) + { + Assert.IsTrue(task.IsFaulted); + } + } + + private class TokenCredentialStub : TokenCredential + { + public TokenCredentialStub(Func handler, bool isAsync) + { + if (isAsync) + { +#pragma warning disable 1998 + _getTokenAsyncHandler = async (r, c) => handler(r, c); +#pragma warning restore 1998 + } + else + { + _getTokenHandler = handler; + } + } + + private readonly Func> _getTokenAsyncHandler; + private readonly Func _getTokenHandler; + + public override ValueTask GetTokenAsync(TokenRequestContext requestContext, CancellationToken cancellationToken) + => _getTokenAsyncHandler(requestContext, cancellationToken); + + public override AccessToken GetToken(TokenRequestContext requestContext, CancellationToken cancellationToken) + => _getTokenHandler(requestContext, cancellationToken); + } } } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/Authentication/MockAuthenticationClient.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/Authentication/MockAuthenticationClient.cs index 6af14ab5bbc5..79f6329ee31c 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/Authentication/MockAuthenticationClient.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/Authentication/MockAuthenticationClient.cs @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using System; using System.Threading; using System.Threading.Tasks; using Azure.Core.TestFramework; @@ -9,28 +10,33 @@ namespace Azure.Containers.ContainerRegistry.Tests { internal class MockAuthenticationClient : IContainerRegistryAuthenticationClient { + private readonly Func _acrRefreshTokenFunc; + private readonly Func _acrAccessTokenFunc; + + public MockAuthenticationClient(Func acrRefreshTokenFunc, Func acrAccessTokenFunc) + { + _acrRefreshTokenFunc = acrRefreshTokenFunc; + _acrAccessTokenFunc = acrAccessTokenFunc; + } + public Response ExchangeAadAccessTokenForAcrRefreshToken(string service, string aadAccessToken, CancellationToken token = default) { - AcrRefreshToken refreshToken = new AcrRefreshToken("TestAcrRefreshToken"); - return Response.FromValue(refreshToken, new MockResponse(200)); + return Response.FromValue(_acrRefreshTokenFunc(service), new MockResponse(200)); } public Task> ExchangeAadAccessTokenForAcrRefreshTokenAsync(string service, string aadAccessToken, CancellationToken token = default) { - AcrRefreshToken refreshToken = new AcrRefreshToken("TestAcrRefreshToken"); - return Task.FromResult(Response.FromValue(refreshToken, new MockResponse(200))); + return Task.FromResult(Response.FromValue(_acrRefreshTokenFunc(service), new MockResponse(200))); } public Response ExchangeAcrRefreshTokenForAcrAccessToken(string service, string scope, string acrRefreshToken, CancellationToken token = default) { - AcrAccessToken accessToken = new AcrAccessToken("TestAcrAccessToken"); - return Response.FromValue(accessToken, new MockResponse(200)); + return Response.FromValue(_acrAccessTokenFunc(service, scope), new MockResponse(200)); } public Task> ExchangeAcrRefreshTokenForAcrAccessTokenAsync(string service, string scope, string acrRefreshToken, CancellationToken token = default) { - AcrAccessToken accessToken = new AcrAccessToken("TestAcrAccessToken"); - return Task.FromResult(Response.FromValue(accessToken, new MockResponse(200))); + return Task.FromResult(Response.FromValue(_acrAccessTokenFunc(service, scope), new MockResponse(200))); } } } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/Azure.Containers.ContainerRegistry.Tests.csproj b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/Azure.Containers.ContainerRegistry.Tests.csproj index cc6d3c8a810f..e1fc9a38b4b9 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/Azure.Containers.ContainerRegistry.Tests.csproj +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/Azure.Containers.ContainerRegistry.Tests.csproj @@ -17,6 +17,12 @@ + + + + + + ..\..\..\..\..\..\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7\System.Web.dll diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryRecordedTestSanitizer.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryRecordedTestSanitizer.cs index cc43183c3638..5c3680b65417 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryRecordedTestSanitizer.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryRecordedTestSanitizer.cs @@ -1,16 +1,26 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Web; +using Azure.Core; using Azure.Core.TestFramework; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; namespace Azure.Containers.ContainerRegistry.Tests { public class ContainerRegistryRecordedTestSanitizer : RecordedTestSanitizer { public List FormEncodedBodySanitizers { get; } = new List(); + public List JwtValues { get; } = new List(); + + private static readonly JsonSerializerSettings SerializerSettings = new JsonSerializerSettings + { + DateParseHandling = DateParseHandling.None + }; public ContainerRegistryRecordedTestSanitizer() : base() @@ -20,11 +30,13 @@ public ContainerRegistryRecordedTestSanitizer() FormEncodedBodySanitizers.Add("access_token"); FormEncodedBodySanitizers.Add("refresh_token"); + + JwtValues.Add("$..refresh_token"); } public override string SanitizeTextBody(string contentType, string body) { - string jsonSanitizedBody = base.SanitizeTextBody(contentType, body); + string jsonSanitizedBody = SanitizeJsonTextBody(contentType, body); if (FormEncodedBodySanitizers.Count == 0) { @@ -60,5 +72,47 @@ public override string SanitizeTextBody(string contentType, string body) return jsonSanitizedBody; } } + + private string SanitizeJsonTextBody(string contentType, string body) + { + if (JsonPathSanitizers.Count == 0) + return body; + try + { + JToken jsonO; + // Prevent default behavior where JSON.NET will convert DateTimeOffset + // into a DateTime. + if (!LegacyConvertJsonDateTokens) + { + jsonO = JsonConvert.DeserializeObject(body, SerializerSettings); + } + else + { + jsonO = JToken.Parse(body); + } + + foreach (string jsonPath in JsonPathSanitizers) + { + foreach (JToken token in jsonO.SelectTokens(jsonPath)) + { + string value = token.ToString(); + token.Replace(JToken.FromObject(JwtValues.Contains(jsonPath) ? SanitizeJwt(value) : SanitizeValue)); + } + } + return JsonConvert.SerializeObject(jsonO, SerializerSettings); + } + catch + { + return body; + } + } + + private string SanitizeJwt(string value) + { + DateTimeOffset expiresOn = DateTimeOffset.UtcNow + TimeSpan.FromDays(365 * 30); // Never expire in software years + string encodedBody = Base64Url.EncodeString($"{{\"exp\":{expiresOn.ToUnixTimeSeconds()}}}"); + + return $"{SanitizeValue}.{encodedBody}.{SanitizeValue}"; + } } } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitory.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitory.json index 8a0b68054993..9590c3818955 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitory.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitory.json @@ -1,16 +1,12 @@ { "Entries": [ { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-4290955c6886584aac650a869a858b73-623b9649ce6af649-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-c24c524f98c8364aad12c09134cbb7b3-07691f371705694a-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0c903d2ccfdc68bf297403b213d195ee", "x-ms-return-client-request-id": "true" }, @@ -26,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:24 GMT", + "Date": "Thu, 06 May 2021 00:50:43 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "15555f94-e982-4e25-b444-ccb73edf1973" + "X-Ms-Correlation-Request-Id": "8994168f-9398-4587-97ec-9f47d4df2794" }, "ResponseBody": { "errors": [ @@ -54,76 +50,69 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "89", + "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-4290955c6886584aac650a869a858b73-7fa6aee8bc863c45-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-c24c524f98c8364aad12c09134cbb7b3-9d584ed6ff43244e-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "853c25cd869cf34e2c233b8ab418acce", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:25 GMT", + "Date": "Thu, 06 May 2021 00:50:43 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "2ad0155b-1fd1-4adf-8625-25b3b7efcdb1" + "X-Ms-Correlation-Request-Id": "a12ae251-ff5a-490d-83fc-1e8ce8e52add", + "x-ms-ratelimit-remaining-calls-per-second": "166.5" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIyNjF9.Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "141", + "Content-Length": "132", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-4290955c6886584aac650a869a858b73-24e0ad14d862a54d-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-c24c524f98c8364aad12c09134cbb7b3-bc94e78eedb26e41-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1e2c93dbae12ef68de7fb4f90ae10daf", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=annelocontainerregistry.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\u0026refresh_token=Sanitized", + "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\u0026refresh_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:25 GMT", + "Date": "Thu, 06 May 2021 00:50:43 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "193555f6-bb3b-4117-a8f0-c9b16a908c1c" + "X-Ms-Correlation-Request-Id": "917c16c6-f7b1-49d2-9acc-f68d33acb407", + "x-ms-ratelimit-remaining-calls-per-second": "166.483333" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-4290955c6886584aac650a869a858b73-623b9649ce6af649-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-c24c524f98c8364aad12c09134cbb7b3-07691f371705694a-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0c903d2ccfdc68bf297403b213d195ee", "x-ms-return-client-request-id": "true" }, @@ -137,9 +126,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "807", + "Content-Length": "816", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:27 GMT", + "Date": "Thu, 06 May 2021 00:50:46 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -148,24 +137,26 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "0c903d2ccfdc68bf297403b213d195ee", - "X-Ms-Correlation-Request-Id": "525f3d40-1ba2-4b20-b71c-eb369275c253", - "X-Ms-Request-Id": "bcdb7ff8-fe1a-441e-9cef-6599136eea84" + "X-Ms-Correlation-Request-Id": "f2f8c457-fa35-4ed0-b83e-5ef002811a7b", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", + "X-Ms-Request-Id": "234f4db0-cfb3-4d28-816b-8ba0403b1765" }, "ResponseBody": { "manifestsDeleted": [ "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", - "sha256:308866a43596e83578c7dfa15e27a73011bdd402185a84c5cd7f32a88b501a24", "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", - "sha256:b0408a0f1d74eced127a2658429f336ed8fa48e36d59878f155b19865e5dbd70", "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", - "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9" + "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519" ], "tagsDeleted": [ "latest", + "newest", "v1", "v2", "v3", @@ -174,16 +165,12 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-3e0d14e373177c47a83bd71a9f0918e2-f2b88cc112a77e4d-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-93d83c4b0821fa4483e68ba654b2418e-feb0b76ee88f5841-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "b2bba98cd0ffa6f7ee9cdfb99335b411", "x-ms-return-client-request-id": "true" }, @@ -199,16 +186,16 @@ "Connection": "keep-alive", "Content-Length": "195", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:27 GMT", + "Date": "Thu, 06 May 2021 00:50:51 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "78dcd7fd-b07b-4f3b-9531-74ddddc5277f" + "X-Ms-Correlation-Request-Id": "ad90a693-dd0e-4398-97e1-cd47d57455f4" }, "ResponseBody": { "errors": [ @@ -227,76 +214,41 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "89", + "Content-Length": "111", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-3e0d14e373177c47a83bd71a9f0918e2-347bcb8be8469049-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-93d83c4b0821fa4483e68ba654b2418e-9f11bc8722c7ff48-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "7fd635c776a41edcbd4da61dd155e84b", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:27 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f575ea17-c9c4-4ac9-9fd3-c263ea4d7193" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, - { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "120", - "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-3e0d14e373177c47a83bd71a9f0918e2-cca2ba30d13d9445-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "0afd8b16fa5c0ace9c853075cfae5ba8", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=refresh_token\u0026service=annelocontainerregistry.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", + "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:27 GMT", + "Date": "Thu, 06 May 2021 00:50:51 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d109f162-d4e6-47b3-9c49-97404bf74f39" + "X-Ms-Correlation-Request-Id": "75133ac3-707c-4147-b63c-a921a1e57e88", + "x-ms-ratelimit-remaining-calls-per-second": "166.433333" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-3e0d14e373177c47a83bd71a9f0918e2-f2b88cc112a77e4d-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-93d83c4b0821fa4483e68ba654b2418e-feb0b76ee88f5841-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "b2bba98cd0ffa6f7ee9cdfb99335b411", "x-ms-return-client-request-id": "true" }, @@ -312,7 +264,7 @@ "Connection": "keep-alive", "Content-Length": "68", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:27 GMT", + "Date": "Thu, 06 May 2021 00:50:51 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -320,7 +272,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "dfbbb219-facd-45a0-ac94-61ff8860c967" + "X-Ms-Correlation-Request-Id": "46298e83-08c1-4101-a4a9-1b8ef99aacbf" }, "ResponseBody": { "repositories": [ @@ -332,11 +284,11 @@ } ], "Variables": { - "CLIENT_ID": "5487e79a-c0c4-47e2-ad50-7e6c236bc76f", - "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "annelocontainerregistry", + "CLIENT_ID": "9de00b2f-0a92-4543-9928-f49b89bb1448", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr01", "RandomSeed": "1367677705", - "RESOURCE_GROUP": "rg-annelocontainerregistry", + "RESOURCE_GROUP": "rg-localtestacr01", "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitoryAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitoryAsync.json index 74daa6e0999b..136fef020863 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitoryAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitoryAsync.json @@ -1,16 +1,12 @@ { "Entries": [ { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-9592152baeb3334db56fdd5094554982-fc168248784ae947-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-2572af79f06af34e989eea8f516ee9f3-b96257b3bf7abd49-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "7477a74f8b227857aeb048e4037a9500", "x-ms-return-client-request-id": "true" }, @@ -26,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:50 GMT", + "Date": "Thu, 06 May 2021 00:51:15 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "119ea487-25c0-498e-b1aa-73628d89975a" + "X-Ms-Correlation-Request-Id": "7823138e-a804-426f-900a-bd675f3bb654" }, "ResponseBody": { "errors": [ @@ -54,76 +50,69 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "89", + "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-9592152baeb3334db56fdd5094554982-47e986eb78d11941-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-2572af79f06af34e989eea8f516ee9f3-1ff6d64668bbc442-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "188ab92233b41a5c172f728ffa500953", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:50 GMT", + "Date": "Thu, 06 May 2021 00:51:16 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "a756105d-5be1-4759-a648-3a25681f2be8" + "X-Ms-Correlation-Request-Id": "56f6ef6b-1c83-4c11-ab52-703221603e38", + "x-ms-ratelimit-remaining-calls-per-second": "166.116667" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIyOTN9.Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "141", + "Content-Length": "132", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-9592152baeb3334db56fdd5094554982-bcf13f9662fe9049-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-2572af79f06af34e989eea8f516ee9f3-12398b619bcd5c48-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "6392113ac7fdab71c2b354231d2b52c9", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=annelocontainerregistry.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\u0026refresh_token=Sanitized", + "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\u0026refresh_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:50 GMT", + "Date": "Thu, 06 May 2021 00:51:16 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "1551dc3d-e945-46d4-8780-13658e7a6841" + "X-Ms-Correlation-Request-Id": "e8296a97-f08e-4a77-be22-0e6d0498577d", + "x-ms-ratelimit-remaining-calls-per-second": "166.1" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-9592152baeb3334db56fdd5094554982-fc168248784ae947-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-2572af79f06af34e989eea8f516ee9f3-b96257b3bf7abd49-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "7477a74f8b227857aeb048e4037a9500", "x-ms-return-client-request-id": "true" }, @@ -139,7 +128,7 @@ "Connection": "keep-alive", "Content-Length": "807", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:53 GMT", + "Date": "Thu, 06 May 2021 00:51:18 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -148,21 +137,22 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "7477a74f8b227857aeb048e4037a9500", - "X-Ms-Correlation-Request-Id": "6e888b3d-d0b5-40c8-bf9c-772ef9a0db7e", - "X-Ms-Request-Id": "dddbe0f5-6b7c-4918-a7cb-0acebdbb3f88" + "X-Ms-Correlation-Request-Id": "9e32c0ff-dcd3-49fc-b665-f27513b02170", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", + "X-Ms-Request-Id": "c9db3f21-e6ac-4896-abdd-b548e4108476" }, "ResponseBody": { "manifestsDeleted": [ "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", - "sha256:308866a43596e83578c7dfa15e27a73011bdd402185a84c5cd7f32a88b501a24", "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", - "sha256:b0408a0f1d74eced127a2658429f336ed8fa48e36d59878f155b19865e5dbd70", "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", - "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9" + "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519" ], "tagsDeleted": [ "latest", @@ -174,16 +164,12 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-e65a6bc28ed7ab408738513850bc787b-3f6eed2a78419745-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-a1ed4430e7102e459369450116951607-91543bbb9dce3e4b-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "08e2460285c71b974a5c5df218c77d5e", "x-ms-return-client-request-id": "true" }, @@ -199,16 +185,16 @@ "Connection": "keep-alive", "Content-Length": "195", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:53 GMT", + "Date": "Thu, 06 May 2021 00:51:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "45993254-4032-422e-9b75-b6809dac0cf4" + "X-Ms-Correlation-Request-Id": "9ed07baf-631c-4212-9a21-e60702959038" }, "ResponseBody": { "errors": [ @@ -227,76 +213,41 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "89", + "Content-Length": "111", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-e65a6bc28ed7ab408738513850bc787b-f955f1071a2bad4b-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-a1ed4430e7102e459369450116951607-59009f618317f54c-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f1a9f4a631e85b0247df5501de39fdec", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:53 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "4b71373b-0658-4222-ae5c-868c7e13dcb7" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, - { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "120", - "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-e65a6bc28ed7ab408738513850bc787b-49b89dc8f036a447-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "b48ca9dd016db58c797619a06a7e92fb", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=refresh_token\u0026service=annelocontainerregistry.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", + "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:53 GMT", + "Date": "Thu, 06 May 2021 00:51:23 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b02fb5f2-d61c-4b8d-9316-c249155c2d87" + "X-Ms-Correlation-Request-Id": "6dbc7b52-822c-4902-b5a9-1a6e119ff2d6", + "x-ms-ratelimit-remaining-calls-per-second": "166.083333" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-e65a6bc28ed7ab408738513850bc787b-3f6eed2a78419745-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-a1ed4430e7102e459369450116951607-91543bbb9dce3e4b-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "08e2460285c71b974a5c5df218c77d5e", "x-ms-return-client-request-id": "true" }, @@ -312,7 +263,7 @@ "Connection": "keep-alive", "Content-Length": "68", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:53 GMT", + "Date": "Thu, 06 May 2021 00:51:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -320,7 +271,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "20dd9b72-172a-4bda-9d84-2965a242738b" + "X-Ms-Correlation-Request-Id": "5acba06a-7358-4f43-adee-e6e8a57439d4" }, "ResponseBody": { "repositories": [ @@ -332,11 +283,11 @@ } ], "Variables": { - "CLIENT_ID": "5487e79a-c0c4-47e2-ad50-7e6c236bc76f", - "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "annelocontainerregistry", + "CLIENT_ID": "9de00b2f-0a92-4543-9928-f49b89bb1448", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr01", "RandomSeed": "387447821", - "RESOURCE_GROUP": "rg-annelocontainerregistry", + "RESOURCE_GROUP": "rg-localtestacr01", "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositories.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositories.json index eba6d42e1937..2614bf068633 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositories.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositories.json @@ -1,16 +1,12 @@ { "Entries": [ { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-9ef26d0164dccd4c80d73d7457fd24d9-47156c867455bb42-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-8b1c668edc7b5e41bc8b835b2e8a727a-d5d71b330e269449-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0b399c878f6c898299c2287d85da48ea", "x-ms-return-client-request-id": "true" }, @@ -26,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "195", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:10 GMT", + "Date": "Thu, 06 May 2021 00:50:26 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d24df5dd-1280-42c1-b394-e0e425c1d89f" + "X-Ms-Correlation-Request-Id": "8f95d828-5918-448f-8b4e-8b62a2de5f6a" }, "ResponseBody": { "errors": [ @@ -54,76 +50,69 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "89", + "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-9ef26d0164dccd4c80d73d7457fd24d9-ccd394eecee0db47-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-8b1c668edc7b5e41bc8b835b2e8a727a-b669021a52358b43-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "bff6cddb8677f046080c2f69df0d0c05", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:11 GMT", + "Date": "Thu, 06 May 2021 00:50:28 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "74a2c693-fb0c-4c17-883b-b8ff85791086" + "X-Ms-Correlation-Request-Id": "35aed365-9c2d-40bd-a305-898932afdceb", + "x-ms-ratelimit-remaining-calls-per-second": "166.65" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIyMjd9.Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "120", + "Content-Length": "111", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-9ef26d0164dccd4c80d73d7457fd24d9-44e251534d91104f-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-8b1c668edc7b5e41bc8b835b2e8a727a-5be5c190567e0145-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a2a7017f0fca9b55add75940d23a1b16", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=annelocontainerregistry.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", + "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:11 GMT", + "Date": "Thu, 06 May 2021 00:50:28 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3d1a036f-f86f-4fa1-b9da-bbd2a17a677e" + "X-Ms-Correlation-Request-Id": "6ef16613-dbfe-4baa-8cff-fa964a691662", + "x-ms-ratelimit-remaining-calls-per-second": "166.633333" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-9ef26d0164dccd4c80d73d7457fd24d9-47156c867455bb42-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-8b1c668edc7b5e41bc8b835b2e8a727a-d5d71b330e269449-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0b399c878f6c898299c2287d85da48ea", "x-ms-return-client-request-id": "true" }, @@ -139,7 +128,7 @@ "Connection": "keep-alive", "Content-Length": "90", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:11 GMT", + "Date": "Thu, 06 May 2021 00:50:28 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -147,7 +136,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "e0ed6fa2-9b30-480f-bdf2-a1da9d14e786" + "X-Ms-Correlation-Request-Id": "c042a8fd-bdcd-416c-9b52-c7c99ceac515" }, "ResponseBody": { "repositories": [ @@ -160,7 +149,7 @@ } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", "RandomSeed": "1946767094" } } \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesAsync.json index c5bc45990b55..60b03c92324a 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesAsync.json @@ -1,16 +1,12 @@ { "Entries": [ { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-bd4c2dbea5fc3a44aec67ebf91dbff1a-23b0440f2ded5444-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-db9840d2276183418f6406bf78470f26-8cb8d690af06cb44-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "d1c947d404b29065d5ea7fcc142ddb07", "x-ms-return-client-request-id": "true" }, @@ -26,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "195", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:38 GMT", + "Date": "Thu, 06 May 2021 00:51:02 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "1703f316-3e9b-4475-9617-768d848f6911" + "X-Ms-Correlation-Request-Id": "b3f08f57-357d-4f6e-8616-c1657a83302a" }, "ResponseBody": { "errors": [ @@ -54,76 +50,69 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "89", + "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-bd4c2dbea5fc3a44aec67ebf91dbff1a-e4107c27d7d66946-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-db9840d2276183418f6406bf78470f26-b31ae959ac4a1446-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "d5a2d1d52c38a62142d4218e7b22dcca", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:38 GMT", + "Date": "Thu, 06 May 2021 00:51:03 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "55446327-43c5-4b96-bc0e-75100283b7ef" + "X-Ms-Correlation-Request-Id": "10473e05-6945-421f-a243-ab9b9e26e848", + "x-ms-ratelimit-remaining-calls-per-second": "166.283333" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIyNjJ9.Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "120", + "Content-Length": "111", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-bd4c2dbea5fc3a44aec67ebf91dbff1a-bff1e14741e64849-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-db9840d2276183418f6406bf78470f26-c0e4a990706aa540-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a56cd05dc143c3afacb828a54c1aa768", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=annelocontainerregistry.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", + "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:38 GMT", + "Date": "Thu, 06 May 2021 00:51:03 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "466e29ae-41eb-44d9-ac7c-2b2aede930df" + "X-Ms-Correlation-Request-Id": "60832799-1bf1-4352-9e6e-ffb135cd2880", + "x-ms-ratelimit-remaining-calls-per-second": "166.266667" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-bd4c2dbea5fc3a44aec67ebf91dbff1a-23b0440f2ded5444-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-db9840d2276183418f6406bf78470f26-8cb8d690af06cb44-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "d1c947d404b29065d5ea7fcc142ddb07", "x-ms-return-client-request-id": "true" }, @@ -139,7 +128,7 @@ "Connection": "keep-alive", "Content-Length": "90", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:38 GMT", + "Date": "Thu, 06 May 2021 00:51:03 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -147,7 +136,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "8ba99090-b39c-4877-a387-aa339f45ff3b" + "X-Ms-Correlation-Request-Id": "afc7b89e-6919-4a28-a0f6-9c644f618d50" }, "ResponseBody": { "repositories": [ @@ -160,7 +149,7 @@ } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", "RandomSeed": "225985181" } } \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesWithCustomPageSize.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesWithCustomPageSize.json index fa7bdaca3623..e1565e83264f 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesWithCustomPageSize.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesWithCustomPageSize.json @@ -1,16 +1,12 @@ { "Entries": [ { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog?n=2", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog?n=2", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-e9e25d78f6c3354eb31b025e1e1987b8-670c0aefeb664d4e-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-58c1faf5d8c0eb4daa502293b98fa45a-3c203dc887ff3b42-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f56813585c3c461523a8333a57e3aaf2", "x-ms-return-client-request-id": "true" }, @@ -26,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "195", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:11 GMT", + "Date": "Thu, 06 May 2021 00:50:28 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "aa3ae060-4837-4dc3-8a10-344057bb0731" + "X-Ms-Correlation-Request-Id": "b3c47b52-898f-4e49-b09a-fda60c505995" }, "ResponseBody": { "errors": [ @@ -54,76 +50,69 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "89", + "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-e9e25d78f6c3354eb31b025e1e1987b8-62080f52af48894c-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-58c1faf5d8c0eb4daa502293b98fa45a-d17e2b081722de4e-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "782e9267f723553179a35eff48eb845b", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:11 GMT", + "Date": "Thu, 06 May 2021 00:50:29 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "ded4337a-86eb-4d0a-93f2-1ae5ad7dc0d3" + "X-Ms-Correlation-Request-Id": "e6939939-41f6-43f7-b29c-e2706ac2470c", + "x-ms-ratelimit-remaining-calls-per-second": "166.616667" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIyMjh9.Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "120", + "Content-Length": "111", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-e9e25d78f6c3354eb31b025e1e1987b8-324fafa54f6a7e4e-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-58c1faf5d8c0eb4daa502293b98fa45a-f502b63b3e6bd249-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "b4b3506be8e86a7b665931c878057185", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=annelocontainerregistry.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", + "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:11 GMT", + "Date": "Thu, 06 May 2021 00:50:29 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "acf61373-baf6-4c75-9ea8-fe7dbc71fd26" + "X-Ms-Correlation-Request-Id": "b00d3b75-bf46-4478-aed3-bb9ebe57e52d", + "x-ms-ratelimit-remaining-calls-per-second": "166.6" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog?n=2", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog?n=2", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-e9e25d78f6c3354eb31b025e1e1987b8-670c0aefeb664d4e-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-58c1faf5d8c0eb4daa502293b98fa45a-3c203dc887ff3b42-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f56813585c3c461523a8333a57e3aaf2", "x-ms-return-client-request-id": "true" }, @@ -139,7 +128,7 @@ "Connection": "keep-alive", "Content-Length": "53", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:11 GMT", + "Date": "Thu, 06 May 2021 00:50:29 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -148,7 +137,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "92bb85b3-5068-4ca1-9f1d-ce4860292dfd" + "X-Ms-Correlation-Request-Id": "76f2e6b1-dee5-4ad0-ac0d-9bea9a5a3dca" }, "ResponseBody": { "repositories": [ @@ -158,16 +147,12 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-ba2b8ec30171c04eb737289f054883c0-da4752da59b79e48-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-de22c3afa78dd24c8fc140036419c630-63eeae6e6e8d524b-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a74b5ff6e8c5613be2127b98fe15fe37", "x-ms-return-client-request-id": "true" }, @@ -183,16 +168,16 @@ "Connection": "keep-alive", "Content-Length": "195", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:11 GMT", + "Date": "Thu, 06 May 2021 00:50:29 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d81b7375-1f93-45ff-b591-f6d6e27d6f52" + "X-Ms-Correlation-Request-Id": "d30bee05-3256-4c1d-a8b6-f3b35976d25f" }, "ResponseBody": { "errors": [ @@ -211,76 +196,41 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "89", + "Content-Length": "111", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-ba2b8ec30171c04eb737289f054883c0-b2ee02853bed524e-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-de22c3afa78dd24c8fc140036419c630-c9e5b23cf7c51f46-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "07cfd823f5307f0a16c311c9c668dd74", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:12 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f4ac1e5b-136e-444a-b56b-4f49c25e1d3a" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, - { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "120", - "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-ba2b8ec30171c04eb737289f054883c0-6c8ac2c1b3492c42-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "e808d932dd9f83951452d2d56de26c51", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=refresh_token\u0026service=annelocontainerregistry.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", + "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:12 GMT", + "Date": "Thu, 06 May 2021 00:50:29 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "ae32ca2e-1d9f-4e92-9baf-2c432dd128e3" + "X-Ms-Correlation-Request-Id": "6373a3ad-ef72-48a4-8197-99f935055bf2", + "x-ms-ratelimit-remaining-calls-per-second": "166.583333" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-ba2b8ec30171c04eb737289f054883c0-da4752da59b79e48-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-de22c3afa78dd24c8fc140036419c630-63eeae6e6e8d524b-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a74b5ff6e8c5613be2127b98fe15fe37", "x-ms-return-client-request-id": "true" }, @@ -296,7 +246,7 @@ "Connection": "keep-alive", "Content-Length": "55", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:12 GMT", + "Date": "Thu, 06 May 2021 00:50:29 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -304,7 +254,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f6d38dbe-a42e-4379-8679-5ee3e4428057" + "X-Ms-Correlation-Request-Id": "00b010f1-9779-4222-9fc4-c4f07b94e897" }, "ResponseBody": { "repositories": [ @@ -315,7 +265,7 @@ } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", "RandomSeed": "504311885" } } \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesWithCustomPageSizeAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesWithCustomPageSizeAsync.json index 139dac62ec5b..97cac585ed70 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesWithCustomPageSizeAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesWithCustomPageSizeAsync.json @@ -1,16 +1,12 @@ { "Entries": [ { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog?n=2", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog?n=2", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-0a69349de2dcb9468020761d51420fed-f130865eac36b44c-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-bdfac175a9437944b3bf2717cd9a7194-7e4d975b7ba26440-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "457d8489fa7d32395f8264c4e41aaff7", "x-ms-return-client-request-id": "true" }, @@ -26,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "195", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:38 GMT", + "Date": "Thu, 06 May 2021 00:51:03 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "e34e37da-b02a-42c0-b2b2-d6ce73856e4b" + "X-Ms-Correlation-Request-Id": "03c6f612-cb32-4ad8-b5d5-05a197792ba8" }, "ResponseBody": { "errors": [ @@ -54,76 +50,69 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "89", + "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-0a69349de2dcb9468020761d51420fed-aab51a522b314c43-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-bdfac175a9437944b3bf2717cd9a7194-f41c33b8dbba474b-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "29c644a79eb0505f82eb681c7a46790c", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:38 GMT", + "Date": "Thu, 06 May 2021 00:51:04 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "8eb7aab1-61e6-41d1-86b3-30623640f2d6" + "X-Ms-Correlation-Request-Id": "4c9bb33c-7e4c-4063-b737-85f304ad1060", + "x-ms-ratelimit-remaining-calls-per-second": "166.25" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIyNjN9.Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "120", + "Content-Length": "111", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-0a69349de2dcb9468020761d51420fed-453cdc8fe6597e44-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-bdfac175a9437944b3bf2717cd9a7194-db762c58c87b8a42-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "013d5ca2b51c97ac449c8360ae9888a1", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=annelocontainerregistry.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", + "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:38 GMT", + "Date": "Thu, 06 May 2021 00:51:04 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f0a1fa2a-6f44-477e-bec5-092c92a8fcc4" + "X-Ms-Correlation-Request-Id": "b6405c2e-0d3f-4560-8194-0a98094c8ab9", + "x-ms-ratelimit-remaining-calls-per-second": "166.233333" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog?n=2", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog?n=2", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-0a69349de2dcb9468020761d51420fed-f130865eac36b44c-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-bdfac175a9437944b3bf2717cd9a7194-7e4d975b7ba26440-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "457d8489fa7d32395f8264c4e41aaff7", "x-ms-return-client-request-id": "true" }, @@ -139,7 +128,7 @@ "Connection": "keep-alive", "Content-Length": "53", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:38 GMT", + "Date": "Thu, 06 May 2021 00:51:04 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -148,7 +137,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "c9827f9e-100f-4da4-a96b-73f2d691b6c0" + "X-Ms-Correlation-Request-Id": "e3fc2697-67f0-4dbc-8df5-6a3210f34388" }, "ResponseBody": { "repositories": [ @@ -158,16 +147,12 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-751563f99e9392498897ef1fbc6de823-3c38e42cf29c134c-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-b9a5ec6b643f044f8ed7b8dcf1dab3cd-ee0cb7ff63367548-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "cbb48153de06eab8252cc392911db719", "x-ms-return-client-request-id": "true" }, @@ -183,16 +168,16 @@ "Connection": "keep-alive", "Content-Length": "195", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:39 GMT", + "Date": "Thu, 06 May 2021 00:51:04 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6f09b862-470b-40a3-a7b5-cef9b62512cc" + "X-Ms-Correlation-Request-Id": "ce29e382-2b44-479b-9e2e-e1d1f7423064" }, "ResponseBody": { "errors": [ @@ -211,76 +196,41 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "89", + "Content-Length": "111", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-751563f99e9392498897ef1fbc6de823-499506b45561cc4e-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-b9a5ec6b643f044f8ed7b8dcf1dab3cd-128b4e77febbdd43-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "88215709addcf1da982fe4141bfea2e9", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:39 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "5204b844-0b9e-4c0b-9dfd-42e74bed5efa" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, - { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "120", - "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-751563f99e9392498897ef1fbc6de823-25cbbf28d8406748-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "f8c8c762ae91c406a353dceff2190627", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=refresh_token\u0026service=annelocontainerregistry.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", + "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:39 GMT", + "Date": "Thu, 06 May 2021 00:51:04 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e5a43df7-0064-4ee8-9e27-faadbffd9cc7" + "X-Ms-Correlation-Request-Id": "1bf43a2f-d68e-4360-abfc-ae25184b491d", + "x-ms-ratelimit-remaining-calls-per-second": "166.2" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-751563f99e9392498897ef1fbc6de823-3c38e42cf29c134c-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-b9a5ec6b643f044f8ed7b8dcf1dab3cd-ee0cb7ff63367548-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "cbb48153de06eab8252cc392911db719", "x-ms-return-client-request-id": "true" }, @@ -296,7 +246,7 @@ "Connection": "keep-alive", "Content-Length": "55", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:39 GMT", + "Date": "Thu, 06 May 2021 00:51:04 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -304,7 +254,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "4a901a1f-24cb-42dd-b017-7b113fc8359d" + "X-Ms-Correlation-Request-Id": "680a53bc-1bf4-4c2c-9102-14df924b9942" }, "ResponseBody": { "repositories": [ @@ -315,7 +265,7 @@ } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", "RandomSeed": "3817978" } } \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanStartPagingMidCollection.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanStartPagingMidCollection.json index 8d0c09f110bf..f968ab294f2c 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanStartPagingMidCollection.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanStartPagingMidCollection.json @@ -1,16 +1,12 @@ { "Entries": [ { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog?last=library/alpine\u0026n=1", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog?last=library/alpine\u0026n=1", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-1e5a0bc9af027d4382bc74f3d7519466-968581cc90965245-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-c382825441f3d846b40c99b9f30af32e-1521529fd3f17441-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "471d83abb1fa3b91f7ef1ad15ff29b29", "x-ms-return-client-request-id": "true" }, @@ -26,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "195", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:12 GMT", + "Date": "Thu, 06 May 2021 00:50:29 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "fa20d663-4127-44ae-b254-87b01feef870" + "X-Ms-Correlation-Request-Id": "2945eaa0-1acf-4012-b21c-7c85bcff436a" }, "ResponseBody": { "errors": [ @@ -54,76 +50,69 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "89", + "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-1e5a0bc9af027d4382bc74f3d7519466-e0a0b60630b8424a-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-c382825441f3d846b40c99b9f30af32e-bf14f4a7c19a1942-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "36f9479b2ea866addfbe6ad22d6046e0", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:12 GMT", + "Date": "Thu, 06 May 2021 00:50:30 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "174b9b28-91a5-471b-a26e-30348d8fa91b" + "X-Ms-Correlation-Request-Id": "18b01433-0401-4e5b-9c50-eb42743c1f28", + "x-ms-ratelimit-remaining-calls-per-second": "166.566667" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIyMjl9.Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "120", + "Content-Length": "111", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-1e5a0bc9af027d4382bc74f3d7519466-afb42a32c247a14e-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-c382825441f3d846b40c99b9f30af32e-f4fa846ba5b35b46-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1cd950334a0f4a41c824ea0ee8c1d1f8", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=annelocontainerregistry.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", + "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:12 GMT", + "Date": "Thu, 06 May 2021 00:50:30 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "273d6811-94d7-41ad-97c5-e5fe64f4521f" + "X-Ms-Correlation-Request-Id": "d2d551d6-1130-434f-a4d6-6572dc146ecb", + "x-ms-ratelimit-remaining-calls-per-second": "166.55" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog?last=library/alpine\u0026n=1", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog?last=library/alpine\u0026n=1", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-1e5a0bc9af027d4382bc74f3d7519466-968581cc90965245-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-c382825441f3d846b40c99b9f30af32e-1521529fd3f17441-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "471d83abb1fa3b91f7ef1ad15ff29b29", "x-ms-return-client-request-id": "true" }, @@ -139,7 +128,7 @@ "Connection": "keep-alive", "Content-Length": "36", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:12 GMT", + "Date": "Thu, 06 May 2021 00:50:30 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -148,7 +137,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "367fa8b2-e6b3-4e97-a847-047a7d0f05ea" + "X-Ms-Correlation-Request-Id": "eaf17cc3-c527-41fc-95d0-23f9225309c4" }, "ResponseBody": { "repositories": [ @@ -157,16 +146,12 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-3e848cec252462479cd5a7958dfc437a-7c4d8eb4215b9a43-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-1b3dfa7ce8084c4095ed713344cedbdd-f5d23525ce68b643-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "dd022a81ec977c6bd5b7683c46be0e96", "x-ms-return-client-request-id": "true" }, @@ -182,16 +167,16 @@ "Connection": "keep-alive", "Content-Length": "195", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:12 GMT", + "Date": "Thu, 06 May 2021 00:50:30 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "591565c7-4330-4843-91cc-02a0b48a2988" + "X-Ms-Correlation-Request-Id": "d986a029-da95-42a0-b8bf-035a279301a1" }, "ResponseBody": { "errors": [ @@ -210,76 +195,41 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "89", + "Content-Length": "111", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-3e848cec252462479cd5a7958dfc437a-10f3be9d64947945-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-1b3dfa7ce8084c4095ed713344cedbdd-3548165515670542-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0e9d39a97e19501905ae6e83449f7d1e", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:12 GMT", + "Date": "Thu, 06 May 2021 00:50:30 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "7e82bc75-3b9b-4c60-bc7c-c10292da3630" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, - { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "120", - "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-3e848cec252462479cd5a7958dfc437a-0901581693d2e143-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "025172ec695e4749e45c4758e2050309", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=refresh_token\u0026service=annelocontainerregistry.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:12 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d750811e-7502-4dbd-a6bd-a1b99e4dc0d6" + "X-Ms-Correlation-Request-Id": "a4d7b095-4bf6-4b62-919e-ed17f4e95ef3", + "x-ms-ratelimit-remaining-calls-per-second": "166.533333" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-3e848cec252462479cd5a7958dfc437a-7c4d8eb4215b9a43-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-1b3dfa7ce8084c4095ed713344cedbdd-f5d23525ce68b643-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "dd022a81ec977c6bd5b7683c46be0e96", "x-ms-return-client-request-id": "true" }, @@ -295,7 +245,7 @@ "Connection": "keep-alive", "Content-Length": "40", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:12 GMT", + "Date": "Thu, 06 May 2021 00:50:30 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -304,7 +254,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "14dedb5c-5452-48a8-9cdc-f6b6714a78a5" + "X-Ms-Correlation-Request-Id": "7862af2e-dda8-436a-90e9-dfb05e77ab8f" }, "ResponseBody": { "repositories": [ @@ -313,17 +263,13 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-67c2c2212545d44898bb49f68408c750-a988da54c8918345-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "af655316c32302de11b2d7e87de83836", + "traceparent": "00-641c010a44554c44a8a5a2fe27f58a46-b476957034865440-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "025172ec695e4749e45c4758e2050309", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -338,16 +284,16 @@ "Connection": "keep-alive", "Content-Length": "195", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:12 GMT", + "Date": "Thu, 06 May 2021 00:50:30 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "c2da9758-5bf3-43bc-b380-4f163f5046a5" + "X-Ms-Correlation-Request-Id": "ad3183de-a977-47b4-a8ff-7f04d9d3313b" }, "ResponseBody": { "errors": [ @@ -366,77 +312,42 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "89", - "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-67c2c2212545d44898bb49f68408c750-ae215332fd392e4d-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "d44f49390c6d3f38ef552abc37c16dff", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:12 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "1f27f800-e1ff-495f-ab91-f752fef958a1" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, - { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "120", + "Content-Length": "111", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-67c2c2212545d44898bb49f68408c750-2b3ad39ac2ece245-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "f06d65aace3929fa934ef0ab9160c9fc", + "traceparent": "00-641c010a44554c44a8a5a2fe27f58a46-b5d142688e04d64d-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "af655316c32302de11b2d7e87de83836", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=annelocontainerregistry.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", + "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:12 GMT", + "Date": "Thu, 06 May 2021 00:50:30 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f39ffb0f-25bb-459e-b87d-6680ff98bdb5" + "X-Ms-Correlation-Request-Id": "a092b795-1968-4c96-947f-fcb058b985ec", + "x-ms-ratelimit-remaining-calls-per-second": "166.516667" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-67c2c2212545d44898bb49f68408c750-a988da54c8918345-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "af655316c32302de11b2d7e87de83836", + "traceparent": "00-641c010a44554c44a8a5a2fe27f58a46-b476957034865440-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "025172ec695e4749e45c4758e2050309", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -451,7 +362,7 @@ "Connection": "keep-alive", "Content-Length": "33", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:12 GMT", + "Date": "Thu, 06 May 2021 00:50:30 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -459,7 +370,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "2a82e884-e55d-4239-af77-e1de2a957f97" + "X-Ms-Correlation-Request-Id": "bd84fa6a-f708-4a3d-914d-364cbb6f8caf" }, "ResponseBody": { "repositories": [ @@ -469,7 +380,7 @@ } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", "RandomSeed": "2136659730" } } \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanStartPagingMidCollectionAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanStartPagingMidCollectionAsync.json index a9bb3d66b32b..18f3a3f31ba0 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanStartPagingMidCollectionAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanStartPagingMidCollectionAsync.json @@ -1,16 +1,12 @@ { "Entries": [ { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog?last=library/alpine\u0026n=1", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog?last=library/alpine\u0026n=1", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-ffde949645c66c46987ef3ff268dca67-3786dd5ac2fabd4e-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-1cca735ded93ad45a7849a8b33624419-7b9c6444fdaa6b46-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5e53888f43f6f6d1b3f6fa0c238a0f52", "x-ms-return-client-request-id": "true" }, @@ -26,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "195", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:39 GMT", + "Date": "Thu, 06 May 2021 00:51:04 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a598a141-cddf-43c6-bbee-8b86d941036e" + "X-Ms-Correlation-Request-Id": "a793903b-eee7-44df-844b-e75121fae784" }, "ResponseBody": { "errors": [ @@ -54,76 +50,69 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "89", + "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-ffde949645c66c46987ef3ff268dca67-f6b576ea4358b949-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-1cca735ded93ad45a7849a8b33624419-544b3a00559f974a-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a510c3bdff0e717ac3eba99180e07b6c", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:39 GMT", + "Date": "Thu, 06 May 2021 00:51:04 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "9f256c4d-d474-45f5-84ca-b7dbf952193f" + "X-Ms-Correlation-Request-Id": "2a1cc622-887a-4d26-a645-66efccf1043b", + "x-ms-ratelimit-remaining-calls-per-second": "166.183333" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIyNjR9.Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "120", + "Content-Length": "111", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-ffde949645c66c46987ef3ff268dca67-3f61c48a9b55354c-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-1cca735ded93ad45a7849a8b33624419-91f274cd675acd48-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f06f6966f4151e91ff335cee427f5930", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=annelocontainerregistry.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", + "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:39 GMT", + "Date": "Thu, 06 May 2021 00:51:04 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b3218083-e1e8-4b23-8a4e-9b874f980018" + "X-Ms-Correlation-Request-Id": "7970569d-65a8-46c0-a586-2f2b41ae5d1f", + "x-ms-ratelimit-remaining-calls-per-second": "166.166667" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog?last=library/alpine\u0026n=1", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog?last=library/alpine\u0026n=1", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-ffde949645c66c46987ef3ff268dca67-3786dd5ac2fabd4e-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-1cca735ded93ad45a7849a8b33624419-7b9c6444fdaa6b46-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5e53888f43f6f6d1b3f6fa0c238a0f52", "x-ms-return-client-request-id": "true" }, @@ -139,7 +128,7 @@ "Connection": "keep-alive", "Content-Length": "36", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:39 GMT", + "Date": "Thu, 06 May 2021 00:51:04 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -148,7 +137,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "72aec7a9-482b-45b5-bf06-148763b7504d" + "X-Ms-Correlation-Request-Id": "597d599f-0bb1-4c57-aade-80744f60beaa" }, "ResponseBody": { "repositories": [ @@ -157,16 +146,12 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-f3588ce1f0cf6f4d8c6c9f552bba76e8-56ef0e24d865eb46-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-6ab5974b6ed3fd4fb930851283f9132d-95c287e019871a40-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "238c9125ae3a90510de29b0b9a3f75d2", "x-ms-return-client-request-id": "true" }, @@ -182,16 +167,16 @@ "Connection": "keep-alive", "Content-Length": "195", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:39 GMT", + "Date": "Thu, 06 May 2021 00:51:04 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "dad06c9f-9409-4517-820c-be83ffc8b5aa" + "X-Ms-Correlation-Request-Id": "f327865a-a54d-4f78-a25e-84aa1307a64b" }, "ResponseBody": { "errors": [ @@ -210,76 +195,41 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "89", + "Content-Length": "111", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-f3588ce1f0cf6f4d8c6c9f552bba76e8-ad5940c565741348-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-6ab5974b6ed3fd4fb930851283f9132d-536771badff2e142-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "baa68e7a1e1ac93d32f1a5dba28c2e43", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:39 GMT", + "Date": "Thu, 06 May 2021 00:51:05 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "71306003-7622-471b-b451-79f926419f04" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, - { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "120", - "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-f3588ce1f0cf6f4d8c6c9f552bba76e8-17079ae336779543-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "ef6b79915853b83117dfe333598584bf", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=refresh_token\u0026service=annelocontainerregistry.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:39 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d8b74602-65e4-4538-aac2-7d8ea83bc5bb" + "X-Ms-Correlation-Request-Id": "8365e233-1d29-4a87-8c23-5723ca82de76", + "x-ms-ratelimit-remaining-calls-per-second": "166.133333" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-f3588ce1f0cf6f4d8c6c9f552bba76e8-56ef0e24d865eb46-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], + "traceparent": "00-6ab5974b6ed3fd4fb930851283f9132d-95c287e019871a40-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "238c9125ae3a90510de29b0b9a3f75d2", "x-ms-return-client-request-id": "true" }, @@ -295,7 +245,7 @@ "Connection": "keep-alive", "Content-Length": "40", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:39 GMT", + "Date": "Thu, 06 May 2021 00:51:05 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -304,7 +254,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "cfc49534-2ab8-406a-b83a-ebef94387f3d" + "X-Ms-Correlation-Request-Id": "f651ce29-2d31-48eb-be3f-e59633481504" }, "ResponseBody": { "repositories": [ @@ -313,17 +263,13 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-dec82fcd4c0bba4b8dcd7c0979c90ebb-6f1696b865e5f24d-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "b47389bd9fd9061654c3f1480875ed81", + "traceparent": "00-4133bb594f122a46987f1d484dcc6628-1e8f74a1f8668342-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "ef6b79915853b83117dfe333598584bf", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -338,16 +284,16 @@ "Connection": "keep-alive", "Content-Length": "195", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:39 GMT", + "Date": "Thu, 06 May 2021 00:51:05 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5670235a-7d21-4b8a-a91b-b251fc1a63ec" + "X-Ms-Correlation-Request-Id": "b7aead5f-540f-4f2f-ab04-d4809792963f" }, "ResponseBody": { "errors": [ @@ -366,77 +312,42 @@ } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "89", - "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-dec82fcd4c0bba4b8dcd7c0979c90ebb-de21b83af237cf47-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "217a57b386d4227e5ceda23b3b096fac", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:39 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e8c541c3-d8ff-479a-959e-99b33bf9be07" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, - { - "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "120", + "Content-Length": "111", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-dec82fcd4c0bba4b8dcd7c0979c90ebb-77cf8060a25bb444-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "181de66d7918f16962659b9067e9afa1", + "traceparent": "00-4133bb594f122a46987f1d484dcc6628-720b16f1a8ff3449-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "b47389bd9fd9061654c3f1480875ed81", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=annelocontainerregistry.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", + "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:39 GMT", + "Date": "Thu, 06 May 2021 00:51:05 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "db5cc44e-b76a-43a2-a005-81e73634eb93" + "X-Ms-Correlation-Request-Id": "f8409b84-c155-44f7-a45e-685a8b001bc8", + "x-ms-ratelimit-remaining-calls-per-second": "166.116667" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-dec82fcd4c0bba4b8dcd7c0979c90ebb-6f1696b865e5f24d-00", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210330.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "b47389bd9fd9061654c3f1480875ed81", + "traceparent": "00-4133bb594f122a46987f1d484dcc6628-1e8f74a1f8668342-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "ef6b79915853b83117dfe333598584bf", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -451,7 +362,7 @@ "Connection": "keep-alive", "Content-Length": "33", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 30 Mar 2021 18:09:39 GMT", + "Date": "Thu, 06 May 2021 00:51:05 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -459,7 +370,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6eb43086-1011-4d27-bc07-115bd27f5d7e" + "X-Ms-Correlation-Request-Id": "ec74a1f7-421e-42be-a9b5-c91117850877" }, "ResponseBody": { "repositories": [ @@ -469,7 +380,7 @@ } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", "RandomSeed": "1740843423" } } \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanDeleteRepository.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanDeleteRepository.json index 6df89ddb17ab..94665f970048 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanDeleteRepository.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanDeleteRepository.json @@ -5,8 +5,7 @@ "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1fe73572d5943534949819f54f93226b", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:19 GMT", + "Date": "Thu, 06 May 2021 00:52:02 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "af3693cc-57bc-4d2f-bb13-60f986d715a1" + "X-Ms-Correlation-Request-Id": "6fb704e4-42a6-44d6-881e-0784bb2530b9" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "96e04a25cb8802b9de8562d06b9f11c7", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:19 GMT", + "Date": "Thu, 06 May 2021 00:52:03 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d5a7a405-83ac-4dcb-8dd7-17f1e5c08378", - "x-ms-ratelimit-remaining-calls-per-second": "166.233333" + "X-Ms-Correlation-Request-Id": "ebe88478-f7d2-48ce-ab1e-ac341bf94bc5", + "x-ms-ratelimit-remaining-calls-per-second": "166.5" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzNDB9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "132", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "9ac319cb4fb12334692d806ada4d93c1", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:19 GMT", + "Date": "Thu, 06 May 2021 00:52:03 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "7bad4407-5598-45c7-b84c-f1d67ef682a4", - "x-ms-ratelimit-remaining-calls-per-second": "166.216667" + "X-Ms-Correlation-Request-Id": "43d20c30-2c0c-464c-a1fa-0d014153dd19", + "x-ms-ratelimit-remaining-calls-per-second": "165.85" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1fe73572d5943534949819f54f93226b", "x-ms-return-client-request-id": "true" }, @@ -123,9 +122,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "964", + "Content-Length": "807", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:22 GMT", + "Date": "Thu, 06 May 2021 00:52:05 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -134,18 +133,16 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "1fe73572d5943534949819f54f93226b", - "X-Ms-Correlation-Request-Id": "94c0d97e-979c-43d3-bf8a-84eebf870a49", + "X-Ms-Correlation-Request-Id": "72ef5f91-d22a-4005-a940-3212463dc0e7", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "2da0d24d-b5c4-4c13-80a0-3b2bcac2276e" + "X-Ms-Request-Id": "b14644db-2345-4965-981a-e1eba1ca5eae" }, "ResponseBody": { "manifestsDeleted": [ "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", - "sha256:308866a43596e83578c7dfa15e27a73011bdd402185a84c5cd7f32a88b501a24", "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", - "sha256:b0408a0f1d74eced127a2658429f336ed8fa48e36d59878f155b19865e5dbd70", "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", @@ -155,7 +152,6 @@ ], "tagsDeleted": [ "latest", - "newest", "v1", "v2", "v3", @@ -168,8 +164,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "c41841eb2ceba7d67be5400f7264c9f4", "x-ms-return-client-request-id": "true" }, @@ -185,16 +180,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:27 GMT", + "Date": "Thu, 06 May 2021 00:52:10 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "c8c9db27-62a6-49a5-ab35-315b9deac54e" + "X-Ms-Correlation-Request-Id": "06d0674d-c69d-4988-86c5-e98b500bacb0" }, "ResponseBody": { "errors": [ @@ -212,33 +207,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "3629518687cfd6ba15bd2c5a4b4f2891", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:27 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3072d895-56c9-4e65-aa04-fc676efbf584", - "x-ms-ratelimit-remaining-calls-per-second": "166.166667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -246,8 +214,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "29e4a1f14c879fdc431c1ecc0e25b005", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "3629518687cfd6ba15bd2c5a4b4f2891", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -255,12 +223,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:27 GMT", + "Date": "Thu, 06 May 2021 00:52:10 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "1b122d7b-9aff-4726-81f5-83a0ca9b7971", - "x-ms-ratelimit-remaining-calls-per-second": "166.15" + "X-Ms-Correlation-Request-Id": "e24baf55-f26a-4e57-9b91-509992463486", + "x-ms-ratelimit-remaining-calls-per-second": "165.833333" }, "ResponseBody": { "access_token": "Sanitized" @@ -272,7 +240,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "c41841eb2ceba7d67be5400f7264c9f4", "x-ms-return-client-request-id": "true" }, @@ -288,7 +256,7 @@ "Connection": "keep-alive", "Content-Length": "96", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:27 GMT", + "Date": "Thu, 06 May 2021 00:52:10 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -296,7 +264,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b211c8b2-9cde-434d-bc9e-ac9b02aaa344" + "X-Ms-Correlation-Request-Id": "f4517074-4342-42e3-97e5-478fc60abfc9" }, "ResponseBody": { "errors": [ diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanDeleteRepositoryAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanDeleteRepositoryAsync.json index bbdace920fc7..306cda4505ef 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanDeleteRepositoryAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanDeleteRepositoryAsync.json @@ -5,8 +5,7 @@ "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "268ed710fa91770ec0bc81839c329ccd", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:07 GMT", + "Date": "Thu, 06 May 2021 00:52:50 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "e948d1fa-6ccc-4029-b202-ab485f377098" + "X-Ms-Correlation-Request-Id": "130a8872-8444-439a-a261-4c815252efb8" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "313a4cdfeda3b3924d276ba55cca9e8d", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:07 GMT", + "Date": "Thu, 06 May 2021 00:52:51 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "7bb8c110-7f7e-4672-a08b-d3f7369d9013", - "x-ms-ratelimit-remaining-calls-per-second": "165" + "X-Ms-Correlation-Request-Id": "ff92965b-60f6-4e8e-abef-60ac354e82ff", + "x-ms-ratelimit-remaining-calls-per-second": "165.9" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzODd9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "132", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "c5c9eadff1f788bda920362465b2b25d", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:07 GMT", + "Date": "Thu, 06 May 2021 00:52:51 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3133e1b2-c18f-4965-9fce-12d4380dec48", - "x-ms-ratelimit-remaining-calls-per-second": "164.983333" + "X-Ms-Correlation-Request-Id": "95010f74-ad97-43a3-bf38-9a4430cb0f8c", + "x-ms-ratelimit-remaining-calls-per-second": "165.883333" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "268ed710fa91770ec0bc81839c329ccd", "x-ms-return-client-request-id": "true" }, @@ -122,10 +121,10 @@ "Link", "X-Ms-Correlation-Request-Id" ], - "Connection": "close", + "Connection": "keep-alive", "Content-Length": "807", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:09 GMT", + "Date": "Thu, 06 May 2021 00:52:53 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -134,9 +133,9 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "268ed710fa91770ec0bc81839c329ccd", - "X-Ms-Correlation-Request-Id": "ba8fd96c-2dd6-4530-9aca-891d66b1150a", + "X-Ms-Correlation-Request-Id": "a19a1e2a-7c2e-442e-ac06-ed0899ca8e4f", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "976b6dec-044a-45e4-b710-7cebba081988" + "X-Ms-Request-Id": "604eb320-b3e0-4e38-ade8-28fe1a3e9042" }, "ResponseBody": { "manifestsDeleted": [ @@ -165,8 +164,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5d616e64cecb22ce44dad8698e681af5", "x-ms-return-client-request-id": "true" }, @@ -182,16 +180,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:14 GMT", + "Date": "Thu, 06 May 2021 00:52:58 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6404584d-c371-4697-badd-c9670341a234" + "X-Ms-Correlation-Request-Id": "f896a950-b493-4319-aadb-8cc7a6c3e015" }, "ResponseBody": { "errors": [ @@ -209,33 +207,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "b2a3f41dd769eed68fb28782b76e4e9b", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:14 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d2ea07eb-542b-435a-a8ca-13162c9ad4ca", - "x-ms-ratelimit-remaining-calls-per-second": "165.933333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -243,8 +214,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "ed410d75406811c11ba6801c1953f940", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "b2a3f41dd769eed68fb28782b76e4e9b", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -252,12 +223,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:14 GMT", + "Date": "Thu, 06 May 2021 00:52:58 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "cfd706c5-a251-4029-9522-d8a20c20dc70", - "x-ms-ratelimit-remaining-calls-per-second": "165.916667" + "X-Ms-Correlation-Request-Id": "b0fd25d3-ba86-45e8-b65e-c793e51c32d8", + "x-ms-ratelimit-remaining-calls-per-second": "165.866667" }, "ResponseBody": { "access_token": "Sanitized" @@ -269,7 +240,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5d616e64cecb22ce44dad8698e681af5", "x-ms-return-client-request-id": "true" }, @@ -285,7 +256,7 @@ "Connection": "keep-alive", "Content-Length": "96", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:14 GMT", + "Date": "Thu, 06 May 2021 00:52:58 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -293,7 +264,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "82220198-ae8f-4717-a0f4-e1b7d96d2bc1" + "X-Ms-Correlation-Request-Id": "d7b26fc6-b3f3-4977-b0a2-03b8518ea7ac" }, "ResponseBody": { "errors": [ diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetArtifactsStartingMidCollection.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetArtifactsStartingMidCollection.json index 8a46a022e642..8967887ad579 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetArtifactsStartingMidCollection.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetArtifactsStartingMidCollection.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "8efb747a5fc949ae19d26be06ecb25fb", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:54 GMT", + "Date": "Thu, 06 May 2021 00:51:34 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "087d3a8b-fd37-444f-80cc-fe1198220d51" + "X-Ms-Correlation-Request-Id": "555d7e16-ea4c-499a-9aea-c27f4074047f" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "2ac81d68e9c30621bcaaf77df5c9a4d4", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:54 GMT", + "Date": "Thu, 06 May 2021 00:51:34 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "be2fe3e1-e205-4c5c-ab28-390163569cdb", - "x-ms-ratelimit-remaining-calls-per-second": "166.616667" + "X-Ms-Correlation-Request-Id": "44f894e8-95f5-4506-a4be-af8ba107876b", + "x-ms-ratelimit-remaining-calls-per-second": "166.1" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIyOTV9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "311060279ef673713d5c005dc7237d36", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:54 GMT", + "Date": "Thu, 06 May 2021 00:51:34 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "cfbb2640-4f3a-4fb6-aab9-a875e9d937d5", - "x-ms-ratelimit-remaining-calls-per-second": "166.6" + "X-Ms-Correlation-Request-Id": "ffd4cc3a-2965-447d-8d0c-637520dc48f6", + "x-ms-ratelimit-remaining-calls-per-second": "166.083333" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "8efb747a5fc949ae19d26be06ecb25fb", "x-ms-return-client-request-id": "true" }, @@ -124,7 +123,7 @@ ], "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:54 GMT", + "Date": "Thu, 06 May 2021 00:51:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ ], "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "89ead333-11c4-4855-96e8-4fb2b0279ef3" + "X-Ms-Correlation-Request-Id": "34d2a462-203d-4f5c-a201-51e80dc5ad07" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,9 +140,9 @@ "manifests": [ { "digest": "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.8237433Z", - "lastUpdateTime": "2021-04-23T18:32:20.8237433Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.4607585Z", + "lastUpdateTime": "2021-05-06T00:51:27.4607585Z", "architecture": "amd64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -157,9 +156,9 @@ }, { "digest": "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.8004016Z", - "lastUpdateTime": "2021-04-23T18:32:21.8004016Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.3945148Z", + "lastUpdateTime": "2021-05-06T00:51:27.3945148Z", "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -173,9 +172,9 @@ }, { "digest": "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.9240517Z", - "lastUpdateTime": "2021-04-23T18:32:20.9240517Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.6931717Z", + "lastUpdateTime": "2021-05-06T00:51:27.6931717Z", "architecture": "mips64le", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -189,9 +188,9 @@ }, { "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.3113299Z", - "lastUpdateTime": "2021-04-23T18:32:20.3113299Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.7937315Z", + "lastUpdateTime": "2021-05-06T00:51:27.7937315Z", "architecture": "arm64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -205,9 +204,9 @@ }, { "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.1240623Z", - "lastUpdateTime": "2021-04-23T18:32:21.1240623Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:29.4499382Z", + "lastUpdateTime": "2021-05-06T00:51:29.4499382Z", "architecture": "ppc64le", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -221,9 +220,9 @@ }, { "digest": "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.7655954Z", - "lastUpdateTime": "2021-04-23T18:32:20.7655954Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.3004526Z", + "lastUpdateTime": "2021-05-06T00:51:27.3004526Z", "architecture": "386", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -237,9 +236,9 @@ }, { "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.3351841Z", - "lastUpdateTime": "2021-04-23T18:32:21.3351841Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:28.4743451Z", + "lastUpdateTime": "2021-05-06T00:51:28.4743451Z", "architecture": "s390x", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -253,9 +252,9 @@ }, { "digest": "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.3983424Z", - "lastUpdateTime": "2021-04-23T18:32:20.3983424Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.3511925Z", + "lastUpdateTime": "2021-05-06T00:51:27.3511925Z", "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -269,9 +268,9 @@ }, { "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.2523432Z", - "lastUpdateTime": "2021-04-23T18:32:21.2523432Z", + "imageSize": 1125, + "createdTime": "2021-05-06T00:51:27.9357278Z", + "lastUpdateTime": "2021-05-06T00:51:27.9357278Z", "architecture": "amd64", "os": "windows", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -285,13 +284,12 @@ }, { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.0014168Z", - "lastUpdateTime": "2021-04-23T18:32:20.0014168Z", + "imageSize": 5325, + "createdTime": "2021-05-06T00:51:27.0221291Z", + "lastUpdateTime": "2021-05-06T00:51:27.0221291Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "latest", - "newest", "v1", "v2", "v3", @@ -312,8 +310,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "35f8bc65f527912152f4d11f67305350", "x-ms-return-client-request-id": "true" }, @@ -329,16 +326,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:54 GMT", + "Date": "Thu, 06 May 2021 00:51:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b589e6c2-e16a-4182-954e-96f497e06545" + "X-Ms-Correlation-Request-Id": "54a500b1-ac65-42cf-b324-30188f80f926" }, "ResponseBody": { "errors": [ @@ -356,33 +353,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "0db9962ef4bac904ab55ec67e8c33f98", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:54 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "ca352e92-9951-4941-9665-e8c83449729d", - "x-ms-ratelimit-remaining-calls-per-second": "166.583333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -390,8 +360,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "3917c12c6ed131ad3f7fde02cc520c0c", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "0db9962ef4bac904ab55ec67e8c33f98", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -399,12 +369,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:54 GMT", + "Date": "Thu, 06 May 2021 00:51:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "fcf1ecd3-3726-415b-87db-72bc11c39864", - "x-ms-ratelimit-remaining-calls-per-second": "166.566667" + "X-Ms-Correlation-Request-Id": "3d78c821-11ef-4927-b7d3-b02cfd54cb0e", + "x-ms-ratelimit-remaining-calls-per-second": "166.066667" }, "ResponseBody": { "access_token": "Sanitized" @@ -416,7 +386,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "35f8bc65f527912152f4d11f67305350", "x-ms-return-client-request-id": "true" }, @@ -430,9 +400,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "512", + "Content-Length": "514", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:54 GMT", + "Date": "Thu, 06 May 2021 00:51:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -441,7 +411,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "67ba12b2-8cf7-4ab3-9c28-a21308b2d40d" + "X-Ms-Correlation-Request-Id": "150e4811-3ef7-479a-93df-b40f700f3db2" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -449,9 +419,9 @@ "manifests": [ { "digest": "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.8004016Z", - "lastUpdateTime": "2021-04-23T18:32:21.8004016Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.3945148Z", + "lastUpdateTime": "2021-05-06T00:51:27.3945148Z", "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -471,9 +441,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "302fb0096f6a707cb72e89d208b9a98f", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "3917c12c6ed131ad3f7fde02cc520c0c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -488,16 +457,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:55 GMT", + "Date": "Thu, 06 May 2021 00:51:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "306828f3-c123-49a3-9349-e2a886c5a403" + "X-Ms-Correlation-Request-Id": "7c02ce6b-3595-43e4-9902-121aad32d127" }, "ResponseBody": { "errors": [ @@ -515,33 +484,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "a6f239b51918bf7fe887ce3a1602fd59", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:55 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "29c07b72-d33e-40d5-9dbf-cf4bb4bbf394", - "x-ms-ratelimit-remaining-calls-per-second": "166.55" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -549,8 +491,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "385edf480e93bd2e44a782a2e5db2885", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "302fb0096f6a707cb72e89d208b9a98f", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -558,12 +500,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:55 GMT", + "Date": "Thu, 06 May 2021 00:51:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "8c3615b1-1f35-4434-82f5-db351ddb7999", - "x-ms-ratelimit-remaining-calls-per-second": "166.533333" + "X-Ms-Correlation-Request-Id": "04c26f39-75de-4abe-b548-f96a43607e2e", + "x-ms-ratelimit-remaining-calls-per-second": "166.05" }, "ResponseBody": { "access_token": "Sanitized" @@ -575,8 +517,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "302fb0096f6a707cb72e89d208b9a98f", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "3917c12c6ed131ad3f7fde02cc520c0c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -589,9 +531,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "517", + "Content-Length": "519", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:55 GMT", + "Date": "Thu, 06 May 2021 00:51:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3A88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -600,7 +542,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "8344529a-cbfe-4168-a104-f3176645f119" + "X-Ms-Correlation-Request-Id": "194ec9c5-a189-4073-9a4b-cc0ef1f97ce9" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -608,9 +550,9 @@ "manifests": [ { "digest": "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.9240517Z", - "lastUpdateTime": "2021-04-23T18:32:20.9240517Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.6931717Z", + "lastUpdateTime": "2021-05-06T00:51:27.6931717Z", "architecture": "mips64le", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -630,9 +572,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "934c4ed5665feff4306f48e2a1415ab4", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "a6f239b51918bf7fe887ce3a1602fd59", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -647,16 +588,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:55 GMT", + "Date": "Thu, 06 May 2021 00:51:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "3a26850f-c48b-49dd-84f0-4d4d6a98754d" + "X-Ms-Correlation-Request-Id": "bd1022e0-7548-446e-b60b-9ad270c3f12b" }, "ResponseBody": { "errors": [ @@ -674,33 +615,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "28892f31715ba7fb0a35617197ddda0d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:55 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "7cba631b-be17-4956-90e7-0bff44f79435", - "x-ms-ratelimit-remaining-calls-per-second": "166.516667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -708,8 +622,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "c865485f69b5e2f9eb6e0724c54c1b03", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "385edf480e93bd2e44a782a2e5db2885", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -717,12 +631,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:55 GMT", + "Date": "Thu, 06 May 2021 00:51:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "5c0e5357-82ab-4126-8555-f69e4054e4d0", - "x-ms-ratelimit-remaining-calls-per-second": "166.5" + "X-Ms-Correlation-Request-Id": "674e9185-876f-48bf-ac56-ce98cf8ad9a5", + "x-ms-ratelimit-remaining-calls-per-second": "166.033333" }, "ResponseBody": { "access_token": "Sanitized" @@ -734,8 +648,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "934c4ed5665feff4306f48e2a1415ab4", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "a6f239b51918bf7fe887ce3a1602fd59", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -748,9 +662,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "514", + "Content-Length": "516", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:55 GMT", + "Date": "Thu, 06 May 2021 00:51:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -759,7 +673,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "3521a2a2-1d04-4b8a-8926-875ee0a6e317" + "X-Ms-Correlation-Request-Id": "428e0618-5c20-4b04-bde5-632556d17d77" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -767,9 +681,9 @@ "manifests": [ { "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.3113299Z", - "lastUpdateTime": "2021-04-23T18:32:20.3113299Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.7937315Z", + "lastUpdateTime": "2021-05-06T00:51:27.7937315Z", "architecture": "arm64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -789,9 +703,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "b571cd4cff52642952a5882a05835853", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "934c4ed5665feff4306f48e2a1415ab4", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -806,16 +719,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:55 GMT", + "Date": "Thu, 06 May 2021 00:51:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "54e68295-4741-4ae1-807c-5ac6d4dca043" + "X-Ms-Correlation-Request-Id": "3c008519-a36f-46cd-b2ca-69329c8b8da7" }, "ResponseBody": { "errors": [ @@ -833,33 +746,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "58823b9591dcc7ff36a73ded69d7e1be", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:55 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e0c58410-33a1-4471-987d-b94995bdfd20", - "x-ms-ratelimit-remaining-calls-per-second": "166.483333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -867,8 +753,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "c9245d1a246b5fbb1f007510e0cfdc68", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "28892f31715ba7fb0a35617197ddda0d", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -876,12 +762,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:55 GMT", + "Date": "Thu, 06 May 2021 00:51:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "807079ed-3af3-47d5-97b3-0fc7883968c0", - "x-ms-ratelimit-remaining-calls-per-second": "166.466667" + "X-Ms-Correlation-Request-Id": "4878a1fb-7c82-43db-b59f-2df1b47a868b", + "x-ms-ratelimit-remaining-calls-per-second": "166.016667" }, "ResponseBody": { "access_token": "Sanitized" @@ -893,8 +779,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "b571cd4cff52642952a5882a05835853", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "934c4ed5665feff4306f48e2a1415ab4", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -907,9 +793,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "516", + "Content-Length": "518", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:55 GMT", + "Date": "Thu, 06 May 2021 00:51:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Abb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -918,7 +804,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "1fdfefdd-81d1-4be3-a471-6846e44e66ac" + "X-Ms-Correlation-Request-Id": "a1c7cca9-2957-480f-b847-7cc9c4dab5ed" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -926,9 +812,9 @@ "manifests": [ { "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.1240623Z", - "lastUpdateTime": "2021-04-23T18:32:21.1240623Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:29.4499382Z", + "lastUpdateTime": "2021-05-06T00:51:29.4499382Z", "architecture": "ppc64le", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -948,9 +834,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "8a8fb416c2c9bb27cea97faac23cfa7b", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "c865485f69b5e2f9eb6e0724c54c1b03", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -965,16 +850,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:55 GMT", + "Date": "Thu, 06 May 2021 00:51:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "35037f51-3396-4672-8b12-c70f9ce9eb04" + "X-Ms-Correlation-Request-Id": "226d23c4-48e8-4c96-a535-c0672ee85766" }, "ResponseBody": { "errors": [ @@ -992,33 +877,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "a710cac48e5e70e7802339db1ceee666", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:56 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "64f70ef1-a213-42e4-801a-ecd79fbbbef5", - "x-ms-ratelimit-remaining-calls-per-second": "166.45" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -1026,8 +884,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "b5d6d5ca564857f43669fac1a5109de2", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "b571cd4cff52642952a5882a05835853", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -1035,12 +893,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:56 GMT", + "Date": "Thu, 06 May 2021 00:51:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d1c7474c-fb23-4466-833b-f257058c6bfd", - "x-ms-ratelimit-remaining-calls-per-second": "166.433333" + "X-Ms-Correlation-Request-Id": "1bdf63d1-e8ae-4c83-bf1d-de37ec8eb72a", + "x-ms-ratelimit-remaining-calls-per-second": "166" }, "ResponseBody": { "access_token": "Sanitized" @@ -1052,8 +910,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "8a8fb416c2c9bb27cea97faac23cfa7b", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "c865485f69b5e2f9eb6e0724c54c1b03", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1066,9 +924,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "512", + "Content-Length": "514", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:56 GMT", + "Date": "Thu, 06 May 2021 00:51:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -1077,7 +935,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "1066639f-a49d-41f8-9f82-8358ad6407ac" + "X-Ms-Correlation-Request-Id": "d98f44cc-be84-489f-a1d0-f7c4677b89f1" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -1085,9 +943,9 @@ "manifests": [ { "digest": "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.7655954Z", - "lastUpdateTime": "2021-04-23T18:32:20.7655954Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.3004526Z", + "lastUpdateTime": "2021-05-06T00:51:27.3004526Z", "architecture": "386", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -1107,9 +965,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "164bfa0535bf8809cc1e0aa6884b9fdf", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "58823b9591dcc7ff36a73ded69d7e1be", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1124,16 +981,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:56 GMT", + "Date": "Thu, 06 May 2021 00:51:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a4a5202a-e48b-482a-914c-6c7ffd8356fa" + "X-Ms-Correlation-Request-Id": "e76697f0-5f0c-4cb6-8083-fbf36f6d5212" }, "ResponseBody": { "errors": [ @@ -1151,33 +1008,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "ede018c345666d33d5b871f59326cb6f", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:56 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "43da571c-49c2-40fc-bd40-0c90b20ae30c", - "x-ms-ratelimit-remaining-calls-per-second": "166.416667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -1185,8 +1015,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "21d65686cfa394a7cb4ee8294b4eceeb", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "c9245d1a246b5fbb1f007510e0cfdc68", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -1194,12 +1024,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:56 GMT", + "Date": "Thu, 06 May 2021 00:51:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "dd89c83c-e7be-4c23-a52f-4b6fd28aa81d", - "x-ms-ratelimit-remaining-calls-per-second": "166.4" + "X-Ms-Correlation-Request-Id": "6c581b19-5caf-4ce0-9dea-a78ab28b6278", + "x-ms-ratelimit-remaining-calls-per-second": "165.983333" }, "ResponseBody": { "access_token": "Sanitized" @@ -1211,8 +1041,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "164bfa0535bf8809cc1e0aa6884b9fdf", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "58823b9591dcc7ff36a73ded69d7e1be", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1225,9 +1055,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "514", + "Content-Length": "516", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:56 GMT", + "Date": "Thu, 06 May 2021 00:51:36 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Ae49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -1236,7 +1066,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "43e9433c-e63f-4678-95b8-57522d1cff23" + "X-Ms-Correlation-Request-Id": "85707322-c262-47fb-8b72-7f987a490554" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -1244,9 +1074,9 @@ "manifests": [ { "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.3351841Z", - "lastUpdateTime": "2021-04-23T18:32:21.3351841Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:28.4743451Z", + "lastUpdateTime": "2021-05-06T00:51:28.4743451Z", "architecture": "s390x", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -1266,9 +1096,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "8cfe1bcab02fbf7cc7de4106c414f4a6", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "8a8fb416c2c9bb27cea97faac23cfa7b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1283,16 +1112,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:56 GMT", + "Date": "Thu, 06 May 2021 00:51:36 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d93f7718-ddc7-4e31-8908-c2512c25442a" + "X-Ms-Correlation-Request-Id": "3e878c0b-7aec-4063-ad5a-a59d3b00fb30" }, "ResponseBody": { "errors": [ @@ -1310,33 +1139,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "321f9a537d74f33c714b21185c092186", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:56 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "a89d9a27-46ed-47c5-8917-b7d5752f36c3", - "x-ms-ratelimit-remaining-calls-per-second": "166.383333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -1344,8 +1146,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "782b85e93e28d63fda165ac48ea0d0b6", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "a710cac48e5e70e7802339db1ceee666", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -1353,12 +1155,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:56 GMT", + "Date": "Thu, 06 May 2021 00:51:36 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "fd9514d9-8072-464e-a178-84723756273a", - "x-ms-ratelimit-remaining-calls-per-second": "166.366667" + "X-Ms-Correlation-Request-Id": "434431f4-d403-4538-8ffa-c274d12d3947", + "x-ms-ratelimit-remaining-calls-per-second": "165.966667" }, "ResponseBody": { "access_token": "Sanitized" @@ -1370,8 +1172,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "8cfe1bcab02fbf7cc7de4106c414f4a6", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "8a8fb416c2c9bb27cea97faac23cfa7b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1384,9 +1186,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "512", + "Content-Length": "514", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:56 GMT", + "Date": "Thu, 06 May 2021 00:51:36 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -1395,7 +1197,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "cf5582d8-894d-4a9f-bba0-4db9be8873fb" + "X-Ms-Correlation-Request-Id": "b91e6bd2-5685-4f85-9e26-08de57b55717" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -1403,9 +1205,9 @@ "manifests": [ { "digest": "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.3983424Z", - "lastUpdateTime": "2021-04-23T18:32:20.3983424Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.3511925Z", + "lastUpdateTime": "2021-05-06T00:51:27.3511925Z", "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -1425,9 +1227,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "b0d642599c2f4c76de0a1ae48e6462be", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "b5d6d5ca564857f43669fac1a5109de2", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1442,16 +1243,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:56 GMT", + "Date": "Thu, 06 May 2021 00:51:36 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f5d1737c-36ba-4c87-ba49-f8d750c22a44" + "X-Ms-Correlation-Request-Id": "626a0157-28b3-4d9a-bea7-0afdb0bb6d70" }, "ResponseBody": { "errors": [ @@ -1469,33 +1270,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "3e1cbabc7ce9157e5a49585d227765d1", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:56 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f22432ff-7973-4ff3-8dca-b92df970bf7d", - "x-ms-ratelimit-remaining-calls-per-second": "166.35" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -1503,8 +1277,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "1abe6a7b70324d570fde991d235b4775", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "164bfa0535bf8809cc1e0aa6884b9fdf", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -1512,12 +1286,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:56 GMT", + "Date": "Thu, 06 May 2021 00:51:36 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "1557be96-627c-482e-ac05-546d85976fae", - "x-ms-ratelimit-remaining-calls-per-second": "166.333333" + "X-Ms-Correlation-Request-Id": "3701053d-53fb-4b5d-9a43-3e14030e6fb0", + "x-ms-ratelimit-remaining-calls-per-second": "165.95" }, "ResponseBody": { "access_token": "Sanitized" @@ -1529,8 +1303,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "b0d642599c2f4c76de0a1ae48e6462be", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "b5d6d5ca564857f43669fac1a5109de2", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1543,9 +1317,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "516", + "Content-Length": "519", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:56 GMT", + "Date": "Thu, 06 May 2021 00:51:36 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Aea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -1554,7 +1328,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "3a6ee1f1-f6d3-462c-b5ab-f5094febe3de" + "X-Ms-Correlation-Request-Id": "7c5bef4e-3896-414b-95d6-79c2667cfaac" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -1562,9 +1336,9 @@ "manifests": [ { "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.2523432Z", - "lastUpdateTime": "2021-04-23T18:32:21.2523432Z", + "imageSize": 1125, + "createdTime": "2021-05-06T00:51:27.9357278Z", + "lastUpdateTime": "2021-05-06T00:51:27.9357278Z", "architecture": "amd64", "os": "windows", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -1584,9 +1358,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "d3089cb39183ddcdc4c156e544182a66", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "ede018c345666d33d5b871f59326cb6f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1601,16 +1374,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:56 GMT", + "Date": "Thu, 06 May 2021 00:51:36 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d4339338-9db5-4431-8981-e556285ae2ad" + "X-Ms-Correlation-Request-Id": "a2e680e0-cdef-4997-b77e-9d747f43fae1" }, "ResponseBody": { "errors": [ @@ -1628,33 +1401,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "236949a548a54b8b63cf2f0be260f1ff", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:57 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "052232df-d24a-4f18-8338-b5e707bda75a", - "x-ms-ratelimit-remaining-calls-per-second": "166.316667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -1662,8 +1408,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "86aae201916fe94e9de156711a7209f6", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "21d65686cfa394a7cb4ee8294b4eceeb", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -1671,12 +1417,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:57 GMT", + "Date": "Thu, 06 May 2021 00:51:36 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f8f0eb81-8416-4696-946e-6d90d63975dd", - "x-ms-ratelimit-remaining-calls-per-second": "166.3" + "X-Ms-Correlation-Request-Id": "5a45d31e-d4d9-42ab-90fa-ce75c88dea78", + "x-ms-ratelimit-remaining-calls-per-second": "165.933333" }, "ResponseBody": { "access_token": "Sanitized" @@ -1688,8 +1434,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "d3089cb39183ddcdc4c156e544182a66", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "ede018c345666d33d5b871f59326cb6f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1702,9 +1448,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "503", + "Content-Length": "497", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:57 GMT", + "Date": "Thu, 06 May 2021 00:51:36 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -1712,7 +1458,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b0e8bc3f-07fc-49bb-aba0-8c1a234b48b2" + "X-Ms-Correlation-Request-Id": "98a1f625-0aaf-4891-a530-704a2fa24742" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -1720,13 +1466,12 @@ "manifests": [ { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.0014168Z", - "lastUpdateTime": "2021-04-23T18:32:20.0014168Z", + "imageSize": 5325, + "createdTime": "2021-05-06T00:51:27.0221291Z", + "lastUpdateTime": "2021-05-06T00:51:27.0221291Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "latest", - "newest", "v1", "v2", "v3", diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetArtifactsStartingMidCollectionAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetArtifactsStartingMidCollectionAsync.json index b278aad0ad38..89549ebe919f 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetArtifactsStartingMidCollectionAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetArtifactsStartingMidCollectionAsync.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a2e0cc4be77165e791c9c3745845bbbd", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:33 GMT", + "Date": "Thu, 06 May 2021 00:52:22 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f2d42071-3b26-4f23-9abb-465dd826c38d" + "X-Ms-Correlation-Request-Id": "519ae03d-8716-419a-b0be-c40a0c7285df" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "dbcac77e6c410eec9b4fd0620740635e", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:33 GMT", + "Date": "Thu, 06 May 2021 00:52:22 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f4888a75-da64-4ddb-bb47-fc3a04b3e628", - "x-ms-ratelimit-remaining-calls-per-second": "166.616667" + "X-Ms-Correlation-Request-Id": "08e009f3-14be-48b9-b2f9-fc4fa247182b", + "x-ms-ratelimit-remaining-calls-per-second": "165.6" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzNDN9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "d0a008596b4bb147fc4018a947671bf5", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:33 GMT", + "Date": "Thu, 06 May 2021 00:52:23 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "c574d5ab-7556-4ac2-8433-2fbfa1bfb694", - "x-ms-ratelimit-remaining-calls-per-second": "166.566667" + "X-Ms-Correlation-Request-Id": "4cdf8634-f15f-4137-9ad3-11c0c1c8e7a5", + "x-ms-ratelimit-remaining-calls-per-second": "165.583333" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a2e0cc4be77165e791c9c3745845bbbd", "x-ms-return-client-request-id": "true" }, @@ -124,7 +123,7 @@ ], "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:33 GMT", + "Date": "Thu, 06 May 2021 00:52:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ ], "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "dc67286b-f042-4648-a2b1-4b42ca87627e" + "X-Ms-Correlation-Request-Id": "3acdba21-532f-4947-a0cd-8a49c7fb4f98" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,9 +140,9 @@ "manifests": [ { "digest": "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.8237433Z", - "lastUpdateTime": "2021-04-23T18:32:20.8237433Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:14.166491Z", + "lastUpdateTime": "2021-05-06T00:52:14.166491Z", "architecture": "amd64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -157,9 +156,9 @@ }, { "digest": "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.8004016Z", - "lastUpdateTime": "2021-04-23T18:32:21.8004016Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:14.2297603Z", + "lastUpdateTime": "2021-05-06T00:52:14.2297603Z", "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -173,9 +172,9 @@ }, { "digest": "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.9240517Z", - "lastUpdateTime": "2021-04-23T18:32:20.9240517Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:15.0125211Z", + "lastUpdateTime": "2021-05-06T00:52:15.0125211Z", "architecture": "mips64le", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -189,9 +188,9 @@ }, { "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.3113299Z", - "lastUpdateTime": "2021-04-23T18:32:20.3113299Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:14.8798388Z", + "lastUpdateTime": "2021-05-06T00:52:14.8798388Z", "architecture": "arm64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -205,9 +204,9 @@ }, { "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.1240623Z", - "lastUpdateTime": "2021-04-23T18:32:21.1240623Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:15.2308363Z", + "lastUpdateTime": "2021-05-06T00:52:15.2308363Z", "architecture": "ppc64le", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -221,9 +220,9 @@ }, { "digest": "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.7655954Z", - "lastUpdateTime": "2021-04-23T18:32:20.7655954Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:14.346367Z", + "lastUpdateTime": "2021-05-06T00:52:14.346367Z", "architecture": "386", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -237,9 +236,9 @@ }, { "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.3351841Z", - "lastUpdateTime": "2021-04-23T18:32:21.3351841Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:14.7156603Z", + "lastUpdateTime": "2021-05-06T00:52:14.7156603Z", "architecture": "s390x", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -253,9 +252,9 @@ }, { "digest": "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.3983424Z", - "lastUpdateTime": "2021-04-23T18:32:20.3983424Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:17.9098665Z", + "lastUpdateTime": "2021-05-06T00:52:17.9098665Z", "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -269,9 +268,9 @@ }, { "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.2523432Z", - "lastUpdateTime": "2021-04-23T18:32:21.2523432Z", + "imageSize": 1125, + "createdTime": "2021-05-06T00:52:15.0979286Z", + "lastUpdateTime": "2021-05-06T00:52:15.0979286Z", "architecture": "amd64", "os": "windows", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -285,13 +284,12 @@ }, { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.0014168Z", - "lastUpdateTime": "2021-04-23T18:32:20.0014168Z", + "imageSize": 5325, + "createdTime": "2021-05-06T00:52:13.9109659Z", + "lastUpdateTime": "2021-05-06T00:52:13.9109659Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "latest", - "newest", "v1", "v2", "v3", @@ -312,8 +310,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5d29557db62fded1e0d2072116845e51", "x-ms-return-client-request-id": "true" }, @@ -329,16 +326,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:34 GMT", + "Date": "Thu, 06 May 2021 00:52:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5b6eae50-a11a-4706-a3e7-fbe156e88497" + "X-Ms-Correlation-Request-Id": "5b10d9e5-59a3-4d3b-a99c-2aa86d003524" }, "ResponseBody": { "errors": [ @@ -356,33 +353,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "501a6566eba413718019de015442c734", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:34 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3dee266e-f9ce-4bfe-ab09-44d60cb361e5", - "x-ms-ratelimit-remaining-calls-per-second": "166.55" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -390,8 +360,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "b1e4db340616a32f37c2f07963259a77", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "501a6566eba413718019de015442c734", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -399,12 +369,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:34 GMT", + "Date": "Thu, 06 May 2021 00:52:23 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "df418cf7-7090-4059-9d6c-c9365e12859b", - "x-ms-ratelimit-remaining-calls-per-second": "166.533333" + "X-Ms-Correlation-Request-Id": "3cf30be9-92ba-45c7-8902-400e0220b2a5", + "x-ms-ratelimit-remaining-calls-per-second": "165.566667" }, "ResponseBody": { "access_token": "Sanitized" @@ -416,7 +386,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5d29557db62fded1e0d2072116845e51", "x-ms-return-client-request-id": "true" }, @@ -430,9 +400,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "512", + "Content-Length": "514", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:34 GMT", + "Date": "Thu, 06 May 2021 00:52:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -441,7 +411,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "68f2bfed-e306-40a3-9ad8-387a8f3b6923" + "X-Ms-Correlation-Request-Id": "e0dcf193-6d55-4a8e-9e8e-21e5a13eaf00" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -449,9 +419,9 @@ "manifests": [ { "digest": "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.8004016Z", - "lastUpdateTime": "2021-04-23T18:32:21.8004016Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:14.2297603Z", + "lastUpdateTime": "2021-05-06T00:52:14.2297603Z", "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -471,9 +441,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "e143c6e1cb4c9250e415dc15d7cf8a9d", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "b1e4db340616a32f37c2f07963259a77", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -488,16 +457,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:34 GMT", + "Date": "Thu, 06 May 2021 00:52:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "1ceddf36-b4aa-44a6-8f59-a360c13e2e3a" + "X-Ms-Correlation-Request-Id": "28dc38dc-970d-48b5-949f-a22ba1a47542" }, "ResponseBody": { "errors": [ @@ -515,33 +484,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "3bedd30aada0603a357719e2faf7b05b", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:34 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b955374a-ae1f-47ac-bc80-02ab7652f3f3", - "x-ms-ratelimit-remaining-calls-per-second": "166.516667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -549,8 +491,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "8d20677fe5ff69e78a51cd012919cb68", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "e143c6e1cb4c9250e415dc15d7cf8a9d", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -558,12 +500,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:34 GMT", + "Date": "Thu, 06 May 2021 00:52:23 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "30fa8962-2f8e-48b0-9bc3-0e53ca4e0829", - "x-ms-ratelimit-remaining-calls-per-second": "166.5" + "X-Ms-Correlation-Request-Id": "cd898297-9200-44b2-9f9e-5b6cb53eb13c", + "x-ms-ratelimit-remaining-calls-per-second": "165.55" }, "ResponseBody": { "access_token": "Sanitized" @@ -575,8 +517,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "e143c6e1cb4c9250e415dc15d7cf8a9d", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "b1e4db340616a32f37c2f07963259a77", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -589,9 +531,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "517", + "Content-Length": "519", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:34 GMT", + "Date": "Thu, 06 May 2021 00:52:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3A88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -600,7 +542,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "9725cf2e-ad39-4d62-aa58-a916e6701b8a" + "X-Ms-Correlation-Request-Id": "cda4a9b9-1a4c-471b-acff-8bedda7842af" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -608,9 +550,9 @@ "manifests": [ { "digest": "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.9240517Z", - "lastUpdateTime": "2021-04-23T18:32:20.9240517Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:15.0125211Z", + "lastUpdateTime": "2021-05-06T00:52:15.0125211Z", "architecture": "mips64le", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -630,9 +572,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "906f53375e3733d78be3acd4b16d97ec", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "3bedd30aada0603a357719e2faf7b05b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -647,16 +588,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:34 GMT", + "Date": "Thu, 06 May 2021 00:52:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "84f183ae-4527-4ecf-a632-188a88fe388c" + "X-Ms-Correlation-Request-Id": "cb9c3d37-c039-4712-b772-dec4eb84bc2c" }, "ResponseBody": { "errors": [ @@ -674,33 +615,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "70968165fcae249deb84b04ee039361c", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:34 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "40a7ea46-292c-465f-8c4e-ab208b295154", - "x-ms-ratelimit-remaining-calls-per-second": "166.483333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -708,8 +622,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "a7abb1ac1f8820248fec021c3913b71d", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "8d20677fe5ff69e78a51cd012919cb68", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -717,12 +631,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:34 GMT", + "Date": "Thu, 06 May 2021 00:52:23 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "13157654-2faf-4de4-b7e1-288948415d06", - "x-ms-ratelimit-remaining-calls-per-second": "166.466667" + "X-Ms-Correlation-Request-Id": "2e6af608-8fd0-4ec5-bea5-8c701d5f0fac", + "x-ms-ratelimit-remaining-calls-per-second": "165.533333" }, "ResponseBody": { "access_token": "Sanitized" @@ -734,8 +648,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "906f53375e3733d78be3acd4b16d97ec", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "3bedd30aada0603a357719e2faf7b05b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -748,9 +662,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "514", + "Content-Length": "516", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:34 GMT", + "Date": "Thu, 06 May 2021 00:52:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -759,7 +673,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "88a7af7f-9a2d-41cf-a54b-2e9803e962b1" + "X-Ms-Correlation-Request-Id": "e45f3161-4027-492d-8608-cff4205342c7" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -767,9 +681,9 @@ "manifests": [ { "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.3113299Z", - "lastUpdateTime": "2021-04-23T18:32:20.3113299Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:14.8798388Z", + "lastUpdateTime": "2021-05-06T00:52:14.8798388Z", "architecture": "arm64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -789,9 +703,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "a89ce0b95b833bb9b54aa5b2ad885352", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "906f53375e3733d78be3acd4b16d97ec", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -806,16 +719,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:34 GMT", + "Date": "Thu, 06 May 2021 00:52:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "988af876-bab6-499a-8400-7d1cc885d226" + "X-Ms-Correlation-Request-Id": "a0c3385d-47da-4cbc-8765-ee35f74c9979" }, "ResponseBody": { "errors": [ @@ -833,33 +746,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "002890acf0c245635c76e0c1fa81ebd8", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:34 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "a5925c32-474f-4485-85e4-14da835c92fd", - "x-ms-ratelimit-remaining-calls-per-second": "166.45" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -867,8 +753,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "ff9493cd8e9d5198f770f23e7a717206", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "70968165fcae249deb84b04ee039361c", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -876,12 +762,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:35 GMT", + "Date": "Thu, 06 May 2021 00:52:23 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "1536bcb0-7cc4-4cce-8c59-1d890124aee8", - "x-ms-ratelimit-remaining-calls-per-second": "166.433333" + "X-Ms-Correlation-Request-Id": "08ede5d2-79d1-4a33-924f-e395161b22e2", + "x-ms-ratelimit-remaining-calls-per-second": "165.516667" }, "ResponseBody": { "access_token": "Sanitized" @@ -893,8 +779,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "a89ce0b95b833bb9b54aa5b2ad885352", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "906f53375e3733d78be3acd4b16d97ec", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -907,9 +793,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "516", + "Content-Length": "518", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:35 GMT", + "Date": "Thu, 06 May 2021 00:52:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Abb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -918,7 +804,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "3747d874-4ed6-4f10-9dea-82ba1a711030" + "X-Ms-Correlation-Request-Id": "9c3d160d-35f6-4abc-b2eb-0732d26965ca" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -926,9 +812,9 @@ "manifests": [ { "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.1240623Z", - "lastUpdateTime": "2021-04-23T18:32:21.1240623Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:15.2308363Z", + "lastUpdateTime": "2021-05-06T00:52:15.2308363Z", "architecture": "ppc64le", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -948,9 +834,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "a96faf99b6eac95b7d564b0d7af84034", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "a7abb1ac1f8820248fec021c3913b71d", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -965,16 +850,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:35 GMT", + "Date": "Thu, 06 May 2021 00:52:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5771eff8-17c4-4a78-ba7b-3ae20371206f" + "X-Ms-Correlation-Request-Id": "3ba27f5d-d795-4d5d-b457-b6bb99beb512" }, "ResponseBody": { "errors": [ @@ -992,33 +877,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "1ae5cd5e54f41eb4f7d70952fd24cbeb", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:35 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3f832369-6b4b-44b6-bb37-9926a4528d01", - "x-ms-ratelimit-remaining-calls-per-second": "166.416667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -1026,8 +884,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "4a27d903411116ed38ca8247428bd6fe", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "a89ce0b95b833bb9b54aa5b2ad885352", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -1035,12 +893,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:35 GMT", + "Date": "Thu, 06 May 2021 00:52:23 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b5790998-ee4a-4bb2-abbe-c35ce980226d", - "x-ms-ratelimit-remaining-calls-per-second": "166.4" + "X-Ms-Correlation-Request-Id": "83142254-d1db-42a8-9016-d0ff52b97ff1", + "x-ms-ratelimit-remaining-calls-per-second": "165.5" }, "ResponseBody": { "access_token": "Sanitized" @@ -1052,8 +910,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "a96faf99b6eac95b7d564b0d7af84034", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "a7abb1ac1f8820248fec021c3913b71d", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1068,7 +926,7 @@ "Connection": "keep-alive", "Content-Length": "512", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:35 GMT", + "Date": "Thu, 06 May 2021 00:52:24 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -1077,7 +935,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "cfca900b-3492-4cbe-b1ed-7b62bad5fd9e" + "X-Ms-Correlation-Request-Id": "b16c5da7-ebe9-412a-8c19-7ed239ffc5f1" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -1085,9 +943,9 @@ "manifests": [ { "digest": "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.7655954Z", - "lastUpdateTime": "2021-04-23T18:32:20.7655954Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:14.346367Z", + "lastUpdateTime": "2021-05-06T00:52:14.346367Z", "architecture": "386", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -1107,9 +965,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "acdfbd2f588b4512fa51b213ac09cc58", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "002890acf0c245635c76e0c1fa81ebd8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1124,16 +981,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:35 GMT", + "Date": "Thu, 06 May 2021 00:52:24 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f370b4f6-9cc8-4643-a026-16ce24e31c7e" + "X-Ms-Correlation-Request-Id": "65fc1caf-bf4b-4c82-ac42-9f174cb40afc" }, "ResponseBody": { "errors": [ @@ -1151,33 +1008,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "a009608af5d01d22e0cee229d16ddc6b", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:35 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "40285415-db09-418e-9039-2e890a8fac9d", - "x-ms-ratelimit-remaining-calls-per-second": "166.383333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -1185,8 +1015,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "3f220b001f45ab5fc6e250c08fd9692e", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "ff9493cd8e9d5198f770f23e7a717206", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -1194,12 +1024,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:35 GMT", + "Date": "Thu, 06 May 2021 00:52:24 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "5060f864-d5f6-48da-a8fd-e4cfd4dc1faa", - "x-ms-ratelimit-remaining-calls-per-second": "166.366667" + "X-Ms-Correlation-Request-Id": "fd66385f-d17b-4175-b85e-d78ddd50dc03", + "x-ms-ratelimit-remaining-calls-per-second": "165.483333" }, "ResponseBody": { "access_token": "Sanitized" @@ -1211,8 +1041,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "acdfbd2f588b4512fa51b213ac09cc58", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "002890acf0c245635c76e0c1fa81ebd8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1225,9 +1055,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "514", + "Content-Length": "516", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:35 GMT", + "Date": "Thu, 06 May 2021 00:52:24 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Ae49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -1236,7 +1066,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "8cf94837-4165-48eb-afea-6f6997fd354b" + "X-Ms-Correlation-Request-Id": "b4efe185-24f9-463a-9d56-f767279f807c" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -1244,9 +1074,9 @@ "manifests": [ { "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.3351841Z", - "lastUpdateTime": "2021-04-23T18:32:21.3351841Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:14.7156603Z", + "lastUpdateTime": "2021-05-06T00:52:14.7156603Z", "architecture": "s390x", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -1266,9 +1096,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "e2bc29fe3682392d9bc2ccbc75e9738c", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "a96faf99b6eac95b7d564b0d7af84034", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1283,16 +1112,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:35 GMT", + "Date": "Thu, 06 May 2021 00:52:24 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "228e6a67-f481-4505-a37b-b6114e738fe6" + "X-Ms-Correlation-Request-Id": "c5fbc309-36a2-4bbf-abbc-70fe02de1c01" }, "ResponseBody": { "errors": [ @@ -1310,33 +1139,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "a11346748ce66b13005ed9eea5618d07", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:35 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "2c0cea22-a3a2-4fc5-ad70-9738559ccda4", - "x-ms-ratelimit-remaining-calls-per-second": "166.35" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -1344,8 +1146,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "a82ab364fab1cae9dde8a48252a335dd", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "1ae5cd5e54f41eb4f7d70952fd24cbeb", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -1353,12 +1155,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:35 GMT", + "Date": "Thu, 06 May 2021 00:52:24 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "94520687-f114-4b90-a7b4-b843447f9465", - "x-ms-ratelimit-remaining-calls-per-second": "166.333333" + "X-Ms-Correlation-Request-Id": "5be3f49a-ab9a-442f-92fe-4db9f383616d", + "x-ms-ratelimit-remaining-calls-per-second": "165.466667" }, "ResponseBody": { "access_token": "Sanitized" @@ -1370,8 +1172,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "e2bc29fe3682392d9bc2ccbc75e9738c", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "a96faf99b6eac95b7d564b0d7af84034", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1384,9 +1186,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "512", + "Content-Length": "514", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:35 GMT", + "Date": "Thu, 06 May 2021 00:52:24 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -1395,7 +1197,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "69dfb58d-aa6f-4759-a37d-2afb335663af" + "X-Ms-Correlation-Request-Id": "1be6c78b-bd26-4b48-acd4-3f6770a2bdf8" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -1403,9 +1205,9 @@ "manifests": [ { "digest": "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.3983424Z", - "lastUpdateTime": "2021-04-23T18:32:20.3983424Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:17.9098665Z", + "lastUpdateTime": "2021-05-06T00:52:17.9098665Z", "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -1425,9 +1227,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "484bc36ec8c572471551e1235c3f9439", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "4a27d903411116ed38ca8247428bd6fe", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1442,16 +1243,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:35 GMT", + "Date": "Thu, 06 May 2021 00:52:24 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "8d42d6f8-6cb7-4930-8217-467393b60966" + "X-Ms-Correlation-Request-Id": "37f0c3df-f0cb-4165-af07-e469a46aa6fe" }, "ResponseBody": { "errors": [ @@ -1469,33 +1270,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "c257c534cabe7adb5d49c4fee791185c", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:35 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "709def3d-c74e-4f9a-8008-16dfee4ba4f0", - "x-ms-ratelimit-remaining-calls-per-second": "166.316667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -1503,8 +1277,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "e27ffb2944169c416bb8925f18c56d9d", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "acdfbd2f588b4512fa51b213ac09cc58", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -1512,12 +1286,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:35 GMT", + "Date": "Thu, 06 May 2021 00:52:24 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "0838a844-3a5c-4ed1-9e04-090c9b9978ec", - "x-ms-ratelimit-remaining-calls-per-second": "166.3" + "X-Ms-Correlation-Request-Id": "ae0fa2cb-7b30-4179-87b9-ba23c8958f27", + "x-ms-ratelimit-remaining-calls-per-second": "165.45" }, "ResponseBody": { "access_token": "Sanitized" @@ -1529,8 +1303,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "484bc36ec8c572471551e1235c3f9439", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "4a27d903411116ed38ca8247428bd6fe", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1543,9 +1317,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "516", + "Content-Length": "519", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:36 GMT", + "Date": "Thu, 06 May 2021 00:52:24 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Aea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -1554,7 +1328,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b530e70c-f2ea-44a7-bf99-ad3acd609288" + "X-Ms-Correlation-Request-Id": "ccadc36d-1c41-418a-913b-619e2d9d36d2" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -1562,9 +1336,9 @@ "manifests": [ { "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.2523432Z", - "lastUpdateTime": "2021-04-23T18:32:21.2523432Z", + "imageSize": 1125, + "createdTime": "2021-05-06T00:52:15.0979286Z", + "lastUpdateTime": "2021-05-06T00:52:15.0979286Z", "architecture": "amd64", "os": "windows", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -1584,9 +1358,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "8d4d6b54724ba41fe7d1eb7c03498a84", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "a009608af5d01d22e0cee229d16ddc6b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1601,16 +1374,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:36 GMT", + "Date": "Thu, 06 May 2021 00:52:24 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "7d1222eb-f250-4946-a6c6-cebd69b1d537" + "X-Ms-Correlation-Request-Id": "5c47ccc7-c303-481e-b63e-def2afc81569" }, "ResponseBody": { "errors": [ @@ -1628,33 +1401,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "60fa8538b1c0f02384ba5605387c6297", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:36 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "40a1034e-0e2e-4afd-812a-89adc18eab2b", - "x-ms-ratelimit-remaining-calls-per-second": "166.283333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -1662,8 +1408,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "7caa27db8b43b611dcdbfb4459c49922", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "3f220b001f45ab5fc6e250c08fd9692e", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -1671,12 +1417,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:36 GMT", + "Date": "Thu, 06 May 2021 00:52:24 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "381cd3d9-7de6-4d60-a0ec-a4fb46ea3431", - "x-ms-ratelimit-remaining-calls-per-second": "166.266667" + "X-Ms-Correlation-Request-Id": "69e48f1d-9086-4d1d-a78b-22ea653c3925", + "x-ms-ratelimit-remaining-calls-per-second": "165.433333" }, "ResponseBody": { "access_token": "Sanitized" @@ -1688,8 +1434,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "8d4d6b54724ba41fe7d1eb7c03498a84", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "a009608af5d01d22e0cee229d16ddc6b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1702,9 +1448,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "503", + "Content-Length": "497", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:36 GMT", + "Date": "Thu, 06 May 2021 00:52:24 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -1712,7 +1458,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "2104c99e-9c66-4d1c-a13a-d33b896249d5" + "X-Ms-Correlation-Request-Id": "cf38ce29-acd7-44d7-89a7-b5313ae7954f" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -1720,13 +1466,12 @@ "manifests": [ { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.0014168Z", - "lastUpdateTime": "2021-04-23T18:32:20.0014168Z", + "imageSize": 5325, + "createdTime": "2021-05-06T00:52:13.9109659Z", + "lastUpdateTime": "2021-05-06T00:52:13.9109659Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "latest", - "newest", "v1", "v2", "v3", diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifests.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifests.json index cc7ca9ec910f..07b5ab33e515 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifests.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifests.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "608e0eaf52b165a188dd96a1ec4b2b0e", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:35 GMT", + "Date": "Thu, 06 May 2021 00:51:36 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ac1ce063-4e57-48fc-bc93-3ab6b8fe0b70" + "X-Ms-Correlation-Request-Id": "8eba3205-5599-42c1-bd1a-32e031c45235" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "56e5e304eb044d7be90f5479d56d86be", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:35 GMT", + "Date": "Thu, 06 May 2021 00:51:37 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "804b9f81-04d7-4baa-8911-5e72de4c0dc6", - "x-ms-ratelimit-remaining-calls-per-second": "166.65" + "X-Ms-Correlation-Request-Id": "4b3b5551-7b89-4124-b189-baa137de2fcc", + "x-ms-ratelimit-remaining-calls-per-second": "165.916667" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIyOTZ9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "ea056b4d0c90deaaa7bdc35138f0d9a3", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:35 GMT", + "Date": "Thu, 06 May 2021 00:51:37 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "6af9eeca-9215-46d8-b288-02014e822c3e", - "x-ms-ratelimit-remaining-calls-per-second": "166.633333" + "X-Ms-Correlation-Request-Id": "f6f75509-22a0-4932-93b4-63a6c6a08ed7", + "x-ms-ratelimit-remaining-calls-per-second": "165.9" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "608e0eaf52b165a188dd96a1ec4b2b0e", "x-ms-return-client-request-id": "true" }, @@ -124,7 +123,7 @@ ], "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:08:36 GMT", + "Date": "Thu, 06 May 2021 00:51:37 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ ], "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "724448e3-11c7-4b71-8c23-592100a926d8" + "X-Ms-Correlation-Request-Id": "70d12c4a-273b-4f56-aef1-04b60a4643d2" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,9 +140,9 @@ "manifests": [ { "digest": "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.8237433Z", - "lastUpdateTime": "2021-04-23T18:32:20.8237433Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.4607585Z", + "lastUpdateTime": "2021-05-06T00:51:27.4607585Z", "architecture": "amd64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -157,9 +156,9 @@ }, { "digest": "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.8004016Z", - "lastUpdateTime": "2021-04-23T18:32:21.8004016Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.3945148Z", + "lastUpdateTime": "2021-05-06T00:51:27.3945148Z", "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -173,9 +172,9 @@ }, { "digest": "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.9240517Z", - "lastUpdateTime": "2021-04-23T18:32:20.9240517Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.6931717Z", + "lastUpdateTime": "2021-05-06T00:51:27.6931717Z", "architecture": "mips64le", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -189,9 +188,9 @@ }, { "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.3113299Z", - "lastUpdateTime": "2021-04-23T18:32:20.3113299Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.7937315Z", + "lastUpdateTime": "2021-05-06T00:51:27.7937315Z", "architecture": "arm64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -205,9 +204,9 @@ }, { "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.1240623Z", - "lastUpdateTime": "2021-04-23T18:32:21.1240623Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:29.4499382Z", + "lastUpdateTime": "2021-05-06T00:51:29.4499382Z", "architecture": "ppc64le", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -221,9 +220,9 @@ }, { "digest": "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.7655954Z", - "lastUpdateTime": "2021-04-23T18:32:20.7655954Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.3004526Z", + "lastUpdateTime": "2021-05-06T00:51:27.3004526Z", "architecture": "386", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -237,9 +236,9 @@ }, { "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.3351841Z", - "lastUpdateTime": "2021-04-23T18:32:21.3351841Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:28.4743451Z", + "lastUpdateTime": "2021-05-06T00:51:28.4743451Z", "architecture": "s390x", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -253,9 +252,9 @@ }, { "digest": "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.3983424Z", - "lastUpdateTime": "2021-04-23T18:32:20.3983424Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.3511925Z", + "lastUpdateTime": "2021-05-06T00:51:27.3511925Z", "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -269,9 +268,9 @@ }, { "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.2523432Z", - "lastUpdateTime": "2021-04-23T18:32:21.2523432Z", + "imageSize": 1125, + "createdTime": "2021-05-06T00:51:27.9357278Z", + "lastUpdateTime": "2021-05-06T00:51:27.9357278Z", "architecture": "amd64", "os": "windows", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -285,13 +284,12 @@ }, { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.0014168Z", - "lastUpdateTime": "2021-04-23T18:32:20.0014168Z", + "imageSize": 5325, + "createdTime": "2021-05-06T00:51:27.0221291Z", + "lastUpdateTime": "2021-05-06T00:51:27.0221291Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "latest", - "newest", "v1", "v2", "v3", diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsAsync.json index 6e899f0c9e57..a3eb21983737 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsAsync.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "4898e8d95939400f4e46ff4176369e5c", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:37 GMT", + "Date": "Thu, 06 May 2021 00:52:24 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "4eead3b7-acb1-4a27-b0d3-0fffaf767035" + "X-Ms-Correlation-Request-Id": "93aca497-e925-493b-94ab-fee30813aaa3" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "b99986b1169a9c65a255ea43b7617554", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:37 GMT", + "Date": "Thu, 06 May 2021 00:52:25 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "28244512-6971-45d6-8589-3f2db4bca066", - "x-ms-ratelimit-remaining-calls-per-second": "166.25" + "X-Ms-Correlation-Request-Id": "ca9965e1-e855-4e1f-931d-a92e002df915", + "x-ms-ratelimit-remaining-calls-per-second": "165.416667" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzNDR9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "4868963ee7672f0cd833749cb841042b", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:37 GMT", + "Date": "Thu, 06 May 2021 00:52:25 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "423e3464-12e8-41c6-9e9b-bb264640aaca", - "x-ms-ratelimit-remaining-calls-per-second": "166.233333" + "X-Ms-Correlation-Request-Id": "75bd3780-5a57-422b-aa27-ddfe71ff9d75", + "x-ms-ratelimit-remaining-calls-per-second": "165.4" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "4898e8d95939400f4e46ff4176369e5c", "x-ms-return-client-request-id": "true" }, @@ -124,7 +123,7 @@ ], "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:37 GMT", + "Date": "Thu, 06 May 2021 00:52:25 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ ], "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "9c6765f9-b001-4cb0-9e1d-a752f166e4a0" + "X-Ms-Correlation-Request-Id": "96563dac-daf6-4af2-898e-8f1db151927e" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,9 +140,9 @@ "manifests": [ { "digest": "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.8237433Z", - "lastUpdateTime": "2021-04-23T18:32:20.8237433Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:14.166491Z", + "lastUpdateTime": "2021-05-06T00:52:14.166491Z", "architecture": "amd64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -157,9 +156,9 @@ }, { "digest": "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.8004016Z", - "lastUpdateTime": "2021-04-23T18:32:21.8004016Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:14.2297603Z", + "lastUpdateTime": "2021-05-06T00:52:14.2297603Z", "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -173,9 +172,9 @@ }, { "digest": "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.9240517Z", - "lastUpdateTime": "2021-04-23T18:32:20.9240517Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:15.0125211Z", + "lastUpdateTime": "2021-05-06T00:52:15.0125211Z", "architecture": "mips64le", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -189,9 +188,9 @@ }, { "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.3113299Z", - "lastUpdateTime": "2021-04-23T18:32:20.3113299Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:14.8798388Z", + "lastUpdateTime": "2021-05-06T00:52:14.8798388Z", "architecture": "arm64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -205,9 +204,9 @@ }, { "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.1240623Z", - "lastUpdateTime": "2021-04-23T18:32:21.1240623Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:15.2308363Z", + "lastUpdateTime": "2021-05-06T00:52:15.2308363Z", "architecture": "ppc64le", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -221,9 +220,9 @@ }, { "digest": "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.7655954Z", - "lastUpdateTime": "2021-04-23T18:32:20.7655954Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:14.346367Z", + "lastUpdateTime": "2021-05-06T00:52:14.346367Z", "architecture": "386", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -237,9 +236,9 @@ }, { "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.3351841Z", - "lastUpdateTime": "2021-04-23T18:32:21.3351841Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:14.7156603Z", + "lastUpdateTime": "2021-05-06T00:52:14.7156603Z", "architecture": "s390x", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -253,9 +252,9 @@ }, { "digest": "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.3983424Z", - "lastUpdateTime": "2021-04-23T18:32:20.3983424Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:17.9098665Z", + "lastUpdateTime": "2021-05-06T00:52:17.9098665Z", "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -269,9 +268,9 @@ }, { "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.2523432Z", - "lastUpdateTime": "2021-04-23T18:32:21.2523432Z", + "imageSize": 1125, + "createdTime": "2021-05-06T00:52:15.0979286Z", + "lastUpdateTime": "2021-05-06T00:52:15.0979286Z", "architecture": "amd64", "os": "windows", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -285,13 +284,12 @@ }, { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.0014168Z", - "lastUpdateTime": "2021-04-23T18:32:20.0014168Z", + "imageSize": 5325, + "createdTime": "2021-05-06T00:52:13.9109659Z", + "lastUpdateTime": "2021-05-06T00:52:13.9109659Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "latest", - "newest", "v1", "v2", "v3", diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrdered.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrdered.json index 6a54251b7fd9..7228312b8f48 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrdered.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrdered.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "8dfb416f5580c25587549fac82a4e907", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:10 GMT", + "Date": "Thu, 06 May 2021 00:51:48 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ef15c769-2616-44e9-9de7-54b20087b06d" + "X-Ms-Correlation-Request-Id": "eb693d96-f1fd-4394-a3a0-172199c0457e" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "dca4add40de0b7fd06ec55f4403c7d8f", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:10 GMT", + "Date": "Thu, 06 May 2021 00:51:48 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "5356bfb3-9c57-440e-9ae8-958b4a1dd8b2", - "x-ms-ratelimit-remaining-calls-per-second": "166.283333" + "X-Ms-Correlation-Request-Id": "32a4bbfc-92c2-48ef-9cb3-ca1575b14457", + "x-ms-ratelimit-remaining-calls-per-second": "165.966667" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzMDl9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "132", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "6676309f85a501d7d4c88e3a7e306262", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:10 GMT", + "Date": "Thu, 06 May 2021 00:51:48 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "215b8d39-ba38-4643-8637-16c48216c023", - "x-ms-ratelimit-remaining-calls-per-second": "166.266667" + "X-Ms-Correlation-Request-Id": "a4a1a673-d4c2-4f9b-9f10-87811505727b", + "x-ms-ratelimit-remaining-calls-per-second": "165.95" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "8dfb416f5580c25587549fac82a4e907", "x-ms-return-client-request-id": "true" }, @@ -124,7 +123,7 @@ ], "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:10 GMT", + "Date": "Thu, 06 May 2021 00:51:49 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,17 +132,17 @@ ], "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "1e9b7884-dbac-42ce-a0fb-039182441c47" + "X-Ms-Correlation-Request-Id": "68ac8dfe-829a-44d5-b8a0-d8a311e62d41" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/node", "manifests": [ { - "digest": "sha256:6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", - "imageSize": 0, - "createdTime": "2021-04-23T20:09:02.1869431Z", - "lastUpdateTime": "2021-04-23T20:09:02.1869431Z", + "digest": "sha256:25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", + "imageSize": 11071, + "createdTime": "2021-05-06T00:51:40.7702117Z", + "lastUpdateTime": "2021-05-06T00:51:40.7702117Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "newest" @@ -155,6 +154,99 @@ "listEnabled": true } }, + { + "digest": "sha256:f44ace4636cf824d057cb4d8b2398fffa3e62566c24802da8f772a489f962c88", + "imageSize": 2215, + "createdTime": "2021-05-03T16:43:20.1552103Z", + "lastUpdateTime": "2021-05-03T16:43:20.1552103Z", + "architecture": "ppc64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:2b67c5888e26a4427faec4741c9db1445df567c3bd76bc35c59a39f83ba75ba1", + "imageSize": 2214, + "createdTime": "2021-05-03T16:43:18.2727928Z", + "lastUpdateTime": "2021-05-03T16:43:18.2727928Z", + "architecture": "amd64", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:62bcb1931212b9afea6e4e58cb7ddb8909c4193694a297da25dacf8e3995b31b", + "imageSize": 2214, + "createdTime": "2021-05-03T16:43:16.7225144Z", + "lastUpdateTime": "2021-05-03T16:43:16.7225144Z", + "architecture": "arm64", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:dceaa309b6c084372edf1677fc58f984a7e1aa6417cff4eb9936dcf3be832b3b", + "imageSize": 2214, + "createdTime": "2021-05-03T16:43:16.5172188Z", + "lastUpdateTime": "2021-05-03T16:43:16.5172188Z", + "architecture": "s390x", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:841a218ada1fa2a65636b8e230236a7a0c95a322c71921373abeb765559d5416", + "imageSize": 2214, + "createdTime": "2021-05-03T16:43:16.1357117Z", + "lastUpdateTime": "2021-05-03T16:43:16.1357117Z", + "architecture": "arm", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", + "imageSize": 0, + "createdTime": "2021-04-24T17:48:12.9181481Z", + "lastUpdateTime": "2021-04-24T17:48:12.9181481Z", + "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, { "digest": "sha256:00e90d6cbb499653cd2c74a3770f4fa5982699145b113e422bdffe31a7905117", "imageSize": 0, @@ -307,8 +399,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "49c5318d9fd761b1434386930060814a", "x-ms-return-client-request-id": "true" }, @@ -324,16 +415,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:10 GMT", + "Date": "Thu, 06 May 2021 00:51:49 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "c663517e-ac78-4f9c-8289-a98b9c686db3" + "X-Ms-Correlation-Request-Id": "b837faeb-bfc2-40ec-931e-85e0ba138de5" }, "ResponseBody": { "errors": [ @@ -351,33 +442,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "510d10d7832d4e61d5a308187fc239d6", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:10 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "25767919-b71a-4c31-8a89-5a0acc204640", - "x-ms-ratelimit-remaining-calls-per-second": "166.25" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -385,8 +449,8 @@ "Accept": "application/json", "Content-Length": "132", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "0f66f28a3377ffb77f142261ff430173", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "510d10d7832d4e61d5a308187fc239d6", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fnode%3ametadata_read\u0026refresh_token=Sanitized", @@ -394,12 +458,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:11 GMT", + "Date": "Thu, 06 May 2021 00:51:49 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3a0c9eeb-de76-4821-9cda-d404c3ae1575", - "x-ms-ratelimit-remaining-calls-per-second": "166.233333" + "X-Ms-Correlation-Request-Id": "41cbfb5b-47a8-413f-b11b-29b32531b58f", + "x-ms-ratelimit-remaining-calls-per-second": "165.9" }, "ResponseBody": { "access_token": "Sanitized" @@ -411,7 +475,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "49c5318d9fd761b1434386930060814a", "x-ms-return-client-request-id": "true" }, @@ -427,7 +491,7 @@ "Connection": "keep-alive", "Content-Length": "386", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:11 GMT", + "Date": "Thu, 06 May 2021 00:51:49 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -435,16 +499,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "9ead46b7-79e9-4507-85f6-bdd5198599d7" + "X-Ms-Correlation-Request-Id": "c938a802-8a22-43b4-8491-b1c621adcf9b" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/node", "tag": { "name": "newest", - "digest": "sha256:6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", - "createdTime": "2021-04-23T20:09:02.3066053Z", - "lastUpdateTime": "2021-04-23T20:09:02.3066053Z", + "digest": "sha256:25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", + "createdTime": "2021-05-06T00:51:40.8587533Z", + "lastUpdateTime": "2021-05-06T00:51:40.8587533Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -456,13 +520,12 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", + "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "6d63434710220a34d07673349798e281", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "0f66f28a3377ffb77f142261ff430173", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -477,16 +540,16 @@ "Connection": "keep-alive", "Content-Length": "207", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:11 GMT", + "Date": "Thu, 06 May 2021 00:51:49 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:delete\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5b88e6c4-fa88-434e-8cc1-d1430bc3835b" + "X-Ms-Correlation-Request-Id": "6b789b72-fa37-441e-a91f-31d30b61c050" }, "ResponseBody": { "errors": [ @@ -504,33 +567,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "0d09af0a72faa4d3590ed11860004f92", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:11 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "2ac33d7a-fcae-48e1-9a12-f653786e7f13", - "x-ms-ratelimit-remaining-calls-per-second": "166.216667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -538,34 +574,34 @@ "Accept": "application/json", "Content-Length": "125", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "3bd095a2cb5f79b4bd5b3e00bf8368e6", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "6d63434710220a34d07673349798e281", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fnode%3adelete\u0026refresh_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Connection": "keep-alive", + "Connection": "close", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:11 GMT", + "Date": "Thu, 06 May 2021 00:51:49 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d853e1c8-7a2e-4d10-aa12-47d12b0d99a4", - "x-ms-ratelimit-remaining-calls-per-second": "166.2" + "X-Ms-Correlation-Request-Id": "b2fb533d-18b7-4675-bff1-406e3c0f9d5c", + "x-ms-ratelimit-remaining-calls-per-second": "165.883333" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", + "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "6d63434710220a34d07673349798e281", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "0f66f28a3377ffb77f142261ff430173", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -579,7 +615,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Fri, 23 Apr 2021 20:09:11 GMT", + "Date": "Thu, 06 May 2021 00:51:49 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -587,10 +623,10 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "6d63434710220a34d07673349798e281", - "X-Ms-Correlation-Request-Id": "1ab01470-3e7f-48c2-89c3-fca0cefcafa6", + "X-Ms-Client-Request-Id": "0f66f28a3377ffb77f142261ff430173", + "X-Ms-Correlation-Request-Id": "4851259b-67a2-41ae-9c3e-a4c9cb7ed130", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "063d731c-f0b4-4375-9a98-7c769e1df9cb" + "X-Ms-Request-Id": "e0fa0e5d-c0a4-4493-be8d-7182d4e911bb" }, "ResponseBody": [] } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrderedAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrderedAsync.json index db84cb459e13..0baa16b565ec 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrderedAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrderedAsync.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "e855b776e7cc065cacda8538d19fce89", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:49 GMT", + "Date": "Thu, 06 May 2021 00:52:36 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "141df099-da73-476e-9eeb-e50c63ecf379" + "X-Ms-Correlation-Request-Id": "c6bf9698-1647-4447-9f27-bb88b82bc9c7" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0c11450d1e461c994724c0af80ef1a65", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:49 GMT", + "Date": "Thu, 06 May 2021 00:52:36 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "53bc90a6-d34a-4872-8cb3-9397bb3eceb5", - "x-ms-ratelimit-remaining-calls-per-second": "166.216667" + "X-Ms-Correlation-Request-Id": "edd64a29-a29b-4b41-af65-20f15c47a983", + "x-ms-ratelimit-remaining-calls-per-second": "165.383333" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzNTZ9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "132", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "8ed53d8bbbb5245a0baee3620a38f301", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:49 GMT", + "Date": "Thu, 06 May 2021 00:52:36 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "7d4211cf-ef5c-450d-889a-c5e546e89383", - "x-ms-ratelimit-remaining-calls-per-second": "166.2" + "X-Ms-Correlation-Request-Id": "7835f84a-4839-44df-8e48-d53687e98aff", + "x-ms-ratelimit-remaining-calls-per-second": "164.816667" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "e855b776e7cc065cacda8538d19fce89", "x-ms-return-client-request-id": "true" }, @@ -124,7 +123,7 @@ ], "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:50 GMT", + "Date": "Thu, 06 May 2021 00:52:37 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,17 +132,17 @@ ], "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "4fa2dcf3-cd35-4bdd-9ff7-d18959e91001" + "X-Ms-Correlation-Request-Id": "d26a9cd6-cff7-4ecd-8e66-5ef394e48047" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/node", "manifests": [ { - "digest": "sha256:6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", - "imageSize": 0, - "createdTime": "2021-04-23T20:09:41.6781609Z", - "lastUpdateTime": "2021-04-23T20:09:41.6781609Z", + "digest": "sha256:25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", + "imageSize": 11071, + "createdTime": "2021-05-06T00:52:28.4185038Z", + "lastUpdateTime": "2021-05-06T00:52:28.4185038Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "newest" @@ -155,6 +154,99 @@ "listEnabled": true } }, + { + "digest": "sha256:f44ace4636cf824d057cb4d8b2398fffa3e62566c24802da8f772a489f962c88", + "imageSize": 2215, + "createdTime": "2021-05-03T16:43:20.1552103Z", + "lastUpdateTime": "2021-05-03T16:43:20.1552103Z", + "architecture": "ppc64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:2b67c5888e26a4427faec4741c9db1445df567c3bd76bc35c59a39f83ba75ba1", + "imageSize": 2214, + "createdTime": "2021-05-03T16:43:18.2727928Z", + "lastUpdateTime": "2021-05-03T16:43:18.2727928Z", + "architecture": "amd64", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:62bcb1931212b9afea6e4e58cb7ddb8909c4193694a297da25dacf8e3995b31b", + "imageSize": 2214, + "createdTime": "2021-05-03T16:43:16.7225144Z", + "lastUpdateTime": "2021-05-03T16:43:16.7225144Z", + "architecture": "arm64", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:dceaa309b6c084372edf1677fc58f984a7e1aa6417cff4eb9936dcf3be832b3b", + "imageSize": 2214, + "createdTime": "2021-05-03T16:43:16.5172188Z", + "lastUpdateTime": "2021-05-03T16:43:16.5172188Z", + "architecture": "s390x", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:841a218ada1fa2a65636b8e230236a7a0c95a322c71921373abeb765559d5416", + "imageSize": 2214, + "createdTime": "2021-05-03T16:43:16.1357117Z", + "lastUpdateTime": "2021-05-03T16:43:16.1357117Z", + "architecture": "arm", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", + "imageSize": 0, + "createdTime": "2021-04-24T17:48:12.9181481Z", + "lastUpdateTime": "2021-04-24T17:48:12.9181481Z", + "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, { "digest": "sha256:00e90d6cbb499653cd2c74a3770f4fa5982699145b113e422bdffe31a7905117", "imageSize": 0, @@ -307,8 +399,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f00d3e40b52858ba1d38a1a827ad86bc", "x-ms-return-client-request-id": "true" }, @@ -324,16 +415,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:50 GMT", + "Date": "Thu, 06 May 2021 00:52:37 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "8d6a3558-a3e8-4efa-b632-e677984927f3" + "X-Ms-Correlation-Request-Id": "321bb41c-7341-4e9e-a395-f2f1777692d1" }, "ResponseBody": { "errors": [ @@ -351,33 +442,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "94ac1fbf3fca51d3eaec00983b37120e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:50 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f87edcd1-b9bb-40f3-84c3-cca0fa1f6d2f", - "x-ms-ratelimit-remaining-calls-per-second": "166.183333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -385,8 +449,8 @@ "Accept": "application/json", "Content-Length": "132", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "416ebf312ae2d53c837d717c1ab2fd5e", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "94ac1fbf3fca51d3eaec00983b37120e", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fnode%3ametadata_read\u0026refresh_token=Sanitized", @@ -394,12 +458,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:50 GMT", + "Date": "Thu, 06 May 2021 00:52:37 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "022d6b0f-cfe5-46f7-b2e5-ecc383bed18d", - "x-ms-ratelimit-remaining-calls-per-second": "166.166667" + "X-Ms-Correlation-Request-Id": "fb4f9c4b-2af7-48cf-b832-334ee5cb1baf", + "x-ms-ratelimit-remaining-calls-per-second": "164.8" }, "ResponseBody": { "access_token": "Sanitized" @@ -411,7 +475,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f00d3e40b52858ba1d38a1a827ad86bc", "x-ms-return-client-request-id": "true" }, @@ -427,7 +491,7 @@ "Connection": "keep-alive", "Content-Length": "386", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:50 GMT", + "Date": "Thu, 06 May 2021 00:52:37 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -435,16 +499,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d3ba1569-e77b-4d06-92ee-66b10d366edb" + "X-Ms-Correlation-Request-Id": "7777cb97-f364-4f25-8c99-d43a1600e1b4" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/node", "tag": { "name": "newest", - "digest": "sha256:6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", - "createdTime": "2021-04-23T20:09:41.5997996Z", - "lastUpdateTime": "2021-04-23T20:09:41.5997996Z", + "digest": "sha256:25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", + "createdTime": "2021-05-06T00:52:28.5331901Z", + "lastUpdateTime": "2021-05-06T00:52:28.5331901Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -456,13 +520,12 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", + "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "eba226285f8b01376abb053bb4211ce6", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "416ebf312ae2d53c837d717c1ab2fd5e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -477,16 +540,16 @@ "Connection": "keep-alive", "Content-Length": "207", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:50 GMT", + "Date": "Thu, 06 May 2021 00:52:37 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:delete\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d6be0703-c46f-4348-b52e-e34641800d20" + "X-Ms-Correlation-Request-Id": "abcb052b-ddb2-4dbb-b504-260d574ed85c" }, "ResponseBody": { "errors": [ @@ -504,33 +567,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "68779226443f95dae2d7104cce563738", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:50 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "22b40cee-39e0-43d7-b2e3-f727d32ae9ee", - "x-ms-ratelimit-remaining-calls-per-second": "166.15" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -538,8 +574,8 @@ "Accept": "application/json", "Content-Length": "125", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "1470a2ef2694d182876cd62724012062", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "eba226285f8b01376abb053bb4211ce6", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fnode%3adelete\u0026refresh_token=Sanitized", @@ -547,25 +583,25 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:50 GMT", + "Date": "Thu, 06 May 2021 00:52:37 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "ce65c2fc-b82c-4e4d-99a9-ff58c35eb437", - "x-ms-ratelimit-remaining-calls-per-second": "166.133333" + "X-Ms-Correlation-Request-Id": "d7e302b7-ce6d-48ca-9643-ff1ea2818ce6", + "x-ms-ratelimit-remaining-calls-per-second": "164.783333" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", + "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "eba226285f8b01376abb053bb4211ce6", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "416ebf312ae2d53c837d717c1ab2fd5e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -579,7 +615,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Fri, 23 Apr 2021 20:09:50 GMT", + "Date": "Thu, 06 May 2021 00:52:37 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -587,10 +623,10 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "eba226285f8b01376abb053bb4211ce6", - "X-Ms-Correlation-Request-Id": "9ae0dde4-ad2e-464e-b38b-e580c8a4a35b", + "X-Ms-Client-Request-Id": "416ebf312ae2d53c837d717c1ab2fd5e", + "X-Ms-Correlation-Request-Id": "23b5bfe4-b845-4473-bd5d-1f335dd446d7", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "383e19bb-f7cc-4aa0-b123-0e5f31554a91" + "X-Ms-Request-Id": "fe897523-81be-4532-957b-83118ec852b7" }, "ResponseBody": [] } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsWithCustomPageSize.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsWithCustomPageSize.json index dbbcf6249f30..bb69557cd828 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsWithCustomPageSize.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsWithCustomPageSize.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "054fee1e8cbb184ca7b3849a27186c6a", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:12 GMT", + "Date": "Thu, 06 May 2021 00:51:50 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "83a6db71-bcc8-4b9e-95d8-be8187d8ad48" + "X-Ms-Correlation-Request-Id": "f87c81c9-6397-4e92-8d4a-129cf01fdd09" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "11fc937a5fa68895dc1d9445e048d7e2", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:12 GMT", + "Date": "Thu, 06 May 2021 00:51:50 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "dc1e2d90-6fdb-4ade-9762-47216fa498f4", - "x-ms-ratelimit-remaining-calls-per-second": "166.183333" + "X-Ms-Correlation-Request-Id": "5a3ba074-bcb7-4108-90c9-9e954f965ce6", + "x-ms-ratelimit-remaining-calls-per-second": "166.633333" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzMTB9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a1dc460e7d0df6c8a377213ea9a5209c", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:12 GMT", + "Date": "Thu, 06 May 2021 00:51:50 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "7795f1a6-01d3-4e9f-9504-65ee2f603688", - "x-ms-ratelimit-remaining-calls-per-second": "166.166667" + "X-Ms-Correlation-Request-Id": "92f82e3f-122c-4e32-8d42-b4df7ff35d79", + "x-ms-ratelimit-remaining-calls-per-second": "166.616667" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "054fee1e8cbb184ca7b3849a27186c6a", "x-ms-return-client-request-id": "true" }, @@ -123,9 +122,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "938", + "Content-Length": "942", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:12 GMT", + "Date": "Thu, 06 May 2021 00:51:50 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -134,7 +133,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "96f8e1dc-3920-41b8-9e03-959e90567ab1" + "X-Ms-Correlation-Request-Id": "76a0e710-8aec-49b8-ae26-9b7e4684fc03" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -142,9 +141,9 @@ "manifests": [ { "digest": "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.8237433Z", - "lastUpdateTime": "2021-04-23T18:32:20.8237433Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.4607585Z", + "lastUpdateTime": "2021-05-06T00:51:27.4607585Z", "architecture": "amd64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -158,9 +157,9 @@ }, { "digest": "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.8004016Z", - "lastUpdateTime": "2021-04-23T18:32:21.8004016Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.3945148Z", + "lastUpdateTime": "2021-05-06T00:51:27.3945148Z", "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -180,8 +179,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "73c20ad016e5be4858c6299ef807385e", "x-ms-return-client-request-id": "true" }, @@ -197,16 +195,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:12 GMT", + "Date": "Thu, 06 May 2021 00:51:50 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "c0d4fa84-8581-40ed-b8df-017e9363fc41" + "X-Ms-Correlation-Request-Id": "32c40ba4-fb5a-46d8-a538-531fc3a3aa21" }, "ResponseBody": { "errors": [ @@ -224,33 +222,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "e08ba1dccb3cfc5cca066e2f3e57de36", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:12 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "47a54edf-6161-4a12-aa15-6d483fbd92b3", - "x-ms-ratelimit-remaining-calls-per-second": "166.15" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -258,8 +229,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "d574f7fc6386f8fdfe1e4846542afd9b", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "e08ba1dccb3cfc5cca066e2f3e57de36", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -267,12 +238,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:12 GMT", + "Date": "Thu, 06 May 2021 00:51:50 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "0d9e1496-b9f9-472d-88b2-372e6f19b2d5", - "x-ms-ratelimit-remaining-calls-per-second": "166.133333" + "X-Ms-Correlation-Request-Id": "67d3a9c2-c30c-44f1-a57a-c647b88088d4", + "x-ms-ratelimit-remaining-calls-per-second": "166.6" }, "ResponseBody": { "access_token": "Sanitized" @@ -284,7 +255,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "73c20ad016e5be4858c6299ef807385e", "x-ms-return-client-request-id": "true" }, @@ -298,9 +269,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "943", + "Content-Length": "947", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:12 GMT", + "Date": "Thu, 06 May 2021 00:51:50 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -309,7 +280,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "4789c015-42ea-43a2-b638-f1b176334dd6" + "X-Ms-Correlation-Request-Id": "1ed36375-e1cc-486e-b59f-56340cfe0df1" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -317,9 +288,9 @@ "manifests": [ { "digest": "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.9240517Z", - "lastUpdateTime": "2021-04-23T18:32:20.9240517Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.6931717Z", + "lastUpdateTime": "2021-05-06T00:51:27.6931717Z", "architecture": "mips64le", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -333,9 +304,9 @@ }, { "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.3113299Z", - "lastUpdateTime": "2021-04-23T18:32:20.3113299Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.7937315Z", + "lastUpdateTime": "2021-05-06T00:51:27.7937315Z", "architecture": "arm64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -355,9 +326,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "0761c33f3f190560adc5a8dfa7198001", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "d574f7fc6386f8fdfe1e4846542afd9b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -372,16 +342,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:12 GMT", + "Date": "Thu, 06 May 2021 00:51:50 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "4feb5ee8-466b-4d4e-8ff7-6800b0969188" + "X-Ms-Correlation-Request-Id": "e6ec7be3-185a-419c-a7fb-17e25cc379db" }, "ResponseBody": { "errors": [ @@ -399,33 +369,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "00a1f3e7629278d7a493e21d8216a8a0", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:12 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "c9803f20-8e5a-4ace-92b5-7a13ff6f329f", - "x-ms-ratelimit-remaining-calls-per-second": "166.116667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -433,8 +376,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "7af0d208d7f5bd1c966f28c0ba1d51e5", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "0761c33f3f190560adc5a8dfa7198001", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -442,12 +385,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:12 GMT", + "Date": "Thu, 06 May 2021 00:51:50 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "abd816cc-7b70-4231-b2c5-e1fb97c66d9b", - "x-ms-ratelimit-remaining-calls-per-second": "166.1" + "X-Ms-Correlation-Request-Id": "b3880b10-610a-4518-9b90-5be7f4190f03", + "x-ms-ratelimit-remaining-calls-per-second": "166.583333" }, "ResponseBody": { "access_token": "Sanitized" @@ -459,8 +402,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "0761c33f3f190560adc5a8dfa7198001", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "d574f7fc6386f8fdfe1e4846542afd9b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -473,9 +416,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "940", + "Content-Length": "944", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:13 GMT", + "Date": "Thu, 06 May 2021 00:51:50 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -484,7 +427,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "306dabfc-3a2a-4411-8459-407828dbe080" + "X-Ms-Correlation-Request-Id": "a6669a26-829a-4068-bbd7-4c4ad13713cc" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -492,9 +435,9 @@ "manifests": [ { "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.1240623Z", - "lastUpdateTime": "2021-04-23T18:32:21.1240623Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:29.4499382Z", + "lastUpdateTime": "2021-05-06T00:51:29.4499382Z", "architecture": "ppc64le", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -508,9 +451,9 @@ }, { "digest": "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.7655954Z", - "lastUpdateTime": "2021-04-23T18:32:20.7655954Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.3004526Z", + "lastUpdateTime": "2021-05-06T00:51:27.3004526Z", "architecture": "386", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -530,9 +473,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "615e479dfd88dc09ebe963865d428296", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "00a1f3e7629278d7a493e21d8216a8a0", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -547,16 +489,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:13 GMT", + "Date": "Thu, 06 May 2021 00:51:51 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "41dbe98c-058e-4263-920d-bc75fe1ed275" + "X-Ms-Correlation-Request-Id": "5b8b5b0e-ee50-412a-9b4d-c4a0f593b065" }, "ResponseBody": { "errors": [ @@ -574,33 +516,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "d4d7081d0529100bd6e46a223917be86", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:13 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e2218a09-1c6e-4e9c-941d-8010885e67a5", - "x-ms-ratelimit-remaining-calls-per-second": "166.083333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -608,8 +523,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "3b80fd4147b80a18c8138f0c74955f53", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "7af0d208d7f5bd1c966f28c0ba1d51e5", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -617,12 +532,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:13 GMT", + "Date": "Thu, 06 May 2021 00:51:51 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "a36a4c89-76b5-482b-adba-ce820c0ee8d4", - "x-ms-ratelimit-remaining-calls-per-second": "166.066667" + "X-Ms-Correlation-Request-Id": "2b7e1da5-af41-427c-9a97-282cd6c9f742", + "x-ms-ratelimit-remaining-calls-per-second": "166.566667" }, "ResponseBody": { "access_token": "Sanitized" @@ -634,8 +549,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "615e479dfd88dc09ebe963865d428296", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "00a1f3e7629278d7a493e21d8216a8a0", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -648,9 +563,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "938", + "Content-Length": "942", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:13 GMT", + "Date": "Thu, 06 May 2021 00:51:51 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -659,7 +574,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "71488749-bdad-45d8-9b73-c37ad296926b" + "X-Ms-Correlation-Request-Id": "b4ab9409-3079-4c84-b385-9ce1902f2953" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -667,9 +582,9 @@ "manifests": [ { "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.3351841Z", - "lastUpdateTime": "2021-04-23T18:32:21.3351841Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:28.4743451Z", + "lastUpdateTime": "2021-05-06T00:51:28.4743451Z", "architecture": "s390x", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -683,9 +598,9 @@ }, { "digest": "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.3983424Z", - "lastUpdateTime": "2021-04-23T18:32:20.3983424Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:51:27.3511925Z", + "lastUpdateTime": "2021-05-06T00:51:27.3511925Z", "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -705,9 +620,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "b2a392ed7c4697bc3b4d8aa392e7a2d4", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "615e479dfd88dc09ebe963865d428296", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -722,16 +636,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:13 GMT", + "Date": "Thu, 06 May 2021 00:51:51 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "3c7143b2-493f-4e40-8f49-28e03f611d9b" + "X-Ms-Correlation-Request-Id": "a6a326aa-5894-4190-b718-4c7c9d0681b4" }, "ResponseBody": { "errors": [ @@ -749,33 +663,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "6045dc2b47c2d5deefcc0b1576fe9c41", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:13 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "54b84457-f79c-410d-b17c-fb64603c89fd", - "x-ms-ratelimit-remaining-calls-per-second": "166.05" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -783,8 +670,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "a73416850b73c44041e8ff6abd7577e1", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "d4d7081d0529100bd6e46a223917be86", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -792,12 +679,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:13 GMT", + "Date": "Thu, 06 May 2021 00:51:51 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "c5336bbc-b239-42b8-a285-eba04e7c6a9c", - "x-ms-ratelimit-remaining-calls-per-second": "166.033333" + "X-Ms-Correlation-Request-Id": "50da89bf-b41b-4811-b84e-e81daeb87b0c", + "x-ms-ratelimit-remaining-calls-per-second": "166.55" }, "ResponseBody": { "access_token": "Sanitized" @@ -809,8 +696,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "b2a392ed7c4697bc3b4d8aa392e7a2d4", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "615e479dfd88dc09ebe963865d428296", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -823,9 +710,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "931", + "Content-Length": "928", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:13 GMT", + "Date": "Thu, 06 May 2021 00:51:51 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -833,7 +720,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "2e3826aa-ba82-448b-8ab7-469f255544a6" + "X-Ms-Correlation-Request-Id": "284dce7b-3380-49dc-a233-b334508bb2f2" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -841,9 +728,9 @@ "manifests": [ { "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.2523432Z", - "lastUpdateTime": "2021-04-23T18:32:21.2523432Z", + "imageSize": 1125, + "createdTime": "2021-05-06T00:51:27.9357278Z", + "lastUpdateTime": "2021-05-06T00:51:27.9357278Z", "architecture": "amd64", "os": "windows", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -857,13 +744,12 @@ }, { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.0014168Z", - "lastUpdateTime": "2021-04-23T18:32:20.0014168Z", + "imageSize": 5325, + "createdTime": "2021-05-06T00:51:27.0221291Z", + "lastUpdateTime": "2021-05-06T00:51:27.0221291Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "latest", - "newest", "v1", "v2", "v3", diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsWithCustomPageSizeAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsWithCustomPageSizeAsync.json index 45321cd67b5f..7337090a21bb 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsWithCustomPageSizeAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsWithCustomPageSizeAsync.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "8e8ec47dc9e557e541a1ec90a8474897", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:51 GMT", + "Date": "Thu, 06 May 2021 00:52:37 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "64e9518f-5c2f-403d-80c7-cbe0c4c81394" + "X-Ms-Correlation-Request-Id": "0e4d9474-691a-45b6-b609-3494cc9d4305" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "8bf20083fbf1157a49ac5fcac7017c26", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:51 GMT", + "Date": "Thu, 06 May 2021 00:52:38 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3519f270-cd3f-4f29-a0f8-4d0144a5e5d3", - "x-ms-ratelimit-remaining-calls-per-second": "166.116667" + "X-Ms-Correlation-Request-Id": "1a1464da-0956-468d-bdbe-2aed8c8a6cea", + "x-ms-ratelimit-remaining-calls-per-second": "164.766667" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzNTh9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "d6216e27f5ebcbf646d3801f7c8a822f", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:51 GMT", + "Date": "Thu, 06 May 2021 00:52:38 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "60bbb6b6-a858-4a2f-a524-78af832ac27d", - "x-ms-ratelimit-remaining-calls-per-second": "166.1" + "X-Ms-Correlation-Request-Id": "0183a795-3e2c-4777-92cf-2c1087d806f0", + "x-ms-ratelimit-remaining-calls-per-second": "164.75" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "8e8ec47dc9e557e541a1ec90a8474897", "x-ms-return-client-request-id": "true" }, @@ -123,9 +122,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "938", + "Content-Length": "940", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:51 GMT", + "Date": "Thu, 06 May 2021 00:52:38 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -134,7 +133,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6f793846-3c4a-4e36-ba6f-bcdf8748692d" + "X-Ms-Correlation-Request-Id": "1421e1e9-a00d-42c1-969d-e1984b523f3d" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -142,9 +141,9 @@ "manifests": [ { "digest": "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.8237433Z", - "lastUpdateTime": "2021-04-23T18:32:20.8237433Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:14.166491Z", + "lastUpdateTime": "2021-05-06T00:52:14.166491Z", "architecture": "amd64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -158,9 +157,9 @@ }, { "digest": "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.8004016Z", - "lastUpdateTime": "2021-04-23T18:32:21.8004016Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:14.2297603Z", + "lastUpdateTime": "2021-05-06T00:52:14.2297603Z", "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -180,8 +179,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "79a87096f59b818149794539691a903f", "x-ms-return-client-request-id": "true" }, @@ -197,16 +195,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:51 GMT", + "Date": "Thu, 06 May 2021 00:52:38 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ca0b399b-28fc-435f-8985-4449d07604bf" + "X-Ms-Correlation-Request-Id": "7c462903-e512-42a7-8566-a7c1c55d1172" }, "ResponseBody": { "errors": [ @@ -224,33 +222,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "3a68c62571268eac0926441e7a5a99bf", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:51 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "2198550d-cc5f-40a9-aa8b-4b523033e990", - "x-ms-ratelimit-remaining-calls-per-second": "166.083333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -258,8 +229,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "56342f290359318aec9f8c72afbc612b", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "3a68c62571268eac0926441e7a5a99bf", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -267,12 +238,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:51 GMT", + "Date": "Thu, 06 May 2021 00:52:38 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "bd0bec3c-c9f7-484f-bd66-5ee4b63bab49", - "x-ms-ratelimit-remaining-calls-per-second": "166.066667" + "X-Ms-Correlation-Request-Id": "e6a7ca31-6399-4de0-ae68-9b0f0a29fb46", + "x-ms-ratelimit-remaining-calls-per-second": "164.733333" }, "ResponseBody": { "access_token": "Sanitized" @@ -284,7 +255,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "79a87096f59b818149794539691a903f", "x-ms-return-client-request-id": "true" }, @@ -298,9 +269,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "943", + "Content-Length": "947", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:51 GMT", + "Date": "Thu, 06 May 2021 00:52:38 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -309,7 +280,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ce094f8f-2f9e-4ddf-81ab-a8af263a5f94" + "X-Ms-Correlation-Request-Id": "7e9aa6a4-c133-4656-9917-f6a53ca45fca" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -317,9 +288,9 @@ "manifests": [ { "digest": "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.9240517Z", - "lastUpdateTime": "2021-04-23T18:32:20.9240517Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:15.0125211Z", + "lastUpdateTime": "2021-05-06T00:52:15.0125211Z", "architecture": "mips64le", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -333,9 +304,9 @@ }, { "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.3113299Z", - "lastUpdateTime": "2021-04-23T18:32:20.3113299Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:14.8798388Z", + "lastUpdateTime": "2021-05-06T00:52:14.8798388Z", "architecture": "arm64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -355,9 +326,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "b5fa404348212409c41a6f74b06306ee", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "56342f290359318aec9f8c72afbc612b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -372,16 +342,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:51 GMT", + "Date": "Thu, 06 May 2021 00:52:38 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6b148fcd-c65f-4bb6-bb15-72b7e5ed17b8" + "X-Ms-Correlation-Request-Id": "c739422a-c5f7-4240-9cdc-ade26370514d" }, "ResponseBody": { "errors": [ @@ -399,33 +369,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "3a0f85e039e621e63b364d86e439de4c", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:51 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3a094f13-a62b-4952-b37b-5fecda58ae2b", - "x-ms-ratelimit-remaining-calls-per-second": "166.05" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -433,8 +376,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "3ada19c5e360e09e260f923f94158189", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "b5fa404348212409c41a6f74b06306ee", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -442,12 +385,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:51 GMT", + "Date": "Thu, 06 May 2021 00:52:38 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "0260dd30-082b-44c0-9ce7-15d074daea10", - "x-ms-ratelimit-remaining-calls-per-second": "166.033333" + "X-Ms-Correlation-Request-Id": "00357677-39d1-4b3e-ba4d-02e492fce4c2", + "x-ms-ratelimit-remaining-calls-per-second": "164.716667" }, "ResponseBody": { "access_token": "Sanitized" @@ -459,8 +402,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "b5fa404348212409c41a6f74b06306ee", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "56342f290359318aec9f8c72afbc612b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -473,9 +416,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "940", + "Content-Length": "942", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:52 GMT", + "Date": "Thu, 06 May 2021 00:52:38 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -484,7 +427,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a210de78-13e4-4926-92af-d78a130a1ff8" + "X-Ms-Correlation-Request-Id": "e3c7ac15-877b-428e-845b-e2351e713486" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -492,9 +435,9 @@ "manifests": [ { "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.1240623Z", - "lastUpdateTime": "2021-04-23T18:32:21.1240623Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:15.2308363Z", + "lastUpdateTime": "2021-05-06T00:52:15.2308363Z", "architecture": "ppc64le", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -508,9 +451,9 @@ }, { "digest": "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.7655954Z", - "lastUpdateTime": "2021-04-23T18:32:20.7655954Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:14.346367Z", + "lastUpdateTime": "2021-05-06T00:52:14.346367Z", "architecture": "386", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -530,9 +473,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "2a929d9827ad0a445ad87aeafb82408a", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "3a0f85e039e621e63b364d86e439de4c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -547,16 +489,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:52 GMT", + "Date": "Thu, 06 May 2021 00:52:38 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "afa7416d-38fc-4592-aa4c-8d6e18bd91c1" + "X-Ms-Correlation-Request-Id": "71eb3541-f4ac-4dd8-b4fb-212a5f4eb6d3" }, "ResponseBody": { "errors": [ @@ -574,33 +516,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "97af223bcc89fc8ee72e13d7a6a68d26", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:52 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d52eb3e5-a0c5-440b-8ed4-8d8591fbfff0", - "x-ms-ratelimit-remaining-calls-per-second": "166.016667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -608,8 +523,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "46eec4b5b4a79e9fd4d0df8768b3e5a4", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "3ada19c5e360e09e260f923f94158189", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -617,12 +532,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:52 GMT", + "Date": "Thu, 06 May 2021 00:52:38 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "ff64b585-6f09-4c2e-8091-1cbf4266daec", - "x-ms-ratelimit-remaining-calls-per-second": "166" + "X-Ms-Correlation-Request-Id": "4c764ccb-f367-4148-944e-1d1c7cdf2157", + "x-ms-ratelimit-remaining-calls-per-second": "164.7" }, "ResponseBody": { "access_token": "Sanitized" @@ -634,8 +549,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "2a929d9827ad0a445ad87aeafb82408a", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "3a0f85e039e621e63b364d86e439de4c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -648,9 +563,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "938", + "Content-Length": "942", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:52 GMT", + "Date": "Thu, 06 May 2021 00:52:38 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -659,7 +574,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "86c92faf-21dc-4f39-8f3b-1753d2327aee" + "X-Ms-Correlation-Request-Id": "699e8047-7af7-4dff-b0fe-36aed904027b" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -667,9 +582,9 @@ "manifests": [ { "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.3351841Z", - "lastUpdateTime": "2021-04-23T18:32:21.3351841Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:14.7156603Z", + "lastUpdateTime": "2021-05-06T00:52:14.7156603Z", "architecture": "s390x", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -683,9 +598,9 @@ }, { "digest": "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.3983424Z", - "lastUpdateTime": "2021-04-23T18:32:20.3983424Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:52:17.9098665Z", + "lastUpdateTime": "2021-05-06T00:52:17.9098665Z", "architecture": "arm", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -705,9 +620,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "710307cfe966cb000f95427e136d63b3", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "2a929d9827ad0a445ad87aeafb82408a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -719,19 +633,19 @@ "Link", "X-Ms-Correlation-Request-Id" ], - "Connection": "keep-alive", + "Connection": "close", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:52 GMT", + "Date": "Thu, 06 May 2021 00:52:38 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "62bc228d-e31d-44be-b880-5f5fcdb4ba47" + "X-Ms-Correlation-Request-Id": "a673b2ae-a93b-4e4a-9d6f-da1bd07aa138" }, "ResponseBody": { "errors": [ @@ -749,33 +663,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "3734544af99487e38211c3b8ed079334", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:52 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "fb7474cc-be03-4da0-95fe-0c90d563c25c", - "x-ms-ratelimit-remaining-calls-per-second": "165.983333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -783,8 +670,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "9e086e491ca2cbbfc322371272218a67", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "97af223bcc89fc8ee72e13d7a6a68d26", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -792,12 +679,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:52 GMT", + "Date": "Thu, 06 May 2021 00:52:39 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "6971ef00-e83c-4eb9-bba9-b061216c588a", - "x-ms-ratelimit-remaining-calls-per-second": "165.966667" + "X-Ms-Correlation-Request-Id": "9cfe436c-b894-47c8-ae1b-63b4a0e64ff1", + "x-ms-ratelimit-remaining-calls-per-second": "166.616667" }, "ResponseBody": { "access_token": "Sanitized" @@ -809,8 +696,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "710307cfe966cb000f95427e136d63b3", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "2a929d9827ad0a445ad87aeafb82408a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -823,9 +710,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "931", + "Content-Length": "928", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 20:09:52 GMT", + "Date": "Thu, 06 May 2021 00:52:39 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -833,7 +720,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a4e9fac0-3ea7-4102-9a59-f80fd3220f21" + "X-Ms-Correlation-Request-Id": "805c6c00-cc59-4ebe-8354-c03d26079f29" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -841,9 +728,9 @@ "manifests": [ { "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:21.2523432Z", - "lastUpdateTime": "2021-04-23T18:32:21.2523432Z", + "imageSize": 1125, + "createdTime": "2021-05-06T00:52:15.0979286Z", + "lastUpdateTime": "2021-05-06T00:52:15.0979286Z", "architecture": "amd64", "os": "windows", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -857,13 +744,12 @@ }, { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.0014168Z", - "lastUpdateTime": "2021-04-23T18:32:20.0014168Z", + "imageSize": 5325, + "createdTime": "2021-05-06T00:52:13.9109659Z", + "lastUpdateTime": "2021-05-06T00:52:13.9109659Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "latest", - "newest", "v1", "v2", "v3", diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetRepositoryProperties.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetRepositoryProperties.json index 3f937803bfbf..9f42e983fbfc 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetRepositoryProperties.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetRepositoryProperties.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "3a6b7f8b94c223854b44e375d3bb28da", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:07 GMT", + "Date": "Thu, 06 May 2021 00:51:51 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "46b3e588-1f7c-4fbd-8377-cc654c9c7b38" + "X-Ms-Correlation-Request-Id": "176142e9-85d0-4409-8e32-52e765769eb2" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "e57ae8347b7f01f2e772010420c83025", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:07 GMT", + "Date": "Thu, 06 May 2021 00:51:51 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f9abe39a-0766-4778-8619-f0ffb3c3ac71", - "x-ms-ratelimit-remaining-calls-per-second": "166.366667" + "X-Ms-Correlation-Request-Id": "9f24e09a-c7ba-40e4-8df5-60f1fc7a772d", + "x-ms-ratelimit-remaining-calls-per-second": "166.533333" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzMTF9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "032f0d97205cdfcd1722a429e96231d6", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:07 GMT", + "Date": "Thu, 06 May 2021 00:51:51 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "a80e992a-390a-41ad-a339-a502be32876c", - "x-ms-ratelimit-remaining-calls-per-second": "166.35" + "X-Ms-Correlation-Request-Id": "55bbf1b6-31fd-447a-a3e0-2b144354e2e6", + "x-ms-ratelimit-remaining-calls-per-second": "166.516667" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "3a6b7f8b94c223854b44e375d3bb28da", "x-ms-return-client-request-id": "true" }, @@ -123,9 +122,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "326", + "Content-Length": "327", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:07 GMT", + "Date": "Thu, 06 May 2021 00:51:52 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,15 +132,15 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "afea0873-23ff-4cd8-971b-ada5a5ccbac5" + "X-Ms-Correlation-Request-Id": "e65de51b-2ad9-4a04-9be4-55bf3d9e7dea" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2021-04-08T22:38:23.986734Z", - "lastUpdateTime": "2021-04-22T16:53:04.2735546Z", - "manifestCount": 12, - "tagCount": 6, + "createdTime": "2021-05-06T00:51:26.9173869Z", + "lastUpdateTime": "2021-05-06T00:51:25.2325645Z", + "manifestCount": 10, + "tagCount": 5, "changeableAttributes": { "deleteEnabled": true, "writeEnabled": true, diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetRepositoryPropertiesAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetRepositoryPropertiesAsync.json index 01e501e81d61..cc1c4c7f4cfa 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetRepositoryPropertiesAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetRepositoryPropertiesAsync.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "572c2c4b3486d4cec50e9ce022ef7695", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:56 GMT", + "Date": "Thu, 06 May 2021 00:52:39 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "c8401000-2842-4864-bb3c-defe6ac3992d" + "X-Ms-Correlation-Request-Id": "e39e0c65-88a0-40d1-80a5-92114eba5ebe" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "49c6126fe5745b15065e8af81dc3d638", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:56 GMT", + "Date": "Thu, 06 May 2021 00:52:39 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "7feecaf4-6a0f-404a-88c2-273257e7f8dd", - "x-ms-ratelimit-remaining-calls-per-second": "165.083333" + "X-Ms-Correlation-Request-Id": "7d7344b4-e06e-4b8a-a5d5-9fe026ba2221", + "x-ms-ratelimit-remaining-calls-per-second": "165.65" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzNTh9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "227de8bc69675d535e72ebaba81b7091", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:56 GMT", + "Date": "Thu, 06 May 2021 00:52:39 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "31712d29-0711-48b8-82d2-466c5306a51b", - "x-ms-ratelimit-remaining-calls-per-second": "165.066667" + "X-Ms-Correlation-Request-Id": "3431f0bf-9f6b-46e7-8772-c634074c0d3c", + "x-ms-ratelimit-remaining-calls-per-second": "165.633333" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "572c2c4b3486d4cec50e9ce022ef7695", "x-ms-return-client-request-id": "true" }, @@ -123,9 +122,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "327", + "Content-Length": "326", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:56 GMT", + "Date": "Thu, 06 May 2021 00:52:39 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,13 +132,13 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "4fb5b239-e561-46f9-9f48-75561318c6d0" + "X-Ms-Correlation-Request-Id": "1998fe96-054e-417d-bf59-a9873431c25e" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2021-04-23T18:31:32.6418181Z", - "lastUpdateTime": "2021-04-23T18:31:30.2530854Z", + "createdTime": "2021-05-06T00:52:13.8006515Z", + "lastUpdateTime": "2021-05-06T00:52:12.166376Z", "manifestCount": 10, "tagCount": 5, "changeableAttributes": { diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryProperties.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryProperties.json index abbb2923d0a9..88faf48c95db 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryProperties.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryProperties.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5010e5c3a81a414fcce238a206c8841d", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:38 GMT", + "Date": "Thu, 06 May 2021 00:52:21 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "0f857fe8-2b26-4129-bb37-3747a22b1281" + "X-Ms-Correlation-Request-Id": "14bb119e-2225-4c00-b876-9a3e6d0eeaa5" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "e52a90f92f59bcd183f821fcf08aba50", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:39 GMT", + "Date": "Thu, 06 May 2021 00:52:21 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d20298e1-930e-4ae4-b05e-98de133a7691", - "x-ms-ratelimit-remaining-calls-per-second": "165.583333" + "X-Ms-Correlation-Request-Id": "c10a028e-288b-4869-b84f-b87bd61e3b92", + "x-ms-ratelimit-remaining-calls-per-second": "165.816667" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzNDF9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "94dfa8441163445da09b40968a4ddd57", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:39 GMT", + "Date": "Thu, 06 May 2021 00:52:21 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "5dbe0ee9-49f2-4fb1-9d61-7a2df3ea4ab1", - "x-ms-ratelimit-remaining-calls-per-second": "165.566667" + "X-Ms-Correlation-Request-Id": "78e3522c-5db8-429c-af0b-e15f765b0fea", + "x-ms-ratelimit-remaining-calls-per-second": "165.666667" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5010e5c3a81a414fcce238a206c8841d", "x-ms-return-client-request-id": "true" }, @@ -125,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "327", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:39 GMT", + "Date": "Thu, 06 May 2021 00:52:21 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,13 +132,13 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f26ba843-03af-4479-b044-22ac9b8ef05f" + "X-Ms-Correlation-Request-Id": "20be89d9-d2e1-4016-a248-ced55a7f4d7c" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2021-04-23T18:31:32.6418181Z", - "lastUpdateTime": "2021-04-23T18:31:30.5531734Z", + "createdTime": "2021-05-06T00:52:13.8006515Z", + "lastUpdateTime": "2021-05-06T00:52:12.2764048Z", "manifestCount": 10, "tagCount": 5, "changeableAttributes": { @@ -156,10 +155,9 @@ "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", "Content-Length": "84", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "876ebaef5b0293011354cd2187535141", "x-ms-return-client-request-id": "true" }, @@ -180,16 +178,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:39 GMT", + "Date": "Thu, 06 May 2021 00:52:21 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "dd029727-a84b-4c23-9a9e-cde620e85f3e" + "X-Ms-Correlation-Request-Id": "f31dac80-b4c6-491c-a4ac-fe835ec02271" }, "ResponseBody": { "errors": [ @@ -207,33 +205,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "5d5de828f0e9e8b932e645beef3b3235", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:39 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3bdf7c52-97d6-4760-9ea3-85450d89c039", - "x-ms-ratelimit-remaining-calls-per-second": "165.55" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -241,8 +212,8 @@ "Accept": "application/json", "Content-Length": "140", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "350cc91b321be94ea74b800f433bbd4c", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "5d5de828f0e9e8b932e645beef3b3235", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", @@ -250,12 +221,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:39 GMT", + "Date": "Thu, 06 May 2021 00:52:21 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e4f1f7f5-01ab-43ed-a5c0-ce61a0bffe61", - "x-ms-ratelimit-remaining-calls-per-second": "165.533333" + "X-Ms-Correlation-Request-Id": "76baebb1-d09b-483d-89bb-003f01749a58", + "x-ms-ratelimit-remaining-calls-per-second": "165.65" }, "ResponseBody": { "access_token": "Sanitized" @@ -269,7 +240,7 @@ "Authorization": "Sanitized", "Content-Length": "84", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "876ebaef5b0293011354cd2187535141", "x-ms-return-client-request-id": "true" }, @@ -288,9 +259,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "331", + "Content-Length": "330", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:39 GMT", + "Date": "Thu, 06 May 2021 00:52:22 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -298,13 +269,13 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "09f72f8b-82f1-4d91-8c6a-889edc619629" + "X-Ms-Correlation-Request-Id": "4ee45a1f-1c67-4410-9428-af5100ff1d6d" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2021-04-23T18:31:32.6418181Z", - "lastUpdateTime": "2021-04-23T18:31:30.2530854Z", + "createdTime": "2021-05-06T00:52:13.8006515Z", + "lastUpdateTime": "2021-05-06T00:52:12.166376Z", "manifestCount": 10, "tagCount": 5, "changeableAttributes": { @@ -321,9 +292,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "a26efe4a7ff0ff6e0186541c1643a4d8", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "350cc91b321be94ea74b800f433bbd4c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -338,16 +308,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:39 GMT", + "Date": "Thu, 06 May 2021 00:52:22 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "984e2e04-4bfe-4a1a-b471-de13d47906d4" + "X-Ms-Correlation-Request-Id": "bee625f6-1f7a-4b29-a669-38aae0c5d935" }, "ResponseBody": { "errors": [ @@ -365,33 +335,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "bd0698221b47f5259974b69d70aaa4f7", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:39 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f2a1151f-c4a3-4c49-b8dc-322db9c017f5", - "x-ms-ratelimit-remaining-calls-per-second": "165.516667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -399,8 +342,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "f073f8288fcc9b455b0d3395dd32d264", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "a26efe4a7ff0ff6e0186541c1643a4d8", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -408,12 +351,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:39 GMT", + "Date": "Thu, 06 May 2021 00:52:22 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e630d5cd-9978-4e64-ab75-a3456d6388c4", - "x-ms-ratelimit-remaining-calls-per-second": "165.5" + "X-Ms-Correlation-Request-Id": "31cab55d-f938-4c36-b943-b9be59b2f5f2", + "x-ms-ratelimit-remaining-calls-per-second": "165.633333" }, "ResponseBody": { "access_token": "Sanitized" @@ -425,8 +368,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "a26efe4a7ff0ff6e0186541c1643a4d8", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "350cc91b321be94ea74b800f433bbd4c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -439,9 +382,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "331", + "Content-Length": "330", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:39 GMT", + "Date": "Thu, 06 May 2021 00:52:22 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -449,13 +392,13 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "276c943a-b3c5-45ed-a685-4b6318d14804" + "X-Ms-Correlation-Request-Id": "6f61adf3-8cb4-47b2-a6d2-3243cd239963" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2021-04-23T18:31:32.6418181Z", - "lastUpdateTime": "2021-04-23T18:31:30.2530854Z", + "createdTime": "2021-05-06T00:52:13.8006515Z", + "lastUpdateTime": "2021-05-06T00:52:12.166376Z", "manifestCount": 10, "tagCount": 5, "changeableAttributes": { @@ -472,11 +415,10 @@ "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", "Content-Length": "80", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "abeda7a7ff352e04d978087bc9d08e57", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "bd0698221b47f5259974b69d70aaa4f7", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -496,16 +438,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:39 GMT", + "Date": "Thu, 06 May 2021 00:52:22 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "296e4d72-99b9-4556-bc69-e841fb700a97" + "X-Ms-Correlation-Request-Id": "f9ecb41f-3f0d-4ed0-86d1-54abf43d1d88" }, "ResponseBody": { "errors": [ @@ -523,33 +465,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "1df35de2b3cf920c526a613ae7901766", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:40 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "9cb8569d-0037-4236-8a1c-adc4441bcd7b", - "x-ms-ratelimit-remaining-calls-per-second": "165.483333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -557,8 +472,8 @@ "Accept": "application/json", "Content-Length": "140", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "c8f652a1f8bd28c1f344175387cad28b", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "f073f8288fcc9b455b0d3395dd32d264", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", @@ -566,12 +481,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:40 GMT", + "Date": "Thu, 06 May 2021 00:52:22 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "603056f4-e347-4f5a-b47a-dbc99ac3e29e", - "x-ms-ratelimit-remaining-calls-per-second": "165.466667" + "X-Ms-Correlation-Request-Id": "d35494bc-d36d-4b8e-82a1-0b9c32d8e943", + "x-ms-ratelimit-remaining-calls-per-second": "165.616667" }, "ResponseBody": { "access_token": "Sanitized" @@ -585,8 +500,8 @@ "Authorization": "Sanitized", "Content-Length": "80", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "abeda7a7ff352e04d978087bc9d08e57", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "bd0698221b47f5259974b69d70aaa4f7", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -604,9 +519,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "327", + "Content-Length": "326", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:31:40 GMT", + "Date": "Thu, 06 May 2021 00:52:22 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -614,13 +529,13 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5703e469-78ae-4c2d-b0d1-38978b7aa5f3" + "X-Ms-Correlation-Request-Id": "f0f5990b-48ff-4172-8493-c470939c54e6" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2021-04-23T18:31:32.6418181Z", - "lastUpdateTime": "2021-04-23T18:31:30.2530854Z", + "createdTime": "2021-05-06T00:52:13.8006515Z", + "lastUpdateTime": "2021-05-06T00:52:12.166376Z", "manifestCount": 10, "tagCount": 5, "changeableAttributes": { diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryPropertiesAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryPropertiesAsync.json index bd12c789e488..2c8fec77df20 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryPropertiesAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryPropertiesAsync.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f959e875a8dabeba67d058ba51a93d35", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:25 GMT", + "Date": "Thu, 06 May 2021 00:53:08 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a0a8407d-1db0-45f8-a06d-3531585b3885" + "X-Ms-Correlation-Request-Id": "00dcf4a8-8420-4089-b132-f7f4a01be162" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5c8f81327e894d0d3738a1c590821969", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:26 GMT", + "Date": "Thu, 06 May 2021 00:53:09 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f7e12f0d-c2c7-4e09-83b2-64b81744cbd9", - "x-ms-ratelimit-remaining-calls-per-second": "165.9" + "X-Ms-Correlation-Request-Id": "3fa6a44c-28a4-4689-9e10-9ad160095684", + "x-ms-ratelimit-remaining-calls-per-second": "165.766667" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzODl9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1185a4c12e68687671c1748c8a6aece1", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:26 GMT", + "Date": "Thu, 06 May 2021 00:53:09 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "ab1bd8dd-2300-4d0a-82d0-9cd0e0b6ff52", - "x-ms-ratelimit-remaining-calls-per-second": "165.083333" + "X-Ms-Correlation-Request-Id": "368f8014-75e3-4007-af01-041512d9cb94", + "x-ms-ratelimit-remaining-calls-per-second": "165.75" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f959e875a8dabeba67d058ba51a93d35", "x-ms-return-client-request-id": "true" }, @@ -125,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "327", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:26 GMT", + "Date": "Thu, 06 May 2021 00:53:09 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,13 +132,13 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d510dbb2-fe98-426c-bfe9-8b810b8f99e7" + "X-Ms-Correlation-Request-Id": "c0f4f106-7b1b-45c4-a71b-a41eca7d8c02" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2021-04-23T18:32:19.8800797Z", - "lastUpdateTime": "2021-04-23T18:32:16.8584237Z", + "createdTime": "2021-05-06T00:53:01.3620179Z", + "lastUpdateTime": "2021-05-06T00:52:59.7836756Z", "manifestCount": 10, "tagCount": 5, "changeableAttributes": { @@ -156,10 +155,9 @@ "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", "Content-Length": "84", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1beac7e18158f7f2db0cc1a106f42de5", "x-ms-return-client-request-id": "true" }, @@ -180,16 +178,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:26 GMT", + "Date": "Thu, 06 May 2021 00:53:09 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5322be20-5375-4023-89fc-50e1638e5f8d" + "X-Ms-Correlation-Request-Id": "a4054f3e-06d0-48f4-a81b-f1563b612687" }, "ResponseBody": { "errors": [ @@ -207,33 +205,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "adf8eeb62c2303cd0b26ebc70a81c2cd", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:26 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "dd63163c-0a34-42af-9378-f9f206deb935", - "x-ms-ratelimit-remaining-calls-per-second": "165.066667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -241,8 +212,8 @@ "Accept": "application/json", "Content-Length": "140", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "c9e4bf4cfe974011b18e365b6dd5617c", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "adf8eeb62c2303cd0b26ebc70a81c2cd", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", @@ -250,12 +221,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:26 GMT", + "Date": "Thu, 06 May 2021 00:53:09 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f84810f0-9a3d-441b-83e5-d748b3f630ee", - "x-ms-ratelimit-remaining-calls-per-second": "165.05" + "X-Ms-Correlation-Request-Id": "b4d0c7a9-980a-455a-a4d3-b1951b599e51", + "x-ms-ratelimit-remaining-calls-per-second": "165.733333" }, "ResponseBody": { "access_token": "Sanitized" @@ -269,7 +240,7 @@ "Authorization": "Sanitized", "Content-Length": "84", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1beac7e18158f7f2db0cc1a106f42de5", "x-ms-return-client-request-id": "true" }, @@ -290,7 +261,7 @@ "Connection": "keep-alive", "Content-Length": "331", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:26 GMT", + "Date": "Thu, 06 May 2021 00:53:09 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -298,13 +269,13 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6b2efd92-e206-4213-8989-59a1cda0e603" + "X-Ms-Correlation-Request-Id": "fecc8573-5644-4fd4-aaaf-65657acdb33c" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2021-04-23T18:32:19.8800797Z", - "lastUpdateTime": "2021-04-23T18:32:16.8584237Z", + "createdTime": "2021-05-06T00:53:01.3620179Z", + "lastUpdateTime": "2021-05-06T00:52:59.7836756Z", "manifestCount": 10, "tagCount": 5, "changeableAttributes": { @@ -321,9 +292,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "9cd58e943e71b5befae61031952bec59", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "c9e4bf4cfe974011b18e365b6dd5617c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -338,16 +308,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:26 GMT", + "Date": "Thu, 06 May 2021 00:53:09 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6e421023-8734-4979-87ed-eb8eada53d5e" + "X-Ms-Correlation-Request-Id": "7553a82c-1f16-4174-b3b0-5d1a18048639" }, "ResponseBody": { "errors": [ @@ -365,33 +335,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "4655f34a6310b84dddb8fb94f5719636", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:26 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "8a0f8604-54ea-4f0c-9f4c-7312835624d0", - "x-ms-ratelimit-remaining-calls-per-second": "165.033333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -399,8 +342,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "7b336ec426ac0d5c012ecfb1eedfaa86", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "9cd58e943e71b5befae61031952bec59", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -408,12 +351,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:26 GMT", + "Date": "Thu, 06 May 2021 00:53:09 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "30d93ce2-e49d-43f1-b473-efdb91a4fe40", - "x-ms-ratelimit-remaining-calls-per-second": "165.016667" + "X-Ms-Correlation-Request-Id": "a566fea5-00bd-4808-aa0e-f4094e79b1a3", + "x-ms-ratelimit-remaining-calls-per-second": "165.716667" }, "ResponseBody": { "access_token": "Sanitized" @@ -425,8 +368,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "9cd58e943e71b5befae61031952bec59", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "c9e4bf4cfe974011b18e365b6dd5617c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -441,7 +384,7 @@ "Connection": "keep-alive", "Content-Length": "331", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:26 GMT", + "Date": "Thu, 06 May 2021 00:53:10 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -449,13 +392,13 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "8cbad434-2e84-4add-b3c9-7bf41301f07e" + "X-Ms-Correlation-Request-Id": "3ad75c04-d831-421d-8ed4-7674c69b226e" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2021-04-23T18:32:19.8800797Z", - "lastUpdateTime": "2021-04-23T18:32:16.8584237Z", + "createdTime": "2021-05-06T00:53:01.3620179Z", + "lastUpdateTime": "2021-05-06T00:52:59.7836756Z", "manifestCount": 10, "tagCount": 5, "changeableAttributes": { @@ -472,11 +415,10 @@ "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", "Content-Length": "80", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "7911dda21a80306c401cbeb94329bf88", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "4655f34a6310b84dddb8fb94f5719636", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -496,16 +438,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:26 GMT", + "Date": "Thu, 06 May 2021 00:53:10 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5b32df3b-b20f-4287-931e-7f2d98d8da90" + "X-Ms-Correlation-Request-Id": "618c738d-83bc-486d-9238-f0d58e9db3e8" }, "ResponseBody": { "errors": [ @@ -523,33 +465,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "276cda4f71f724ac964745e1949ccafe", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:26 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "99da1836-8e2e-40a9-819d-8d102b815b0f", - "x-ms-ratelimit-remaining-calls-per-second": "165" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -557,8 +472,8 @@ "Accept": "application/json", "Content-Length": "140", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "18f2740d1c60aab601033a8f67a3cad7", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "7b336ec426ac0d5c012ecfb1eedfaa86", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", @@ -566,12 +481,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:26 GMT", + "Date": "Thu, 06 May 2021 00:53:10 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "26a1e649-148e-4b61-a60a-9d086f3b25c0", - "x-ms-ratelimit-remaining-calls-per-second": "164.983333" + "X-Ms-Correlation-Request-Id": "d03e2e9b-38cd-4436-afca-c2f098080d3e", + "x-ms-ratelimit-remaining-calls-per-second": "165.7" }, "ResponseBody": { "access_token": "Sanitized" @@ -585,8 +500,8 @@ "Authorization": "Sanitized", "Content-Length": "80", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "7911dda21a80306c401cbeb94329bf88", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "4655f34a6310b84dddb8fb94f5719636", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -606,7 +521,7 @@ "Connection": "keep-alive", "Content-Length": "327", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:27 GMT", + "Date": "Thu, 06 May 2021 00:53:10 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -614,13 +529,13 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "1c5ecd02-60d3-4275-9d3e-744052e127b0" + "X-Ms-Correlation-Request-Id": "14f57340-a690-4944-8a6f-1546e0c6cba2" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2021-04-23T18:32:19.8800797Z", - "lastUpdateTime": "2021-04-23T18:32:16.8584237Z", + "createdTime": "2021-05-06T00:53:01.3620179Z", + "lastUpdateTime": "2021-05-06T00:52:59.7836756Z", "manifestCount": 10, "tagCount": 5, "changeableAttributes": { diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteRegistryArtifact.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteRegistryArtifact.json index e2fefac268c3..c71bb484cf0a 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteRegistryArtifact.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteRegistryArtifact.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "e537c108b0acb5d57b1757f3cfe9da6a", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:56 GMT", + "Date": "Thu, 06 May 2021 00:53:37 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6e9249e7-9039-4500-8a0c-53bf94ea4337" + "X-Ms-Correlation-Request-Id": "a26eda02-9151-405b-88a8-812dc22df91b" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0ef9c40e0708919412fe0aa520d3d3f4", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:56 GMT", + "Date": "Thu, 06 May 2021 00:53:37 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "5f2def10-8f02-4ede-aa7e-7e31a6a404b9", - "x-ms-ratelimit-remaining-calls-per-second": "165.033333" + "X-Ms-Correlation-Request-Id": "32a2f368-9656-4b31-935f-8d626e40a51f", + "x-ms-ratelimit-remaining-calls-per-second": "165.35" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0MjJ9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "132", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "6eb4ec98abda71ff12a74ef3bc4b15c5", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:56 GMT", + "Date": "Thu, 06 May 2021 00:53:37 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d3bfccf7-4697-4692-b4ae-c62e0d140c33", - "x-ms-ratelimit-remaining-calls-per-second": "165.016667" + "X-Ms-Correlation-Request-Id": "0754395e-ab27-4c83-adea-edcfa2b3eb41", + "x-ms-ratelimit-remaining-calls-per-second": "165.333333" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "e537c108b0acb5d57b1757f3cfe9da6a", "x-ms-return-client-request-id": "true" }, @@ -125,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:56 GMT", + "Date": "Thu, 06 May 2021 00:53:37 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,16 +132,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "370d3c1d-dab1-4dd6-bb75-83cbc62e8479" + "X-Ms-Correlation-Request-Id": "19d51ed7-1e30-4eb2-941d-5f7cfdde4e5f" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/node", "tag": { "name": "test-delete-image", - "digest": "sha256:6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", - "createdTime": "2021-04-23T18:32:48.7245382Z", - "lastUpdateTime": "2021-04-23T18:32:48.7245382Z", + "digest": "sha256:25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", + "createdTime": "2021-05-06T00:53:29.7584026Z", + "lastUpdateTime": "2021-05-06T00:53:29.7584026Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -154,12 +153,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", + "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "617b5f8d6ce000312ca5d3aea53095a8", "x-ms-return-client-request-id": "true" }, @@ -175,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "207", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:56 GMT", + "Date": "Thu, 06 May 2021 00:53:37 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:delete\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "4854bd83-0e97-418b-a9db-b85a7145fe57" + "X-Ms-Correlation-Request-Id": "a7c77c0e-6cb9-43ca-beed-f7a307f570ee" }, "ResponseBody": { "errors": [ @@ -202,33 +200,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "e25a63446c346390c588fc60b9a1d4c7", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:56 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "717238a2-7dec-4bb8-be41-f730b88fa2cd", - "x-ms-ratelimit-remaining-calls-per-second": "165" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -236,8 +207,8 @@ "Accept": "application/json", "Content-Length": "125", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "c01745e872572c13bbb44235d750cce1", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "e25a63446c346390c588fc60b9a1d4c7", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fnode%3adelete\u0026refresh_token=Sanitized", @@ -245,24 +216,24 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:56 GMT", + "Date": "Thu, 06 May 2021 00:53:37 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "62ccca9d-f5b8-4fc2-b7d3-28ccd0439018", - "x-ms-ratelimit-remaining-calls-per-second": "164.983333" + "X-Ms-Correlation-Request-Id": "01c8d6d8-7d1f-44db-801c-f46ca4083e9f", + "x-ms-ratelimit-remaining-calls-per-second": "165.316667" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", + "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "617b5f8d6ce000312ca5d3aea53095a8", "x-ms-return-client-request-id": "true" }, @@ -275,9 +246,9 @@ "Link", "X-Ms-Correlation-Request-Id" ], - "Connection": "close", + "Connection": "keep-alive", "Content-Length": "0", - "Date": "Fri, 23 Apr 2021 18:32:56 GMT", + "Date": "Thu, 06 May 2021 00:53:38 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -286,20 +257,19 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "617b5f8d6ce000312ca5d3aea53095a8", - "X-Ms-Correlation-Request-Id": "6f698ae3-5fdf-4616-875f-6aa07ec31b31", + "X-Ms-Correlation-Request-Id": "d06c9668-4dc1-4603-8da1-96477d4bd34b", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "71e58c8f-a9e9-4b5a-a22f-cd0438436c41" + "X-Ms-Request-Id": "1e4b8161-466e-420c-9419-705faeb5da5d" }, "ResponseBody": [] }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_manifests/sha256%3A6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "59afa51133f02190cf189b5870d0478b", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "c01745e872572c13bbb44235d750cce1", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -314,16 +284,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:01 GMT", + "Date": "Thu, 06 May 2021 00:53:43 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "102c2712-4ad3-4333-96e7-edba2ef94340" + "X-Ms-Correlation-Request-Id": "6b61e869-bf7f-4582-b895-9e410e3155ec" }, "ResponseBody": { "errors": [ @@ -341,33 +311,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "5fc50cd0d418d2514f2e2780295b8b74", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:01 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3b3364ff-16a3-4714-b98b-00eca4a11690", - "x-ms-ratelimit-remaining-calls-per-second": "166.65" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -375,8 +318,8 @@ "Accept": "application/json", "Content-Length": "132", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "134e1abc7af2b5d6b5f6f13fd6bbbcea", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "59afa51133f02190cf189b5870d0478b", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fnode%3ametadata_read\u0026refresh_token=Sanitized", @@ -384,25 +327,25 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:02 GMT", + "Date": "Thu, 06 May 2021 00:53:43 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d437c364-2533-4aed-b360-b5317d2fbfb1", - "x-ms-ratelimit-remaining-calls-per-second": "166.633333" + "X-Ms-Correlation-Request-Id": "b4e23072-dfb2-4f90-8c87-b1e85d4bbaf6", + "x-ms-ratelimit-remaining-calls-per-second": "165.3" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_manifests/sha256%3A6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "59afa51133f02190cf189b5870d0478b", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "c01745e872572c13bbb44235d750cce1", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -417,7 +360,7 @@ "Connection": "keep-alive", "Content-Length": "69", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:02 GMT", + "Date": "Thu, 06 May 2021 00:53:43 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -425,7 +368,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "8b7eb6de-182c-4916-90bc-ce0009474113" + "X-Ms-Correlation-Request-Id": "ddd37329-df0e-462d-8113-febd9bfee520" }, "ResponseBody": { "errors": [ diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteRegistryArtifactAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteRegistryArtifactAsync.json index 1c046ff3fc57..d759311c83d0 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteRegistryArtifactAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteRegistryArtifactAsync.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "817b7ad148acb0a3cb308ed2244d0ef2", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:50 GMT", + "Date": "Thu, 06 May 2021 00:54:29 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "41e7eb3b-7bbe-492b-bfb8-9bbe6316a69e" + "X-Ms-Correlation-Request-Id": "d7e0ebed-14d5-456d-897b-073af5f421f9" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "653ab27a9dc4ed45c760f61105e26ce9", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:50 GMT", + "Date": "Thu, 06 May 2021 00:54:30 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b292c883-7182-46d4-ab5a-f6fa2f4e4f83", - "x-ms-ratelimit-remaining-calls-per-second": "165.55" + "X-Ms-Correlation-Request-Id": "e4c6f1e7-0e30-4cb8-8d4b-de8b00ff2f11", + "x-ms-ratelimit-remaining-calls-per-second": "165.733333" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0NzV9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "132", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "974df359cd63681264cb3418ecc4cb1a", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:50 GMT", + "Date": "Thu, 06 May 2021 00:54:30 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "923ea65b-429e-4669-9a0f-f7592605fc74", - "x-ms-ratelimit-remaining-calls-per-second": "165" + "X-Ms-Correlation-Request-Id": "b5f03667-e2af-4f05-9768-e9349a6bf4e7", + "x-ms-ratelimit-remaining-calls-per-second": "165.716667" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "817b7ad148acb0a3cb308ed2244d0ef2", "x-ms-return-client-request-id": "true" }, @@ -125,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:50 GMT", + "Date": "Thu, 06 May 2021 00:54:30 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,16 +132,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "98f08fdd-f78c-48ad-bcab-00711cd1bf8c" + "X-Ms-Correlation-Request-Id": "e262d1d8-da18-4414-95c7-1f951aa7f161" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/node", "tag": { "name": "test-delete-image", - "digest": "sha256:6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", - "createdTime": "2021-04-23T18:33:43.0342063Z", - "lastUpdateTime": "2021-04-23T18:33:43.0342063Z", + "digest": "sha256:25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", + "createdTime": "2021-05-06T00:54:22.1888454Z", + "lastUpdateTime": "2021-05-06T00:54:22.1888454Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -154,12 +153,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", + "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a370bf43862d33bd348eba4c5291abe8", "x-ms-return-client-request-id": "true" }, @@ -175,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "207", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:50 GMT", + "Date": "Thu, 06 May 2021 00:54:30 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:delete\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "2a001411-74f1-485f-8cd0-c35a59470405" + "X-Ms-Correlation-Request-Id": "b3c10901-6e67-4427-bfc2-c2de0b5c973d" }, "ResponseBody": { "errors": [ @@ -202,33 +200,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "3079a5c47700ad8f9fd100f9692d0003", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:51 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "53770616-6e03-460e-8ab0-80bcbffd6450", - "x-ms-ratelimit-remaining-calls-per-second": "164.983333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -236,33 +207,33 @@ "Accept": "application/json", "Content-Length": "125", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "46cddb94c871d2bb351962d513c616d2", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "3079a5c47700ad8f9fd100f9692d0003", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fnode%3adelete\u0026refresh_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Connection": "keep-alive", + "Connection": "close", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:51 GMT", + "Date": "Thu, 06 May 2021 00:54:30 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "43eef9b6-f9bb-4019-a8d6-a0471ec5609f", - "x-ms-ratelimit-remaining-calls-per-second": "164.966667" + "X-Ms-Correlation-Request-Id": "0aa4a479-d39a-438e-8190-05d29d3dd325", + "x-ms-ratelimit-remaining-calls-per-second": "165.7" }, "ResponseBody": { "access_token": "Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", + "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a370bf43862d33bd348eba4c5291abe8", "x-ms-return-client-request-id": "true" }, @@ -277,7 +248,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Fri, 23 Apr 2021 18:33:51 GMT", + "Date": "Thu, 06 May 2021 00:54:30 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -286,20 +257,19 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "a370bf43862d33bd348eba4c5291abe8", - "X-Ms-Correlation-Request-Id": "15f05f86-ea68-461f-8d62-2aa41faddb58", + "X-Ms-Correlation-Request-Id": "7410d6eb-0bf4-433b-bead-996284a9ad6a", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "82e3298f-53f8-48ff-87e1-41207189650a" + "X-Ms-Request-Id": "4388dc2a-5c5f-491a-bea1-6ea7c81bc86a" }, "ResponseBody": [] }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_manifests/sha256%3A6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "46534b209a4bcc1a30c3035c85c4c907", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "46cddb94c871d2bb351962d513c616d2", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -314,16 +284,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:56 GMT", + "Date": "Thu, 06 May 2021 00:54:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "038387f0-012d-4f5c-a0e7-d43f7c558a98" + "X-Ms-Correlation-Request-Id": "e82be3e8-6ae0-41e9-99cf-7d1d8103fd5f" }, "ResponseBody": { "errors": [ @@ -341,33 +311,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "76b7b78d64c4fb77eaa6fae614b99ad9", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:56 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f765fc4a-9d7a-49c8-af05-9468af8e6c8a", - "x-ms-ratelimit-remaining-calls-per-second": "164.95" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -375,8 +318,8 @@ "Accept": "application/json", "Content-Length": "132", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "1dd82ebbbad9fab7c10016adc45e4c71", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "46534b209a4bcc1a30c3035c85c4c907", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fnode%3ametadata_read\u0026refresh_token=Sanitized", @@ -384,11 +327,11 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:56 GMT", + "Date": "Thu, 06 May 2021 00:54:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "4aac7911-24f9-4c4f-ac9d-ef167189b0ff", + "X-Ms-Correlation-Request-Id": "673c7cf2-2a9b-4d62-9a19-dce9506617c5", "x-ms-ratelimit-remaining-calls-per-second": "164.933333" }, "ResponseBody": { @@ -396,13 +339,13 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_manifests/sha256%3A6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", + "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "46534b209a4bcc1a30c3035c85c4c907", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "46cddb94c871d2bb351962d513c616d2", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -417,7 +360,7 @@ "Connection": "keep-alive", "Content-Length": "69", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:56 GMT", + "Date": "Thu, 06 May 2021 00:54:36 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -425,7 +368,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "601839f6-f4a4-4a3f-a69e-dbdec7966827" + "X-Ms-Correlation-Request-Id": "2d7beebc-b9fb-4f08-aff4-1c459396dab0" }, "ResponseBody": { "errors": [ diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteTag.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteTag.json index 519a010660a1..49c894d3c9e0 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteTag.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteTag.json @@ -5,8 +5,7 @@ "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1d9fa790f95f011b0fcfe69c784c6916", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:13 GMT", + "Date": "Thu, 06 May 2021 00:53:54 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a4eabb00-343a-4111-a345-21d730675bfd" + "X-Ms-Correlation-Request-Id": "34bc7075-fae1-495b-a30e-135ed0bf0b1e" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a57042dc50ad4b370e80bfe128ea1b17", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:13 GMT", + "Date": "Thu, 06 May 2021 00:53:54 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "fe6bed45-0acd-4699-a04a-5e91dbeba907", - "x-ms-ratelimit-remaining-calls-per-second": "166.616667" + "X-Ms-Correlation-Request-Id": "75dc2509-b034-4c1b-b00b-444b246cf03b", + "x-ms-ratelimit-remaining-calls-per-second": "165.1" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0Mzl9.Sanitized" } }, { @@ -83,21 +82,21 @@ "Accept": "application/json", "Content-Length": "132", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "df663b0fd5827062abf90f5ffa52c73d", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\u0026refresh_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Connection": "keep-alive", + "Connection": "close", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:13 GMT", + "Date": "Thu, 06 May 2021 00:53:54 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "aff4a339-6f2a-4c2c-bb18-e64f884d650d", - "x-ms-ratelimit-remaining-calls-per-second": "166.6" + "X-Ms-Correlation-Request-Id": "20f3462a-de6b-4d09-b7f5-6b56748e9150", + "x-ms-ratelimit-remaining-calls-per-second": "165.083333" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1d9fa790f95f011b0fcfe69c784c6916", "x-ms-return-client-request-id": "true" }, @@ -124,7 +123,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Fri, 23 Apr 2021 18:33:13 GMT", + "Date": "Thu, 06 May 2021 00:53:55 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,10 +132,10 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "1d9fa790f95f011b0fcfe69c784c6916", - "X-Ms-Correlation-Request-Id": "22600aca-9a43-483b-a857-8424d29017eb", + "X-Ms-Correlation-Request-Id": "0bd1afc4-9016-44be-8371-72b68b934ee8", "X-Ms-Int-Docker-Content-Digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "0d02d033-02d9-4da3-a5b3-b8973463450c" + "X-Ms-Request-Id": "abd009a5-58d1-4ffe-b741-5ae58723ad04" }, "ResponseBody": [] }, @@ -145,8 +144,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "40ac30a870e3400a6f530fde393ad924", "x-ms-return-client-request-id": "true" }, @@ -162,16 +160,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:18 GMT", + "Date": "Thu, 06 May 2021 00:54:00 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "2f4800af-4731-40c8-a1c0-654c549c4895" + "X-Ms-Correlation-Request-Id": "01d1b6ee-7338-4387-b002-ff873b7a3508" }, "ResponseBody": { "errors": [ @@ -189,33 +187,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "3c8dceb48ae60693e0fffab440d851bc", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:18 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f950f579-e926-4069-abdc-24fda3fd237a", - "x-ms-ratelimit-remaining-calls-per-second": "166.583333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -223,8 +194,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "f83981b8da3d9e3431266f2fc6843671", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "3c8dceb48ae60693e0fffab440d851bc", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -232,12 +203,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:18 GMT", + "Date": "Thu, 06 May 2021 00:54:00 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f677e3ea-f4a7-4c87-ad52-d7716eefb9bb", - "x-ms-ratelimit-remaining-calls-per-second": "166.566667" + "X-Ms-Correlation-Request-Id": "70cd6840-dd60-48f4-9bb0-223009869205", + "x-ms-ratelimit-remaining-calls-per-second": "165.516667" }, "ResponseBody": { "access_token": "Sanitized" @@ -249,7 +220,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "40ac30a870e3400a6f530fde393ad924", "x-ms-return-client-request-id": "true" }, @@ -265,7 +236,7 @@ "Connection": "keep-alive", "Content-Length": "80", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:18 GMT", + "Date": "Thu, 06 May 2021 00:54:00 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -273,7 +244,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "173f485b-5e3c-4c14-925d-fabde89cf50a" + "X-Ms-Correlation-Request-Id": "9f05c46e-58b4-4cf2-918e-9a07998fe4c8" }, "ResponseBody": { "errors": [ diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteTagAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteTagAsync.json index 95d14a32c868..9f3d8b35e877 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteTagAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteTagAsync.json @@ -5,8 +5,7 @@ "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "faa288ebbfcff4846a39d81f6e7264e9", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:07 GMT", + "Date": "Thu, 06 May 2021 00:54:46 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f8c3fc45-dda2-4d6f-8620-7562d9f05883" + "X-Ms-Correlation-Request-Id": "b9262d22-712c-4d54-9793-e31cb7a48527" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "cb0158b0380fdce888a14c61d6a4cb38", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:07 GMT", + "Date": "Thu, 06 May 2021 00:54:47 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "44bf6eb1-7be7-48ec-ae4f-6d28ba0ff16b", - "x-ms-ratelimit-remaining-calls-per-second": "165.2" + "X-Ms-Correlation-Request-Id": "bd38b14b-610c-4edf-8733-85813ea1c24c", + "x-ms-ratelimit-remaining-calls-per-second": "165.1" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0OTF9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "132", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "144d755c53fcb8ad329e647cf1078185", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:07 GMT", + "Date": "Thu, 06 May 2021 00:54:47 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "1a61114e-c8b7-4d8c-8bd2-0cba6e966dc4", - "x-ms-ratelimit-remaining-calls-per-second": "165.183333" + "X-Ms-Correlation-Request-Id": "a206763c-7d4f-49de-9d4f-357d08a951de", + "x-ms-ratelimit-remaining-calls-per-second": "165.083333" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "faa288ebbfcff4846a39d81f6e7264e9", "x-ms-return-client-request-id": "true" }, @@ -124,7 +123,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Fri, 23 Apr 2021 18:34:08 GMT", + "Date": "Thu, 06 May 2021 00:54:47 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,10 +132,10 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "faa288ebbfcff4846a39d81f6e7264e9", - "X-Ms-Correlation-Request-Id": "2e02aaab-457d-4f8e-9842-2c7bc6c56a52", + "X-Ms-Correlation-Request-Id": "05480d40-6b9f-4c9b-9f80-2eb306a7ebcf", "X-Ms-Int-Docker-Content-Digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "e8b46797-e264-49b0-9377-b6c9cd39274c" + "X-Ms-Request-Id": "86d10cea-e06f-42e6-8462-c993e39c95fe" }, "ResponseBody": [] }, @@ -145,8 +144,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "d5e0bd9ea95bb22f9fc6722d72231dc5", "x-ms-return-client-request-id": "true" }, @@ -162,16 +160,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:13 GMT", + "Date": "Thu, 06 May 2021 00:54:52 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d0977a51-f40a-4bcd-bf48-8b494534967b" + "X-Ms-Correlation-Request-Id": "27a1d77f-b04f-4199-9ba5-a251e40daf60" }, "ResponseBody": { "errors": [ @@ -189,33 +187,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "f8c3a06e4f245cedab489970d46cea80", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:13 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e70a2376-47da-428f-aa6f-fb2689a5a437", - "x-ms-ratelimit-remaining-calls-per-second": "165.166667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -223,8 +194,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "19c3c720f5c4b3dc469a7535e17f460f", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "f8c3a06e4f245cedab489970d46cea80", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -232,12 +203,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:13 GMT", + "Date": "Thu, 06 May 2021 00:54:52 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "7d0950d6-e3d3-40e8-8cf8-e618be6d084a", - "x-ms-ratelimit-remaining-calls-per-second": "165.15" + "X-Ms-Correlation-Request-Id": "7783b7bd-5912-48da-9c67-8d3d8b4204e8", + "x-ms-ratelimit-remaining-calls-per-second": "165.066667" }, "ResponseBody": { "access_token": "Sanitized" @@ -249,7 +220,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "d5e0bd9ea95bb22f9fc6722d72231dc5", "x-ms-return-client-request-id": "true" }, @@ -265,7 +236,7 @@ "Connection": "keep-alive", "Content-Length": "80", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:13 GMT", + "Date": "Thu, 06 May 2021 00:54:52 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -273,7 +244,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d832e424-6b6f-41bb-995b-073094a68ac6" + "X-Ms-Correlation-Request-Id": "ba9833c9-df7a-4f93-b1af-8ebf01675541" }, "ResponseBody": { "errors": [ diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestListProperties.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestListProperties.json index 37d96875ec83..c32e4417cac9 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestListProperties.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestListProperties.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "222825031632059678ec0d78e8145636", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:27 GMT", + "Date": "Thu, 06 May 2021 00:53:10 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "9460e732-94bd-48f8-a763-c5b872a173fc" + "X-Ms-Correlation-Request-Id": "a7330fb3-6bb3-4060-89ec-eaaf10b9426f" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1b5298b7fc4c11e7eea8b27f396c4945", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:27 GMT", + "Date": "Thu, 06 May 2021 00:53:10 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "169c4a14-603c-44de-8aba-6d777165894b", - "x-ms-ratelimit-remaining-calls-per-second": "164.966667" + "X-Ms-Correlation-Request-Id": "62bc4176-9220-48d0-829e-1892731f8e1d", + "x-ms-ratelimit-remaining-calls-per-second": "165.683333" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzOTB9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "c91dd680136a9359cd3a62e689f0f53c", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:27 GMT", + "Date": "Thu, 06 May 2021 00:53:10 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f29ddefd-b4f4-4944-a83c-332ad01e5efd", - "x-ms-ratelimit-remaining-calls-per-second": "164.95" + "X-Ms-Correlation-Request-Id": "58492648-d1b7-4b79-b304-2cdeec28eb91", + "x-ms-ratelimit-remaining-calls-per-second": "165.666667" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "222825031632059678ec0d78e8145636", "x-ms-return-client-request-id": "true" }, @@ -123,9 +122,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "387", + "Content-Length": "389", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:27 GMT", + "Date": "Thu, 06 May 2021 00:53:10 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "47e7b7ed-636e-4180-92ba-d2c2b95426fa" + "X-Ms-Correlation-Request-Id": "0523c498-55a3-4a11-9c4a-386d6593fedf" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,8 +140,8 @@ "tag": { "name": "v1", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:21.182776Z", - "lastUpdateTime": "2021-04-23T18:32:21.182776Z", + "createdTime": "2021-05-06T00:53:02.5770036Z", + "lastUpdateTime": "2021-05-06T00:53:02.5770036Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -158,8 +157,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "72b8d147083c07723e17338a6416cc0b", "x-ms-return-client-request-id": "true" }, @@ -175,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:27 GMT", + "Date": "Thu, 06 May 2021 00:53:11 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "4953e5c2-aa95-4e84-9cdc-6fe84cb0032e" + "X-Ms-Correlation-Request-Id": "92a2d35c-cb6b-4fb0-b8f1-ed330df836b9" }, "ResponseBody": { "errors": [ @@ -202,33 +200,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "12f7c7a28cf6a4cc3fbf4e11990087fd", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:27 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "cfad97c1-f842-48ac-aadf-7822f7336fe9", - "x-ms-ratelimit-remaining-calls-per-second": "164.933333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -236,8 +207,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "683775b3d7b4770863168b52dfcf2fb6", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "12f7c7a28cf6a4cc3fbf4e11990087fd", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -245,12 +216,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:28 GMT", + "Date": "Thu, 06 May 2021 00:53:11 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "47017552-741a-4b74-90df-3aeac5d12510", - "x-ms-ratelimit-remaining-calls-per-second": "164.916667" + "X-Ms-Correlation-Request-Id": "9437f18a-2a4e-4132-8a74-6866a39dfca2", + "x-ms-ratelimit-remaining-calls-per-second": "165.65" }, "ResponseBody": { "access_token": "Sanitized" @@ -262,7 +233,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "72b8d147083c07723e17338a6416cc0b", "x-ms-return-client-request-id": "true" }, @@ -276,9 +247,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1596", + "Content-Length": "1599", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:28 GMT", + "Date": "Thu, 06 May 2021 00:53:11 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -286,16 +257,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "049a6143-c55c-407b-9adf-bca68c5afdfe" + "X-Ms-Correlation-Request-Id": "a304db04-2dd9-4d52-a6a5-df93780c14e8" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.0014168Z", - "lastUpdateTime": "2021-04-23T18:32:20.0014168Z", + "imageSize": 5325, + "createdTime": "2021-05-06T00:53:01.3797231Z", + "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "latest", diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestListPropertiesAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestListPropertiesAsync.json index 0c0a57cbe718..f0168a38a0fa 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestListPropertiesAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestListPropertiesAsync.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "d5d3fb5602c44e856d8b79e5b3400e0f", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:22 GMT", + "Date": "Thu, 06 May 2021 00:54:03 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "bf9f648c-89d6-4238-813b-4b907b43081b" + "X-Ms-Correlation-Request-Id": "d47d86cd-c858-491b-a32b-0aa0c07937dd" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "09cc8a1611381994b262bcbc8bc72732", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:22 GMT", + "Date": "Thu, 06 May 2021 00:54:03 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "2b505644-091f-4e92-bbc6-4c042b9078da", - "x-ms-ratelimit-remaining-calls-per-second": "166.25" + "X-Ms-Correlation-Request-Id": "66ca46f6-b549-4d99-b801-ee88372df146", + "x-ms-ratelimit-remaining-calls-per-second": "165.266667" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0NDJ9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "828839e614e9a68e1c68f66c1324b5f8", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:22 GMT", + "Date": "Thu, 06 May 2021 00:54:03 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d688bf07-b30c-41de-94db-50c1d0287f21", - "x-ms-ratelimit-remaining-calls-per-second": "166.233333" + "X-Ms-Correlation-Request-Id": "3ed76c9c-fe2b-476f-a753-049249dc95a7", + "x-ms-ratelimit-remaining-calls-per-second": "165.25" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "d5d3fb5602c44e856d8b79e5b3400e0f", "x-ms-return-client-request-id": "true" }, @@ -123,9 +122,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "387", + "Content-Length": "389", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:22 GMT", + "Date": "Thu, 06 May 2021 00:54:03 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "660ce8a1-6de3-4739-8c78-de7cd5571f1d" + "X-Ms-Correlation-Request-Id": "86f8bcdc-143b-47fe-b894-810283d040fd" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,8 +140,8 @@ "tag": { "name": "v1", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:21.182776Z", - "lastUpdateTime": "2021-04-23T18:32:21.182776Z", + "createdTime": "2021-05-06T00:53:02.5770036Z", + "lastUpdateTime": "2021-05-06T00:53:02.5770036Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -158,8 +157,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "adc8004aa0fd456b67ba226145c8c3a5", "x-ms-return-client-request-id": "true" }, @@ -175,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:22 GMT", + "Date": "Thu, 06 May 2021 00:54:03 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5c4ce51c-569f-45f5-9552-6ddfaa8f3c7c" + "X-Ms-Correlation-Request-Id": "6f700a34-bc54-42ee-8b72-66f94db9f760" }, "ResponseBody": { "errors": [ @@ -202,33 +200,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "79ff47638bb70126fc25edd01a28068e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:23 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "7cf55c14-4f70-4138-9d01-5615b0553146", - "x-ms-ratelimit-remaining-calls-per-second": "166.216667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -236,8 +207,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "8b72c3ad7aff4534ce431b2ff22c6053", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "79ff47638bb70126fc25edd01a28068e", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -245,12 +216,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:23 GMT", + "Date": "Thu, 06 May 2021 00:54:03 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "89585df6-ce90-4c45-bc2a-d6925161a0b0", - "x-ms-ratelimit-remaining-calls-per-second": "166.2" + "X-Ms-Correlation-Request-Id": "fe5ff9fb-b6a1-492c-ab3d-e1be12a36cd1", + "x-ms-ratelimit-remaining-calls-per-second": "165.233333" }, "ResponseBody": { "access_token": "Sanitized" @@ -262,7 +233,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "adc8004aa0fd456b67ba226145c8c3a5", "x-ms-return-client-request-id": "true" }, @@ -276,9 +247,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1605", + "Content-Length": "1608", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:23 GMT", + "Date": "Thu, 06 May 2021 00:54:03 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -286,16 +257,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f276a321-b6f6-4d72-b5ab-065cc35ffb7f" + "X-Ms-Correlation-Request-Id": "5997c84c-1533-4b6c-9f4f-5e84679a28e7" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.0014168Z", - "lastUpdateTime": "2021-04-23T18:32:20.0014168Z", + "imageSize": 5325, + "createdTime": "2021-05-06T00:53:01.3797231Z", + "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "latest", diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestProperties.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestProperties.json index 6131abd69e88..ccb8e113a16f 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestProperties.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestProperties.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "6f01065e0bf9449bd549381cd6abcf37", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:28 GMT", + "Date": "Thu, 06 May 2021 00:53:11 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "0f8183d5-4fd6-4164-b63a-b165fd62b388" + "X-Ms-Correlation-Request-Id": "f6eff7bb-1aa0-4e4a-81c6-b39f9054e3d8" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a8318d7c2114a724a507a250059177f9", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:28 GMT", + "Date": "Thu, 06 May 2021 00:53:11 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "2cd23fb4-6054-4c63-a665-9169148f5e3f", - "x-ms-ratelimit-remaining-calls-per-second": "164.9" + "X-Ms-Correlation-Request-Id": "6f1a4799-adce-4c3e-b007-57523751fbdb", + "x-ms-ratelimit-remaining-calls-per-second": "165.633333" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzOTF9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "cfbfddead4fdc23a889df8b1d69b2f07", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:28 GMT", + "Date": "Thu, 06 May 2021 00:53:11 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "9d7e19ed-bafc-4b25-b6e9-0eea4a21b8e1", - "x-ms-ratelimit-remaining-calls-per-second": "164.883333" + "X-Ms-Correlation-Request-Id": "b53fa92b-b521-4df6-9bee-4c0a90527a78", + "x-ms-ratelimit-remaining-calls-per-second": "165.616667" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "6f01065e0bf9449bd549381cd6abcf37", "x-ms-return-client-request-id": "true" }, @@ -123,9 +122,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "387", + "Content-Length": "389", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:28 GMT", + "Date": "Thu, 06 May 2021 00:53:11 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "0d1fe145-dd20-46f9-88dd-8a5fedb3da52" + "X-Ms-Correlation-Request-Id": "913abd46-a8db-433f-8208-81b53aaf943a" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,8 +140,8 @@ "tag": { "name": "v1", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:21.182776Z", - "lastUpdateTime": "2021-04-23T18:32:21.182776Z", + "createdTime": "2021-05-06T00:53:02.5770036Z", + "lastUpdateTime": "2021-05-06T00:53:02.5770036Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -158,8 +157,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "4aaa9ccd334b3cd8e159caf2684b3e43", "x-ms-return-client-request-id": "true" }, @@ -175,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:28 GMT", + "Date": "Thu, 06 May 2021 00:53:11 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "086cad5c-e2c5-46df-9656-2ac27f094962" + "X-Ms-Correlation-Request-Id": "6f99a43c-916e-4b58-a940-444ef9980697" }, "ResponseBody": { "errors": [ @@ -202,33 +200,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "f9323fd2ffeca839526f1f762972d009", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:28 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "11228ece-902c-4d2e-8e49-0137f9ac205c", - "x-ms-ratelimit-remaining-calls-per-second": "164.866667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -236,8 +207,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "69829bd82ce7b7ad0482eea40948593d", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "f9323fd2ffeca839526f1f762972d009", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -245,12 +216,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:28 GMT", + "Date": "Thu, 06 May 2021 00:53:11 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d4dabb3d-11b4-4a3a-a6b9-b7caa6a10c23", - "x-ms-ratelimit-remaining-calls-per-second": "164.85" + "X-Ms-Correlation-Request-Id": "95e19004-353d-4c3b-8451-8bc53f285265", + "x-ms-ratelimit-remaining-calls-per-second": "165.6" }, "ResponseBody": { "access_token": "Sanitized" @@ -262,7 +233,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "4aaa9ccd334b3cd8e159caf2684b3e43", "x-ms-return-client-request-id": "true" }, @@ -276,9 +247,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1596", + "Content-Length": "1599", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:28 GMT", + "Date": "Thu, 06 May 2021 00:53:11 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -286,16 +257,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "3b49e45f-6a4a-4da0-8371-6005ef0be006" + "X-Ms-Correlation-Request-Id": "34ecbb9a-df16-47ae-b712-be9766163bd1" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.0014168Z", - "lastUpdateTime": "2021-04-23T18:32:20.0014168Z", + "imageSize": 5325, + "createdTime": "2021-05-06T00:53:01.3797231Z", + "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "latest", @@ -365,9 +336,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "97dfb55e3569cd1a6202f7dc1361136e", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "69829bd82ce7b7ad0482eea40948593d", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -382,16 +352,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:28 GMT", + "Date": "Thu, 06 May 2021 00:53:11 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f2b61d6f-a5d3-45ae-bc02-56c22b55699a" + "X-Ms-Correlation-Request-Id": "94e6712e-7f6a-4ff4-a354-f004ebc7f576" }, "ResponseBody": { "errors": [ @@ -409,33 +379,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "cd1ac088d5c8a65c917af46a11949e0a", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:29 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "c5510299-fa80-480c-b892-f5906baa0ef7", - "x-ms-ratelimit-remaining-calls-per-second": "164.833333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -443,8 +386,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "7318e2163993a2a080b406e434d1a3a3", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "97dfb55e3569cd1a6202f7dc1361136e", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -452,12 +395,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:29 GMT", + "Date": "Thu, 06 May 2021 00:53:11 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3fa044a5-df42-4aa9-bb81-e1133ef811f3", - "x-ms-ratelimit-remaining-calls-per-second": "164.816667" + "X-Ms-Correlation-Request-Id": "9a94355e-db52-4b88-b7b0-748d9c181fdd", + "x-ms-ratelimit-remaining-calls-per-second": "165.583333" }, "ResponseBody": { "access_token": "Sanitized" @@ -469,8 +412,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "97dfb55e3569cd1a6202f7dc1361136e", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "69829bd82ce7b7ad0482eea40948593d", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -483,9 +426,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "828", + "Content-Length": "830", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:29 GMT", + "Date": "Thu, 06 May 2021 00:53:12 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -493,16 +436,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "9b8e6359-bd38-47f8-a76a-a5d79c65f860" + "X-Ms-Correlation-Request-Id": "7f17f2ec-d58d-47d0-884e-08757530084c" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.3113299Z", - "lastUpdateTime": "2021-04-23T18:32:20.3113299Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:53:02.2025743Z", + "lastUpdateTime": "2021-05-06T00:53:02.2025743Z", "architecture": "arm64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -511,7 +454,7 @@ "writeEnabled": true, "readEnabled": true, "listEnabled": true, - "quarantineDetails": "{\u0022state\u0022:\u0022Scan InProgress\u0022,\u0022link\u0022:\u0022https://aka.ms/test\u0022,\u0022scanner\u0022:\u0022Azure Security Monitoring-Qualys Scanner\u0022,\u0022result\u0022:{\u0022version\u0022:\u00224/23/2021 6:32:21 PM\u0022,\u0022summary\u0022:[{\u0022severity\u0022:\u0022High\u0022,\u0022count\u0022:0},{\u0022severity\u0022:\u0022Medium\u0022,\u0022count\u0022:0},{\u0022severity\u0022:\u0022Low\u0022,\u0022count\u0022:0}]}}", + "quarantineDetails": "{\u0022state\u0022:\u0022Scan InProgress\u0022,\u0022link\u0022:\u0022https://aka.ms/test\u0022,\u0022scanner\u0022:\u0022Azure Security Monitoring-Qualys Scanner\u0022,\u0022result\u0022:{\u0022version\u0022:\u00225/6/2021 12:53:03 AM\u0022,\u0022summary\u0022:[{\u0022severity\u0022:\u0022High\u0022,\u0022count\u0022:0},{\u0022severity\u0022:\u0022Medium\u0022,\u0022count\u0022:0},{\u0022severity\u0022:\u0022Low\u0022,\u0022count\u0022:0}]}}", "quarantineState": "Passed" } } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestPropertiesAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestPropertiesAsync.json index 62fd72cef88b..c468556546c0 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestPropertiesAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestPropertiesAsync.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "cfd37eafb80dec61935fb235c2c25c57", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:23 GMT", + "Date": "Thu, 06 May 2021 00:54:03 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "49209b1b-980f-4213-954e-06dfd9370889" + "X-Ms-Correlation-Request-Id": "c5a59851-1d07-464b-9b9c-af6a0b0754d3" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f44f1323d1c23e0e2eff14a51d8210ae", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:23 GMT", + "Date": "Thu, 06 May 2021 00:54:04 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "651ea9ff-b081-4363-9325-5440a5319139", - "x-ms-ratelimit-remaining-calls-per-second": "166.183333" + "X-Ms-Correlation-Request-Id": "f3619854-4a66-4f10-afa3-93a7561d1d43", + "x-ms-ratelimit-remaining-calls-per-second": "165.216667" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0NDN9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "380cc10264623064d3f47ec782d9baa9", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:23 GMT", + "Date": "Thu, 06 May 2021 00:54:04 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e23a2ce9-2532-4b57-a464-26fd1436c317", - "x-ms-ratelimit-remaining-calls-per-second": "166.166667" + "X-Ms-Correlation-Request-Id": "2f54e8c7-3ce3-4d77-8edf-a3e50bfc0b2e", + "x-ms-ratelimit-remaining-calls-per-second": "165.2" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "cfd37eafb80dec61935fb235c2c25c57", "x-ms-return-client-request-id": "true" }, @@ -123,9 +122,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "387", + "Content-Length": "389", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:23 GMT", + "Date": "Thu, 06 May 2021 00:54:04 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6eec2bae-5d8b-4804-99f2-9ad413583f5e" + "X-Ms-Correlation-Request-Id": "9047aeaa-148a-44f8-8b52-c9042175a92f" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,8 +140,8 @@ "tag": { "name": "v1", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:21.182776Z", - "lastUpdateTime": "2021-04-23T18:32:21.182776Z", + "createdTime": "2021-05-06T00:53:02.5770036Z", + "lastUpdateTime": "2021-05-06T00:53:02.5770036Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -158,8 +157,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "62cb8cbdbe0dde1b6f95a00ea4bccf11", "x-ms-return-client-request-id": "true" }, @@ -175,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:23 GMT", + "Date": "Thu, 06 May 2021 00:54:04 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d6d16947-986c-4528-95c0-e265ad51e22a" + "X-Ms-Correlation-Request-Id": "fb3b51bf-a998-4798-b2d1-bd676b12f87c" }, "ResponseBody": { "errors": [ @@ -202,33 +200,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "0133034f23b6bff4af1f21ce5347bc55", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:23 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "1e052880-6185-4e05-a8ad-70864dad6ec5", - "x-ms-ratelimit-remaining-calls-per-second": "166.15" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -236,8 +207,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "90e86a44adb643a1a52ec8ccc3558b17", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "0133034f23b6bff4af1f21ce5347bc55", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -245,12 +216,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:23 GMT", + "Date": "Thu, 06 May 2021 00:54:04 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3e56276e-b363-486f-97a0-2c6f04b02afd", - "x-ms-ratelimit-remaining-calls-per-second": "166.133333" + "X-Ms-Correlation-Request-Id": "e3c94166-19b4-4e2d-9b1f-020f02c12049", + "x-ms-ratelimit-remaining-calls-per-second": "165.183333" }, "ResponseBody": { "access_token": "Sanitized" @@ -262,7 +233,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "62cb8cbdbe0dde1b6f95a00ea4bccf11", "x-ms-return-client-request-id": "true" }, @@ -276,9 +247,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1605", + "Content-Length": "1608", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:23 GMT", + "Date": "Thu, 06 May 2021 00:54:04 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -286,16 +257,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ceae68de-cf46-4417-8702-2716669e6979" + "X-Ms-Correlation-Request-Id": "7e654e67-371f-437f-84d1-7c41dad3a8e8" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.0014168Z", - "lastUpdateTime": "2021-04-23T18:32:20.0014168Z", + "imageSize": 5325, + "createdTime": "2021-05-06T00:53:01.3797231Z", + "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "latest", @@ -366,9 +337,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "7e776d25b8a699f3970cb3ee9d4d8a28", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "90e86a44adb643a1a52ec8ccc3558b17", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -383,16 +353,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:23 GMT", + "Date": "Thu, 06 May 2021 00:54:04 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "88e0cf13-171f-465b-91fe-73ee966578ec" + "X-Ms-Correlation-Request-Id": "f2620645-563e-4b28-b67a-3689a6d8b5f6" }, "ResponseBody": { "errors": [ @@ -410,33 +380,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "39ca4bd93ed3a15a62ef5b875b28fb59", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:24 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "0185a43c-b290-4f97-bf14-eac73239bd4b", - "x-ms-ratelimit-remaining-calls-per-second": "166.116667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -444,8 +387,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "e5a80a933dd08bae774ef8aafab2a657", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "7e776d25b8a699f3970cb3ee9d4d8a28", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -453,12 +396,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:24 GMT", + "Date": "Thu, 06 May 2021 00:54:04 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b99e874c-f6fe-452a-b36c-c7d7a28d9bba", - "x-ms-ratelimit-remaining-calls-per-second": "166.1" + "X-Ms-Correlation-Request-Id": "befd3e62-af07-4528-8756-7a79337a709d", + "x-ms-ratelimit-remaining-calls-per-second": "165.166667" }, "ResponseBody": { "access_token": "Sanitized" @@ -470,8 +413,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "7e776d25b8a699f3970cb3ee9d4d8a28", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "90e86a44adb643a1a52ec8ccc3558b17", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -484,9 +427,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "828", + "Content-Length": "830", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:24 GMT", + "Date": "Thu, 06 May 2021 00:54:04 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -494,16 +437,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "8ef110ce-d3c9-402c-8c01-d94d2e0941eb" + "X-Ms-Correlation-Request-Id": "f0f74395-6a3a-4e03-b1a0-4411a1402382" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.3113299Z", - "lastUpdateTime": "2021-04-23T18:32:20.3113299Z", + "imageSize": 525, + "createdTime": "2021-05-06T00:53:02.2025743Z", + "lastUpdateTime": "2021-05-06T00:53:02.2025743Z", "architecture": "arm64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -512,7 +455,7 @@ "writeEnabled": true, "readEnabled": true, "listEnabled": true, - "quarantineDetails": "{\u0022state\u0022:\u0022Scan InProgress\u0022,\u0022link\u0022:\u0022https://aka.ms/test\u0022,\u0022scanner\u0022:\u0022Azure Security Monitoring-Qualys Scanner\u0022,\u0022result\u0022:{\u0022version\u0022:\u00224/23/2021 6:33:07 PM\u0022,\u0022summary\u0022:[{\u0022severity\u0022:\u0022High\u0022,\u0022count\u0022:0},{\u0022severity\u0022:\u0022Medium\u0022,\u0022count\u0022:0},{\u0022severity\u0022:\u0022Low\u0022,\u0022count\u0022:0}]}}", + "quarantineDetails": "{\u0022state\u0022:\u0022Scan InProgress\u0022,\u0022link\u0022:\u0022https://aka.ms/test\u0022,\u0022scanner\u0022:\u0022Azure Security Monitoring-Qualys Scanner\u0022,\u0022result\u0022:{\u0022version\u0022:\u00225/6/2021 12:53:48 AM\u0022,\u0022summary\u0022:[{\u0022severity\u0022:\u0022High\u0022,\u0022count\u0022:0},{\u0022severity\u0022:\u0022Medium\u0022,\u0022count\u0022:0},{\u0022severity\u0022:\u0022Low\u0022,\u0022count\u0022:0}]}}", "quarantineState": "Passed" } } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagProperties.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagProperties.json index 0b22ee6b15c8..285d1c7b9c0c 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagProperties.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagProperties.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "cab9d508d52a540245a379d9addc475d", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:29 GMT", + "Date": "Thu, 06 May 2021 00:53:12 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ff587de7-3dfc-4ebd-b7f7-8dfd1611e3fc" + "X-Ms-Correlation-Request-Id": "6a54a863-824e-4e48-8a9a-60056d3136f8" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "95b5871dca0b0a8e967c86e9d1cc877c", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:29 GMT", + "Date": "Thu, 06 May 2021 00:53:12 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d357ea33-2408-499a-9336-82cc2ddf8624", - "x-ms-ratelimit-remaining-calls-per-second": "164.8" + "X-Ms-Correlation-Request-Id": "cc6f968e-f555-4609-b3d8-6c2ca1f95679", + "x-ms-ratelimit-remaining-calls-per-second": "165.566667" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzOTF9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "4e1ae8813702db62f3e5ce4b1e8cda72", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:29 GMT", + "Date": "Thu, 06 May 2021 00:53:12 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "08d8c470-a0e6-4314-92db-7cc4be56209d", - "x-ms-ratelimit-remaining-calls-per-second": "164.783333" + "X-Ms-Correlation-Request-Id": "4b7baffd-9eed-47ab-9418-825199b8bac6", + "x-ms-ratelimit-remaining-calls-per-second": "165.55" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "cab9d508d52a540245a379d9addc475d", "x-ms-return-client-request-id": "true" }, @@ -125,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:29 GMT", + "Date": "Thu, 06 May 2021 00:53:12 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "4393f409-d235-4139-a07b-af63542efb84" + "X-Ms-Correlation-Request-Id": "351840ad-887a-4c2f-b0b1-5284426d7545" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,8 +140,8 @@ "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagPropertiesAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagPropertiesAsync.json index cb3da460b78f..ae9f8216cf4e 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagPropertiesAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagPropertiesAsync.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "2f504c118ce8cc1fb00e46e43fadc240", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:24 GMT", + "Date": "Thu, 06 May 2021 00:54:04 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "9fda6b2b-6ae1-4b11-849e-9b61da8d7c40" + "X-Ms-Correlation-Request-Id": "32f8501c-c1f9-4c76-9fe9-b79158bfc6bc" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "2b81707b0fd0b3841b82ea8c3f0a81dd", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:24 GMT", + "Date": "Thu, 06 May 2021 00:54:05 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f07d68d8-68b2-4a2e-a2f5-efb756381e96", - "x-ms-ratelimit-remaining-calls-per-second": "166.083333" + "X-Ms-Correlation-Request-Id": "d08728a8-7a20-4441-9a68-c897b349fa06", + "x-ms-ratelimit-remaining-calls-per-second": "165.15" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0NDR9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "2a3d8d61c767d4103563ad38c585f0a4", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:24 GMT", + "Date": "Thu, 06 May 2021 00:54:05 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "131976ba-97e9-44a5-89c8-0260cd2f4c7d", - "x-ms-ratelimit-remaining-calls-per-second": "166.066667" + "X-Ms-Correlation-Request-Id": "1b4770da-3aa3-4d9c-81c5-5d16f7f134ce", + "x-ms-ratelimit-remaining-calls-per-second": "165.133333" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "2f504c118ce8cc1fb00e46e43fadc240", "x-ms-return-client-request-id": "true" }, @@ -125,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:24 GMT", + "Date": "Thu, 06 May 2021 00:54:05 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "cbc5ae74-1932-48d8-82cc-1421cf96695e" + "X-Ms-Correlation-Request-Id": "4bc60b20-7513-4547-8134-5ce51b5397e3" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,8 +140,8 @@ "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTags.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTags.json index 01f61526f286..7f6b856535e3 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTags.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTags.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "df415e1bdb8c2ee0daf17dd37dcdbc26", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:30 GMT", + "Date": "Thu, 06 May 2021 00:53:12 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ae946cd5-f172-4ea3-8eb3-0915df612389" + "X-Ms-Correlation-Request-Id": "3813b956-19cb-42b3-8296-a90487e1307f" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "9b5a5be425d4525c0406f63156d9a032", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:30 GMT", + "Date": "Thu, 06 May 2021 00:53:13 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "326ae3cb-9405-4bc2-af59-6ad6b97dd52f", - "x-ms-ratelimit-remaining-calls-per-second": "164.766667" + "X-Ms-Correlation-Request-Id": "5d86d169-bb3b-4f07-8c58-f6a7d1d776b2", + "x-ms-ratelimit-remaining-calls-per-second": "165.533333" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzOTJ9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "d2b8c00a6f812d409c376d385585e6cd", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:30 GMT", + "Date": "Thu, 06 May 2021 00:53:13 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "bd44a9ec-6ac1-4f65-b563-7a14b764a146", - "x-ms-ratelimit-remaining-calls-per-second": "164.75" + "X-Ms-Correlation-Request-Id": "f379b666-58bb-4a8f-b323-af652d0bcf7c", + "x-ms-ratelimit-remaining-calls-per-second": "165.516667" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "df415e1bdb8c2ee0daf17dd37dcdbc26", "x-ms-return-client-request-id": "true" }, @@ -125,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:30 GMT", + "Date": "Thu, 06 May 2021 00:53:13 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "e417e0a7-466c-4e37-850a-cb2a54bd1f91" + "X-Ms-Correlation-Request-Id": "f5570630-c681-4b8e-9d6a-c08bd10627d7" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,8 +140,8 @@ "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -158,8 +157,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f7265accf0a3f61d02efdb86e5aed700", "x-ms-return-client-request-id": "true" }, @@ -175,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:30 GMT", + "Date": "Thu, 06 May 2021 00:53:13 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "3f3686c3-bdca-40f7-8265-91de982f2394" + "X-Ms-Correlation-Request-Id": "1212b854-c750-484b-b78f-4d2e74c9649d" }, "ResponseBody": { "errors": [ @@ -202,33 +200,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "bcc84a51ea1575a41b2dfe9cb824fd7e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:30 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "08da88d0-d9e0-4764-802a-7b52b08e4c68", - "x-ms-ratelimit-remaining-calls-per-second": "164.733333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -236,8 +207,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "fc64291fa8b31a8fa3c1cf9294b947ee", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "bcc84a51ea1575a41b2dfe9cb824fd7e", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -245,12 +216,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:30 GMT", + "Date": "Thu, 06 May 2021 00:53:13 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3fce061c-20fd-43a7-98b1-bc749590dc8b", - "x-ms-ratelimit-remaining-calls-per-second": "164.716667" + "X-Ms-Correlation-Request-Id": "f3082fab-21b8-412f-a06d-070bfca8baea", + "x-ms-ratelimit-remaining-calls-per-second": "165.5" }, "ResponseBody": { "access_token": "Sanitized" @@ -262,7 +233,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f7265accf0a3f61d02efdb86e5aed700", "x-ms-return-client-request-id": "true" }, @@ -278,7 +249,7 @@ "Connection": "keep-alive", "Content-Length": "1630", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:30 GMT", + "Date": "Thu, 06 May 2021 00:53:13 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -286,7 +257,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d194fcb3-8b76-4e1c-baa5-c5c98c4183f9" + "X-Ms-Correlation-Request-Id": "92cfed7e-aaed-49b1-889d-a7a3e1e73935" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -295,8 +266,8 @@ { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -308,8 +279,8 @@ { "name": "v1", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:21.182776Z", - "lastUpdateTime": "2021-04-23T18:32:21.182776Z", + "createdTime": "2021-05-06T00:53:02.5770036Z", + "lastUpdateTime": "2021-05-06T00:53:02.5770036Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -321,8 +292,8 @@ { "name": "v2", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.9846021Z", - "lastUpdateTime": "2021-04-23T18:32:20.9846021Z", + "createdTime": "2021-05-06T00:53:02.722304Z", + "lastUpdateTime": "2021-05-06T00:53:02.722304Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -334,8 +305,8 @@ { "name": "v3", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.6929751Z", - "lastUpdateTime": "2021-04-23T18:32:20.6929751Z", + "createdTime": "2021-05-06T00:53:02.4515253Z", + "lastUpdateTime": "2021-05-06T00:53:02.4515253Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -347,8 +318,8 @@ { "name": "v4", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.5539173Z", - "lastUpdateTime": "2021-04-23T18:32:20.5539173Z", + "createdTime": "2021-05-06T00:53:02.5327704Z", + "lastUpdateTime": "2021-05-06T00:53:02.5327704Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsAsync.json index 1148f376c889..f8138c61ba5c 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsAsync.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "33b1bdc5a59a10ae68a8ba197ddda3bd", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:25 GMT", + "Date": "Thu, 06 May 2021 00:54:05 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "11aa51bf-2a1f-4e5b-a762-4a34fe918439" + "X-Ms-Correlation-Request-Id": "a7cd03f4-c10c-4b36-a5b8-cac9c62ffa69" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "57f70892f25af9bd1d047d8b2672cdf0", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:25 GMT", + "Date": "Thu, 06 May 2021 00:54:05 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f521b646-6c1b-4624-bd3d-afc91f9da3ff", - "x-ms-ratelimit-remaining-calls-per-second": "166.05" + "X-Ms-Correlation-Request-Id": "22c11e08-c222-4e7c-abfc-5cce4b6e5e33", + "x-ms-ratelimit-remaining-calls-per-second": "165.116667" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0NDR9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "ca05bcbb6f957c6d16fb2b00e6d762be", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:25 GMT", + "Date": "Thu, 06 May 2021 00:54:05 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "71288926-1973-4d66-97fe-7b7ebabd8838", - "x-ms-ratelimit-remaining-calls-per-second": "166.033333" + "X-Ms-Correlation-Request-Id": "d213a247-069d-4d15-89a7-2f5aa75530b0", + "x-ms-ratelimit-remaining-calls-per-second": "165.1" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "33b1bdc5a59a10ae68a8ba197ddda3bd", "x-ms-return-client-request-id": "true" }, @@ -125,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:25 GMT", + "Date": "Thu, 06 May 2021 00:54:05 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d9aeb5c9-5856-4d45-ab03-49b93d9e3885" + "X-Ms-Correlation-Request-Id": "7d971921-ec4f-4e15-902a-b901a008bfef" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,8 +140,8 @@ "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -158,8 +157,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "9aeb23c40258d269ffb816962722e9f6", "x-ms-return-client-request-id": "true" }, @@ -175,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:25 GMT", + "Date": "Thu, 06 May 2021 00:54:05 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "30edff04-985d-49da-9645-7e5ce7ebb78f" + "X-Ms-Correlation-Request-Id": "c164c52c-59be-4938-9b38-75ddcb38d32e" }, "ResponseBody": { "errors": [ @@ -202,33 +200,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "c05dc9dbd8d722279a7a415ec6bd1345", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:25 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "2e25af9e-732b-42a0-9a69-f222ee7dee57", - "x-ms-ratelimit-remaining-calls-per-second": "166.016667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -236,8 +207,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "03c7bfa23286b9985332cadd58d754f4", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "c05dc9dbd8d722279a7a415ec6bd1345", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -245,12 +216,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:25 GMT", + "Date": "Thu, 06 May 2021 00:54:05 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "80c29e9b-1f9c-46c0-95fb-2957a45dc398", - "x-ms-ratelimit-remaining-calls-per-second": "166" + "X-Ms-Correlation-Request-Id": "175003d6-4016-4b5f-95ce-34a482bae5f8", + "x-ms-ratelimit-remaining-calls-per-second": "165.083333" }, "ResponseBody": { "access_token": "Sanitized" @@ -262,7 +233,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "9aeb23c40258d269ffb816962722e9f6", "x-ms-return-client-request-id": "true" }, @@ -278,7 +249,7 @@ "Connection": "keep-alive", "Content-Length": "1943", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:25 GMT", + "Date": "Thu, 06 May 2021 00:54:05 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -286,7 +257,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "91f5da69-6b8a-4b04-9232-913a833ed1c0" + "X-Ms-Correlation-Request-Id": "fadd33fe-8594-4df9-9e37-6417f6bc213c" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -295,8 +266,8 @@ { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -308,8 +279,8 @@ { "name": "newest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:34.4042657Z", - "lastUpdateTime": "2021-04-23T18:32:34.4042657Z", + "createdTime": "2021-05-06T00:53:18.1963616Z", + "lastUpdateTime": "2021-05-06T00:53:18.1963616Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -321,8 +292,8 @@ { "name": "v1", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:21.182776Z", - "lastUpdateTime": "2021-04-23T18:32:21.182776Z", + "createdTime": "2021-05-06T00:53:02.5770036Z", + "lastUpdateTime": "2021-05-06T00:53:02.5770036Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -334,8 +305,8 @@ { "name": "v2", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.9846021Z", - "lastUpdateTime": "2021-04-23T18:32:20.9846021Z", + "createdTime": "2021-05-06T00:53:02.722304Z", + "lastUpdateTime": "2021-05-06T00:53:02.722304Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -347,8 +318,8 @@ { "name": "v3", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.6929751Z", - "lastUpdateTime": "2021-04-23T18:32:20.6929751Z", + "createdTime": "2021-05-06T00:53:02.4515253Z", + "lastUpdateTime": "2021-05-06T00:53:02.4515253Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -360,8 +331,8 @@ { "name": "v4", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.5539173Z", - "lastUpdateTime": "2021-04-23T18:32:20.5539173Z", + "createdTime": "2021-05-06T00:53:02.5327704Z", + "lastUpdateTime": "2021-05-06T00:53:02.5327704Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrdered.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrdered.json index fd78b806fe1f..23b405a77894 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrdered.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrdered.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "07927d5f5d387f6e72baeed4e326c49b", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:41 GMT", + "Date": "Thu, 06 May 2021 00:53:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "20c92360-3fef-454e-b56d-820b8cc2eefb" + "X-Ms-Correlation-Request-Id": "432b1253-7416-463d-84fc-097531692386" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0aa114d26c796cbd543a303848fca261", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:42 GMT", + "Date": "Thu, 06 May 2021 00:53:24 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "399f7005-b607-4d7f-8382-4be493354a2b", - "x-ms-ratelimit-remaining-calls-per-second": "164.683333" + "X-Ms-Correlation-Request-Id": "dd658f83-1f3b-430d-b9d3-d00d839b7bac", + "x-ms-ratelimit-remaining-calls-per-second": "164.966667" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0MDN9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "8a25766ca8e4a91174ffff30c5ecf726", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:42 GMT", + "Date": "Thu, 06 May 2021 00:53:24 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "42683e74-732a-41fc-86a6-d82b02881066", - "x-ms-ratelimit-remaining-calls-per-second": "164.666667" + "X-Ms-Correlation-Request-Id": "b933114f-7086-4bf6-9b77-b8199abad277", + "x-ms-ratelimit-remaining-calls-per-second": "164.95" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "07927d5f5d387f6e72baeed4e326c49b", "x-ms-return-client-request-id": "true" }, @@ -125,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:42 GMT", + "Date": "Thu, 06 May 2021 00:53:24 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d0c79aff-a215-4553-98aa-9b8dd2ef35cf" + "X-Ms-Correlation-Request-Id": "43e679b6-f011-4870-aa34-4aaae81c0563" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,8 +140,8 @@ "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -158,8 +157,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "04eac27c4b1cf22dbf25b2fe2c353675", "x-ms-return-client-request-id": "true" }, @@ -175,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:42 GMT", + "Date": "Thu, 06 May 2021 00:53:24 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "fc9d7b10-3dea-44f2-9b2a-05acfbea0cb9" + "X-Ms-Correlation-Request-Id": "99f220ad-c93b-4675-aa8e-9b0cb8f3aa32" }, "ResponseBody": { "errors": [ @@ -202,33 +200,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "6d688d183a0129b603f896796d8da768", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:42 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "ba92ac45-222b-459e-bde9-b4747aff3505", - "x-ms-ratelimit-remaining-calls-per-second": "164.65" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -236,8 +207,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "86bc0a429d1120444832cbbff5137d3e", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "6d688d183a0129b603f896796d8da768", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -245,12 +216,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:42 GMT", + "Date": "Thu, 06 May 2021 00:53:24 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "bc69c6b4-20d9-4663-8d08-db7cbe053261", - "x-ms-ratelimit-remaining-calls-per-second": "164.633333" + "X-Ms-Correlation-Request-Id": "b1197598-cc95-44ca-9775-fd4d9d466e72", + "x-ms-ratelimit-remaining-calls-per-second": "164.933333" }, "ResponseBody": { "access_token": "Sanitized" @@ -262,7 +233,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "04eac27c4b1cf22dbf25b2fe2c353675", "x-ms-return-client-request-id": "true" }, @@ -278,7 +249,7 @@ "Connection": "keep-alive", "Content-Length": "1943", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:42 GMT", + "Date": "Thu, 06 May 2021 00:53:24 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -286,7 +257,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "79196138-e697-4fba-bcc0-4febbcd80b5f" + "X-Ms-Correlation-Request-Id": "a4d65ac4-3d06-45ca-ad66-d2dfdfc7945e" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -295,8 +266,8 @@ { "name": "newest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:34.4042657Z", - "lastUpdateTime": "2021-04-23T18:32:34.4042657Z", + "createdTime": "2021-05-06T00:53:18.1963616Z", + "lastUpdateTime": "2021-05-06T00:53:18.1963616Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -306,10 +277,10 @@ } }, { - "name": "v1", + "name": "v2", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:21.182776Z", - "lastUpdateTime": "2021-04-23T18:32:21.182776Z", + "createdTime": "2021-05-06T00:53:02.722304Z", + "lastUpdateTime": "2021-05-06T00:53:02.722304Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -319,10 +290,10 @@ } }, { - "name": "v2", + "name": "v1", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.9846021Z", - "lastUpdateTime": "2021-04-23T18:32:20.9846021Z", + "createdTime": "2021-05-06T00:53:02.5770036Z", + "lastUpdateTime": "2021-05-06T00:53:02.5770036Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -332,10 +303,10 @@ } }, { - "name": "v3", + "name": "v4", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.6929751Z", - "lastUpdateTime": "2021-04-23T18:32:20.6929751Z", + "createdTime": "2021-05-06T00:53:02.5327704Z", + "lastUpdateTime": "2021-05-06T00:53:02.5327704Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -345,10 +316,10 @@ } }, { - "name": "v4", + "name": "v3", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.5539173Z", - "lastUpdateTime": "2021-04-23T18:32:20.5539173Z", + "createdTime": "2021-05-06T00:53:02.4515253Z", + "lastUpdateTime": "2021-05-06T00:53:02.4515253Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -360,8 +331,8 @@ { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrderedAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrderedAsync.json index de525bfd6996..1e069a751e1b 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrderedAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrderedAsync.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0879515187d6784a8323cda298328d2f", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:36 GMT", + "Date": "Thu, 06 May 2021 00:54:16 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "79f25cb3-1b57-4862-b16b-154e4b845076" + "X-Ms-Correlation-Request-Id": "abf2d7f5-9b93-4a9b-8210-b7c74caf3a4b" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "db702485d5615bae7c8def499860f6c0", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:36 GMT", + "Date": "Thu, 06 May 2021 00:54:17 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "01148659-2676-47e4-9482-a0fec2023506", - "x-ms-ratelimit-remaining-calls-per-second": "165.983333" + "X-Ms-Correlation-Request-Id": "448992cb-b382-414c-bdc2-f060b0efa5ff", + "x-ms-ratelimit-remaining-calls-per-second": "165.6" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0NTZ9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0cee923f6375efaff360ce189d8985fa", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:36 GMT", + "Date": "Thu, 06 May 2021 00:54:17 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "1d3039f4-2380-4e94-9fc0-42ef3da59474", - "x-ms-ratelimit-remaining-calls-per-second": "165.65" + "X-Ms-Correlation-Request-Id": "0d02a463-2099-43eb-9738-648283056dbe", + "x-ms-ratelimit-remaining-calls-per-second": "165.583333" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0879515187d6784a8323cda298328d2f", "x-ms-return-client-request-id": "true" }, @@ -125,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:36 GMT", + "Date": "Thu, 06 May 2021 00:54:17 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a0f7f621-c714-4f57-8c0e-1db682e1cdd4" + "X-Ms-Correlation-Request-Id": "e74c945c-926e-4d8a-8a6c-2667877d507b" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,8 +140,8 @@ "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -158,8 +157,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "37589fb9c9817b5fa31e8b499800e023", "x-ms-return-client-request-id": "true" }, @@ -175,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:36 GMT", + "Date": "Thu, 06 May 2021 00:54:17 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "1de6b39e-1a28-416a-a4ab-2d25798d80b5" + "X-Ms-Correlation-Request-Id": "b95c47a9-ac1c-44c6-bd32-952499697890" }, "ResponseBody": { "errors": [ @@ -202,33 +200,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "05630d2d814321b97481e7000796bdf2", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:36 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "10ea452a-f92b-4b02-9ae1-ea66d397f76b", - "x-ms-ratelimit-remaining-calls-per-second": "165.633333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -236,8 +207,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "f890f407be07763e32736957d76656f2", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "05630d2d814321b97481e7000796bdf2", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -245,12 +216,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:37 GMT", + "Date": "Thu, 06 May 2021 00:54:17 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "8a4bc564-5a5d-4b2e-8536-07233352933a", - "x-ms-ratelimit-remaining-calls-per-second": "165.616667" + "X-Ms-Correlation-Request-Id": "e084eade-9df3-4191-96e4-a9eea33cfdb6", + "x-ms-ratelimit-remaining-calls-per-second": "165.566667" }, "ResponseBody": { "access_token": "Sanitized" @@ -262,7 +233,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "37589fb9c9817b5fa31e8b499800e023", "x-ms-return-client-request-id": "true" }, @@ -278,7 +249,7 @@ "Connection": "keep-alive", "Content-Length": "1943", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:37 GMT", + "Date": "Thu, 06 May 2021 00:54:17 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -286,7 +257,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "33dc50a9-1fe8-4a9e-a360-44a964b7241b" + "X-Ms-Correlation-Request-Id": "f748dfff-54ff-4edb-90ed-b13796b94ef6" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -295,8 +266,8 @@ { "name": "newest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:34.4042657Z", - "lastUpdateTime": "2021-04-23T18:32:34.4042657Z", + "createdTime": "2021-05-06T00:53:18.1963616Z", + "lastUpdateTime": "2021-05-06T00:53:18.1963616Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -306,10 +277,10 @@ } }, { - "name": "v1", + "name": "v2", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:21.182776Z", - "lastUpdateTime": "2021-04-23T18:32:21.182776Z", + "createdTime": "2021-05-06T00:53:02.722304Z", + "lastUpdateTime": "2021-05-06T00:53:02.722304Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -319,10 +290,10 @@ } }, { - "name": "v2", + "name": "v1", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.9846021Z", - "lastUpdateTime": "2021-04-23T18:32:20.9846021Z", + "createdTime": "2021-05-06T00:53:02.5770036Z", + "lastUpdateTime": "2021-05-06T00:53:02.5770036Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -332,10 +303,10 @@ } }, { - "name": "v3", + "name": "v4", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.6929751Z", - "lastUpdateTime": "2021-04-23T18:32:20.6929751Z", + "createdTime": "2021-05-06T00:53:02.5327704Z", + "lastUpdateTime": "2021-05-06T00:53:02.5327704Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -345,10 +316,10 @@ } }, { - "name": "v4", + "name": "v3", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.5539173Z", - "lastUpdateTime": "2021-04-23T18:32:20.5539173Z", + "createdTime": "2021-05-06T00:53:02.4515253Z", + "lastUpdateTime": "2021-05-06T00:53:02.4515253Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -360,8 +331,8 @@ { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsStartingMidCollection.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsStartingMidCollection.json index 33f0ec5239bd..2dd5649b4433 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsStartingMidCollection.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsStartingMidCollection.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "922e13cd94a1d02993ed02bcc707e903", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:42 GMT", + "Date": "Thu, 06 May 2021 00:53:24 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "265080a4-2c1b-43bb-8b4f-47ef4d3d6380" + "X-Ms-Correlation-Request-Id": "2926186f-d301-4106-8570-d7ff6eac43ba" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0cf5bb2395341b9871120e9754258383", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:42 GMT", + "Date": "Thu, 06 May 2021 00:53:25 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f24678b7-a85e-4bbe-852b-993bfe570de9", - "x-ms-ratelimit-remaining-calls-per-second": "164.616667" + "X-Ms-Correlation-Request-Id": "e3ec523a-56b1-4ef7-be62-4f41b9bf11f9", + "x-ms-ratelimit-remaining-calls-per-second": "164.916667" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0MDR9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5e12527b90ecd1ff797eab3abb2c7eed", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:42 GMT", + "Date": "Thu, 06 May 2021 00:53:25 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b21b20e4-7437-497b-9b27-971d7ec9ac5e", - "x-ms-ratelimit-remaining-calls-per-second": "164.6" + "X-Ms-Correlation-Request-Id": "bcfa6a64-c9c7-4abe-8602-28c0e0af46cb", + "x-ms-ratelimit-remaining-calls-per-second": "164.9" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "922e13cd94a1d02993ed02bcc707e903", "x-ms-return-client-request-id": "true" }, @@ -125,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:42 GMT", + "Date": "Thu, 06 May 2021 00:53:25 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "59d3369d-8709-40ef-90b5-270bc8673074" + "X-Ms-Correlation-Request-Id": "646d4916-7d63-4bf6-b594-3a206bc4e9a7" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,8 +140,8 @@ "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -158,8 +157,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0ac570deddbf371f7b12218f85927b6e", "x-ms-return-client-request-id": "true" }, @@ -175,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:42 GMT", + "Date": "Thu, 06 May 2021 00:53:25 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b9a388ce-555a-4847-acf0-e4bf13ab6f29" + "X-Ms-Correlation-Request-Id": "a9e46ef7-b1d6-43e8-bf47-7ffd8a9fce8d" }, "ResponseBody": { "errors": [ @@ -202,33 +200,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "74407e6a8bf49317bb2493b5e95e6044", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:43 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e5e191d4-f129-42e7-8658-81fabb1f46e8", - "x-ms-ratelimit-remaining-calls-per-second": "164.583333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -236,8 +207,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "e3b82193795f9dc433dbe2da6f704be7", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "74407e6a8bf49317bb2493b5e95e6044", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -245,12 +216,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:43 GMT", + "Date": "Thu, 06 May 2021 00:53:25 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d7ee8ff2-bb4e-405f-abf2-3f90a7eefbcc", - "x-ms-ratelimit-remaining-calls-per-second": "164.566667" + "X-Ms-Correlation-Request-Id": "a0cfcb41-7a6f-466d-a22e-da90ee3efcb3", + "x-ms-ratelimit-remaining-calls-per-second": "164.883333" }, "ResponseBody": { "access_token": "Sanitized" @@ -262,7 +233,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0ac570deddbf371f7b12218f85927b6e", "x-ms-return-client-request-id": "true" }, @@ -276,9 +247,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "392", + "Content-Length": "390", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:43 GMT", + "Date": "Thu, 06 May 2021 00:53:25 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library/hello-world/_tags?last=v2\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -287,7 +258,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "3f87ec7c-83c2-4632-8653-a5d3d4f80420" + "X-Ms-Correlation-Request-Id": "18a41027-73be-4ec5-b9f2-575ac9da16db" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -296,8 +267,8 @@ { "name": "v2", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.9846021Z", - "lastUpdateTime": "2021-04-23T18:32:20.9846021Z", + "createdTime": "2021-05-06T00:53:02.722304Z", + "lastUpdateTime": "2021-05-06T00:53:02.722304Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -314,9 +285,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "3ccf3c020aeb53f859324e9b4a694d1d", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "e3b82193795f9dc433dbe2da6f704be7", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -331,16 +301,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:43 GMT", + "Date": "Thu, 06 May 2021 00:53:25 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "7b4a9e1d-7360-4fdb-af9c-d55f08817485" + "X-Ms-Correlation-Request-Id": "7153bea0-ba3b-4f2b-9a27-237e049ae786" }, "ResponseBody": { "errors": [ @@ -358,33 +328,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "64fbdcb198d9f10fbaa34119a83c234a", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:43 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "73b4d14f-f79f-4159-a647-b401ce223eb7", - "x-ms-ratelimit-remaining-calls-per-second": "164.55" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -392,8 +335,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "acb3acd8238e89582865892d2a2853ca", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "3ccf3c020aeb53f859324e9b4a694d1d", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -401,12 +344,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:43 GMT", + "Date": "Thu, 06 May 2021 00:53:25 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "95b6f8b7-f58b-4361-ad97-d999ffee22a0", - "x-ms-ratelimit-remaining-calls-per-second": "164.533333" + "X-Ms-Correlation-Request-Id": "0d652cb8-0cda-410b-b656-761ee78912aa", + "x-ms-ratelimit-remaining-calls-per-second": "164.866667" }, "ResponseBody": { "access_token": "Sanitized" @@ -418,8 +361,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "3ccf3c020aeb53f859324e9b4a694d1d", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "e3b82193795f9dc433dbe2da6f704be7", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -434,7 +377,7 @@ "Connection": "keep-alive", "Content-Length": "392", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:43 GMT", + "Date": "Thu, 06 May 2021 00:53:25 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library/hello-world/_tags?last=v3\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -443,7 +386,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ebe6b1c6-2fbf-4d4b-89f3-c18c4f613986" + "X-Ms-Correlation-Request-Id": "9f8cac60-ae31-4e64-a5f5-2d64f6e7ee25" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -452,8 +395,8 @@ { "name": "v3", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.6929751Z", - "lastUpdateTime": "2021-04-23T18:32:20.6929751Z", + "createdTime": "2021-05-06T00:53:02.4515253Z", + "lastUpdateTime": "2021-05-06T00:53:02.4515253Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -470,9 +413,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "9228c58de7756a0d2dde8248c9deaa1c", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "64fbdcb198d9f10fbaa34119a83c234a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -487,16 +429,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:43 GMT", + "Date": "Thu, 06 May 2021 00:53:25 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "84742a81-f0ee-4958-a327-b4bded282af0" + "X-Ms-Correlation-Request-Id": "8490d71d-2dd4-40d8-b87f-f4215aac8f80" }, "ResponseBody": { "errors": [ @@ -514,33 +456,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "9dc3030ea1b58e8e83713b730ee1c791", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:43 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f4abf9ab-18de-49a3-b1a0-3826d082d422", - "x-ms-ratelimit-remaining-calls-per-second": "164.516667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -548,8 +463,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "e28c764f9114f1d59f487eb0a110c049", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "acb3acd8238e89582865892d2a2853ca", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -557,12 +472,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:43 GMT", + "Date": "Thu, 06 May 2021 00:53:25 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "6efaabc7-6a60-4112-b77c-b1837bcdc033", - "x-ms-ratelimit-remaining-calls-per-second": "164.5" + "X-Ms-Correlation-Request-Id": "c7cbd994-1992-4293-8c3b-50fd0eb72fa0", + "x-ms-ratelimit-remaining-calls-per-second": "164.85" }, "ResponseBody": { "access_token": "Sanitized" @@ -574,8 +489,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "9228c58de7756a0d2dde8248c9deaa1c", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "64fbdcb198d9f10fbaa34119a83c234a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -590,7 +505,7 @@ "Connection": "keep-alive", "Content-Length": "392", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:43 GMT", + "Date": "Thu, 06 May 2021 00:53:25 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -598,7 +513,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "268e8551-4d71-4f2c-bfd9-16a2639331b9" + "X-Ms-Correlation-Request-Id": "84f9069b-0730-4d57-bd13-75f046f85982" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -607,8 +522,8 @@ { "name": "v4", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.5539173Z", - "lastUpdateTime": "2021-04-23T18:32:20.5539173Z", + "createdTime": "2021-05-06T00:53:02.5327704Z", + "lastUpdateTime": "2021-05-06T00:53:02.5327704Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsStartingMidCollectionAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsStartingMidCollectionAsync.json index c00fd4886374..d7771998fb36 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsStartingMidCollectionAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsStartingMidCollectionAsync.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "3cdaf1118a38fd172fd3336d5ca4cfba", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:37 GMT", + "Date": "Thu, 06 May 2021 00:54:17 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "342ea82c-a0f2-4be9-bb2f-a42feaa68861" + "X-Ms-Correlation-Request-Id": "d840839c-9c3e-4954-970d-666ff5fd3c33" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "7863f5873544ffa3069c23c3bee6b9de", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:37 GMT", + "Date": "Thu, 06 May 2021 00:54:17 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e1b32579-3e8b-4e63-806f-c29b50aca2a5", - "x-ms-ratelimit-remaining-calls-per-second": "165.6" + "X-Ms-Correlation-Request-Id": "b87b2021-34c3-4d7d-95a7-9750e3691023", + "x-ms-ratelimit-remaining-calls-per-second": "165.55" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0NTd9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1bb21eba0b2a4ea8408106b602bfdf36", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:37 GMT", + "Date": "Thu, 06 May 2021 00:54:17 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "8053ad6e-f709-4c1c-8d6a-7f790b53434a", - "x-ms-ratelimit-remaining-calls-per-second": "165.583333" + "X-Ms-Correlation-Request-Id": "c6d59396-2466-49b7-bfe5-48754cdb9bf6", + "x-ms-ratelimit-remaining-calls-per-second": "165.533333" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "3cdaf1118a38fd172fd3336d5ca4cfba", "x-ms-return-client-request-id": "true" }, @@ -125,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:37 GMT", + "Date": "Thu, 06 May 2021 00:54:17 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a04e54e6-e73f-4074-bb02-248ad01444ba" + "X-Ms-Correlation-Request-Id": "890ce45f-ed3c-477b-a0e6-985ead76a683" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,8 +140,8 @@ "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -158,8 +157,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "18f5fc981f54dcae4ddb359b66543f48", "x-ms-return-client-request-id": "true" }, @@ -175,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:37 GMT", + "Date": "Thu, 06 May 2021 00:54:17 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "da92263a-735d-477e-904b-fe16b5d921a2" + "X-Ms-Correlation-Request-Id": "7b8a688c-4e4d-4ed1-aaae-8ddd6bf125aa" }, "ResponseBody": { "errors": [ @@ -202,33 +200,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "3eb2541ab3f17c8f4c1438c32eedfc46", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:37 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "782b4a98-1206-4970-bd2c-09e374a2a685", - "x-ms-ratelimit-remaining-calls-per-second": "165.566667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -236,8 +207,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "c22aedbda1f19b896fd5ce4fd50ce8eb", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "3eb2541ab3f17c8f4c1438c32eedfc46", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -245,12 +216,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:37 GMT", + "Date": "Thu, 06 May 2021 00:54:17 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "ed14624a-8108-42bb-9cae-9a6cb2f4d079", - "x-ms-ratelimit-remaining-calls-per-second": "165.55" + "X-Ms-Correlation-Request-Id": "52bb5a5c-2ea0-4eec-8bdf-a458be045667", + "x-ms-ratelimit-remaining-calls-per-second": "165.516667" }, "ResponseBody": { "access_token": "Sanitized" @@ -262,7 +233,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "18f5fc981f54dcae4ddb359b66543f48", "x-ms-return-client-request-id": "true" }, @@ -276,9 +247,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "392", + "Content-Length": "390", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:37 GMT", + "Date": "Thu, 06 May 2021 00:54:18 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library/hello-world/_tags?last=v2\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -287,7 +258,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d3f02397-d7b2-4975-ae03-07ab9e188133" + "X-Ms-Correlation-Request-Id": "402b408d-f246-43b9-b8f6-7de8b4b9257f" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -296,8 +267,8 @@ { "name": "v2", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.9846021Z", - "lastUpdateTime": "2021-04-23T18:32:20.9846021Z", + "createdTime": "2021-05-06T00:53:02.722304Z", + "lastUpdateTime": "2021-05-06T00:53:02.722304Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -314,9 +285,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "ae9bbd42a10de5456c79cb40e6ebae5f", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "c22aedbda1f19b896fd5ce4fd50ce8eb", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -331,16 +301,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:37 GMT", + "Date": "Thu, 06 May 2021 00:54:18 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d6ce9847-59f2-431e-923e-b91c7bf88160" + "X-Ms-Correlation-Request-Id": "9fece4c3-f485-4eb5-b6b2-0192b7d68d1c" }, "ResponseBody": { "errors": [ @@ -358,33 +328,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "79deefde7d297957cb17ce1be53fa640", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:38 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "9c1f709c-d042-4999-a910-cd29c766b85c", - "x-ms-ratelimit-remaining-calls-per-second": "165.533333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -392,8 +335,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "71814c2c4e511b39a7455578d649b483", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "ae9bbd42a10de5456c79cb40e6ebae5f", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -401,12 +344,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:38 GMT", + "Date": "Thu, 06 May 2021 00:54:18 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "ff40d78b-f655-4047-b692-c4af2edf2ce7", - "x-ms-ratelimit-remaining-calls-per-second": "165.516667" + "X-Ms-Correlation-Request-Id": "8e97c980-72ee-409c-b6ff-faca6c2ca6c9", + "x-ms-ratelimit-remaining-calls-per-second": "165.5" }, "ResponseBody": { "access_token": "Sanitized" @@ -418,8 +361,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "ae9bbd42a10de5456c79cb40e6ebae5f", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "c22aedbda1f19b896fd5ce4fd50ce8eb", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -431,10 +374,10 @@ "Link", "X-Ms-Correlation-Request-Id" ], - "Connection": "close", + "Connection": "keep-alive", "Content-Length": "392", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:38 GMT", + "Date": "Thu, 06 May 2021 00:54:18 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library/hello-world/_tags?last=v3\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -443,7 +386,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6f0c85c1-ef0e-4451-8844-5bd64f609566" + "X-Ms-Correlation-Request-Id": "e80cf361-01ac-4410-bc92-b2b7e8e9630f" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -452,8 +395,8 @@ { "name": "v3", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.6929751Z", - "lastUpdateTime": "2021-04-23T18:32:20.6929751Z", + "createdTime": "2021-05-06T00:53:02.4515253Z", + "lastUpdateTime": "2021-05-06T00:53:02.4515253Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -470,9 +413,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "e6716e276e2dc5c26622e2f5d329ff2c", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "79deefde7d297957cb17ce1be53fa640", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -487,16 +429,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:38 GMT", + "Date": "Thu, 06 May 2021 00:54:18 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "04e5cf00-416c-4e95-a724-bab20d6e507b" + "X-Ms-Correlation-Request-Id": "0273f074-5ad1-4992-9915-5e0b0c55cfb9" }, "ResponseBody": { "errors": [ @@ -514,33 +456,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "99148ad33c6a900eb5c2d1e327dfa381", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:38 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b61af844-8563-4989-ba11-852d2976c3aa", - "x-ms-ratelimit-remaining-calls-per-second": "165.633333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -548,8 +463,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "76f34a62bfcebd138abb0a2e6b43487d", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "71814c2c4e511b39a7455578d649b483", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -557,12 +472,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:38 GMT", + "Date": "Thu, 06 May 2021 00:54:18 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "38b516d3-ada8-42fe-a729-080beda11302", - "x-ms-ratelimit-remaining-calls-per-second": "165.616667" + "X-Ms-Correlation-Request-Id": "edcbbab4-e19a-4af3-be6e-644d547bcc72", + "x-ms-ratelimit-remaining-calls-per-second": "165.483333" }, "ResponseBody": { "access_token": "Sanitized" @@ -574,8 +489,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "e6716e276e2dc5c26622e2f5d329ff2c", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "79deefde7d297957cb17ce1be53fa640", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -590,7 +505,7 @@ "Connection": "keep-alive", "Content-Length": "392", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:38 GMT", + "Date": "Thu, 06 May 2021 00:54:18 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -598,7 +513,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "75c38fb3-8501-46e4-bb21-7571b9836b9a" + "X-Ms-Correlation-Request-Id": "fc9545e7-cec2-4699-91f1-5a8fe7398493" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -607,8 +522,8 @@ { "name": "v4", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.5539173Z", - "lastUpdateTime": "2021-04-23T18:32:20.5539173Z", + "createdTime": "2021-05-06T00:53:02.5327704Z", + "lastUpdateTime": "2021-05-06T00:53:02.5327704Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsWithCustomPageSize.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsWithCustomPageSize.json index df0231e3a091..643444069603 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsWithCustomPageSize.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsWithCustomPageSize.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "efde36e73243b337fc8a6ff0f91fabed", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:44 GMT", + "Date": "Thu, 06 May 2021 00:53:25 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "c60d7a71-d637-4850-a76a-96dece29d0b9" + "X-Ms-Correlation-Request-Id": "f6320a9a-c676-43cd-aa71-fdef2b2d5b0c" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0477246cf3827f35b6d2da2bd6df965b", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:44 GMT", + "Date": "Thu, 06 May 2021 00:53:26 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "dcf45102-8351-4bc4-8d4c-2aa93c103087", - "x-ms-ratelimit-remaining-calls-per-second": "164.483333" + "X-Ms-Correlation-Request-Id": "95ab1066-fee3-417d-9a27-7d35c6e464eb", + "x-ms-ratelimit-remaining-calls-per-second": "164.833333" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0MDV9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "bb78c468a3a789fd1e8f5bed22b0ef09", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:44 GMT", + "Date": "Thu, 06 May 2021 00:53:26 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "2d9b222c-da4e-468e-8199-1b9b4094becf", - "x-ms-ratelimit-remaining-calls-per-second": "164.466667" + "X-Ms-Correlation-Request-Id": "c5cd35a1-1927-47b9-b165-45e9471717f5", + "x-ms-ratelimit-remaining-calls-per-second": "164.816667" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "efde36e73243b337fc8a6ff0f91fabed", "x-ms-return-client-request-id": "true" }, @@ -125,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:44 GMT", + "Date": "Thu, 06 May 2021 00:53:26 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "1ace03a2-45fa-497d-ada6-ef4a4e3cc104" + "X-Ms-Correlation-Request-Id": "dd080c6d-28cd-454a-8c3a-14253b15aa41" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,8 +140,8 @@ "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -158,8 +157,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "ce644a1cebabf45f005e3971580bdc1d", "x-ms-return-client-request-id": "true" }, @@ -175,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:44 GMT", + "Date": "Thu, 06 May 2021 00:53:26 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "03a61dd3-91a0-4802-a615-cdaf5014fc6f" + "X-Ms-Correlation-Request-Id": "ab666551-6006-45d7-a0c9-2fdc9d3c5d2f" }, "ResponseBody": { "errors": [ @@ -202,33 +200,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "358713f4f0a7c84527eee5f397485d05", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:44 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "602d0872-bf05-4c6a-8991-98b49b936f09", - "x-ms-ratelimit-remaining-calls-per-second": "164.45" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -236,8 +207,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "8c0ed0e2c77a7db06483ba49698c3113", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "358713f4f0a7c84527eee5f397485d05", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -245,12 +216,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:44 GMT", + "Date": "Thu, 06 May 2021 00:53:26 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "a7683424-fd20-4d2d-89c5-fef3dfed2911", - "x-ms-ratelimit-remaining-calls-per-second": "164.433333" + "X-Ms-Correlation-Request-Id": "87f8db60-7209-4cc1-a987-8b3b3022dd34", + "x-ms-ratelimit-remaining-calls-per-second": "164.8" }, "ResponseBody": { "access_token": "Sanitized" @@ -262,7 +233,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "ce644a1cebabf45f005e3971580bdc1d", "x-ms-return-client-request-id": "true" }, @@ -278,7 +249,7 @@ "Connection": "keep-alive", "Content-Length": "709", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:44 GMT", + "Date": "Thu, 06 May 2021 00:53:26 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library%2Fhello-world/_tags?last=newest\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -287,7 +258,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b740384c-734f-4fa6-80f6-1c4843e6329e" + "X-Ms-Correlation-Request-Id": "4f5b3032-2df9-4a41-94b0-ba4d2a4ce2c2" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -296,8 +267,8 @@ { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -309,8 +280,8 @@ { "name": "newest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:34.4042657Z", - "lastUpdateTime": "2021-04-23T18:32:34.4042657Z", + "createdTime": "2021-05-06T00:53:18.1963616Z", + "lastUpdateTime": "2021-05-06T00:53:18.1963616Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -327,9 +298,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "0ef93db2b9282c62049ba7bc056c5cb8", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "8c0ed0e2c77a7db06483ba49698c3113", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -344,16 +314,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:44 GMT", + "Date": "Thu, 06 May 2021 00:53:26 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "15b369ca-1f47-460a-8637-80cb64b5906f" + "X-Ms-Correlation-Request-Id": "e1442557-427e-47c8-a79c-75c007d725b3" }, "ResponseBody": { "errors": [ @@ -371,33 +341,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "878e330150fc2ca2620ad02335fc5f9b", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:44 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "aa8065a8-df67-4a8f-8ee1-4ce300267d3b", - "x-ms-ratelimit-remaining-calls-per-second": "164.416667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -405,8 +348,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "5a40d2bd4e4e28dd6ee287df20f377f8", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "0ef93db2b9282c62049ba7bc056c5cb8", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -414,12 +357,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:44 GMT", + "Date": "Thu, 06 May 2021 00:53:26 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "2dad6fcb-75bf-4084-9d15-40c3dfa980e2", - "x-ms-ratelimit-remaining-calls-per-second": "164.4" + "X-Ms-Correlation-Request-Id": "e0c8b0bd-24fc-4f97-84b1-65f393afa8e8", + "x-ms-ratelimit-remaining-calls-per-second": "164.783333" }, "ResponseBody": { "access_token": "Sanitized" @@ -431,8 +374,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "0ef93db2b9282c62049ba7bc056c5cb8", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "8c0ed0e2c77a7db06483ba49698c3113", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -447,7 +390,7 @@ "Connection": "keep-alive", "Content-Length": "699", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:44 GMT", + "Date": "Thu, 06 May 2021 00:53:26 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library%2Fhello-world/_tags?last=v2\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -456,7 +399,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "4d629665-616c-46c0-8338-c2b4dbeae41b" + "X-Ms-Correlation-Request-Id": "43fb3f0a-f17d-47d3-868e-2d67e5f1d889" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -465,8 +408,8 @@ { "name": "v1", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:21.182776Z", - "lastUpdateTime": "2021-04-23T18:32:21.182776Z", + "createdTime": "2021-05-06T00:53:02.5770036Z", + "lastUpdateTime": "2021-05-06T00:53:02.5770036Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -478,8 +421,8 @@ { "name": "v2", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.9846021Z", - "lastUpdateTime": "2021-04-23T18:32:20.9846021Z", + "createdTime": "2021-05-06T00:53:02.722304Z", + "lastUpdateTime": "2021-05-06T00:53:02.722304Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -496,9 +439,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "35470227a9fe61169acdab1ee93ef607", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "878e330150fc2ca2620ad02335fc5f9b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -513,16 +455,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:44 GMT", + "Date": "Thu, 06 May 2021 00:53:26 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "888c4fa2-f749-4c3a-a95b-1b2573bc8c13" + "X-Ms-Correlation-Request-Id": "e6b268b5-0ff0-4874-9cf8-5342cf5356c5" }, "ResponseBody": { "errors": [ @@ -540,33 +482,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "32ff0c3c022bb26956651919c8c30c6e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:45 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "08e147b4-bfa6-4d6e-aeb9-782ee99a7184", - "x-ms-ratelimit-remaining-calls-per-second": "164.383333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -574,8 +489,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "33fcd89329b4149dbcdfbf81a2be3f2f", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "5a40d2bd4e4e28dd6ee287df20f377f8", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -583,12 +498,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:45 GMT", + "Date": "Thu, 06 May 2021 00:53:26 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e1d37c78-8fde-4071-80d2-124d13991a91", - "x-ms-ratelimit-remaining-calls-per-second": "165.066667" + "X-Ms-Correlation-Request-Id": "625d21a3-f5b8-4f7f-b691-bf03acef4a8c", + "x-ms-ratelimit-remaining-calls-per-second": "164.766667" }, "ResponseBody": { "access_token": "Sanitized" @@ -600,8 +515,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "35470227a9fe61169acdab1ee93ef607", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "878e330150fc2ca2620ad02335fc5f9b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -616,7 +531,7 @@ "Connection": "keep-alive", "Content-Length": "701", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:32:45 GMT", + "Date": "Thu, 06 May 2021 00:53:26 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -624,7 +539,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "1f6b4727-ec40-4f1f-b1c9-0d13c531973f" + "X-Ms-Correlation-Request-Id": "6f68fae8-e89c-4152-b06c-c289000f41cc" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -633,8 +548,8 @@ { "name": "v3", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.6929751Z", - "lastUpdateTime": "2021-04-23T18:32:20.6929751Z", + "createdTime": "2021-05-06T00:53:02.4515253Z", + "lastUpdateTime": "2021-05-06T00:53:02.4515253Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -646,8 +561,8 @@ { "name": "v4", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.5539173Z", - "lastUpdateTime": "2021-04-23T18:32:20.5539173Z", + "createdTime": "2021-05-06T00:53:02.5327704Z", + "lastUpdateTime": "2021-05-06T00:53:02.5327704Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsWithCustomPageSizeAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsWithCustomPageSizeAsync.json index 503007b7ffaa..47003f10e80a 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsWithCustomPageSizeAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsWithCustomPageSizeAsync.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "56c3ebd9ae4d1b857bcfaa9c82c42500", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:38 GMT", + "Date": "Thu, 06 May 2021 00:54:18 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "2f5a83eb-2ee4-4640-a986-38acea681d3f" + "X-Ms-Correlation-Request-Id": "16f4ff0a-9bb0-47df-83c2-f96e1e12d988" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "d37d617d729691aa76a9340a2b571ea7", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:39 GMT", + "Date": "Thu, 06 May 2021 00:54:18 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "59714f9f-b3da-4a1c-a722-75a24ca4964e", - "x-ms-ratelimit-remaining-calls-per-second": "165.6" + "X-Ms-Correlation-Request-Id": "c63d690e-2d47-46a7-af9c-b305a485c459", + "x-ms-ratelimit-remaining-calls-per-second": "165.466667" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0NTh9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "3f180e9debd844e4a26b23565a0c459b", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:39 GMT", + "Date": "Thu, 06 May 2021 00:54:18 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d4de306e-aa3a-4a7c-acca-71a04be4b031", - "x-ms-ratelimit-remaining-calls-per-second": "165.583333" + "X-Ms-Correlation-Request-Id": "d96d9446-515b-4148-8033-dc2375aa7a08", + "x-ms-ratelimit-remaining-calls-per-second": "165.45" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "56c3ebd9ae4d1b857bcfaa9c82c42500", "x-ms-return-client-request-id": "true" }, @@ -125,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:39 GMT", + "Date": "Thu, 06 May 2021 00:54:18 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "0547d0ef-501d-4a60-a962-725e53fce0b6" + "X-Ms-Correlation-Request-Id": "515fbf3b-08d4-47aa-bfb3-9edaab8ae3c2" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,8 +140,8 @@ "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -158,8 +157,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "597f3944538666bc4031dfa4797aef23", "x-ms-return-client-request-id": "true" }, @@ -175,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:39 GMT", + "Date": "Thu, 06 May 2021 00:54:18 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "830684aa-d2d7-4454-b952-752083113224" + "X-Ms-Correlation-Request-Id": "3f0c449a-3335-4743-93c7-ec4c85f76c40" }, "ResponseBody": { "errors": [ @@ -202,33 +200,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "73fe03b1e6ac91287d39302a4f53366a", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:39 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b8867f34-d2c5-4f9a-8de4-cac7e250bd56", - "x-ms-ratelimit-remaining-calls-per-second": "165.566667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -236,8 +207,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "f2c69863c4d8492052b1ffa70c3fca27", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "73fe03b1e6ac91287d39302a4f53366a", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -245,12 +216,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:39 GMT", + "Date": "Thu, 06 May 2021 00:54:19 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e692653b-0c97-4c44-9130-1323ba5f3360", - "x-ms-ratelimit-remaining-calls-per-second": "165.55" + "X-Ms-Correlation-Request-Id": "9b887051-300d-4e72-aaf4-0df017b94c98", + "x-ms-ratelimit-remaining-calls-per-second": "165.433333" }, "ResponseBody": { "access_token": "Sanitized" @@ -262,7 +233,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "597f3944538666bc4031dfa4797aef23", "x-ms-return-client-request-id": "true" }, @@ -278,7 +249,7 @@ "Connection": "keep-alive", "Content-Length": "709", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:39 GMT", + "Date": "Thu, 06 May 2021 00:54:19 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library%2Fhello-world/_tags?last=newest\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -287,7 +258,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a5cab4f9-9ea2-4950-afda-c6aff5412ee5" + "X-Ms-Correlation-Request-Id": "59857cb1-a4fc-4560-90bf-7b20ddd758d4" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -296,8 +267,8 @@ { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -309,8 +280,8 @@ { "name": "newest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:34.4042657Z", - "lastUpdateTime": "2021-04-23T18:32:34.4042657Z", + "createdTime": "2021-05-06T00:53:18.1963616Z", + "lastUpdateTime": "2021-05-06T00:53:18.1963616Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -327,9 +298,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "57a5007bd20d5eef11eddc4d229117ec", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "f2c69863c4d8492052b1ffa70c3fca27", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -344,16 +314,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:39 GMT", + "Date": "Thu, 06 May 2021 00:54:19 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f55413a6-2efb-4fda-9173-7ac3e5e05753" + "X-Ms-Correlation-Request-Id": "1285d1c1-3b78-49e3-a3ca-e16eb5669ea3" }, "ResponseBody": { "errors": [ @@ -371,33 +341,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "e04075fafdb4ec4be2b520fae780853d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:39 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "0aa4a9ac-b855-47ad-8b75-5c6154c899dc", - "x-ms-ratelimit-remaining-calls-per-second": "165.533333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -405,8 +348,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "4faf096edfae915ca968e1eae8d326c1", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "57a5007bd20d5eef11eddc4d229117ec", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -414,12 +357,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:39 GMT", + "Date": "Thu, 06 May 2021 00:54:19 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "02ef2be6-d0cd-483e-9688-779e8010377c", - "x-ms-ratelimit-remaining-calls-per-second": "165.516667" + "X-Ms-Correlation-Request-Id": "14061ee6-cbe1-4c59-bf47-b5fa643f958f", + "x-ms-ratelimit-remaining-calls-per-second": "165.416667" }, "ResponseBody": { "access_token": "Sanitized" @@ -431,8 +374,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "57a5007bd20d5eef11eddc4d229117ec", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "f2c69863c4d8492052b1ffa70c3fca27", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -447,7 +390,7 @@ "Connection": "keep-alive", "Content-Length": "699", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:39 GMT", + "Date": "Thu, 06 May 2021 00:54:19 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Link": "\u003C/acr/v1/library%2Fhello-world/_tags?last=v2\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", "Server": "openresty", @@ -456,7 +399,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "942993a5-fbfe-4c5d-a2d1-44f7084880e5" + "X-Ms-Correlation-Request-Id": "ca96a048-db50-4c76-abb6-de0b91e48120" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -465,8 +408,8 @@ { "name": "v1", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:21.182776Z", - "lastUpdateTime": "2021-04-23T18:32:21.182776Z", + "createdTime": "2021-05-06T00:53:02.5770036Z", + "lastUpdateTime": "2021-05-06T00:53:02.5770036Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -478,8 +421,8 @@ { "name": "v2", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.9846021Z", - "lastUpdateTime": "2021-04-23T18:32:20.9846021Z", + "createdTime": "2021-05-06T00:53:02.722304Z", + "lastUpdateTime": "2021-05-06T00:53:02.722304Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -496,9 +439,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "96ac129aeaff7e73b4b87558b1f57690", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "e04075fafdb4ec4be2b520fae780853d", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -513,16 +455,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:39 GMT", + "Date": "Thu, 06 May 2021 00:54:19 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b387ab64-45e9-42e5-8d93-d47753e493b9" + "X-Ms-Correlation-Request-Id": "55763ea5-416a-4d21-b574-7201d851fb4b" }, "ResponseBody": { "errors": [ @@ -540,33 +482,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "19df9e68c8e11b3e18af374c1b61030e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:39 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "593b7535-cd32-4aff-9dd5-7a35cf4fcc61", - "x-ms-ratelimit-remaining-calls-per-second": "165.5" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -574,8 +489,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "d45f5f8eefd4843e96319af56904e0b3", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "4faf096edfae915ca968e1eae8d326c1", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -583,12 +498,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:39 GMT", + "Date": "Thu, 06 May 2021 00:54:19 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3a5a6114-e1e4-4b73-bf83-61134c2b3db6", - "x-ms-ratelimit-remaining-calls-per-second": "165.483333" + "X-Ms-Correlation-Request-Id": "fccb7e2f-42c9-418a-b3c1-ca09efd75596", + "x-ms-ratelimit-remaining-calls-per-second": "165.4" }, "ResponseBody": { "access_token": "Sanitized" @@ -600,8 +515,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "96ac129aeaff7e73b4b87558b1f57690", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "e04075fafdb4ec4be2b520fae780853d", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -616,7 +531,7 @@ "Connection": "keep-alive", "Content-Length": "701", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:39 GMT", + "Date": "Thu, 06 May 2021 00:54:19 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -624,7 +539,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f7f3a624-b5b2-4ce9-8bbd-0f4b62ea6b63" + "X-Ms-Correlation-Request-Id": "50f972da-a1db-400e-81c5-5a1ff9bf090d" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -633,8 +548,8 @@ { "name": "v3", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.6929751Z", - "lastUpdateTime": "2021-04-23T18:32:20.6929751Z", + "createdTime": "2021-05-06T00:53:02.4515253Z", + "lastUpdateTime": "2021-05-06T00:53:02.4515253Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -646,8 +561,8 @@ { "name": "v4", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:20.5539173Z", - "lastUpdateTime": "2021-04-23T18:32:20.5539173Z", + "createdTime": "2021-05-06T00:53:02.5327704Z", + "lastUpdateTime": "2021-05-06T00:53:02.5327704Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestProperties.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestProperties.json index 332e390e2c46..c3a116ee61cb 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestProperties.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestProperties.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "61c7efbc1adaa4aef1e2a257f38603c8", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:19 GMT", + "Date": "Thu, 06 May 2021 00:54:00 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "451cfe31-4a3c-41d3-81ef-5ffc7f13d4d9" + "X-Ms-Correlation-Request-Id": "5813384b-b815-4dd5-895d-13ceb6bc3c04" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "b3358c5e0f9d4b1e14085ce0514ef6a8", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:19 GMT", + "Date": "Thu, 06 May 2021 00:54:00 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "845a824b-5ce1-4cf2-98e4-c70790ec4897", - "x-ms-ratelimit-remaining-calls-per-second": "166.55" + "X-Ms-Correlation-Request-Id": "1c6b1449-902b-4a4a-9191-b36a2df56929", + "x-ms-ratelimit-remaining-calls-per-second": "165.483333" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0NDB9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5fea9bdc3b7d4509f6e10b7e9ada5861", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:19 GMT", + "Date": "Thu, 06 May 2021 00:54:00 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "4fb3109d-0eb2-40d1-a65e-66255add4f33", - "x-ms-ratelimit-remaining-calls-per-second": "166.533333" + "X-Ms-Correlation-Request-Id": "6390e07f-e3d4-4096-ae6e-fd5b3fef7227", + "x-ms-ratelimit-remaining-calls-per-second": "165.466667" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "61c7efbc1adaa4aef1e2a257f38603c8", "x-ms-return-client-request-id": "true" }, @@ -125,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:19 GMT", + "Date": "Thu, 06 May 2021 00:54:00 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a4795e6a-0130-4a7d-a00f-4609295b8da5" + "X-Ms-Correlation-Request-Id": "8d683215-cdfe-4b6c-880f-ac98f230f0b4" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,8 +140,8 @@ "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -158,8 +157,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "dc51e1977feeac32d07c4dd1bdce52a2", "x-ms-return-client-request-id": "true" }, @@ -175,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:19 GMT", + "Date": "Thu, 06 May 2021 00:54:01 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f6bd299a-2d29-4f5f-b7e1-bd4d3ac7ad47" + "X-Ms-Correlation-Request-Id": "51c3cbc1-03c7-41ee-a122-407c20117d02" }, "ResponseBody": { "errors": [ @@ -202,33 +200,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "577bfaeba49b234b83f0bcbc049fb03a", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:19 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "35553d73-6ee5-493c-a6f1-cdaa1105011a", - "x-ms-ratelimit-remaining-calls-per-second": "166.516667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -236,8 +207,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "6f48fbaf1afc5cb9693e8f01ee378728", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "577bfaeba49b234b83f0bcbc049fb03a", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -245,12 +216,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:19 GMT", + "Date": "Thu, 06 May 2021 00:54:01 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "fae285e6-99e5-4aef-a83b-f3c99fe61960", - "x-ms-ratelimit-remaining-calls-per-second": "166.5" + "X-Ms-Correlation-Request-Id": "3432d83c-a720-4201-87c1-6dcbb33c0a50", + "x-ms-ratelimit-remaining-calls-per-second": "165.45" }, "ResponseBody": { "access_token": "Sanitized" @@ -262,7 +233,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "dc51e1977feeac32d07c4dd1bdce52a2", "x-ms-return-client-request-id": "true" }, @@ -276,9 +247,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1605", + "Content-Length": "1608", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:19 GMT", + "Date": "Thu, 06 May 2021 00:54:01 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -286,16 +257,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "be5e659b-02e0-468e-89d5-2d2943cb284e" + "X-Ms-Correlation-Request-Id": "7abdf54b-314c-4140-8d51-092e7f0e7262" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.0014168Z", - "lastUpdateTime": "2021-04-23T18:32:20.0014168Z", + "imageSize": 5325, + "createdTime": "2021-05-06T00:53:01.3797231Z", + "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "latest", @@ -366,11 +337,10 @@ "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", "Content-Length": "84", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "a092698e015ef3c5952e59fdc276a830", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "6f48fbaf1afc5cb9693e8f01ee378728", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -390,16 +360,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:19 GMT", + "Date": "Thu, 06 May 2021 00:54:01 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "4d9ef11c-0abd-462e-bdf4-356085fc9b1b" + "X-Ms-Correlation-Request-Id": "54b85aae-7523-4084-8a8b-7d734d4637f6" }, "ResponseBody": { "errors": [ @@ -417,33 +387,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "c22212cce385d1a5401fee5d144a354b", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:19 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "afa7d959-49b9-43a0-8d8e-25d4c6eb565a", - "x-ms-ratelimit-remaining-calls-per-second": "166.483333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -451,8 +394,8 @@ "Accept": "application/json", "Content-Length": "140", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "9b2d9468100caedc3554d9cec1bc99f2", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "a092698e015ef3c5952e59fdc276a830", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", @@ -460,12 +403,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:19 GMT", + "Date": "Thu, 06 May 2021 00:54:01 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "a0b1d05d-338c-4334-a835-0e182defbb41", - "x-ms-ratelimit-remaining-calls-per-second": "166.466667" + "X-Ms-Correlation-Request-Id": "bae301ad-0398-401e-885b-f84ef154c633", + "x-ms-ratelimit-remaining-calls-per-second": "165.433333" }, "ResponseBody": { "access_token": "Sanitized" @@ -479,8 +422,8 @@ "Authorization": "Sanitized", "Content-Length": "84", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "a092698e015ef3c5952e59fdc276a830", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "6f48fbaf1afc5cb9693e8f01ee378728", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -498,9 +441,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1609", + "Content-Length": "1612", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:20 GMT", + "Date": "Thu, 06 May 2021 00:54:01 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -508,16 +451,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "7a5d2fa1-8166-4178-86e8-aaea410c4297" + "X-Ms-Correlation-Request-Id": "c6d7306f-37da-4757-8228-2b20a76c2c80" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.0014168Z", - "lastUpdateTime": "2021-04-23T18:32:20.0014168Z", + "imageSize": 5325, + "createdTime": "2021-05-06T00:53:01.3797231Z", + "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "latest", @@ -588,9 +531,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "db345e95c515aba2c3c15f3f1268df4b", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "c22212cce385d1a5401fee5d144a354b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -605,16 +547,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:20 GMT", + "Date": "Thu, 06 May 2021 00:54:01 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "c2bb2af7-2d2e-4c03-9cfe-07cd485eab91" + "X-Ms-Correlation-Request-Id": "122f4f53-f04c-445c-a1d0-3a62e508ab7c" }, "ResponseBody": { "errors": [ @@ -632,33 +574,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "2e950df80d49bb2436738d3109d60f84", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:20 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "53390abc-c89c-4711-8804-bcc783bb0dff", - "x-ms-ratelimit-remaining-calls-per-second": "166.45" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -666,8 +581,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "b6c7fc855915a336f281d74bb09c9ccc", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "9b2d9468100caedc3554d9cec1bc99f2", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -675,12 +590,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:20 GMT", + "Date": "Thu, 06 May 2021 00:54:01 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d81eeb1d-b538-4851-9411-16e4deeeb9ce", - "x-ms-ratelimit-remaining-calls-per-second": "166.433333" + "X-Ms-Correlation-Request-Id": "3b1e8a33-31f6-4e63-b859-7de755bac3bd", + "x-ms-ratelimit-remaining-calls-per-second": "165.416667" }, "ResponseBody": { "access_token": "Sanitized" @@ -692,8 +607,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "db345e95c515aba2c3c15f3f1268df4b", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "c22212cce385d1a5401fee5d144a354b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -706,9 +621,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1609", + "Content-Length": "1612", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:20 GMT", + "Date": "Thu, 06 May 2021 00:54:01 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -716,16 +631,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ecc120d1-6bac-455d-abaf-c7b7b795572d" + "X-Ms-Correlation-Request-Id": "b704e6cb-4da4-403a-8500-b9069ba4665e" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.0014168Z", - "lastUpdateTime": "2021-04-23T18:32:20.0014168Z", + "imageSize": 5325, + "createdTime": "2021-05-06T00:53:01.3797231Z", + "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "latest", @@ -796,11 +711,10 @@ "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", "Content-Length": "80", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "b4d58e756b2688a93a79a5a13871a2ec", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "db345e95c515aba2c3c15f3f1268df4b", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -820,16 +734,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:20 GMT", + "Date": "Thu, 06 May 2021 00:54:01 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5984cfe2-979b-4d9d-8ba2-dd9c1cc841d5" + "X-Ms-Correlation-Request-Id": "3764c7ef-9474-4d64-9c5e-c05426ce02f9" }, "ResponseBody": { "errors": [ @@ -847,33 +761,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "16b9dab228a09f36d7f23cc735d90a99", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:20 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "8d82f757-7e3b-45d5-aa9b-e05cc061ca58", - "x-ms-ratelimit-remaining-calls-per-second": "166.416667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -881,8 +768,8 @@ "Accept": "application/json", "Content-Length": "140", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "7bbbc0d75b001a5d523f7b9cb3946b80", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "2e950df80d49bb2436738d3109d60f84", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", @@ -890,12 +777,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:20 GMT", + "Date": "Thu, 06 May 2021 00:54:01 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "6eae78cb-e4d8-4537-a420-b81262c26eeb", - "x-ms-ratelimit-remaining-calls-per-second": "166.4" + "X-Ms-Correlation-Request-Id": "c3389858-bad4-48f8-8fe1-d31b51c39791", + "x-ms-ratelimit-remaining-calls-per-second": "165.4" }, "ResponseBody": { "access_token": "Sanitized" @@ -909,8 +796,8 @@ "Authorization": "Sanitized", "Content-Length": "80", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "b4d58e756b2688a93a79a5a13871a2ec", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "db345e95c515aba2c3c15f3f1268df4b", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -928,9 +815,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1605", + "Content-Length": "1608", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:20 GMT", + "Date": "Thu, 06 May 2021 00:54:01 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -938,16 +825,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "645528ba-127e-4ad6-af87-b60b6d10fefe" + "X-Ms-Correlation-Request-Id": "92d916ba-2a5c-4e0f-9401-e5fec1d9d493" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.0014168Z", - "lastUpdateTime": "2021-04-23T18:32:20.0014168Z", + "imageSize": 5325, + "createdTime": "2021-05-06T00:53:01.3797231Z", + "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "latest", diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestPropertiesAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestPropertiesAsync.json index 9140412b0f0d..daa4b4e9a05a 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestPropertiesAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestPropertiesAsync.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "4f86aa8e0dab3b35144fb700b39a93b8", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:13 GMT", + "Date": "Thu, 06 May 2021 00:54:52 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f0e51e60-a77f-41ed-90f4-86cb4f177a32" + "X-Ms-Correlation-Request-Id": "8c143e7e-4503-446f-9ce1-13b2f70435c0" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "e7bc8b7a34ef97e4bf5f1e6db66de681", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:13 GMT", + "Date": "Thu, 06 May 2021 00:54:53 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3047866a-d9e0-4608-80b4-cc516af53b95", - "x-ms-ratelimit-remaining-calls-per-second": "165.133333" + "X-Ms-Correlation-Request-Id": "2fe7b3b4-5a89-4e9b-8456-96b4176ec778", + "x-ms-ratelimit-remaining-calls-per-second": "165.05" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0OTN9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "d02bb403909a6e9b96e2971d16d43c34", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:13 GMT", + "Date": "Thu, 06 May 2021 00:54:53 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "4a1becc0-184e-41f0-9ce7-4c85515667d3", - "x-ms-ratelimit-remaining-calls-per-second": "165.116667" + "X-Ms-Correlation-Request-Id": "f8328938-1bb2-4fa6-91f2-232189cdd25f", + "x-ms-ratelimit-remaining-calls-per-second": "165.033333" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "4f86aa8e0dab3b35144fb700b39a93b8", "x-ms-return-client-request-id": "true" }, @@ -125,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:13 GMT", + "Date": "Thu, 06 May 2021 00:54:53 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d21342bb-f1e1-4e75-9523-2b45a839ac1d" + "X-Ms-Correlation-Request-Id": "4e2e5e05-6c8c-4321-bb7e-e9aa5921453e" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,8 +140,8 @@ "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -158,8 +157,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "17924c7477ed599cc6ee8f4ceec885a7", "x-ms-return-client-request-id": "true" }, @@ -175,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:13 GMT", + "Date": "Thu, 06 May 2021 00:54:53 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "cc247007-4dc0-4efc-b14e-99e0b6e4dfb8" + "X-Ms-Correlation-Request-Id": "a72fd89b-d3fa-47c5-8d48-e7d9dc2a33b0" }, "ResponseBody": { "errors": [ @@ -202,33 +200,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "fffc3668c26eea1def4e510c9dc681eb", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:14 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "919f8424-1aa8-4c8f-80b9-72ba2d986903", - "x-ms-ratelimit-remaining-calls-per-second": "165.1" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -236,8 +207,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "69f8ea22ceda8c9318d20aab004f7fce", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "fffc3668c26eea1def4e510c9dc681eb", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -245,12 +216,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:14 GMT", + "Date": "Thu, 06 May 2021 00:54:53 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f219d4b5-e877-4e6d-82e3-8427d29b8351", - "x-ms-ratelimit-remaining-calls-per-second": "165.083333" + "X-Ms-Correlation-Request-Id": "c9fd77d1-80b3-4aab-a53e-efaf1c9d9138", + "x-ms-ratelimit-remaining-calls-per-second": "165.016667" }, "ResponseBody": { "access_token": "Sanitized" @@ -262,7 +233,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "17924c7477ed599cc6ee8f4ceec885a7", "x-ms-return-client-request-id": "true" }, @@ -276,9 +247,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1605", + "Content-Length": "1608", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:14 GMT", + "Date": "Thu, 06 May 2021 00:54:53 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -286,16 +257,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "24c62659-c41d-43a0-9c8b-71c7c536bbaa" + "X-Ms-Correlation-Request-Id": "5f9ae9c6-a182-4aa2-b72f-357103501f8f" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.0014168Z", - "lastUpdateTime": "2021-04-23T18:32:20.0014168Z", + "imageSize": 5325, + "createdTime": "2021-05-06T00:53:01.3797231Z", + "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "latest", @@ -366,11 +337,10 @@ "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", "Content-Length": "84", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "e0b5f05d3dd7b2c52ea8279f268fbcff", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "69f8ea22ceda8c9318d20aab004f7fce", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -390,16 +360,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:14 GMT", + "Date": "Thu, 06 May 2021 00:54:53 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "96fd3cd0-2d34-4478-bf0b-df74bccc3f08" + "X-Ms-Correlation-Request-Id": "779f8c7c-7f6e-4139-ba05-a294cb470d14" }, "ResponseBody": { "errors": [ @@ -417,33 +387,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "0429a36d1bcf99cda26fe69cb772e9a0", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:14 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "bb566fe6-41d0-4b68-bff0-ae3c4156ff76", - "x-ms-ratelimit-remaining-calls-per-second": "165.066667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -451,8 +394,8 @@ "Accept": "application/json", "Content-Length": "140", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "acaf83cea011e51424463b32a6f46688", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "e0b5f05d3dd7b2c52ea8279f268fbcff", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", @@ -460,12 +403,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:14 GMT", + "Date": "Thu, 06 May 2021 00:54:53 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "a56d55c8-8adb-4dac-a78d-ac5adc5ccb20", - "x-ms-ratelimit-remaining-calls-per-second": "165.05" + "X-Ms-Correlation-Request-Id": "a5742708-133a-4358-ba59-098771f9aedd", + "x-ms-ratelimit-remaining-calls-per-second": "165" }, "ResponseBody": { "access_token": "Sanitized" @@ -479,8 +422,8 @@ "Authorization": "Sanitized", "Content-Length": "84", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "e0b5f05d3dd7b2c52ea8279f268fbcff", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "69f8ea22ceda8c9318d20aab004f7fce", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -498,9 +441,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1609", + "Content-Length": "1612", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:14 GMT", + "Date": "Thu, 06 May 2021 00:54:53 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -508,16 +451,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b180d4d0-5578-4830-a151-a298a5855783" + "X-Ms-Correlation-Request-Id": "35bbed6c-f943-46fc-aa24-3d5b54c1e820" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.0014168Z", - "lastUpdateTime": "2021-04-23T18:32:20.0014168Z", + "imageSize": 5325, + "createdTime": "2021-05-06T00:53:01.3797231Z", + "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "latest", @@ -588,9 +531,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "5c3e0a157b2642fe231b3d675629fabc", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "0429a36d1bcf99cda26fe69cb772e9a0", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -605,16 +547,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:14 GMT", + "Date": "Thu, 06 May 2021 00:54:53 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "e4a1bb43-d038-4a9a-abdd-b18eed437049" + "X-Ms-Correlation-Request-Id": "4f21631d-f4ab-44e8-8e5b-1082b624162c" }, "ResponseBody": { "errors": [ @@ -632,33 +574,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "a3d187be0fe0ccee8f44df89df9af2ae", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:14 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "40d76712-c912-4485-ba95-64e3fe73eeb7", - "x-ms-ratelimit-remaining-calls-per-second": "165.033333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -666,8 +581,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "ad865e098c335279846c89f563ac8efb", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "acaf83cea011e51424463b32a6f46688", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -675,12 +590,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:14 GMT", + "Date": "Thu, 06 May 2021 00:54:53 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "9047c4cb-6d3f-4678-ab3b-95579fd77e0b", - "x-ms-ratelimit-remaining-calls-per-second": "165.016667" + "X-Ms-Correlation-Request-Id": "073a1ea0-5fd1-4645-9170-b3d9203e1160", + "x-ms-ratelimit-remaining-calls-per-second": "164.983333" }, "ResponseBody": { "access_token": "Sanitized" @@ -692,8 +607,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "5c3e0a157b2642fe231b3d675629fabc", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "0429a36d1bcf99cda26fe69cb772e9a0", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -706,9 +621,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1609", + "Content-Length": "1612", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:14 GMT", + "Date": "Thu, 06 May 2021 00:54:53 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -716,16 +631,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "919acacf-f5e1-4465-add6-558a06f056d4" + "X-Ms-Correlation-Request-Id": "0935e45a-0292-475e-a4de-8521878bfbbd" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.0014168Z", - "lastUpdateTime": "2021-04-23T18:32:20.0014168Z", + "imageSize": 5325, + "createdTime": "2021-05-06T00:53:01.3797231Z", + "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "latest", @@ -796,11 +711,10 @@ "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", "Content-Length": "80", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "1e737e4bc32306a71b71cde29c756288", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "5c3e0a157b2642fe231b3d675629fabc", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -820,16 +734,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:15 GMT", + "Date": "Thu, 06 May 2021 00:54:53 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "cbd943c1-babe-416f-b115-dc3acc73d670" + "X-Ms-Correlation-Request-Id": "65ee0e7d-1565-4d68-aebe-7416b4df7bf9" }, "ResponseBody": { "errors": [ @@ -847,33 +761,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "f85e8f284da331880e7e1e7385f969e3", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:15 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "ef5836ce-b0a2-49e5-a27c-651a35be6b58", - "x-ms-ratelimit-remaining-calls-per-second": "165.233333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -881,8 +768,8 @@ "Accept": "application/json", "Content-Length": "140", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "613de4b5d327468ab67f91c2bf97b60e", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "a3d187be0fe0ccee8f44df89df9af2ae", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", @@ -890,12 +777,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:15 GMT", + "Date": "Thu, 06 May 2021 00:54:54 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "91498292-bea3-4a25-a52e-9834df032c16", - "x-ms-ratelimit-remaining-calls-per-second": "165.216667" + "X-Ms-Correlation-Request-Id": "f5ade8eb-dcb4-46f1-8f5e-85a81e971704", + "x-ms-ratelimit-remaining-calls-per-second": "164.966667" }, "ResponseBody": { "access_token": "Sanitized" @@ -909,8 +796,8 @@ "Authorization": "Sanitized", "Content-Length": "80", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "1e737e4bc32306a71b71cde29c756288", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "5c3e0a157b2642fe231b3d675629fabc", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -928,9 +815,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1605", + "Content-Length": "1608", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:15 GMT", + "Date": "Thu, 06 May 2021 00:54:54 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -938,16 +825,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "56357133-f8c2-439b-b15f-da6b71b99a23" + "X-Ms-Correlation-Request-Id": "53dd61b5-be06-43e7-bb72-5ebc7ebdda03" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 0, - "createdTime": "2021-04-23T18:32:20.0014168Z", - "lastUpdateTime": "2021-04-23T18:32:20.0014168Z", + "imageSize": 5325, + "createdTime": "2021-05-06T00:53:01.3797231Z", + "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "latest", diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagProperties.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagProperties.json index a010062093c6..25d643023f57 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagProperties.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagProperties.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5e34df74440e4d0ab80895827407f5e0", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:21 GMT", + "Date": "Thu, 06 May 2021 00:54:01 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ad5a7e31-89d6-4be6-a3ca-c73539632584" + "X-Ms-Correlation-Request-Id": "1a5e812d-fcb3-4edf-8e5f-4d0c54568eb6" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "ea2fb4f775982df0fe96f8e09b98af91", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:21 GMT", + "Date": "Thu, 06 May 2021 00:54:02 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "8c2709e5-544b-423c-9f80-d8617c5a9e96", - "x-ms-ratelimit-remaining-calls-per-second": "166.383333" + "X-Ms-Correlation-Request-Id": "4ec5b5af-afe7-4950-b1bc-8821b208b63f", + "x-ms-ratelimit-remaining-calls-per-second": "165.383333" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0NDJ9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "02bdbf162186f454e26d29025454c45b", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:21 GMT", + "Date": "Thu, 06 May 2021 00:54:02 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "bc830140-afe5-4aed-9efb-e18acb6f7b87", - "x-ms-ratelimit-remaining-calls-per-second": "166.366667" + "X-Ms-Correlation-Request-Id": "b7eda8d1-e4eb-41b9-9c94-c99e01659039", + "x-ms-ratelimit-remaining-calls-per-second": "165.366667" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5e34df74440e4d0ab80895827407f5e0", "x-ms-return-client-request-id": "true" }, @@ -125,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:21 GMT", + "Date": "Thu, 06 May 2021 00:54:02 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "444f60c7-bb4d-4c3f-8111-ddecfc27983f" + "X-Ms-Correlation-Request-Id": "cd5e2b5f-7fd7-46fc-96a1-b1178ead84a2" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,8 +140,8 @@ "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -158,10 +157,9 @@ "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", "Content-Length": "84", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a783e95f2ce0fe1bef0760774c29b11f", "x-ms-return-client-request-id": "true" }, @@ -182,16 +180,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:21 GMT", + "Date": "Thu, 06 May 2021 00:54:02 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "58b2e146-963e-47ed-9260-dc1ea8acbf5c" + "X-Ms-Correlation-Request-Id": "d4adae6d-30a1-4635-b1b5-06e9331e091c" }, "ResponseBody": { "errors": [ @@ -209,33 +207,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "b56c0459f34ad559603a072b4beed9a9", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:21 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "01d04cc8-1a84-4d09-ae33-5b01ca6c2c1a", - "x-ms-ratelimit-remaining-calls-per-second": "166.35" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -243,8 +214,8 @@ "Accept": "application/json", "Content-Length": "140", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "b1819cd20815e9b0a4be137fc1dda8b9", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "b56c0459f34ad559603a072b4beed9a9", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", @@ -252,12 +223,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:21 GMT", + "Date": "Thu, 06 May 2021 00:54:02 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d39d4646-9628-45ad-8e93-f94e7c302273", - "x-ms-ratelimit-remaining-calls-per-second": "166.333333" + "X-Ms-Correlation-Request-Id": "04a6b307-5723-47c0-ae8f-149101da72de", + "x-ms-ratelimit-remaining-calls-per-second": "165.35" }, "ResponseBody": { "access_token": "Sanitized" @@ -271,7 +242,7 @@ "Authorization": "Sanitized", "Content-Length": "84", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a783e95f2ce0fe1bef0760774c29b11f", "x-ms-return-client-request-id": "true" }, @@ -292,7 +263,7 @@ "Connection": "keep-alive", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:21 GMT", + "Date": "Thu, 06 May 2021 00:54:02 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -300,7 +271,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5b62440a-c9cd-4ba2-80cb-f08211657bb8" + "X-Ms-Correlation-Request-Id": "95496f0c-fce7-4eb1-b5df-ff8f6e1f30a4" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -308,8 +279,8 @@ "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": false, @@ -325,9 +296,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "4fa80abb0fe86c1190ad47a525f0b200", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "b1819cd20815e9b0a4be137fc1dda8b9", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -342,16 +312,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:21 GMT", + "Date": "Thu, 06 May 2021 00:54:02 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "10713388-036d-4dcf-9b72-934144629ee7" + "X-Ms-Correlation-Request-Id": "f15e9a28-b030-44b4-847a-cd24f8283bfd" }, "ResponseBody": { "errors": [ @@ -369,33 +339,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "afa5b62effa8500a5382108bdfda1483", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:21 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e271ade8-5981-4d8b-af09-e45ae204e66d", - "x-ms-ratelimit-remaining-calls-per-second": "166.316667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -403,8 +346,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "416f4d928945c3c18b142167c10bc4b4", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "4fa80abb0fe86c1190ad47a525f0b200", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -412,12 +355,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:21 GMT", + "Date": "Thu, 06 May 2021 00:54:02 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d2eeaeb2-ec49-43bc-acb4-29e60d5140f2", - "x-ms-ratelimit-remaining-calls-per-second": "166.3" + "X-Ms-Correlation-Request-Id": "12cbf347-3652-40c3-9173-7acf6a04d5ba", + "x-ms-ratelimit-remaining-calls-per-second": "165.333333" }, "ResponseBody": { "access_token": "Sanitized" @@ -429,8 +372,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "4fa80abb0fe86c1190ad47a525f0b200", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "b1819cd20815e9b0a4be137fc1dda8b9", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -445,7 +388,7 @@ "Connection": "keep-alive", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:21 GMT", + "Date": "Thu, 06 May 2021 00:54:02 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -453,7 +396,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "8cfc4667-7503-418c-83af-8af310dbc1ac" + "X-Ms-Correlation-Request-Id": "1e7b5d1c-e8c1-4a1f-bbb8-3ae7f1b79ff3" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -461,8 +404,8 @@ "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": false, @@ -478,11 +421,10 @@ "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", "Content-Length": "80", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "0a50120bf937bb110058fc65fe858cb6", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "afa5b62effa8500a5382108bdfda1483", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -502,16 +444,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:21 GMT", + "Date": "Thu, 06 May 2021 00:54:02 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "bcd61265-cb59-41d0-9f19-62ccb6bad9da" + "X-Ms-Correlation-Request-Id": "f8c97e24-86a6-48bf-8549-b55f3272ba61" }, "ResponseBody": { "errors": [ @@ -529,33 +471,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "d713c4997180a5bbf5e12393dea28f47", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:22 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f3bcdf0a-3c51-4217-ab1c-45010d886f03", - "x-ms-ratelimit-remaining-calls-per-second": "166.283333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -563,8 +478,8 @@ "Accept": "application/json", "Content-Length": "140", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "cd805cbd0989984b3cb341ed8c5cc506", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "416f4d928945c3c18b142167c10bc4b4", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", @@ -572,12 +487,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:22 GMT", + "Date": "Thu, 06 May 2021 00:54:02 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "ecd01bfd-1bd9-433d-b035-eb3d3d7b3ad9", - "x-ms-ratelimit-remaining-calls-per-second": "166.266667" + "X-Ms-Correlation-Request-Id": "0b358bf7-7b9c-4e73-a806-2fd7f57315a9", + "x-ms-ratelimit-remaining-calls-per-second": "165.316667" }, "ResponseBody": { "access_token": "Sanitized" @@ -591,8 +506,8 @@ "Authorization": "Sanitized", "Content-Length": "80", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "0a50120bf937bb110058fc65fe858cb6", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "afa5b62effa8500a5382108bdfda1483", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -612,7 +527,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:33:22 GMT", + "Date": "Thu, 06 May 2021 00:54:02 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -620,7 +535,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "7f3d1667-4d5b-4857-8ff9-361a0f382b35" + "X-Ms-Correlation-Request-Id": "88ffe612-29e9-4bf0-83a2-5a7920183c17" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -628,8 +543,8 @@ "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagPropertiesAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagPropertiesAsync.json index 966aaafda4e5..ce8b01b13aa9 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagPropertiesAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagPropertiesAsync.json @@ -5,8 +5,7 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "7df72e6935223381f58f33299dab5ec7", "x-ms-return-client-request-id": "true" }, @@ -22,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:15 GMT", + "Date": "Thu, 06 May 2021 00:54:54 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "0ee95fa9-8a3d-4f76-a5eb-11c16268c1bf" + "X-Ms-Correlation-Request-Id": "862db2ad-82ce-48d1-97dd-d3b5f72d8ebd" }, "ResponseBody": { "errors": [ @@ -56,7 +55,7 @@ "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "337ccc2bcd0970b99cf69afca9ec6400", "x-ms-return-client-request-id": "true" }, @@ -65,15 +64,15 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:15 GMT", + "Date": "Thu, 06 May 2021 00:54:54 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "0f2fc25a-c173-4c08-a65b-db241e2889a2", - "x-ms-ratelimit-remaining-calls-per-second": "165.2" + "X-Ms-Correlation-Request-Id": "2c72e9d0-9d0f-4b17-bb9a-fae4edf4fdcf", + "x-ms-ratelimit-remaining-calls-per-second": "164.95" }, "ResponseBody": { - "refresh_token": "Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0OTR9.Sanitized" } }, { @@ -83,7 +82,7 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "782f896fa8c7b7b6b51e54b5a519bafb", "x-ms-return-client-request-id": "true" }, @@ -92,12 +91,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:15 GMT", + "Date": "Thu, 06 May 2021 00:54:54 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "6ba73ab9-7710-4003-b8e2-b397de8fd298", - "x-ms-ratelimit-remaining-calls-per-second": "165.183333" + "X-Ms-Correlation-Request-Id": "3c0c88fa-756d-4986-8133-87ed682e1e03", + "x-ms-ratelimit-remaining-calls-per-second": "164.916667" }, "ResponseBody": { "access_token": "Sanitized" @@ -109,7 +108,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "7df72e6935223381f58f33299dab5ec7", "x-ms-return-client-request-id": "true" }, @@ -125,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:15 GMT", + "Date": "Thu, 06 May 2021 00:54:54 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,7 +132,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "1b4ffdc2-da1e-4a94-adfe-731309d063a6" + "X-Ms-Correlation-Request-Id": "c1608b5e-6cf3-439c-b6ce-3944efd0198d" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -141,8 +140,8 @@ "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -158,10 +157,9 @@ "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", "Content-Length": "84", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5d9fa87c4e249bc87587e02c9b848908", "x-ms-return-client-request-id": "true" }, @@ -182,16 +180,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:15 GMT", + "Date": "Thu, 06 May 2021 00:54:54 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f988b248-de8a-43fc-a6a7-a0e7a002998e" + "X-Ms-Correlation-Request-Id": "c0056981-8d10-497d-8055-e7837f8e4d70" }, "ResponseBody": { "errors": [ @@ -209,33 +207,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "14ba322ae67c82ff16c47deb7803ca82", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:16 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "6f83ca89-85bd-44bb-9f5b-5e88f7bcfcf5", - "x-ms-ratelimit-remaining-calls-per-second": "165.166667" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -243,8 +214,8 @@ "Accept": "application/json", "Content-Length": "140", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "00809e3b074c20dcc1930240c7891c30", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "14ba322ae67c82ff16c47deb7803ca82", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", @@ -252,12 +223,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:16 GMT", + "Date": "Thu, 06 May 2021 00:54:54 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "6f145e60-d1b3-4eeb-8dc1-89719fcf03f1", - "x-ms-ratelimit-remaining-calls-per-second": "165.15" + "X-Ms-Correlation-Request-Id": "843c9469-3fa4-4bd6-b10b-93ae04218fd4", + "x-ms-ratelimit-remaining-calls-per-second": "164.9" }, "ResponseBody": { "access_token": "Sanitized" @@ -271,7 +242,7 @@ "Authorization": "Sanitized", "Content-Length": "84", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5d9fa87c4e249bc87587e02c9b848908", "x-ms-return-client-request-id": "true" }, @@ -292,7 +263,7 @@ "Connection": "keep-alive", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:16 GMT", + "Date": "Thu, 06 May 2021 00:54:55 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -300,7 +271,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "484d3ae8-610e-4a65-a61f-93e9ce8eb4b6" + "X-Ms-Correlation-Request-Id": "78c300fc-b458-44ce-a104-621902047690" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -308,8 +279,8 @@ "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": false, @@ -325,9 +296,8 @@ "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "738a4c94a65f967fa91c475fd0dd2371", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "00809e3b074c20dcc1930240c7891c30", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -342,16 +312,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:16 GMT", + "Date": "Thu, 06 May 2021 00:54:55 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6ca82cc8-e263-47d4-a4be-8abd9e68ccaa" + "X-Ms-Correlation-Request-Id": "efaf071d-07f6-4f35-a069-b5d279162143" }, "ResponseBody": { "errors": [ @@ -369,33 +339,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "fcf15dbc880423bb559953e8e3bfbb8c", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:16 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "96df6cdd-57a0-452b-bb77-188995148152", - "x-ms-ratelimit-remaining-calls-per-second": "165.133333" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -403,8 +346,8 @@ "Accept": "application/json", "Content-Length": "139", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "2c564da7577894231eea572fc07c50e4", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "738a4c94a65f967fa91c475fd0dd2371", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", @@ -412,12 +355,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:16 GMT", + "Date": "Thu, 06 May 2021 00:54:55 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "0f144ef0-62e9-4d38-9a26-10cb238660bf", - "x-ms-ratelimit-remaining-calls-per-second": "165.116667" + "X-Ms-Correlation-Request-Id": "ecb28d6f-5000-476e-8a38-8c0cd8fa0aec", + "x-ms-ratelimit-remaining-calls-per-second": "164.883333" }, "ResponseBody": { "access_token": "Sanitized" @@ -429,8 +372,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "738a4c94a65f967fa91c475fd0dd2371", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "00809e3b074c20dcc1930240c7891c30", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -445,7 +388,7 @@ "Connection": "keep-alive", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:16 GMT", + "Date": "Thu, 06 May 2021 00:54:55 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -453,7 +396,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "cd4cf226-58f8-4cd7-8226-3a8c805ecc46" + "X-Ms-Correlation-Request-Id": "147b0d0e-2ce4-4b31-9592-bf3c3c1e0913" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -461,8 +404,8 @@ "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": false, @@ -478,11 +421,10 @@ "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", - "Authorization": "Sanitized", "Content-Length": "80", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "6983917020980c2b90671dc65397b2e9", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "fcf15dbc880423bb559953e8e3bfbb8c", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -502,16 +444,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:16 GMT", + "Date": "Thu, 06 May 2021 00:54:55 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022invalid_token\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "cff3804d-5e82-46a2-931c-0597908b67ce" + "X-Ms-Correlation-Request-Id": "b5e6520f-e1e8-4ea7-b8a8-d37096dfea14" }, "ResponseBody": { "errors": [ @@ -529,33 +471,6 @@ ] } }, - { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "83b8bb61f68664f93a5cdd1a308b63d8", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:16 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d67e6b51-be59-48b7-a82d-6eb85d55c31f", - "x-ms-ratelimit-remaining-calls-per-second": "165.1" - }, - "ResponseBody": { - "refresh_token": "Sanitized" - } - }, { "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", "RequestMethod": "POST", @@ -563,8 +478,8 @@ "Accept": "application/json", "Content-Length": "140", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "52776f49513b87f3214a9c11395c4187", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "2c564da7577894231eea572fc07c50e4", "x-ms-return-client-request-id": "true" }, "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", @@ -572,12 +487,12 @@ "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:16 GMT", + "Date": "Thu, 06 May 2021 00:54:55 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "fa8fb91f-bc18-4cf4-a9da-22f68384c16b", - "x-ms-ratelimit-remaining-calls-per-second": "165.083333" + "X-Ms-Correlation-Request-Id": "2141acc6-39c7-4769-94fa-9686ffb8fcaf", + "x-ms-ratelimit-remaining-calls-per-second": "164.866667" }, "ResponseBody": { "access_token": "Sanitized" @@ -591,8 +506,8 @@ "Authorization": "Sanitized", "Content-Length": "80", "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210423.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "6983917020980c2b90671dc65397b2e9", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "fcf15dbc880423bb559953e8e3bfbb8c", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -612,7 +527,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 23 Apr 2021 18:34:16 GMT", + "Date": "Thu, 06 May 2021 00:54:55 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -620,7 +535,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "76d7262f-2a37-4f0e-a48e-68276e78123a" + "X-Ms-Correlation-Request-Id": "9726f1a6-b837-4169-a5e7-8169884587c7" }, "ResponseBody": { "registry": "localtestacr01.azurecr.io", @@ -628,8 +543,8 @@ "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-04-23T18:32:19.9441775Z", - "lastUpdateTime": "2021-04-23T18:32:19.9441775Z", + "createdTime": "2021-05-06T00:53:01.4496936Z", + "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", "signed": false, "changeableAttributes": { "deleteEnabled": true,