diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 5005c0b5d55c..bdfbe439755f 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -9,7 +9,7 @@
/sdk/ @joshfree @srnagar @hemanttanwar @anuchandy @conniey @jianghaolu
# BOM
-# PRLabel: %Azure.Core
+# PRLabel: %bom
/sdk/boms/azure-sdk-bom/ @alzimmermsft @jonathangiles @srnagar @hemanttanwar @anuchandy @pallavit
# PRLabel: %azure-spring
/sdk/boms/azure-spring-boot-bom/ @saragluna @yiliuTo @chenrujun @backwind1233 @stliu
@@ -75,6 +75,9 @@
/sdk/monitor/azure-monitor-opentelemetry-exporter @trask @joshfree @srnagar
+# PRLabel: %Mixed Reality Authentication
+/sdk/mixedreality/azure-mixedreality-authentication @craigktreasure
+
# PRLabel: %Remote Rendering
/sdk/remoterendering/ @MalcolmTyrrell
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index 28ed816e108a..6dbb12ce3acf 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -27,8 +27,8 @@ If applicable, add screenshots to help explain your problem.
**Setup (please complete the following information):**
- OS: [e.g. iOS]
- - IDE : [e.g. IntelliJ]
- - Version of the Library used
+ - IDE: [e.g. IntelliJ]
+ - Library/Libraries: [e.g. com.azure:azure-core:1.16.0 (groupId:artifactId:version)]
**Additional context**
Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/question-query-template.md b/.github/ISSUE_TEMPLATE/question-query-template.md
index ac1478681c1e..7cd72d183918 100644
--- a/.github/ISSUE_TEMPLATE/question-query-template.md
+++ b/.github/ISSUE_TEMPLATE/question-query-template.md
@@ -15,8 +15,8 @@ A clear explanation of why is this not a bug or a feature request?
**Setup (please complete the following information if applicable):**
- OS: [e.g. iOS]
- - IDE : [e.g. IntelliJ]
- - Version of the Library used
+ - IDE: [e.g. IntelliJ]
+ - Library/Libraries: [e.g. com.azure:azure-core:1.16.0 (groupId:artifactId:version)]
**Information Checklist**
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
diff --git a/common/smoke-tests/pom.xml b/common/smoke-tests/pom.xml
index c900d38dc034..a1bc535cad2f 100644
--- a/common/smoke-tests/pom.xml
+++ b/common/smoke-tests/pom.xml
@@ -112,7 +112,7 @@
com.azure
azure-core-amqp
- 2.0.5
+ 2.0.6
@@ -142,7 +142,7 @@
com.azure
azure-messaging-eventhubs-checkpointstore-blob
- 1.7.0
+ 1.7.1
diff --git a/eng/.docsettings.yml b/eng/.docsettings.yml
index 846d2c6d3218..50b913ab73d3 100644
--- a/eng/.docsettings.yml
+++ b/eng/.docsettings.yml
@@ -129,7 +129,7 @@ known_content_issues:
- ['sdk/communication/azure-communication-sms/swagger/README.md', '#3113']
- ['sdk/communication/azure-communication-identity/swagger/README.md', '#3113']
- ['sdk/communication/azure-communication-phonenumbers/swagger/README.md', '#3113']
- - ['sdk/confidentialledger/azure-data-confidentialledger/swagger/README.md', '#3113']
+ - ['sdk/confidentialledger/azure-security-confidentialledger/swagger/README.md', '#3113']
- ['sdk/cosmos/changelog/README.md', '#3113']
- ['sdk/cosmos/faq/README.md', '#3113']
- ['sdk/cosmos/azure-cosmos-benchmark/README.md', '#3113']
diff --git a/eng/code-quality-reports/src/main/resources/revapi/revapi.json b/eng/code-quality-reports/src/main/resources/revapi/revapi.json
index 8c253d921880..024c7488286f 100644
--- a/eng/code-quality-reports/src/main/resources/revapi/revapi.json
+++ b/eng/code-quality-reports/src/main/resources/revapi/revapi.json
@@ -506,6 +506,12 @@
"code": "java.annotation.attributeValueChanged",
"new": "@interface com.azure.core.annotation.JsonFlatten",
"justification": "Changes made the annotation more permissive on the target types."
+ },
+ {
+ "code": "java.field.serialVersionUIDUnchanged",
+ "old": "field com.azure.core.amqp.exception.AmqpErrorContext.serialVersionUID",
+ "new": "field com.azure.core.amqp.exception.AmqpErrorContext.serialVersionUID",
+ "justification": "The field ErrorInfo was added to AmqpErrorContext, but no existing fields were removed or changed."
}
]
}
diff --git a/eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml b/eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml
index b05c56ddaaf3..426a165f9677 100755
--- a/eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml
+++ b/eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml
@@ -2486,7 +2486,7 @@
-
+
diff --git a/eng/common/pipelines/templates/jobs/archetype-sdk-tests-generate.yml b/eng/common/pipelines/templates/jobs/archetype-sdk-tests-generate.yml
index 431043ff1420..2bf2bd97cdb0 100644
--- a/eng/common/pipelines/templates/jobs/archetype-sdk-tests-generate.yml
+++ b/eng/common/pipelines/templates/jobs/archetype-sdk-tests-generate.yml
@@ -35,7 +35,7 @@ parameters:
# When that occurs, provide a name other than the default value.
- name: GenerateJobName
type: string
- default: 'generate_matrix'
+ default: 'generate_job_matrix'
jobs:
- job: ${{ parameters.GenerateJobName }}
@@ -44,7 +44,6 @@ jobs:
pool:
name: ${{ parameters.Pool }}
vmImage: ${{ parameters.OsVmImage }}
- displayName: Generate Job Matrix
${{ if parameters.DependsOn }}:
dependsOn: ${{ parameters.DependsOn }}
steps:
diff --git a/eng/common/scripts/Delete-RemoteBranches.ps1 b/eng/common/scripts/Delete-RemoteBranches.ps1
index f3a0e8729893..f5ad981bd7be 100644
--- a/eng/common/scripts/Delete-RemoteBranches.ps1
+++ b/eng/common/scripts/Delete-RemoteBranches.ps1
@@ -1,7 +1,14 @@
param(
+ [Parameter(Mandatory = $true)]
$RepoOwner,
+ # Use this if a pull request might have been opened from one repo against another.
+ # E.g Pull request opened from azure-sdk/azure-sdk prBranch --> Azure/azure-sdk baseBranch
+ $ForkRepoOwner,
+ [Parameter(Mandatory = $true)]
$RepoName,
+ [Parameter(Mandatory = $true)]
$BranchPrefix,
+ [Parameter(Mandatory = $true)]
$AuthToken
)
@@ -23,6 +30,11 @@ foreach ($branch in $branches)
$head = "${RepoOwner}/${RepoName}:${branchName}"
LogDebug "Operating on branch [ $branchName ]"
$pullRequests = Get-GitHubPullRequests -RepoOwner $RepoOwner -RepoName $RepoName -State "all" -Head $head -AuthToken $AuthToken
+
+ if ($ForkRepoOwner)
+ {
+ $pullRequests += Get-GitHubPullRequests -RepoOwner $ForkRepoOwner -RepoName $RepoName -State "all" -Head $head -AuthToken $AuthToken
+ }
}
catch
{
@@ -31,16 +43,19 @@ foreach ($branch in $branches)
}
$openPullRequests = $pullRequests | ? { $_.State -eq "open" }
-
- if ($openPullRequests.Count -eq 0)
+ if ($openPullRequests.Count -gt 0)
{
- LogDebug "Branch [ $branchName ] in repo [ $RepoName ] has no associated open Pull Request. Deleting Branch"
- try{
- Remove-GitHubSourceReferences -RepoOwner $RepoOwner -RepoName $RepoName -Ref ($branch.Remove(0,5)) -AuthToken $AuthToken
- }
- catch {
- LogError "Remove-GitHubSourceReferences failed with exception:`n$_"
- exit 1
- }
+ LogDebug "Branch [ $branchName ] in repo [ $RepoName ] has open pull Requests. Skipping"
+ LogDebug $openPullRequests.url
+ continue
+ }
+
+ LogDebug "Branch [ $branchName ] in repo [ $RepoName ] has no associated open Pull Request. Deleting Branch"
+ try{
+ Remove-GitHubSourceReferences -RepoOwner $RepoOwner -RepoName $RepoName -Ref ($branch.Remove(0,5)) -AuthToken $AuthToken
+ }
+ catch {
+ LogError "Remove-GitHubSourceReferences failed with exception:`n$_"
+ exit 1
}
}
\ No newline at end of file
diff --git a/eng/common/scripts/Helpers/ApiView-Helpers.ps1 b/eng/common/scripts/Helpers/ApiView-Helpers.ps1
new file mode 100644
index 000000000000..3be12566e239
--- /dev/null
+++ b/eng/common/scripts/Helpers/ApiView-Helpers.ps1
@@ -0,0 +1,55 @@
+function MapLanguageName($language)
+{
+ $lang = $language
+ # Update language name to match those in API cosmos DB. Cosmos SQL is case sensitive and handling this within the query makes it slow.
+ if($lang -eq 'javascript'){
+ $lang = "JavaScript"
+ }
+ elseif ($lang -eq "dotnet"){
+ $lang = "C#"
+ }
+ elseif ($lang -eq "java"){
+ $lang = "Java"
+ }
+ elseif ($lang -eq "python"){
+ $lang = "Python"
+ }
+ else{
+ $lang = $null
+ }
+ return $lang
+}
+
+function Check-ApiReviewStatus($packageName, $packageVersion, $language, $url, $apiKey)
+{
+ # Get API view URL and API Key to check status
+ Write-Host "Checking API review status"
+ $lang = MapLanguageName -language $language
+ if ($lang -eq $null) {
+ return
+ }
+ $headers = @{ "ApiKey" = $apiKey }
+ $body = @{
+ language = $lang
+ packageName = $packageName
+ packageVersion = $packageVersion
+ }
+
+ try
+ {
+ $response = Invoke-WebRequest $url -Method 'GET' -Headers $headers -Body $body
+ if ($response.StatusCode -eq '200')
+ {
+ Write-Host "API Review is approved for package $($packageName)"
+ }
+ else
+ {
+ Write-Warning "API Review is not approved for package $($packageName). Release pipeline will fail if API review is not approved."
+ Write-Host "You can check http://aka.ms/azsdk/engsys/apireview/faq for more details on API Approval."
+ }
+ }
+ catch
+ {
+ Write-Warning "Failed to check API review status for package $($PackageName). You can check http://aka.ms/azsdk/engsys/apireview/faq for more details on API Approval."
+ }
+}
\ No newline at end of file
diff --git a/eng/common/scripts/Prepare-Release.ps1 b/eng/common/scripts/Prepare-Release.ps1
index 2c7b61522048..eed113299a2e 100644
--- a/eng/common/scripts/Prepare-Release.ps1
+++ b/eng/common/scripts/Prepare-Release.ps1
@@ -49,6 +49,7 @@ param(
Set-StrictMode -Version 3
. ${PSScriptRoot}\common.ps1
+. ${PSScriptRoot}\Helpers\ApiView-Helpers.ps1
function Get-ReleaseDay($baseDate)
{
@@ -141,6 +142,26 @@ if ($LASTEXITCODE -ne 0) {
exit 1
}
+# Check API status if version is GA
+if (!$newVersionParsed.IsPrerelease)
+{
+ try
+ {
+ az account show *> $null
+ if (!$?) {
+ Write-Host 'Running az login...'
+ az login *> $null
+ }
+ $url = az keyvault secret show --name "APIURL" --vault-name "AzureSDKPrepRelease-KV" --query "value" --output "tsv"
+ $apiKey = az keyvault secret show --name "APIKEY" --vault-name "AzureSDKPrepRelease-KV" --query "value" --output "tsv"
+ Check-ApiReviewStatus -PackageName $packageProperties.Name -packageVersion $newVersion -Language $LanguageDisplayName -url $url -apiKey $apiKey
+ }
+ catch
+ {
+ Write-Warning "Failed to get APIView URL and API Key from Keyvault AzureSDKPrepRelease-KV. Please check and ensure you have access to this Keyvault as reader."
+ }
+}
+
if ($releaseTrackingOnly)
{
Write-Host
diff --git a/eng/common/scripts/git-branch-push.ps1 b/eng/common/scripts/git-branch-push.ps1
index e99a8edbd59f..fb3875e7c330 100644
--- a/eng/common/scripts/git-branch-push.ps1
+++ b/eng/common/scripts/git-branch-push.ps1
@@ -37,7 +37,7 @@ param(
[boolean] $AmendCommit = $false
)
-# This is necessay because of the janky git command output writing to stderr.
+# This is necessary because of the git command output writing to stderr.
# Without explicitly setting the ErrorActionPreference to continue the script
# would fail the first time git wrote command output.
$ErrorActionPreference = "Continue"
@@ -116,8 +116,9 @@ do
$needsRetry = $true
Write-Host "Git push failed with LASTEXITCODE=$($LASTEXITCODE) Need to fetch and rebase: attempt number=$($tryNumber)"
- Write-Host "git fetch $RemoteName"
- git fetch $RemoteName
+ Write-Host "git fetch $RemoteName $PRBranchName"
+ # Full fetch will fail when the repo is in a sparse-checkout state, and single branch fetch is faster anyway.
+ git fetch $RemoteName $PRBranchName
if ($LASTEXITCODE -ne 0)
{
Write-Error "Unable to fetch remote LASTEXITCODE=$($LASTEXITCODE), see command output above."
diff --git a/eng/pipelines/partner-release.yml b/eng/pipelines/partner-release.yml
index 48735edcb16e..8399c953d9e1 100644
--- a/eng/pipelines/partner-release.yml
+++ b/eng/pipelines/partner-release.yml
@@ -6,7 +6,7 @@ resources:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
- ref: refs/tags/azure-sdk-build-tools_20200916.1
+ ref: refs/tags/azure-sdk-build-tools_20210603.1
variables:
BuildToolScripts: $(Pipeline.Workspace)/azure-sdk-build-tools/scripts
diff --git a/eng/pipelines/templates/jobs/build-validate-pom.yml b/eng/pipelines/templates/jobs/build-validate-pom.yml
index e39787073992..5868c863145f 100644
--- a/eng/pipelines/templates/jobs/build-validate-pom.yml
+++ b/eng/pipelines/templates/jobs/build-validate-pom.yml
@@ -20,6 +20,15 @@ jobs:
ArtifactName: 'packages'
steps:
+ - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
+ parameters:
+ Paths:
+ - 'sdk/${{ parameters.ServiceDirectory }}'
+ - '**/*.xml'
+ - '**/*.md'
+ - '!sdk/**/test-recordings'
+ - '!sdk/**/session-records'
+
- script: |
echo "##vso[build.addbuildtag]Scheduled"
displayName: 'Tag scheduled builds'
diff --git a/eng/pipelines/templates/stages/archetype-java-release-pom-only.yml b/eng/pipelines/templates/stages/archetype-java-release-pom-only.yml
index f048862cf43d..3156a111cd15 100644
--- a/eng/pipelines/templates/stages/archetype-java-release-pom-only.yml
+++ b/eng/pipelines/templates/stages/archetype-java-release-pom-only.yml
@@ -60,12 +60,14 @@ stages:
variables:
- template: ../variables/globals.yml
pool:
+ name: Azure Pipelines
vmImage: vs2017-win2016
strategy:
runOnce:
deploy:
steps:
- - checkout: self
+ - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
+ - template: /eng/common/pipelines/templates/steps/retain-run.yml
- template: /eng/common/pipelines/templates/steps/create-tags-and-git-release.yml
parameters:
ArtifactLocation: $(Pipeline.Workspace)/${{parameters.ArtifactName}}-signed/${{artifact.groupId}}/${{artifact.name}}
@@ -86,10 +88,15 @@ stages:
runOnce:
deploy:
steps:
- - checkout: self
- path: azure-sdk-for-java
- checkout: azure-sdk-build-tools
path: azure-sdk-build-tools
+ - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
+ parameters:
+ SkipDefaultCheckout: true
+ Repositories:
+ - Name: Azure/azure-sdk-for-java
+ Commitish: $(Build.SourceVersion)
+ WorkingDirectory: $(Pipeline.Workspace)/azure-sdk-for-java
- template: tools/gpg/gpg.yml@azure-sdk-build-tools
- template: /eng/pipelines/templates/steps/java-publishing.yml
parameters:
diff --git a/eng/pipelines/templates/stages/archetype-java-release.yml b/eng/pipelines/templates/stages/archetype-java-release.yml
index e40dee9b723f..b7bef63a1464 100644
--- a/eng/pipelines/templates/stages/archetype-java-release.yml
+++ b/eng/pipelines/templates/stages/archetype-java-release.yml
@@ -274,7 +274,13 @@ stages:
runOnce:
deploy:
steps:
- - checkout: self
+ - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
+ parameters:
+ Paths:
+ - '${{ parameters.ServiceDirectory }}'
+ - '**/*.xml'
+ - '!sdk/**/test-recordings'
+ - '!sdk/**/session-records'
- task: UsePythonVersion@0
displayName: 'Use Python 3.6'
diff --git a/eng/pipelines/templates/stages/archetype-sdk-client.yml b/eng/pipelines/templates/stages/archetype-sdk-client.yml
index fc3d02468b01..10a8169d7f6f 100644
--- a/eng/pipelines/templates/stages/archetype-sdk-client.yml
+++ b/eng/pipelines/templates/stages/archetype-sdk-client.yml
@@ -3,7 +3,7 @@ resources:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
- ref: refs/tags/azure-sdk-build-tools_20200916.1
+ ref: refs/tags/azure-sdk-build-tools_20210603.1
parameters:
- name: Artifacts
diff --git a/eng/pipelines/templates/stages/archetype-sdk-pom-only.yml b/eng/pipelines/templates/stages/archetype-sdk-pom-only.yml
index 40600fbbab2d..db390d3151a2 100644
--- a/eng/pipelines/templates/stages/archetype-sdk-pom-only.yml
+++ b/eng/pipelines/templates/stages/archetype-sdk-pom-only.yml
@@ -3,7 +3,7 @@ resources:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
- ref: refs/tags/azure-sdk-build-tools_20200916.1
+ ref: refs/tags/azure-sdk-build-tools_20210603.1
parameters:
- name: Artifacts
diff --git a/eng/pipelines/templates/stages/cosmos-sdk-client.yml b/eng/pipelines/templates/stages/cosmos-sdk-client.yml
index a24de9ab2101..078f17aef53f 100644
--- a/eng/pipelines/templates/stages/cosmos-sdk-client.yml
+++ b/eng/pipelines/templates/stages/cosmos-sdk-client.yml
@@ -3,7 +3,7 @@ resources:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
- ref: refs/tags/azure-sdk-build-tools_20200916.1
+ ref: refs/tags/azure-sdk-build-tools_20210603.1
parameters:
- name: Artifacts
diff --git a/eng/pipelines/templates/variables/globals.yml b/eng/pipelines/templates/variables/globals.yml
index a40f373699a1..4d3cb3037422 100644
--- a/eng/pipelines/templates/variables/globals.yml
+++ b/eng/pipelines/templates/variables/globals.yml
@@ -8,7 +8,8 @@ variables:
# Maven build/test options
MAVEN_CACHE_FOLDER: $(Pipeline.Workspace)/.m2/repository
# See https://github.com/actions/virtual-environments/issues/1499 for more info about the wagon options
- WagonOptions: '-Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120'
+ # If reports about Maven dependency downloads become more common investigate re-introducing "-Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false", or other iterations of the configurations.
+ WagonOptions: '-Dmaven.wagon.httpconnectionManager.ttlSeconds=60'
DefaultOptions: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER) --batch-mode --fail-at-end --settings eng/settings.xml $(WagonOptions)'
LoggingOptions: '-Dorg.slf4j.simpleLogger.defaultLogLevel=error -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
MemoryOptions: '-Xmx3072m'
diff --git a/eng/precommit_local_build.py b/eng/precommit_local_build.py
index 83eb5dd5b0e2..88ab07c082b2 100644
--- a/eng/precommit_local_build.py
+++ b/eng/precommit_local_build.py
@@ -73,15 +73,17 @@ def get_artifacts_from_pom(pom_path: str, build_artifacts: list, debug: bool):
def main():
parser = argparse.ArgumentParser(description='Runs compilation, testing, and linting for the passed artifacts.')
- parser.add_argument('--artifacts', '--a', type=str, default=None, help='Comma separated list of groupId:artifactId identifiers')
- parser.add_argument('--poms', '--p', type=str, default=None, help='Comma separated list of POM paths')
- parser.add_argument('--skip-tests', '--st', action='store_true', help='Skips running tests')
- parser.add_argument('--skip-javadocs', '--sj', action='store_true', help='Skips javadoc generation')
- parser.add_argument('--skip-checkstyle', '--sc', action='store_true', help='Skips checkstyle linting')
- parser.add_argument('--skip-spotbugs', '--ss', action='store_true', help='Skips spotbugs linting')
- parser.add_argument('--skip-revapi', '--sr', action='store_true', help='Skips revapi linting')
- parser.add_argument('--command-only', '--co', action='store_true', help='Indicates that only the command should be generated and not ran')
- parser.add_argument('--debug', '--d', action='store_true', help='Generates command with verbose logging')
+ parser.add_argument('--artifacts', '-a', type=str, default=None, help='Comma separated list of groupId:artifactId identifiers')
+ parser.add_argument('--poms', '-p', type=str, default=None, help='Comma separated list of POM paths')
+ parser.add_argument('--skip-tests', '-st', action='store_true', help='Skips running tests')
+ parser.add_argument('--skip-javadocs', '-sj', action='store_true', help='Skips javadoc generation')
+ parser.add_argument('--skip-checkstyle', '-sc', action='store_true', help='Skips checkstyle linting')
+ parser.add_argument('--skip-spotbugs', '-ss', action='store_true', help='Skips spotbugs linting')
+ parser.add_argument('--skip-revapi', '-sr', action='store_true', help='Skips revapi linting')
+ parser.add_argument('--skip-readme', '-smd', action='store_true', help='Skips README validation')
+ parser.add_argument('--skip-changelog', '-scl', action='store_true', help='Skips CHANGELOG validation')
+ parser.add_argument('--command-only', '-co', action='store_true', help='Indicates that only the command should be generated and not ran')
+ parser.add_argument('--debug', '-d', action='store_true', help='Generates command with verbose logging')
args = parser.parse_args()
if args.artifacts == None and args.poms == None:
@@ -101,23 +103,36 @@ def main():
if build_artifacts.count == 0:
raise ValueError('No build artifacts found.')
- skip_arguments = []
+ arguments = []
if args.skip_tests:
- skip_arguments.append('"-DskipTests=true"')
+ arguments.append('"-DskipTests=true"')
if args.skip_javadocs:
- skip_arguments.append('"-Dmaven.javadocs.skip=true"')
+ arguments.append('"-Dmaven.javadocs.skip=true"')
if args.skip_checkstyle:
- skip_arguments.append('"-Dcheckstyle.skip=true"')
+ arguments.append('"-Dcheckstyle.skip=true"')
if args.skip_spotbugs:
- skip_arguments.append('"-Dspotbugs.skip=true"')
+ arguments.append('"-Dspotbugs.skip=true"')
if args.skip_revapi:
- skip_arguments.append('"-Drevapi.skip=true"')
+ arguments.append('"-Drevapi.skip=true"')
- maven_command = base_command.format(','.join(list(set(build_artifacts))), ' '.join(skip_arguments))
+ if not args.skip_readme:
+ arguments.append('"-Dverify-readme"')
+
+ if not args.skip_changelog:
+ arguments.append('"-Dverify-changelog"')
+
+ # If Checkstyle, Spotbugs, or RevApi is being ran install sdk-build-tools to ensure the linting configuration is up-to-date.
+ if not args.skip_checkstyle or not args.skip_spotbugs or not args.skip_revapi:
+ if debug:
+ print('Installing sdk-build-tools as Checkstyle, Spotbugs, or RevApi linting is being performed.')
+
+ os.system('mvn install -f ' + os.path.join('eng', 'code-quality-reports', 'pom.xml'))
+
+ maven_command = base_command.format(','.join(list(set(build_artifacts))), ' '.join(arguments))
print('Running Maven command: {}'.format(maven_command))
diff --git a/eng/versioning/external_dependencies.txt b/eng/versioning/external_dependencies.txt
index ef6c2fd70038..66ab24f03efd 100644
--- a/eng/versioning/external_dependencies.txt
+++ b/eng/versioning/external_dependencies.txt
@@ -31,7 +31,7 @@ com.microsoft.azure:azure-keyvault-cryptography;1.2.2
com.microsoft.azure:azure-media;0.9.8
com.microsoft.azure:azure-servicebus;3.6.1
com.microsoft.azure:azure-servicebus-jms;0.0.7
-com.microsoft.azure:qpid-proton-j-extensions;1.2.3
+com.microsoft.azure:qpid-proton-j-extensions;1.2.4
com.microsoft.azure.sdk.iot:iot-service-client;1.28.0
com.microsoft.rest:client-runtime;1.7.4
com.microsoft.rest.v2:client-runtime;2.1.1
@@ -77,7 +77,7 @@ org.apache.httpcomponents:httpclient;4.5.13
org.apache.logging.log4j:log4j-api;2.14.1
org.apache.logging.log4j:log4j-core;2.14.1
org.apache.logging.log4j:log4j-slf4j-impl;2.14.1
-org.apache.qpid:proton-j;0.33.4
+org.apache.qpid:proton-j;0.33.8
org.apache.qpid:qpid-jms-client;0.53.0
org.apache.tinkerpop:gremlin-driver;3.2.4
org.asynchttpclient:async-http-client;2.12.1
@@ -226,7 +226,7 @@ io.dropwizard.metrics:metrics-graphite;4.1.21
io.dropwizard.metrics:metrics-jvm;4.1.21
io.reactivex.rxjava2:rxjava;2.2.21
net.java.dev.jna:jna-platform;5.6.0
-net.jonathangiles.tools:dependencyChecker-maven-plugin;1.0.5
+net.jonathangiles.tools:dependencyChecker-maven-plugin;1.0.6
net.jonathangiles.tools:whitelistgenerator-maven-plugin;1.0.2
org.apache.commons:commons-collections4;4.2
org.apache.commons:commons-text;1.6
@@ -285,8 +285,8 @@ test_jar_com.microsoft.azure:azure-mgmt-resources;1.3.1-SNAPSHOT
# everything under sdk\cosmos
cosmos_com.fasterxml.jackson.module:jackson-module-afterburner;2.12.2
cosmos_com.google.guava:guava;25.0-jre
-cosmos_com.microsoft.data.encryption:cryptography;0.2.1.jre8-preview
-cosmos_com.microsoft.data.encryption:azure-key-vault-keystoreprovider;0.2.1.jre8-preview
+cosmos_com.microsoft.data.encryption:cryptography;0.2.2.jre8-preview
+cosmos_com.microsoft.data.encryption:azure-key-vault-keystoreprovider;0.2.2.jre8-preview
cosmos_io.dropwizard.metrics:metrics-core;4.1.0
cosmos_io.dropwizard.metrics:metrics-graphite;4.1.0
cosmos_io.dropwizard.metrics:metrics-jvm;4.1.0
diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index 229c380ad101..6bc60543b3b2 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -59,7 +59,7 @@ com.azure:azure-communication-identity;1.1.0;1.2.0-beta.1
com.azure:azure-communication-phonenumbers;1.0.1;1.1.0-beta.1
com.azure:azure-containers-containerregistry;1.0.0-beta.2;1.0.0-beta.3
com.azure:azure-core;1.16.0;1.17.0-beta.1
-com.azure:azure-core-amqp;2.0.5;2.1.0-beta.1
+com.azure:azure-core-amqp;2.0.6;2.1.0-beta.1
com.azure:azure-core-amqp-experimental;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-core-experimental;1.0.0-beta.13;1.0.0-beta.14
com.azure:azure-core-http-jdk-httpclient;1.0.0-beta.1;1.0.0-beta.1
@@ -79,7 +79,6 @@ com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12;4.2.0-beta.1;4.2.0-beta.1
com.azure:azure-cosmos-encryption;1.0.0-beta.5;1.0.0-beta.6
com.azure:azure-data-appconfiguration;1.1.12;1.2.0-beta.2
com.azure:azure-data-appconfiguration-perf;1.0.0-beta.1;1.0.0-beta.1
-com.azure:azure-data-confidentialledger;1.0.0-beta.1;1.0.0-beta.2
com.azure:azure-data-schemaregistry;1.0.0-beta.4;1.0.0-beta.5
com.azure:azure-data-schemaregistry-avro;1.0.0-beta.4;1.0.0-beta.5
com.azure:azure-data-tables;12.0.0-beta.7;12.0.0-beta.8
@@ -91,10 +90,10 @@ com.azure:azure-iot-deviceupdate;1.0.0-beta.1;1.0.0-beta.2
com.azure:azure-iot-modelsrepository;1.0.0-beta.1;1.0.0-beta.2
com.azure:azure-messaging-eventgrid;4.3.0;4.4.0-beta.1
com.azure:azure-messaging-eventhubs;5.7.1;5.8.0-beta.1
-com.azure:azure-messaging-eventhubs-checkpointstore-blob;1.7.0;1.8.0-beta.1
+com.azure:azure-messaging-eventhubs-checkpointstore-blob;1.7.1;1.8.0-beta.1
com.azure:azure-messaging-eventhubs-track1-perf;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-messaging-eventhubs-track2-perf;1.0.0-beta.1;1.0.0-beta.1
-com.azure:azure-messaging-servicebus;7.2.1;7.3.0-beta.3
+com.azure:azure-messaging-servicebus;7.2.2;7.3.0-beta.3
com.azure:azure-messaging-servicebus-track1-perf;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-messaging-servicebus-track2-perf;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-messaging-webpubsub;1.0.0-beta.2;1.0.0-beta.3
@@ -106,6 +105,7 @@ com.azure:azure-quantum-jobs;1.0.0-beta.1;1.0.0-beta.2
com.azure:azure-search-documents;11.3.2;11.4.0-beta.3
com.azure:azure-search-perf;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-security-attestation;1.0.0-beta.1;1.0.0-beta.2
+com.azure:azure-security-confidentialledger;1.0.0-beta.2;1.0.0-beta.2
com.azure:azure-security-keyvault-administration;4.0.0-beta.7;4.0.0-beta.8
com.azure:azure-security-keyvault-certificates;4.1.8;4.2.0-beta.7
com.azure:azure-security-keyvault-jca;1.0.0-beta.7;1.0.0-beta.8
@@ -298,6 +298,7 @@ com.azure.resourcemanager:azure-resourcemanager-imagebuilder;1.0.0-beta.1;1.0.0-
com.azure.resourcemanager:azure-resourcemanager-maps;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-botservice;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-recoveryservicesbackup;1.0.0-beta.1;1.0.0-beta.2
+com.azure.resourcemanager:azure-resourcemanager-deviceprovisioningservices;1.0.0;1.1.0-beta.1
# Unreleased dependencies: Copy the entry from above, prepend "unreleased_" and remove the current
# version. Unreleased dependencies are only valid for dependency versions.
@@ -308,6 +309,7 @@ com.azure.resourcemanager:azure-resourcemanager-recoveryservicesbackup;1.0.0-bet
#
unreleased_com.azure:azure-core;1.17.0-beta.1
unreleased_com.azure:azure-core-amqp;2.1.0-beta.1
+unreleased_com.azure:azure-core-management;1.3.0-beta.1
# Released Beta dependencies: Copy the entry from above, prepend "beta_", remove the current
# version and set the version to the released beta. Released beta dependencies are only valid
diff --git a/pom.xml b/pom.xml
index 593ffcb08189..0524f27a56a1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@
sdk/communication/azure-communication-sms
- sdk/confidentialledger/azure-data-confidentialledger
+ sdk/confidentialledger/azure-security-confidentialledger
sdk/containerregistry/azure-containers-containerregistry
@@ -367,7 +367,7 @@
Azure Confidential Ledger
- com.azure.data.confidentialledger.*
+ com.azure.security.confidentialledger.*
@@ -472,7 +472,7 @@
-
+
@@ -589,7 +589,7 @@
So, path for aggregate reports have to be defined relative to parent pom -->
-maxLineLength 120
-snippetpath ${project.basedir}/sdk/appconfiguration/azure-data-appconfiguration/src/samples/java
- -snippetpath ${project.basedir}/sdk/confidentialledger/azure-data-confidentialledger/src/samples/java
+ -snippetpath ${project.basedir}/sdk/confidentialledger/azure-security-confidentialledger/src/samples/java
-snippetpath ${project.basedir}/sdk/containerregistry/azure-containers-containerregistry/src/samples/java
-snippetpath ${project.basedir}/sdk/core/azure-core/src/samples/java
-snippetpath ${project.basedir}/sdk/core/azure-core-amqp/src/samples/java
@@ -732,6 +732,7 @@
sdk/datamigration
sdk/delegatednetwork
sdk/deploymentmanager
+ sdk/deviceprovisioningservices
sdk/deviceupdate
sdk/devspaces
sdk/devtestlabs
diff --git a/sdk/appconfiguration/azure-spring-cloud-starter-appconfiguration-config/README.md b/sdk/appconfiguration/azure-spring-cloud-starter-appconfiguration-config/README.md
index a037d66ed4d0..355dcf3e3618 100644
--- a/sdk/appconfiguration/azure-spring-cloud-starter-appconfiguration-config/README.md
+++ b/sdk/appconfiguration/azure-spring-cloud-starter-appconfiguration-config/README.md
@@ -327,7 +327,7 @@ Please follow [instructions here][contributing_md] to build from source or contr
[logging_doc]: https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#boot-features-logging
[contributing_md]: https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/spring/CONTRIBUTING.md
[maven]: https://maven.apache.org/
-[spring_conversion_duration]: https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html#boot-features-external-config-conversion-duration
+[spring_conversion_duration]: https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.external-config.typesafe-configuration-properties.conversion.durations
[azure_managed_identity]: https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/overview
[enable_managed_identities]: https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/overview#how-can-i-use-managed-identities-for-azure-resources
[support_azure_services]: https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/services-support-managed-identities
diff --git a/sdk/appconfiguration/spring-cloud-starter-azure-appconfiguration-config/README.md b/sdk/appconfiguration/spring-cloud-starter-azure-appconfiguration-config/README.md
index b697d7d1c883..eb61f2580992 100644
--- a/sdk/appconfiguration/spring-cloud-starter-azure-appconfiguration-config/README.md
+++ b/sdk/appconfiguration/spring-cloud-starter-azure-appconfiguration-config/README.md
@@ -241,7 +241,7 @@ public class MyClient implements ConfigurationClientBuilderSetup, SecretClientBu
[azure_managed_identity]: https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/overview
[enable_managed_identities]: https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/overview#how-can-i-use-managed-identities-for-azure-resources
[support_azure_services]: https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/services-support-managed-identities
-[spring_conversion_duration]: https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html#boot-features-external-config-conversion-duration
+[spring_conversion_duration]: https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.external-config.typesafe-configuration-properties.conversion.durations
[azure_subscription]: https://azure.microsoft.com/free
[jdk_link]: https://docs.microsoft.com/java/azure/jdk/?view=azure-java-stable
[maven]: https://maven.apache.org/
diff --git a/sdk/boms/azure-sdk-bom/CHANGELOG.md b/sdk/boms/azure-sdk-bom/CHANGELOG.md
index bf6db63cfa7c..75981f6827d8 100644
--- a/sdk/boms/azure-sdk-bom/CHANGELOG.md
+++ b/sdk/boms/azure-sdk-bom/CHANGELOG.md
@@ -1,6 +1,6 @@
# Release History
-## 1.0.3-beta.1 (Unreleased)
+## 1.0.3 (2021-06-02)
### Dependency Updates
diff --git a/sdk/boms/azure-sdk-bom/pom.xml b/sdk/boms/azure-sdk-bom/pom.xml
index 303cb040bafd..461cec9f1280 100644
--- a/sdk/boms/azure-sdk-bom/pom.xml
+++ b/sdk/boms/azure-sdk-bom/pom.xml
@@ -5,7 +5,7 @@
4.0.0
com.azure
azure-sdk-bom
- 1.0.3-beta.1
+ 1.0.4-beta.1
pom
Azure Java SDK BOM (Bill of Materials)
Azure Java SDK BOM (Bill of Materials)
@@ -179,7 +179,7 @@
com.azure
azure-messaging-eventhubs-checkpointstore-blob
- 1.7.0
+ 1.7.1
@@ -385,7 +385,7 @@
net.jonathangiles.tools
dependencyChecker-maven-plugin
- 1.0.5
+ 1.0.6
package
diff --git a/sdk/boms/azure-spring-cloud-dependencies/pom.xml b/sdk/boms/azure-spring-cloud-dependencies/pom.xml
index f674b313f116..e63748da8b4f 100644
--- a/sdk/boms/azure-spring-cloud-dependencies/pom.xml
+++ b/sdk/boms/azure-spring-cloud-dependencies/pom.xml
@@ -48,7 +48,7 @@
1.3.0
1.16.0
5.7.1
- 1.7.0
+ 1.7.1
3.6.1
12.9.1
diff --git a/sdk/communication/azure-communication-chat/CHANGELOG.md b/sdk/communication/azure-communication-chat/CHANGELOG.md
index 945ec8249985..cea00d286a69 100644
--- a/sdk/communication/azure-communication-chat/CHANGELOG.md
+++ b/sdk/communication/azure-communication-chat/CHANGELOG.md
@@ -1,6 +1,8 @@
# Release History
## 1.1.0-beta.1 (Unreleased)
+- Added method `ChatThreadAsyncClient.listParticipants(ListParticipantsOptions listParticipantsOptions)`
+- Added method `ChatThreadAsyncClient.listReadReceipts(ListReadReceiptOptions listReadReceiptOptions)`
## 1.0.1 (2021-05-27)
- Dependency versions updated.
diff --git a/sdk/communication/azure-communication-chat/pom.xml b/sdk/communication/azure-communication-chat/pom.xml
index 7cc62dd52847..f0a85bb294e3 100644
--- a/sdk/communication/azure-communication-chat/pom.xml
+++ b/sdk/communication/azure-communication-chat/pom.xml
@@ -170,47 +170,5 @@
-
- disable-coverage-if-identity
-
-
- env.TEST_PACKAGES_ENABLED
- identity
-
-
-
- src/main
- src/test
- true
-
-
-
- disable-coverage-if-phonenumbers
-
-
- env.TEST_PACKAGES_ENABLED
- phonenumbers
-
-
-
- src/main
- src/test
- true
-
-
-
- disable-coverage-if-sms
-
-
- env.TEST_PACKAGES_ENABLED
- sms
-
-
-
- src/main
- src/test
- true
-
-
diff --git a/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/ChatThreadAsyncClient.java b/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/ChatThreadAsyncClient.java
index c8f46652457c..bf8d335fa030 100644
--- a/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/ChatThreadAsyncClient.java
+++ b/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/ChatThreadAsyncClient.java
@@ -345,6 +345,35 @@ public PagedFlux listParticipants() {
return listParticipants(listParticipantsOptions, Context.NONE);
}
+ /**
+ * Gets the participants of a thread.
+ *
+ * @param listParticipantsOptions The request options.
+ * @return the participants of a thread.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux listParticipants(ListParticipantsOptions listParticipantsOptions) {
+ final ListParticipantsOptions serviceListParticipantsOptions =
+ listParticipantsOptions == null ? new ListParticipantsOptions() : listParticipantsOptions;
+
+ try {
+ return pagedFluxConvert(new PagedFlux<>(
+ () -> withContext(context ->
+ this.chatThreadClient.listChatParticipantsSinglePageAsync(
+ chatThreadId,
+ serviceListParticipantsOptions.getMaxPageSize(),
+ serviceListParticipantsOptions.getSkip(),
+ context)
+ .onErrorMap(CommunicationErrorResponseException.class, e -> translateException(e))),
+ nextLink -> withContext(context ->
+ this.chatThreadClient.listChatParticipantsNextSinglePageAsync(nextLink, context)
+ .onErrorMap(CommunicationErrorResponseException.class, e -> translateException(e)))),
+ f -> ChatParticipantConverter.convert(f));
+ } catch (RuntimeException ex) {
+ return new PagedFlux<>(() -> monoError(logger, ex));
+ }
+ }
+
/**
* Gets the participants of a thread.
*
@@ -821,6 +850,34 @@ public PagedFlux listReadReceipts() {
}
}
+ /**
+ * Gets read receipts for a thread.
+ *
+ * @param listReadReceiptOptions The additional options for this operation.
+ * @return read receipts for a thread.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux listReadReceipts(ListReadReceiptOptions listReadReceiptOptions) {
+ final ListReadReceiptOptions serviceListReadReceiptOptions =
+ listReadReceiptOptions == null ? new ListReadReceiptOptions() : listReadReceiptOptions;
+
+ try {
+ return pagedFluxConvert(new PagedFlux<>(
+ () -> withContext(context -> this.chatThreadClient.listChatReadReceiptsSinglePageAsync(
+ chatThreadId,
+ serviceListReadReceiptOptions.getMaxPageSize(),
+ serviceListReadReceiptOptions.getSkip(),
+ context)
+ .onErrorMap(CommunicationErrorResponseException.class, e -> translateException(e))),
+ nextLink -> withContext(context -> this.chatThreadClient.listChatReadReceiptsNextSinglePageAsync(
+ nextLink, context)
+ .onErrorMap(CommunicationErrorResponseException.class, e -> translateException(e)))),
+ f -> ChatMessageReadReceiptConverter.convert(f));
+ } catch (RuntimeException ex) {
+ return new PagedFlux<>(() -> monoError(logger, ex));
+ }
+ }
+
/**
* Gets read receipts for a thread.
*
diff --git a/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatAsyncClientTest.java b/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatAsyncClientTest.java
index 27e723e58170..eebeaf5b9f31 100644
--- a/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatAsyncClientTest.java
+++ b/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatAsyncClientTest.java
@@ -30,7 +30,6 @@
import java.util.UUID;
import static org.junit.jupiter.api.Assertions.*;
-import static org.junit.jupiter.api.Assumptions.assumeTrue;
/**
* Set the AZURE_TEST_MODE environment variable to either PLAYBACK or RECORD to determine if tests are playback or
@@ -46,12 +45,6 @@ public class ChatAsyncClientTest extends ChatClientTestBase {
private CommunicationUserIdentifier firstThreadMember;
private CommunicationUserIdentifier secondThreadMember;
- @Override
- protected void beforeTest() {
- super.beforeTest();
- assumeTrue(shouldEnableChatTests());
- }
-
@Override
protected void afterTest() {
super.afterTest();
diff --git a/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatClientTest.java b/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatClientTest.java
index 2c803d0e9a48..89cd18a49ba8 100644
--- a/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatClientTest.java
+++ b/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatClientTest.java
@@ -6,7 +6,6 @@
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
-import static org.junit.jupiter.api.Assumptions.assumeTrue;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
@@ -40,12 +39,6 @@ public class ChatClientTest extends ChatClientTestBase {
private CommunicationUserIdentifier firstThreadMember;
private CommunicationUserIdentifier secondThreadMember;
- @Override
- protected void beforeTest() {
- super.beforeTest();
- assumeTrue(shouldEnableChatTests());
- }
-
@Override
protected void afterTest() {
super.afterTest();
diff --git a/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatClientTestBase.java b/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatClientTestBase.java
index 048e7420a984..1df05fdd4ca8 100644
--- a/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatClientTestBase.java
+++ b/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatClientTestBase.java
@@ -46,9 +46,6 @@ public class ChatClientTestBase extends TestBase {
protected static final String ACCESS_KEY = Configuration.getGlobalConfiguration()
.get("COMMUNICATION_SERVICE_ACCESS_KEY", "pw==");
- private static final String TEST_PACKAGES_ENABLED = Configuration.getGlobalConfiguration()
- .get("TEST_PACKAGES_ENABLED", "all");
-
private static final StringJoiner JSON_PROPERTIES_TO_REDACT
= new StringJoiner("\":\"|\"", "\"", "\":\"")
.add("token");
@@ -215,10 +212,6 @@ protected ChatClientBuilder addLoggingPolicyForIdentityClientBuilder(ChatClientB
return builder.addPolicy(new CommunicationLoggerPolicy(testName));
}
- protected boolean shouldEnableChatTests() {
- return TEST_PACKAGES_ENABLED.matches("(all|chat)");
- }
-
private String redact(String content, Matcher matcher, String replacement) {
while (matcher.find()) {
String captureGroup = matcher.group(1);
diff --git a/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadAsyncClientTest.java b/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadAsyncClientTest.java
index 064e3897c8df..37c9f7df11ed 100644
--- a/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadAsyncClientTest.java
+++ b/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadAsyncClientTest.java
@@ -6,7 +6,6 @@
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
-import static org.junit.jupiter.api.Assumptions.assumeTrue;
import com.azure.communication.chat.implementation.models.CommunicationErrorResponseException;
import com.azure.core.exception.HttpResponseException;
@@ -58,12 +57,6 @@ public class ChatThreadAsyncClientTest extends ChatClientTestBase {
private CommunicationUserIdentifier firstAddedParticipant;
private CommunicationUserIdentifier secondAddedParticipant;
- @Override
- protected void beforeTest() {
- super.beforeTest();
- assumeTrue(shouldEnableChatTests());
- }
-
@Override
protected void afterTest() {
super.afterTest();
@@ -195,6 +188,43 @@ public void canAddListAndRemoveMembersAsync(HttpClient httpClient) throws Interr
}
}
+ @ParameterizedTest
+ @MethodSource("com.azure.core.test.TestBase#getHttpClients")
+ public void canAddListAndRemoveMembersWithOptionsAsync(HttpClient httpClient) throws InterruptedException {
+ // Arrange
+ setupTest(httpClient, "canAddListAndRemoveMembersWithOptionsAsync");
+ firstAddedParticipant = communicationClient.createUser();
+ secondAddedParticipant = communicationClient.createUser();
+
+ Iterable participants = ChatOptionsProvider.addParticipantsOptions(
+ firstAddedParticipant.getId(), secondAddedParticipant.getId());
+
+ // Act & Assert
+ StepVerifier.create(chatThreadClient.addParticipants(participants))
+ .assertNext(noResp -> {
+ PagedIterable participantsResponse =
+ new PagedIterable<>(chatThreadClient.listParticipants(new ListParticipantsOptions().setMaxPageSize(2)));
+
+ // process the iterableByPage
+ List returnedParticipants = new ArrayList();
+ participantsResponse.iterableByPage().forEach(resp -> {
+ assertEquals(200, resp.getStatusCode());
+ resp.getItems().forEach(item -> returnedParticipants.add(item));
+ });
+
+ for (ChatParticipant participant : participants) {
+ assertTrue(checkParticipantsListContainsParticipantId(returnedParticipants,
+ ((CommunicationUserIdentifier) participant.getCommunicationIdentifier()).getId()));
+ }
+ assertTrue(returnedParticipants.size() == 4);
+ });
+
+ for (ChatParticipant participant : participants) {
+ StepVerifier.create(chatThreadClient.removeParticipant(participant.getCommunicationIdentifier()))
+ .verifyComplete();
+ }
+ }
+
@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
public void canAddListWithContextAndRemoveMembersAsync(HttpClient httpClient) throws InterruptedException {
@@ -754,6 +784,40 @@ public void canSendThenListReadReceipts(HttpClient httpClient) throws Interrupte
});
}
+ @ParameterizedTest
+ @MethodSource("com.azure.core.test.TestBase#getHttpClients")
+ @DisabledIfEnvironmentVariable(
+ named = "SKIP_LIVE_TEST",
+ matches = "(?i)(true)")
+ public void canSendThenListReadReceiptsWithOptions(HttpClient httpClient) throws InterruptedException {
+ // Arrange
+ setupTest(httpClient, "canSendThenListReadReceiptsWithOptions");
+ SendChatMessageOptions messageRequest = ChatOptionsProvider.sendMessageOptions();
+ AtomicReference messageResponseRef = new AtomicReference<>();
+
+ // Action & Assert
+ StepVerifier.create(
+ chatThreadClient.sendMessage(messageRequest)
+ .flatMap(response -> {
+ messageResponseRef.set(response.getId());
+ return chatThreadClient.sendReadReceipt(response.getId());
+ })
+ )
+ .assertNext(noResp -> {
+ PagedIterable readReceiptsResponse = new PagedIterable(
+ chatThreadClient.listReadReceipts(new ListReadReceiptOptions().setMaxPageSize(1)));
+
+ // process the iterableByPage
+ List returnedReadReceipts = new ArrayList<>();
+ readReceiptsResponse.iterableByPage().forEach(resp -> {
+ assertEquals(200, resp.getStatusCode());
+ resp.getItems().forEach(item -> returnedReadReceipts.add(item));
+ });
+ assertTrue(returnedReadReceipts.size() > 0);
+ checkReadReceiptListContainsMessageId(returnedReadReceipts, messageResponseRef.get());
+ });
+ }
+
@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@DisabledIfEnvironmentVariable(
@@ -814,6 +878,31 @@ public Mono send(HttpRequest request) {
assertNotNull(readReceiptList.get(0).getSender());
}
+ @ParameterizedTest
+ @MethodSource("com.azure.core.test.TestBase#getHttpClients")
+ public void canListReadReceiptsWithOptions(HttpClient httpClient) {
+ HttpClient mockHttpClient = new NoOpHttpClient() {
+ @Override
+ public Mono send(HttpRequest request) {
+ return Mono.just(ChatResponseMocker.createReadReceiptsResponse(request));
+ }
+ };
+ setupUnitTest(mockHttpClient);
+ PagedFlux readReceipts = chatThreadClient.listReadReceipts(
+ new ListReadReceiptOptions().setMaxPageSize(1));
+
+ // // process the iterableByPage
+ List readReceiptList = new ArrayList();
+ readReceipts.toIterable().forEach(receipt -> {
+ readReceiptList.add(receipt);
+ });
+
+ assertEquals(readReceiptList.size(), 2);
+ assertNotNull(readReceiptList.get(0).getChatMessageId());
+ assertNotNull(readReceiptList.get(0).getReadOn());
+ assertNotNull(readReceiptList.get(0).getSender());
+ }
+
@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
public void canListReadReceiptsWithContext(HttpClient httpClient) {
diff --git a/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadClientTest.java b/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadClientTest.java
index 8a55178ab83f..448dfcbb28de 100644
--- a/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadClientTest.java
+++ b/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadClientTest.java
@@ -6,7 +6,6 @@
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
-import static org.junit.jupiter.api.Assumptions.assumeTrue;
import static org.junit.jupiter.api.Assertions.assertThrows;
import com.azure.core.exception.HttpResponseException;
@@ -54,12 +53,6 @@ public class ChatThreadClientTest extends ChatClientTestBase {
private CommunicationUserIdentifier firstAddedParticipant;
private CommunicationUserIdentifier secondAddedParticipant;
- @Override
- protected void beforeTest() {
- super.beforeTest();
- assumeTrue(shouldEnableChatTests());
- }
-
@Override
protected void afterTest() {
super.afterTest();
diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListAndRemoveMembersWithOptionsAsync[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListAndRemoveMembersWithOptionsAsync[1].json
new file mode 100644
index 000000000000..af09770de899
--- /dev/null
+++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListAndRemoveMembersWithOptionsAsync[1].json
@@ -0,0 +1,185 @@
+{
+ "networkCallRecords" : [ {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-azure-communication-identity/1.1.0 (1.8.0_262; Windows 10; 10.0)",
+ "Content-Type" : "application/json"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Cache" : "CONFIG_NOCACHE",
+ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1",
+ "retry-after" : "0",
+ "StatusCode" : "201",
+ "Date" : "Thu, 27 May 2021 23:51:46 GMT",
+ "Strict-Transport-Security" : "max-age=2592000",
+ "X-Processing-Time" : "65ms",
+ "MS-CV" : "hqKed1k7x0S/mm6LYGzcSw.0",
+ "X-Azure-Ref" : "0kzCwYAAAAAChuA8zcmkMQYT4vvdf/WISV1NURURHRTA4MDYAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx",
+ "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-501f-6485-ceb1-a43a0d0027ee\"}}",
+ "x-ms-client-request-id" : "1fb6a2f3-9d13-44dd-9825-9aa4b6f8b89f",
+ "Content-Type" : "application/json; charset=utf-8",
+ "Request-Context" : "appId="
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-azure-communication-identity/1.1.0 (1.8.0_262; Windows 10; 10.0)",
+ "Content-Type" : "application/json"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Cache" : "CONFIG_NOCACHE",
+ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1",
+ "retry-after" : "0",
+ "StatusCode" : "201",
+ "Date" : "Thu, 27 May 2021 23:51:47 GMT",
+ "Strict-Transport-Security" : "max-age=2592000",
+ "X-Processing-Time" : "111ms",
+ "MS-CV" : "Je2DwMX8yk6PS/W8Qa0JtQ.0",
+ "X-Azure-Ref" : "0kzCwYAAAAABI9YzwMZsyQ7RZMB7krrLBV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx",
+ "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-501f-6519-740a-113a0d0032ad\"}}",
+ "x-ms-client-request-id" : "fa3f8778-a7de-4f26-8c66-8437cd626f60",
+ "Content-Type" : "application/json; charset=utf-8",
+ "Request-Context" : "appId="
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-501f-6485-ceb1-a43a0d0027ee/:issueAccessToken?api-version=2021-03-07",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-azure-communication-identity/1.1.0 (1.8.0_262; Windows 10; 10.0)",
+ "Content-Type" : "application/json"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Cache" : "CONFIG_NOCACHE",
+ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 23:51:47 GMT",
+ "Strict-Transport-Security" : "max-age=2592000",
+ "X-Processing-Time" : "125ms",
+ "MS-CV" : "YjGZ7mhh8E6Rucg6dPGMAA.0",
+ "X-Azure-Ref" : "0kzCwYAAAAABYIwc+TdlCSLiyjspz8M40V1NURURHRTA4MDYAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx",
+ "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-05-28T23:51:46.9935327+00:00\"}",
+ "x-ms-client-request-id" : "c8500a20-706c-4282-ae3f-43b4cf963cf8",
+ "Content-Type" : "application/json; charset=utf-8",
+ "Request-Context" : "appId="
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-03-07",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-azure-communication-chat/1.0.1 (1.8.0_262; Windows 10; 10.0)",
+ "Content-Type" : "application/json"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Cache" : "CONFIG_NOCACHE",
+ "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6",
+ "retry-after" : "0",
+ "StatusCode" : "201",
+ "Date" : "Thu, 27 May 2021 23:51:48 GMT",
+ "Strict-Transport-Security" : "max-age=2592000",
+ "X-Processing-Time" : "831ms",
+ "MS-CV" : "iLFmwh1kIEihViH/5X/rxA.0",
+ "X-Azure-Ref" : "0lDCwYAAAAAAaoMb88uUqRL44OB6f0ZNCV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx",
+ "Body" : "{\"chatThread\":{\"id\":\"19:eXCI9r5t4PcEHdHM4pZi4mjbmVpQsF5gATSJIxz_mL41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-05-27T23:51:48Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-501f-6485-ceb1-a43a0d0027ee\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-501f-6485-ceb1-a43a0d0027ee\"}}}}",
+ "Content-Type" : "application/json; charset=utf-8",
+ "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AeXCI9r5t4PcEHdHM4pZi4mjbmVpQsF5gATSJIxz_mL41@thread.v2"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-azure-communication-identity/1.1.0 (1.8.0_262; Windows 10; 10.0)",
+ "Content-Type" : "application/json"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Cache" : "CONFIG_NOCACHE",
+ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1",
+ "retry-after" : "0",
+ "StatusCode" : "201",
+ "Date" : "Thu, 27 May 2021 23:51:48 GMT",
+ "Strict-Transport-Security" : "max-age=2592000",
+ "X-Processing-Time" : "62ms",
+ "MS-CV" : "RXFlmlhlMUGIlISTXhYtpQ.0",
+ "X-Azure-Ref" : "0lDCwYAAAAAAd6CZA9n1KR6EvuE7we8DcV1NURURHRTA4MDYAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx",
+ "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-501f-69c0-ceb1-a43a0d0027ef\"}}",
+ "x-ms-client-request-id" : "ec9d25d1-bc5e-4723-ab47-5a3aca20234b",
+ "Content-Type" : "application/json; charset=utf-8",
+ "Request-Context" : "appId="
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-azure-communication-identity/1.1.0 (1.8.0_262; Windows 10; 10.0)",
+ "Content-Type" : "application/json"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Cache" : "CONFIG_NOCACHE",
+ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1",
+ "retry-after" : "0",
+ "StatusCode" : "201",
+ "Date" : "Thu, 27 May 2021 23:51:48 GMT",
+ "Strict-Transport-Security" : "max-age=2592000",
+ "X-Processing-Time" : "86ms",
+ "MS-CV" : "KVZRWdzijkCUR9JK1DndPg.0",
+ "X-Azure-Ref" : "0lTCwYAAAAACiK5KHtP2BSoA+i+C3ZzNxV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx",
+ "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-501f-6a40-740a-113a0d0032af\"}}",
+ "x-ms-client-request-id" : "f00f8a1f-f26c-4a6e-ad26-8fe31ad313e5",
+ "Content-Type" : "application/json; charset=utf-8",
+ "Request-Context" : "appId="
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:eXCI9r5t4PcEHdHM4pZi4mjbmVpQsF5gATSJIxz_mL41@thread.v2/participants/:remove?api-version=2021-03-07",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-azure-communication-chat/1.0.1 (1.8.0_262; Windows 10; 10.0)",
+ "Content-Type" : "application/json"
+ },
+ "Response" : {
+ "X-Cache" : "CONFIG_NOCACHE",
+ "Strict-Transport-Security" : "max-age=2592000",
+ "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6",
+ "X-Processing-Time" : "176ms",
+ "MS-CV" : "h6KGMwolGk6sV5PEJpf/jg.0",
+ "retry-after" : "0",
+ "X-Azure-Ref" : "0lTCwYAAAAAA3yWMV3OwYT6KImV3TNXrZV1NURURHRTA4MDYAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx",
+ "StatusCode" : "204",
+ "Date" : "Thu, 27 May 2021 23:51:48 GMT"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:eXCI9r5t4PcEHdHM4pZi4mjbmVpQsF5gATSJIxz_mL41@thread.v2/participants/:remove?api-version=2021-03-07",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-azure-communication-chat/1.0.1 (1.8.0_262; Windows 10; 10.0)",
+ "Content-Type" : "application/json"
+ },
+ "Response" : {
+ "X-Cache" : "CONFIG_NOCACHE",
+ "Strict-Transport-Security" : "max-age=2592000",
+ "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6",
+ "X-Processing-Time" : "403ms",
+ "MS-CV" : "spA6zr1ZB0OHd9VnV0/K2g.0",
+ "retry-after" : "0",
+ "X-Azure-Ref" : "0lTCwYAAAAACNNOLqovnwRoHfm01ydwNXV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx",
+ "StatusCode" : "204",
+ "Date" : "Thu, 27 May 2021 23:51:49 GMT"
+ },
+ "Exception" : null
+ } ],
+ "variables" : [ ]
+}
\ No newline at end of file
diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListReadReceiptsWithOptions[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListReadReceiptsWithOptions[1].json
new file mode 100644
index 000000000000..8bd9ef5dcae2
--- /dev/null
+++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListReadReceiptsWithOptions[1].json
@@ -0,0 +1,17 @@
+{
+ "networkCallRecords" : [ {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/readReceipts?maxPageSize=1&api-version=2021-03-07",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)"
+ },
+ "Response" : {
+ "retry-after" : "0",
+ "Content-Length" : "433",
+ "StatusCode" : "200",
+ "Body" : "{\"value\":[{\"senderCommunicationIdentifier\":{\"communicationUser\":{ \"id\":\"8:acs:9b665d53-8164-4923-ad5d-5e983b07d2e7_00000005-334f-e4af-b274-5a3a0d0002f9\"} },\"chatMessageId\":\"1600201311647\",\"readOn\":\"2020-09-15T20:21:51Z\"},{\"senderCommunicationIdentifier\":{\"communicationUser\":{ \"id\":\"8:acs:9b665d53-8164-4923-ad5d-5e983b07d2e7_00000005-334f-e4af-b274-5a3a0d0002f9\"} },\"chatMessageId\":\"1600201311648\",\"readOn\":\"2020-09-15T20:21:53Z\"}]}"
+ },
+ "Exception" : null
+ } ],
+ "variables" : [ ]
+}
\ No newline at end of file
diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenListReadReceiptsWithOptions[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenListReadReceiptsWithOptions[1].json
new file mode 100644
index 000000000000..f4d102ff0a1b
--- /dev/null
+++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenListReadReceiptsWithOptions[1].json
@@ -0,0 +1,99 @@
+{
+ "networkCallRecords" : [ {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-azure-communication-identity/1.1.0 (1.8.0_262; Windows 10; 10.0)",
+ "Content-Type" : "application/json"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Cache" : "CONFIG_NOCACHE",
+ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1",
+ "retry-after" : "0",
+ "StatusCode" : "201",
+ "Date" : "Thu, 27 May 2021 23:52:12 GMT",
+ "Strict-Transport-Security" : "max-age=2592000",
+ "X-Processing-Time" : "61ms",
+ "MS-CV" : "TDyTtCHa6kqK44Rh3zuaJw.0",
+ "X-Azure-Ref" : "0rTCwYAAAAABLRDxBM+nLSayRS62sQnz1V1NURURHRTA4MDYAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx",
+ "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-501f-c903-ceb1-a43a0d002804\"}}",
+ "x-ms-client-request-id" : "6fbc1025-c3ce-46f8-8a08-ea3588f27116",
+ "Content-Type" : "application/json; charset=utf-8",
+ "Request-Context" : "appId="
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-azure-communication-identity/1.1.0 (1.8.0_262; Windows 10; 10.0)",
+ "Content-Type" : "application/json"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Cache" : "CONFIG_NOCACHE",
+ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1",
+ "retry-after" : "0",
+ "StatusCode" : "201",
+ "Date" : "Thu, 27 May 2021 23:52:13 GMT",
+ "Strict-Transport-Security" : "max-age=2592000",
+ "X-Processing-Time" : "85ms",
+ "MS-CV" : "wBhusif1zUitP9JUJIaPVw.0",
+ "X-Azure-Ref" : "0rTCwYAAAAAAU2eFs/5clTb91qKAtXWhAV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx",
+ "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-501f-c981-740a-113a0d0032ca\"}}",
+ "x-ms-client-request-id" : "3ba392d9-5b8e-4bb5-946e-92804058d812",
+ "Content-Type" : "application/json; charset=utf-8",
+ "Request-Context" : "appId="
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-501f-c903-ceb1-a43a0d002804/:issueAccessToken?api-version=2021-03-07",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-azure-communication-identity/1.1.0 (1.8.0_262; Windows 10; 10.0)",
+ "Content-Type" : "application/json"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Cache" : "CONFIG_NOCACHE",
+ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 23:52:12 GMT",
+ "Strict-Transport-Security" : "max-age=2592000",
+ "X-Processing-Time" : "128ms",
+ "MS-CV" : "0kyf4J1soE+vLa6kr8qtEA.0",
+ "X-Azure-Ref" : "0rTCwYAAAAACjVRmvYejgS5oPr/ek1xuiV1NURURHRTA4MDYAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx",
+ "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-05-28T23:52:12.7058272+00:00\"}",
+ "x-ms-client-request-id" : "ad929ad9-0bc4-41c5-ac6b-62f913ecc920",
+ "Content-Type" : "application/json; charset=utf-8",
+ "Request-Context" : "appId="
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-03-07",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-azure-communication-chat/1.0.1 (1.8.0_262; Windows 10; 10.0)",
+ "Content-Type" : "application/json"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Cache" : "CONFIG_NOCACHE",
+ "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6",
+ "retry-after" : "0",
+ "StatusCode" : "201",
+ "Date" : "Thu, 27 May 2021 23:52:14 GMT",
+ "Strict-Transport-Security" : "max-age=2592000",
+ "X-Processing-Time" : "1090ms",
+ "MS-CV" : "/1oul2Rdhki5+y7QmKlChw.0",
+ "X-Azure-Ref" : "0rTCwYAAAAADHT172YwkAS4ZpcZ60/6qBV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx",
+ "Body" : "{\"chatThread\":{\"id\":\"19:7x968SeTYz5JaYALO9u9dXAHVpWcvdf2PWwhYjaKdxk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-05-27T23:52:13Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-501f-c903-ceb1-a43a0d002804\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-501f-c903-ceb1-a43a0d002804\"}}}}",
+ "Content-Type" : "application/json; charset=utf-8",
+ "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A7x968SeTYz5JaYALO9u9dXAHVpWcvdf2PWwhYjaKdxk1@thread.v2"
+ },
+ "Exception" : null
+ } ],
+ "variables" : [ ]
+}
\ No newline at end of file
diff --git a/sdk/communication/azure-communication-identity/pom.xml b/sdk/communication/azure-communication-identity/pom.xml
index 03b1a27204bb..b699d5458ba6 100644
--- a/sdk/communication/azure-communication-identity/pom.xml
+++ b/sdk/communication/azure-communication-identity/pom.xml
@@ -181,47 +181,5 @@
-
- disable-coverage-if-phonenumbers
-
-
- env.TEST_PACKAGES_ENABLED
- phonenumbers
-
-
-
- src/main
- src/test
- true
-
-
-
- disable-coverage-if-sms
-
-
- env.TEST_PACKAGES_ENABLED
- sms
-
-
-
- src/main
- src/test
- true
-
-
-
- disable-coverage-if-chat
-
-
- env.TEST_PACKAGES_ENABLED
- chat
-
-
-
- src/main
- src/test
- true
-
-
diff --git a/sdk/communication/azure-communication-identity/src/test/java/com/azure/communication/identity/CommunicationIdentityAsyncTests.java b/sdk/communication/azure-communication-identity/src/test/java/com/azure/communication/identity/CommunicationIdentityAsyncTests.java
index 750dbf95f6fa..f97a0cd92d7e 100644
--- a/sdk/communication/azure-communication-identity/src/test/java/com/azure/communication/identity/CommunicationIdentityAsyncTests.java
+++ b/sdk/communication/azure-communication-identity/src/test/java/com/azure/communication/identity/CommunicationIdentityAsyncTests.java
@@ -5,7 +5,6 @@
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
-import static org.junit.jupiter.api.Assumptions.assumeTrue;
import java.util.Arrays;
import java.util.List;
@@ -26,12 +25,6 @@
public class CommunicationIdentityAsyncTests extends CommunicationIdentityClientTestBase {
private CommunicationIdentityAsyncClient asyncClient;
- @Override
- protected void beforeTest() {
- super.beforeTest();
- assumeTrue(shouldEnableIdentityTests());
- }
-
@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
public void createAsyncIdentityClientUsingManagedIdentity(HttpClient httpClient) {
diff --git a/sdk/communication/azure-communication-identity/src/test/java/com/azure/communication/identity/CommunicationIdentityClientTestBase.java b/sdk/communication/azure-communication-identity/src/test/java/com/azure/communication/identity/CommunicationIdentityClientTestBase.java
index 697c2c9d4160..30a12efc9a6d 100644
--- a/sdk/communication/azure-communication-identity/src/test/java/com/azure/communication/identity/CommunicationIdentityClientTestBase.java
+++ b/sdk/communication/azure-communication-identity/src/test/java/com/azure/communication/identity/CommunicationIdentityClientTestBase.java
@@ -34,9 +34,6 @@ public class CommunicationIdentityClientTestBase extends TestBase {
protected static final String CONNECTION_STRING = Configuration.getGlobalConfiguration()
.get("COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING", "endpoint=https://REDACTED.communication.azure.com/;accesskey=QWNjZXNzS2V5");
- private static final String TEST_PACKAGES_ENABLED = Configuration.getGlobalConfiguration()
- .get("TEST_PACKAGES_ENABLED", "all");
-
private static final StringJoiner JSON_PROPERTIES_TO_REDACT
= new StringJoiner("\":\"|\"", "\"", "\":\"")
.add("token");
@@ -138,10 +135,6 @@ private Mono logHeaders(String testName, HttpPipelineNextPolicy ne
});
}
- protected boolean shouldEnableIdentityTests() {
- return TEST_PACKAGES_ENABLED.matches("(all|identity)");
- }
-
static class FakeCredentials implements TokenCredential {
@Override
public Mono getToken(TokenRequestContext tokenRequestContext) {
diff --git a/sdk/communication/azure-communication-identity/src/test/java/com/azure/communication/identity/CommunicationIdentityTests.java b/sdk/communication/azure-communication-identity/src/test/java/com/azure/communication/identity/CommunicationIdentityTests.java
index 6e0b225c83a1..b0ac974b2ba8 100644
--- a/sdk/communication/azure-communication-identity/src/test/java/com/azure/communication/identity/CommunicationIdentityTests.java
+++ b/sdk/communication/azure-communication-identity/src/test/java/com/azure/communication/identity/CommunicationIdentityTests.java
@@ -5,7 +5,6 @@
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
-import static org.junit.jupiter.api.Assumptions.assumeTrue;
import java.util.Arrays;
import java.util.List;
@@ -24,12 +23,6 @@
public class CommunicationIdentityTests extends CommunicationIdentityClientTestBase {
private CommunicationIdentityClient client;
- @Override
- protected void beforeTest() {
- super.beforeTest();
- assumeTrue(shouldEnableIdentityTests());
- }
-
@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
public void createIdentityClientUsingManagedIdentity(HttpClient httpClient) {
diff --git a/sdk/communication/azure-communication-phonenumbers/pom.xml b/sdk/communication/azure-communication-phonenumbers/pom.xml
index 72d1b01929f4..414f997d37fd 100644
--- a/sdk/communication/azure-communication-phonenumbers/pom.xml
+++ b/sdk/communication/azure-communication-phonenumbers/pom.xml
@@ -180,61 +180,5 @@
-
- disable-coverage-if-identity
-
-
- env.TEST_PACKAGES_ENABLED
- identity
-
-
-
- src/main
- src/test
- true
-
-
-
- disable-coverage-if-sms
-
-
- env.TEST_PACKAGES_ENABLED
- sms
-
-
-
- src/main
- src/test
- true
-
-
-
- disable-coverage-if-chat
-
-
- env.TEST_PACKAGES_ENABLED
- chat
-
-
-
- src/main
- src/test
- true
-
-
-
- disable-coverage-if-phonenumbers
-
-
- env.COMMUNICATION_SKIP_INT_PHONENUMBERS_TEST
- true
-
-
-
- src/main
- src/test
- true
-
-
diff --git a/sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/PhoneNumbersAsyncClientIntegrationTest.java b/sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/PhoneNumbersAsyncClientIntegrationTest.java
index 245222009f7f..22e2c3b6787c 100644
--- a/sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/PhoneNumbersAsyncClientIntegrationTest.java
+++ b/sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/PhoneNumbersAsyncClientIntegrationTest.java
@@ -26,16 +26,9 @@
import java.time.Duration;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
-import static org.junit.jupiter.api.Assumptions.assumeTrue;
public class PhoneNumbersAsyncClientIntegrationTest extends PhoneNumbersIntegrationTestBase {
- @Override
- protected void beforeTest() {
- super.beforeTest();
- assumeTrue(shouldEnablePhoneNumbersTests());
- }
-
@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
public void getPurchasedPhoneNumber(HttpClient httpClient) {
diff --git a/sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/PhoneNumbersClientBuilderTest.java b/sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/PhoneNumbersClientBuilderTest.java
index 7fab07c5f7cd..66ddc4898cf4 100644
--- a/sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/PhoneNumbersClientBuilderTest.java
+++ b/sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/PhoneNumbersClientBuilderTest.java
@@ -26,7 +26,6 @@
import static org.junit.jupiter.api.Assertions.*;
-import static org.junit.jupiter.api.Assumptions.assumeTrue;
import static org.mockito.Mockito.*;
@Execution(value = ExecutionMode.SAME_THREAD)
@@ -45,7 +44,6 @@ public class PhoneNumbersClientBuilderTest {
void setUp() {
this.httpClient = mock(HttpClient.class);
this.clientBuilder = Mockito.spy(new PhoneNumbersClientBuilder());
- assumeTrue(Configuration.getGlobalConfiguration().get("TEST_PACKAGES_ENABLED", "all").matches("all|phonenumbers"));
}
@AfterEach
diff --git a/sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/PhoneNumbersClientIntegrationTest.java b/sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/PhoneNumbersClientIntegrationTest.java
index 2ddc060f213b..0b2b0090c7a4 100644
--- a/sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/PhoneNumbersClientIntegrationTest.java
+++ b/sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/PhoneNumbersClientIntegrationTest.java
@@ -30,16 +30,9 @@
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.fail;
-import static org.junit.jupiter.api.Assumptions.assumeTrue;
public class PhoneNumbersClientIntegrationTest extends PhoneNumbersIntegrationTestBase {
- @Override
- protected void beforeTest() {
- super.beforeTest();
- assumeTrue(shouldEnablePhoneNumbersTests());
- }
-
@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
public void getPurchasedPhoneNumber(HttpClient httpClient) {
diff --git a/sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/PhoneNumbersIntegrationTestBase.java b/sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/PhoneNumbersIntegrationTestBase.java
index 12f68bb14789..03bed7ebe66c 100644
--- a/sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/PhoneNumbersIntegrationTestBase.java
+++ b/sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/PhoneNumbersIntegrationTestBase.java
@@ -37,9 +37,6 @@ public class PhoneNumbersIntegrationTestBase extends TestBase {
protected static final String PHONE_NUMBER =
Configuration.getGlobalConfiguration().get("AZURE_PHONE_NUMBER", "+11234567891");
- private static final String TEST_PACKAGES_ENABLED = Configuration.getGlobalConfiguration()
- .get("TEST_PACKAGES_ENABLED", "all");
-
private static final StringJoiner JSON_PROPERTIES_TO_REDACT =
new StringJoiner("\":\"|\"", "\"", "\":\"")
.add("id")
@@ -146,7 +143,4 @@ private String redact(String content, Matcher matcher, String replacement) {
return content;
}
- protected boolean shouldEnablePhoneNumbersTests() {
- return TEST_PACKAGES_ENABLED.matches("(all|phonenumbers)");
- }
}
diff --git a/sdk/communication/azure-communication-sms/pom.xml b/sdk/communication/azure-communication-sms/pom.xml
index 2cf833da7b9a..9ac2c2216164 100644
--- a/sdk/communication/azure-communication-sms/pom.xml
+++ b/sdk/communication/azure-communication-sms/pom.xml
@@ -144,62 +144,4 @@
-
-
- disable-coverage-if-identity
-
-
- env.TEST_PACKAGES_ENABLED
- identity
-
-
-
- src/main
- src/test
- true
-
-
-
- disable-coverage-if-phonenumbers
-
-
- env.TEST_PACKAGES_ENABLED
- phonenumbers
-
-
-
- src/main
- src/test
- true
-
-
-
- disable-coverage-if-chat
-
-
- env.TEST_PACKAGES_ENABLED
- chat
-
-
-
- src/main
- src/test
- true
-
-
-
- disable-coverage-if-sms
-
-
- env.COMMUNICATION_SKIP_INT_PHONENUMBERS_TEST
- true
-
-
-
- src/main
- src/test
- true
-
-
-
diff --git a/sdk/communication/azure-communication-sms/src/test/java/com/azure/communication/sms/SmsTestBase.java b/sdk/communication/azure-communication-sms/src/test/java/com/azure/communication/sms/SmsTestBase.java
index f21bd701cc4f..81547473b298 100644
--- a/sdk/communication/azure-communication-sms/src/test/java/com/azure/communication/sms/SmsTestBase.java
+++ b/sdk/communication/azure-communication-sms/src/test/java/com/azure/communication/sms/SmsTestBase.java
@@ -38,9 +38,6 @@ public class SmsTestBase extends TestBase {
protected static final String FROM_PHONE_NUMBER = Configuration.getGlobalConfiguration()
.get("AZURE_PHONE_NUMBER", "+15551234567");
- private static final String TEST_PACKAGES_ENABLED = Configuration.getGlobalConfiguration()
- .get("TEST_PACKAGES_ENABLED", "all");
-
private static final String SKIP_INT_SMS_TEST = Configuration.getGlobalConfiguration()
.get("COMMUNICATION_SKIP_INT_SMS_TEST", "False");
@@ -153,6 +150,6 @@ private String redact(String content, Matcher matcher, String replacement) {
}
protected boolean shouldEnableSmsTests() {
- return TEST_PACKAGES_ENABLED.matches("(all|sms)") && !Boolean.parseBoolean(SKIP_INT_SMS_TEST);
+ return !Boolean.parseBoolean(SKIP_INT_SMS_TEST);
}
}
diff --git a/sdk/communication/communication-tests-template.yml b/sdk/communication/communication-tests-template.yml
index 3d567ca197a2..627005f89d7e 100644
--- a/sdk/communication/communication-tests-template.yml
+++ b/sdk/communication/communication-tests-template.yml
@@ -21,6 +21,9 @@ stages:
groupId: com.azure
safeName: ${{ parameters.SafeName }}
ServiceDirectory: communication
+ PreSteps:
+ - bash: echo "##vso[task.setvariable variable=DefaultTestOptions]-Djacoco.skip=true $(DefaultTestOptions)"
+ condition: not(startsWith(variables['System.StageName'], 'Public'))
PostSteps:
- task: PublishCodeCoverageResults@1
condition: and(eq(variables['Agent.OS'], 'Windows_NT'), eq(variables['JavaTestVersion'], '1.11'), startsWith(variables['System.StageName'], 'Public'))
@@ -30,4 +33,4 @@ stages:
reportDirectory: sdk/communication/${{ parameters.PackageName }}/target/site/jacoco/
failIfCoverageEmpty: true
EnvVars:
- SKIP_LIVE_TEST: TRUE
+ SKIP_LIVE_TEST: TRUE
\ No newline at end of file
diff --git a/sdk/communication/tests.yml b/sdk/communication/tests.yml
deleted file mode 100644
index 13b976f89e37..000000000000
--- a/sdk/communication/tests.yml
+++ /dev/null
@@ -1,71 +0,0 @@
-trigger: none
-
-parameters:
- - name: TestPackagesEnabled
- displayName: Tests Enabled
- type: string
- default: all
- values:
- - all
- - chat
- - identity
- - phonenumbers
- - sms
-
-stages:
-- template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
- parameters:
- CloudConfig:
- Public:
- SubscriptionConfigurations:
- - $(sub-config-azure-cloud-test-resources)
- - $(sub-config-communication-services-cloud-test-resources-common)
- - $(sub-config-communication-services-cloud-test-resources-java)
- Int:
- SubscriptionConfigurations:
- - $(sub-config-communication-int-test-resources-common)
- - $(sub-config-communication-int-test-resources-java)
- Clouds: Public,Int
- Artifacts:
- - name: azure-communication-chat
- groupId: com.azure
- safeName: azurecommunicationchat
- - name: azure-communication-sms
- groupId: com.azure
- safeName: azurecommunicationsms
- - name: azure-communication-identity
- groupId: com.azure
- safeName: azurecommunicationidentity
- - name: azure-communication-phonenumbers
- groupId: com.azure
- safeName: azurecommunicationphonenumbers
- ServiceDirectory: communication
- PostSteps:
- - task: Maven@3
- displayName: 'Generate aggregate code coverage report'
- # The OSName variable gets set by the verify-agent-os.yml template
- condition: and(eq(variables['Agent.OS'], 'Windows_NT'), eq(variables['JavaTestVersion'], '1.11'))
- inputs:
- mavenPomFile: sdk/communication/pom.xml
- options: -Pcoverage
- mavenOptions: '$(MemoryOptions) $(LoggingOptions)'
- javaHomeOption: 'JDKVersion'
- jdkVersionOption: $(JavaTestVersion)
- jdkArchitectureOption: 'x64'
- goals: jacoco:report-aggregate
- # we want to run this when TestFromSource isn't true
- condition: and(succeeded(), ne(variables['TestFromSource'],'true'))
-
- # Azure DevOps only seems to respect the last code coverage result published, so only do this for Windows + Java LTS.
- # Code coverage reporting is setup only for Track 2 modules.
- - task: PublishCodeCoverageResults@1
- condition: and(eq(variables['Agent.OS'], 'Windows_NT'), eq(variables['JavaTestVersion'], '1.11'))
- inputs:
- codeCoverageTool: JaCoCo
- summaryFileLocation: sdk/communication/target/site/jacoco-aggregate/jacoco.xml
- reportDirectory: sdk/communication/target/site/jacoco-aggregate/
- failIfCoverageEmpty: false
- EnvVars:
- SKIP_PHONENUMBER_INTEGRATION_TESTS: TRUE
- SKIP_LIVE_TEST: TRUE
- TEST_PACKAGES_ENABLED: ${{ parameters.TestPackagesEnabled }}
diff --git a/sdk/confidentialledger/azure-data-confidentialledger/CHANGELOG.md b/sdk/confidentialledger/azure-data-confidentialledger/CHANGELOG.md
deleted file mode 100644
index c940c9df4636..000000000000
--- a/sdk/confidentialledger/azure-data-confidentialledger/CHANGELOG.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# Release History
-
-## 1.0.0-beta.2 (Unreleased)
-
-
-## 1.0.0-beta.1 (2021-05-11)
-
-- Initial beta release for Confidential Ledger client library.
diff --git a/sdk/confidentialledger/azure-security-confidentialledger/CHANGELOG.md b/sdk/confidentialledger/azure-security-confidentialledger/CHANGELOG.md
new file mode 100644
index 000000000000..fd5b97affb2a
--- /dev/null
+++ b/sdk/confidentialledger/azure-security-confidentialledger/CHANGELOG.md
@@ -0,0 +1,9 @@
+# Release History
+
+## 1.0.0-beta.2 (2021-06-08)
+
+- Rename package name from azure-data-confidentialledger to azure-security-confidentialledger
+
+## 1.0.0-beta.1 (2021-05-11)
+
+- Initial beta release for Confidential Ledger client library.
diff --git a/sdk/confidentialledger/azure-data-confidentialledger/README.md b/sdk/confidentialledger/azure-security-confidentialledger/README.md
similarity index 90%
rename from sdk/confidentialledger/azure-data-confidentialledger/README.md
rename to sdk/confidentialledger/azure-security-confidentialledger/README.md
index e4ddf31fe3ae..6444d4ea4000 100644
--- a/sdk/confidentialledger/azure-data-confidentialledger/README.md
+++ b/sdk/confidentialledger/azure-security-confidentialledger/README.md
@@ -18,12 +18,12 @@ portfolio, Azure Confidential Ledger runs in SGX enclaves. It is built on Micros
### Include the Package
-[//]: # ({x-version-update-start;com.azure:azure-data-confidentialledger;current})
+[//]: # ({x-version-update-start;com.azure:azure-security-confidentialledger;current})
```xml
com.azure
- azure-data-confidentialledger
- 1.0.0-beta.1
+ azure-security-confidentialledger
+ 1.0.0-beta.2
```
[//]: # ({x-version-update-end})
@@ -58,7 +58,7 @@ To use the [DefaultAzureCredential][DefaultAzureCredential] provider shown below
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET.
##### Example
-
+
```java
ConfidentialLedgerIdentityServiceBaseClient identityServiceClient = new ConfidentialLedgerClientBuilder()
.ledgerUri(new URL(""))
@@ -140,16 +140,16 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[ccf]: https://github.com/Microsoft/CCF
[azure_confidential_computing]: https://azure.microsoft.com/solutions/confidential-compute
[confidential_ledger_docs]: https://aka.ms/confidentialledger-servicedocs
-[samples]: src/samples/java/com/azure/data/confidentialledger
-[source_code]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/confidentialledger/azure-data-confidentialledger/src
-[samples_code]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/confidentialledger/azure-data-confidentialledger/src/samples/
+[samples]: src/samples/java/com/azure/security/confidentialledger
+[source_code]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/confidentialledger/azure-security-confidentialledger/src
+[samples_code]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/confidentialledger/azure-security-confidentialledger/src/samples/
[azure_subscription]: https://azure.microsoft.com/free/
[product_documentation]: https://aka.ms/confidentialledger-servicedocs
-[ledger_base_client_class]: https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/LedgerBaseClient.java
+[ledger_base_client_class]: https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/LedgerBaseClient.java
[azure_portal]: https://portal.azure.com
[jdk_link]: https://docs.microsoft.com/java/azure/jdk/?view=azure-java-stable
-[package]: https://mvnrepository.com/artifact/com.azure/azure-data-confidentialledger
-[samples_readme]: https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/confidentialledger/azure-data-confidentialledger/src/samples/README.md
+[package]: https://mvnrepository.com/artifact/com.azure/azure-security-confidentialledger
+[samples_readme]: https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/confidentialledger/azure-security-confidentialledger/src/samples/README.md
-
+
diff --git a/sdk/confidentialledger/azure-data-confidentialledger/pom.xml b/sdk/confidentialledger/azure-security-confidentialledger/pom.xml
similarity index 97%
rename from sdk/confidentialledger/azure-data-confidentialledger/pom.xml
rename to sdk/confidentialledger/azure-security-confidentialledger/pom.xml
index f0dfcb2b74f9..5351f5222b65 100644
--- a/sdk/confidentialledger/azure-data-confidentialledger/pom.xml
+++ b/sdk/confidentialledger/azure-security-confidentialledger/pom.xml
@@ -10,8 +10,8 @@
com.azure
- azure-data-confidentialledger
- 1.0.0-beta.2
+ azure-security-confidentialledger
+ 1.0.0-beta.2
Microsoft Azure client library for Confidential Ledger
This package contains Microsoft Azure Confidential Ledger client library.
diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/ConfidentialLedgerBaseClient.java b/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/ConfidentialLedgerBaseClient.java
similarity index 99%
rename from sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/ConfidentialLedgerBaseClient.java
rename to sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/ConfidentialLedgerBaseClient.java
index 7ef666eda155..778c8721c1aa 100644
--- a/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/ConfidentialLedgerBaseClient.java
+++ b/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/ConfidentialLedgerBaseClient.java
@@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
-package com.azure.data.confidentialledger;
+package com.azure.security.confidentialledger;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/ConfidentialLedgerClientBuilder.java b/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/ConfidentialLedgerClientBuilder.java
similarity index 99%
rename from sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/ConfidentialLedgerClientBuilder.java
rename to sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/ConfidentialLedgerClientBuilder.java
index 61fff1330201..14dad5677ee1 100644
--- a/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/ConfidentialLedgerClientBuilder.java
+++ b/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/ConfidentialLedgerClientBuilder.java
@@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
-package com.azure.data.confidentialledger;
+package com.azure.security.confidentialledger;
import com.azure.core.annotation.ServiceClientBuilder;
import com.azure.core.credential.TokenCredential;
diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/ConfidentialLedgerIdentityServiceBaseClient.java b/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/ConfidentialLedgerIdentityServiceBaseClient.java
similarity index 98%
rename from sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/ConfidentialLedgerIdentityServiceBaseClient.java
rename to sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/ConfidentialLedgerIdentityServiceBaseClient.java
index f705eb49fe4d..7fe95ff059a0 100644
--- a/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/ConfidentialLedgerIdentityServiceBaseClient.java
+++ b/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/ConfidentialLedgerIdentityServiceBaseClient.java
@@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
-package com.azure.data.confidentialledger;
+package com.azure.security.confidentialledger;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/package-info.java b/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/package-info.java
similarity index 87%
rename from sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/package-info.java
rename to sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/package-info.java
index 4d0a703718db..47f4a7b99b34 100644
--- a/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/package-info.java
+++ b/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/package-info.java
@@ -6,4 +6,4 @@
* Package containing the classes for ConfidentialLedgerClient. The ConfidentialLedgerClient writes and retrieves ledger
* entries against the Confidential Ledger service.
*/
-package com.azure.data.confidentialledger;
+package com.azure.security.confidentialledger;
diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/module-info.java b/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/module-info.java
similarity index 72%
rename from sdk/confidentialledger/azure-data-confidentialledger/src/main/java/module-info.java
rename to sdk/confidentialledger/azure-security-confidentialledger/src/main/java/module-info.java
index fdc105a6096a..b9a5e06f0f8e 100644
--- a/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/module-info.java
+++ b/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/module-info.java
@@ -2,9 +2,9 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
-module com.azure.data.confidentialledger {
+module com.azure.security.confidentialledger {
requires transitive com.azure.core;
requires transitive com.azure.core.experimental;
- exports com.azure.data.confidentialledger;
+ exports com.azure.security.confidentialledger;
}
diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/samples/README.md b/sdk/confidentialledger/azure-security-confidentialledger/src/samples/README.md
similarity index 100%
rename from sdk/confidentialledger/azure-data-confidentialledger/src/samples/README.md
rename to sdk/confidentialledger/azure-security-confidentialledger/src/samples/README.md
diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/samples/java/com/azure/data/confidentialledger/GetLedgerEntries.java b/sdk/confidentialledger/azure-security-confidentialledger/src/samples/java/com/azure/security/confidentialledger/GetLedgerEntries.java
similarity index 98%
rename from sdk/confidentialledger/azure-data-confidentialledger/src/samples/java/com/azure/data/confidentialledger/GetLedgerEntries.java
rename to sdk/confidentialledger/azure-security-confidentialledger/src/samples/java/com/azure/security/confidentialledger/GetLedgerEntries.java
index 3aa15a0dadf4..7a45582074bb 100644
--- a/sdk/confidentialledger/azure-data-confidentialledger/src/samples/java/com/azure/data/confidentialledger/GetLedgerEntries.java
+++ b/sdk/confidentialledger/azure-security-confidentialledger/src/samples/java/com/azure/security/confidentialledger/GetLedgerEntries.java
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-package com.azure.data.confidentialledger;
+package com.azure.security.confidentialledger;
import com.azure.core.experimental.http.DynamicResponse;
import com.azure.core.http.HttpClient;
diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/samples/java/com/azure/data/confidentialledger/ReadmeSamples.java b/sdk/confidentialledger/azure-security-confidentialledger/src/samples/java/com/azure/security/confidentialledger/ReadmeSamples.java
similarity index 98%
rename from sdk/confidentialledger/azure-data-confidentialledger/src/samples/java/com/azure/data/confidentialledger/ReadmeSamples.java
rename to sdk/confidentialledger/azure-security-confidentialledger/src/samples/java/com/azure/security/confidentialledger/ReadmeSamples.java
index 7dc8aa8291fb..008a1b62bd7c 100644
--- a/sdk/confidentialledger/azure-data-confidentialledger/src/samples/java/com/azure/data/confidentialledger/ReadmeSamples.java
+++ b/sdk/confidentialledger/azure-security-confidentialledger/src/samples/java/com/azure/security/confidentialledger/ReadmeSamples.java
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-package com.azure.data.confidentialledger;
+package com.azure.security.confidentialledger;
import com.azure.core.experimental.http.DynamicResponse;
import com.azure.core.http.HttpClient;
diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/test/java/com/azure/data/confidentialledger/ConfidentialLedgerBaseClientTests.java b/sdk/confidentialledger/azure-security-confidentialledger/src/test/java/com/azure/security/confidentialledger/ConfidentialLedgerBaseClientTests.java
similarity index 97%
rename from sdk/confidentialledger/azure-data-confidentialledger/src/test/java/com/azure/data/confidentialledger/ConfidentialLedgerBaseClientTests.java
rename to sdk/confidentialledger/azure-security-confidentialledger/src/test/java/com/azure/security/confidentialledger/ConfidentialLedgerBaseClientTests.java
index 5e7c5458be32..c1b6cfff8a5f 100644
--- a/sdk/confidentialledger/azure-data-confidentialledger/src/test/java/com/azure/data/confidentialledger/ConfidentialLedgerBaseClientTests.java
+++ b/sdk/confidentialledger/azure-security-confidentialledger/src/test/java/com/azure/security/confidentialledger/ConfidentialLedgerBaseClientTests.java
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-package com.azure.data.confidentialledger;
+package com.azure.security.confidentialledger;
import com.azure.core.experimental.http.DynamicResponse;
import org.junit.jupiter.api.Test;
diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/test/java/com/azure/data/confidentialledger/ConfidentialLedgerClientTestBase.java b/sdk/confidentialledger/azure-security-confidentialledger/src/test/java/com/azure/security/confidentialledger/ConfidentialLedgerClientTestBase.java
similarity index 98%
rename from sdk/confidentialledger/azure-data-confidentialledger/src/test/java/com/azure/data/confidentialledger/ConfidentialLedgerClientTestBase.java
rename to sdk/confidentialledger/azure-security-confidentialledger/src/test/java/com/azure/security/confidentialledger/ConfidentialLedgerClientTestBase.java
index 32b09a6ef389..85929ff8ebea 100644
--- a/sdk/confidentialledger/azure-data-confidentialledger/src/test/java/com/azure/data/confidentialledger/ConfidentialLedgerClientTestBase.java
+++ b/sdk/confidentialledger/azure-security-confidentialledger/src/test/java/com/azure/security/confidentialledger/ConfidentialLedgerClientTestBase.java
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-package com.azure.data.confidentialledger;
+package com.azure.security.confidentialledger;
import com.azure.core.credential.TokenCredential;
import com.azure.core.http.HttpClient;
diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/test/resources/session-records/ConfidentialLedgerBaseClientTests.getLedgerEntries.json b/sdk/confidentialledger/azure-security-confidentialledger/src/test/resources/session-records/ConfidentialLedgerBaseClientTests.getLedgerEntries.json
similarity index 100%
rename from sdk/confidentialledger/azure-data-confidentialledger/src/test/resources/session-records/ConfidentialLedgerBaseClientTests.getLedgerEntries.json
rename to sdk/confidentialledger/azure-security-confidentialledger/src/test/resources/session-records/ConfidentialLedgerBaseClientTests.getLedgerEntries.json
diff --git a/sdk/confidentialledger/azure-data-confidentialledger/swagger/README.md b/sdk/confidentialledger/azure-security-confidentialledger/swagger/README.md
similarity index 94%
rename from sdk/confidentialledger/azure-data-confidentialledger/swagger/README.md
rename to sdk/confidentialledger/azure-security-confidentialledger/swagger/README.md
index 3d6a420248af..05855e89bd45 100644
--- a/sdk/confidentialledger/azure-data-confidentialledger/swagger/README.md
+++ b/sdk/confidentialledger/azure-security-confidentialledger/swagger/README.md
@@ -6,7 +6,7 @@ input-file:
- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/confidentialledger/data-plane/Microsoft.ConfidentialLedger/preview/0.1-preview/identityservice.json
java: true
output-folder: ../
-namespace: com.azure.data.confidentialledger
+namespace: com.azure.security.confidentialledger
generate-client-interfaces: false
sync-methods: none
license-header: MICROSOFT_MIT_SMALL
diff --git a/sdk/confidentialledger/ci.yml b/sdk/confidentialledger/ci.yml
index 03ae960555cf..013eef2f081e 100644
--- a/sdk/confidentialledger/ci.yml
+++ b/sdk/confidentialledger/ci.yml
@@ -27,6 +27,6 @@ extends:
parameters:
ServiceDirectory: confidentialledger
Artifacts:
- - name: azure-data-confidentialledger
+ - name: azure-security-confidentialledger
groupId: com.azure
- safeName: azuredataconfidentialledger
+ safeName: azuresecurityconfidentialledger
diff --git a/sdk/confidentialledger/pom.xml b/sdk/confidentialledger/pom.xml
index 697ad82aa9b8..17e27583b917 100644
--- a/sdk/confidentialledger/pom.xml
+++ b/sdk/confidentialledger/pom.xml
@@ -12,14 +12,14 @@
coverage
- azure-data-confidentialledger
+ azure-security-confidentialledger
com.azure
- azure-data-confidentialledger
- 1.0.0-beta.2
+ azure-security-confidentialledger
+ 1.0.0-beta.2
@@ -51,7 +51,7 @@
true
- azure-data-confidentialledger
+ azure-security-confidentialledger
diff --git a/sdk/containerregistry/azure-containers-containerregistry/README.md b/sdk/containerregistry/azure-containers-containerregistry/README.md
index 85ff3828d7fa..772bc5bd0c18 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/README.md
+++ b/sdk/containerregistry/azure-containers-containerregistry/README.md
@@ -39,20 +39,20 @@ More information at [Azure Container Registry portal][container_registry_create_
```Java
- ContainerRegistryClient client = new ContainerRegistryClientBuilder()
- .endpoint(endpoint)
- .credential(credential)
- .buildClient();
-}
+DefaultAzureCredential credential = new DefaultAzureCredentialBuilder().build();
+ContainerRegistryClient client = new ContainerRegistryClientBuilder()
+ .endpoint(endpoint)
+ .credential(credential)
+ .buildClient();
```
```Java
- ContainerRegistryAsyncClient client = new ContainerRegistryClientBuilder()
- .endpoint(endpoint)
- .credential(credential)
- .buildAsyncClient();
-}
+DefaultAzureCredential credential = new DefaultAzureCredentialBuilder().build();
+ContainerRegistryAsyncClient client = new ContainerRegistryClientBuilder()
+ .endpoint(endpoint)
+ .credential(credential)
+ .buildAsyncClient();
```
For more information on using AAD with Azure Container Registry, please see the service's [Authentication Overview](https://docs.microsoft.com/azure/container-registry/container-registry-authentication).
@@ -63,14 +63,14 @@ The user must use this setting on a registry that has been enabled for anonymous
In this mode, the user can only call listRepositoryNames method and its overload. All the other calls will fail.
For more information please read [Anonymous Pull Access](https://docs.microsoft.com/azure/container-registry/container-registry-faq#how-do-i-enable-anonymous-pull-access)
-
+
```Java
ContainerRegistryClient client = new ContainerRegistryClientBuilder()
.endpoint(endpoint)
.buildClient();
```
-
+
```Java
ContainerRegistryAsyncClient client = new ContainerRegistryClientBuilder()
.endpoint(endpoint)
@@ -105,7 +105,7 @@ For more information please see [Container Registry Concepts](https://docs.micro
Iterate through the collection of repositories in the registry.
-
+
```Java
DefaultAzureCredential credential = new DefaultAzureCredentialBuilder().build();
ContainerRegistryClient client = new ContainerRegistryClientBuilder()
@@ -118,16 +118,16 @@ client.listRepositoryNames().forEach(repository -> System.out.println(repository
### List tags with anonymous access
-
+
```Java
ContainerRegistryClient anonymousClient = new ContainerRegistryClientBuilder()
.endpoint(endpoint)
.buildClient();
RegistryArtifact image = anonymousClient.getArtifact(repositoryName, digest);
-PagedIterable tags = image.listTags();
+PagedIterable tags = image.listTagProperties();
-System.out.printf(String.format("%s has the following aliases:", image.getFullyQualifiedName()));
+System.out.printf(String.format("%s has the following aliases:", image.getFullyQualifiedReference()));
for (ArtifactTagProperties tag : tags) {
System.out.printf(String.format("%s/%s:%s", anonymousClient.getEndpoint(), repositoryName, tag.getName()));
@@ -136,7 +136,7 @@ for (ArtifactTagProperties tag : tags) {
### Set artifact properties
-
+
```Java
TokenCredential defaultCredential = new DefaultAzureCredentialBuilder().build();
@@ -156,7 +156,7 @@ image.updateTagProperties(
### Delete Images
-
+
```Java
TokenCredential defaultCredential = new DefaultAzureCredentialBuilder().build();
@@ -171,8 +171,8 @@ for (String repositoryName : client.listRepositoryNames()) {
// Obtain the images ordered from newest to oldest
PagedIterable imageManifests =
- repository.listManifests(
- ManifestOrderBy.LAST_UPDATED_ON_DESCENDING,
+ repository.listManifestProperties(
+ ArtifactManifestOrderBy.LAST_UPDATED_ON_DESCENDING,
Context.NONE);
imageManifests.stream().skip(imagesCountToKeep)
@@ -190,7 +190,7 @@ for (String repositoryName : client.listRepositoryNames()) {
```
### Delete repository with anonymous access throws
-
+
```Java
final String endpoint = getEndpoint();
final String repositoryName = getRepositoryName();
@@ -202,7 +202,7 @@ ContainerRegistryClient anonymousClient = new ContainerRegistryClientBuilder()
try {
anonymousClient.deleteRepository(repositoryName);
System.out.println("Unexpected Success: Delete is not allowed on anonymous access");
-} catch (Exception ex) {
+} catch (ClientAuthenticationException ex) {
System.out.println("Expected exception: Delete is not allowed on anonymous access");
}
```
@@ -212,19 +212,20 @@ try {
All container registry service operations will throw a
[HttpResponseException][HttpResponseException] on failure.
-
+
```Java
-DefaultAzureCredential credential = new DefaultAzureCredentialBuilder().build();
-ContainerRepository containerRepository = new ContainerRegistryClientBuilder()
- .endpoint(endpoint)
- .credential(credential)
- .buildClient()
- .getRepository(repositoryName);
-try {
- containerRepository.getProperties();
-} catch (HttpResponseException exception) {
- // Do something with the exception.
-}
+public void getPropertiesThrows() {
+ DefaultAzureCredential credential = new DefaultAzureCredentialBuilder().build();
+ ContainerRepository containerRepository = new ContainerRegistryClientBuilder()
+ .endpoint(endpoint)
+ .credential(credential)
+ .buildClient()
+ .getRepository(repositoryName);
+ try {
+ containerRepository.getProperties();
+ } catch (HttpResponseException exception) {
+ // Do something with the exception.
+ }
```
## Next steps
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/ContainerRegistryAsyncClient.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/ContainerRegistryAsyncClient.java
index e8d602b98cfe..91ef42b93b63 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/ContainerRegistryAsyncClient.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/ContainerRegistryAsyncClient.java
@@ -30,7 +30,10 @@
*
* Instantiating an asynchronous Container Registry client
*
- * {@codesnippet com.azure.containers.containerregistry.async.repository.instantiation}
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRegistryAsyncClient.instantiation}
+ *
+ * Instantiating an asynchronous Container Registry client using a custom pipeline
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRegistryAsyncClient.pipeline.instantiation}
*
* View {@link ContainerRegistryClientBuilder this} for additional ways to construct the client.
*
@@ -68,6 +71,10 @@ public String getEndpoint() {
/**
* List all the repository names in this registry.
*
+ * List repository names in the registry.
+ *
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRegistryAsyncClient.listRepositoryNames}
+ *
* @return list of repository names.
* @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace.
*/
@@ -112,11 +119,15 @@ Mono> listRepositoryNamesNextSinglePageAsync(String nextLi
/**
* Delete the repository identified by 'repositoryName'.
*
+ * Delete a repository in the registry.
+ *
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRegistryAsyncClient.deleteRepositoryWithResponse#String}
+ *
* @param repositoryName Name of the repository (including the namespace).
* @return the completion.
* @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace.
- * @throws NullPointerException thrown if the 'repositoryName' is null.
- * @throws IllegalArgumentException thrown if the 'repositoryName' is null.
+ * @throws NullPointerException thrown if the {@code repositoryName} is null.
+ * @throws IllegalArgumentException thrown if the {@code repositoryName} is null.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono> deleteRepositoryWithResponse(String repositoryName) {
@@ -142,13 +153,16 @@ Mono> deleteRepositoryWithResponse(String repositoryName, Context
}
/**
- * Delete the repository identified by 'repositoryName'.
+ * Delete the repository identified by {@code repositoryName}.
+ *
+ * Delete a repository in the registry.
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRegistryAsyncClient.deleteRepository#String}
*
* @param repositoryName Name of the image (including the namespace).
- * @return deleted repository properties.
+ * @return the completion stream.
* @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace.
- * @throws NullPointerException thrown if the 'repositoryName' is null.
- * @throws IllegalArgumentException thrown if 'repositoryName' is empty.
+ * @throws NullPointerException thrown if the {@code repositoryName} is null.
+ * @throws IllegalArgumentException thrown if {@code repositoryName} is empty.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono deleteRepository(String repositoryName) {
@@ -162,10 +176,13 @@ Mono deleteRepository(String repositoryName, Context context) {
/**
* Creates a new instance of {@link ContainerRepositoryAsync} object for the specified repository.
*
+ * Create an instance of ContainerRepositoryAsync helper type
+ * {@codesnippet com.azure.containers.containerregistry.containeregistryasyncclient.getRepository}
+ *
* @param repositoryName Name of the repository to reference.
* @return A new {@link ContainerRepositoryAsync} for the desired repository.
- * @throws NullPointerException if 'repositoryName' is null.
- * @throws IllegalArgumentException if 'repositoryName' is empty.
+ * @throws NullPointerException if {@code repositoryName} is null.
+ * @throws IllegalArgumentException if {@code repositoryName} is empty.
*/
public ContainerRepositoryAsync getRepository(String repositoryName) {
return new ContainerRepositoryAsync(repositoryName, httpPipeline, endpoint, apiVersion);
@@ -174,13 +191,14 @@ public ContainerRepositoryAsync getRepository(String repositoryName) {
/**
* Creates a new instance of {@link RegistryArtifactAsync} object for the specified artifact.
*
+ * Create an instance of RegistryArtifactAsync helper type
+ * {@codesnippet com.azure.containers.containerregistry.containeregistryasyncclient.getArtifact}
+ *
* @param repositoryName Name of the repository to reference.
* @param digest Either a tag or digest that uniquely identifies the artifact.
* @return A new {@link RegistryArtifactAsync RegistryArtifactAsync} for the desired repository.
- * @throws NullPointerException if 'repositoryName' is null.
- * @throws IllegalArgumentException if 'repositoryName' is empty.
- * @throws NullPointerException if 'digest' is null.
- * @throws IllegalArgumentException if 'digest' is empty.
+ * @throws NullPointerException if {@code repositoryName} or {@code digest} is null.
+ * @throws IllegalArgumentException if {@code repositoryName} or {@code digest} is empty.
*/
public RegistryArtifactAsync getArtifact(String repositoryName, String digest) {
return new RegistryArtifactAsync(repositoryName, digest, httpPipeline, endpoint, apiVersion);
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/ContainerRegistryClient.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/ContainerRegistryClient.java
index 1696291d19d7..a980ea0504bf 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/ContainerRegistryClient.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/ContainerRegistryClient.java
@@ -18,8 +18,10 @@
* that can be used to perform operations on repository and artifacts.
*
* Instantiating a synchronous Container Registry client
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRegistryClient.instantiation}
*
- * {@codesnippet com.azure.containers.containerregistry.repository.instantiation}
+ * Instantiating a synchronous Container Registry client with custom pipeline
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRegistryClient.pipeline.instantiation}
*
* View {@link ContainerRegistryClientBuilder this} for additional ways to construct the client.
*
@@ -44,7 +46,11 @@ public String getEndpoint() {
/**
* List all the repository names in this registry.
*
- * @return list of repositories.
+ * List the repository names in the registry.
+ *
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRegistryClient.listRepositoryNames}
+ *
+ * @return list of repository names.
* @throws ClientAuthenticationException thrown if the client credentials do not have access to perform this operation.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
@@ -55,6 +61,9 @@ public PagedIterable listRepositoryNames() {
/**
* List all the repository names in this registry.
*
+ * List the repository names in the registry.
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRegistryClient.listRepositoryNames#Context}
+ *
* @param context The context to associate with this operation.
* @return list of repositories.
* @throws ClientAuthenticationException thrown if the client credentials do not have access to perform this operation.
@@ -65,12 +74,15 @@ public PagedIterable listRepositoryNames(Context context) {
}
/**
- * Delete the repository identified by 'repositoryName'.
+ * Delete the repository identified by {@code repositoryName}.
+ *
+ * Delete a repository in the registry.
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRegistryClient.deleteRepository#String}
*
* @param repositoryName Name of the repository (including the namespace).
* @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace.
- * @throws NullPointerException thrown if the 'repositoryName' is null.
- * @throws IllegalArgumentException thrown if the 'repositoryName' is empty.
+ * @throws NullPointerException thrown if the {@code repositoryName} is null.
+ * @throws IllegalArgumentException thrown if the {@code repositoryName} is empty.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public void deleteRepository(String repositoryName) {
@@ -78,14 +90,17 @@ public void deleteRepository(String repositoryName) {
}
/**
- * Delete the repository identified by 'repositoryName'.
+ * Delete the repository identified by {@code repositoryName}.
+ *
+ * Delete a repository in the registry.
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRegistryClient.deleteRepositoryWithResponse#String-Context}
*
* @param repositoryName Name of the repository (including the namespace).
* @param context The context to associate with this operation.
* @return Completion response.
* @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace.
- * @throws NullPointerException thrown if the 'repositoryName' is null.
- * @throws IllegalArgumentException thrown if the 'repositoryName' is empty.
+ * @throws NullPointerException thrown if the {@code repositoryName} is null.
+ * @throws IllegalArgumentException thrown if the {@code repositoryName} is empty.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response deleteRepositoryWithResponse(String repositoryName, Context context) {
@@ -95,10 +110,13 @@ public Response deleteRepositoryWithResponse(String repositoryName, Contex
/**
* Creates a new instance of {@link ContainerRepository} object for the specified repository.
*
+ * Create a ContainerRegistry helper instance.
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRegistryClient.getRepository}
+ *
* @param repositoryName Name of the repository to reference.
* @return A new {@link ContainerRepository} for the desired repository.
- * @throws NullPointerException if 'repositoryName' is null.
- * @throws IllegalArgumentException if 'repositoryName' is empty.
+ * @throws NullPointerException if {@code repositoryName} is null.
+ * @throws IllegalArgumentException if {@code repositoryName} is empty.
*/
public ContainerRepository getRepository(String repositoryName) {
return new ContainerRepository(this.asyncClient.getRepository(repositoryName));
@@ -107,13 +125,15 @@ public ContainerRepository getRepository(String repositoryName) {
/**
* Creates a new instance of {@link RegistryArtifact} object for the specified artifact.
*
+ * Create a RegistryArtifact helper instance.
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRegistryClient.getArtifact}
+ *
+ *
* @param repositoryName Name of the repository to reference.
* @param digest Either a tag or digest that uniquely identifies the artifact.
* @return A new {@link RegistryArtifact} object for the desired repository.
- * @throws NullPointerException if 'repositoryName' is null.
- * @throws IllegalArgumentException if 'repositoryName' is empty.
- * @throws NullPointerException if 'digest' is null.
- * @throws IllegalArgumentException if 'digest' is empty.
+ * @throws NullPointerException if {@code repositoryName} or {@code digest} is null.
+ * @throws IllegalArgumentException if {@code repositoryName} or {@code digest} is empty.
*/
public RegistryArtifact getArtifact(String repositoryName, String digest) {
return new RegistryArtifact(this.asyncClient.getArtifact(repositoryName, digest));
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/ContainerRegistryClientBuilder.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/ContainerRegistryClientBuilder.java
index 414d1e9ebe6b..92d0f42d3e0e 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/ContainerRegistryClientBuilder.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/ContainerRegistryClientBuilder.java
@@ -30,13 +30,11 @@
* the desired client.
*
* The client needs the service endpoint of the Azure Container Registry and Azure access credentials.
- *
Instantiating an asynchronous {@link ContainerRegistryAsyncClient}
+ * Instantiating an asynchronous Container Registry client
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRegistryAsyncClient.instantiation}
*
- * {@codesnippet com.azure.containers.containerregistry.async.repository.instantiation}
- *
- * Instantiating a synchronous Configuration Client
- *
- * {@codesnippet com.azure.containers.containerregistry.repository.instantiation}
+ * Instantiating a synchronous Container Registry client
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRegistryClient.instantiation}
*
* Another way to construct the client is using a {@link HttpPipeline}. The pipeline gives the client an
* authenticated way to communicate with the service but it doesn't contain the service endpoint. Set the pipeline with
@@ -48,13 +46,11 @@
* would need to provide implementation for this policy as well.
* For more information please see Azure Container Registry Authentication .
*
- * Instantiating an asynchronous {@link ContainerRegistryAsyncClient}
- *
- * {@codesnippet com.azure.containers.containerregistry.async.repository.pipeline.instantiation}
- *
- * Instantiating a synchronous Configuration Client
+ * Instantiating an asynchronous Container Registry client using a custom pipeline
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRegistryAsyncClient.pipeline.instantiation}
*
- * {@codesnippet com.azure.containers.containerregistry.repository.pipeline.instantiation}
+ * Instantiating a synchronous Container Registry client with custom pipeline
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRegistryClient.pipeline.instantiation}
*
*
* @see ContainerRegistryAsyncClient
@@ -88,6 +84,7 @@ public final class ContainerRegistryClientBuilder {
private HttpLogOptions httpLogOptions;
private RetryPolicy retryPolicy;
private ContainerRegistryServiceVersion version;
+ private String authenticationScope;
/**
* Sets the service endpoint for the Azure Container Registry instance.
@@ -107,6 +104,27 @@ public ContainerRegistryClientBuilder endpoint(String endpoint) {
return this;
}
+ /**
+ * Sets the authentication scope to be used for getting AAD credentials.
+ *
+ * NOTE - This is a temporary property that is added into the system until the service
+ * exposes this directly via the challenge based auth scheme.
+ * If this property is not provided then by default Azure public scope is used for authentication.
+ *
+ *
+ *
+ * Example:- For Azure public cloud this value is same as AzureEnvironment.Azure.managementEndpoint().
+ * For more information - https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/services-support-managed-identities#azure-resource-manager
+ *
+ *
+ * @param authenticationScope ARM management scope associated with the given registry.
+ * @return The updated {@link ContainerRegistryClientBuilder} object.
+ */
+ public ContainerRegistryClientBuilder authenticationScope(String authenticationScope) {
+ this.authenticationScope = authenticationScope;
+ return this;
+ }
+
/**
* Sets the {@link TokenCredential} used to authenticate REST API calls.
*
@@ -282,6 +300,7 @@ private HttpPipeline getHttpPipeline() {
this.configuration,
this.retryPolicy,
this.credential,
+ this.authenticationScope,
this.perCallPolicies,
this.perRetryPolicies,
this.httpClient,
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/ContainerRepository.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/ContainerRepository.java
index d11b36682571..af21f01b5ff5 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/ContainerRepository.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/ContainerRepository.java
@@ -4,8 +4,8 @@
package com.azure.containers.containerregistry;
import com.azure.containers.containerregistry.models.ArtifactManifestProperties;
-import com.azure.containers.containerregistry.models.ManifestOrderBy;
-import com.azure.containers.containerregistry.models.RepositoryProperties;
+import com.azure.containers.containerregistry.models.ArtifactManifestOrderBy;
+import com.azure.containers.containerregistry.models.ContainerRepositoryProperties;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.exception.ClientAuthenticationException;
@@ -22,7 +22,7 @@
*
* Instantiating Container Repository helper type.
*
- * {@codesnippet com.azure.containers.containerregistry.repository.instantiation}
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRepository.instantiation}
*
* View {@link ContainerRegistryClientBuilder this} for additional ways to construct the client.
*
@@ -64,7 +64,7 @@ public String getRegistryEndpoint() {
*
* Delete the repository.
*
- * {@codesnippet com.azure.containers.containerregistry.repository.deleteRepositoryWithResponse}
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRepository.deleteRepositoryWithResponse}
*
* @param context Additional context that is passed through the Http pipeline during the service call.
* artifacts that are deleted as part of the repository delete.
@@ -84,7 +84,7 @@ public Response deleteWithResponse(Context context) {
*
* Delete the repository.
*
- * {@codesnippet com.azure.containers.containerregistry.repository.deleteRepository}
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRepository.deleteRepository}
*
* @throws ClientAuthenticationException thrown if the client does not have access to the repository.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
@@ -95,33 +95,33 @@ public void delete() {
}
/**
- * Gets the {@link RepositoryProperties properties} associated with the given {@link #getName() repository}.
+ * Gets the {@link ContainerRepositoryProperties properties} associated with the given {@link #getName() repository}.
*
* Code Samples
*
* Get the properties for the given repository.
*
- * {@codesnippet com.azure.containers.containerregistry.repository.getPropertiesWithResponse}
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRepository.getPropertiesWithResponse}
*
* @param context Additional context that is passed through the Http pipeline during the service call.
- * @return A REST response with the {@link RepositoryProperties properties} associated with the given {@link #getName() repository}.
+ * @return A REST response with the {@link ContainerRepositoryProperties properties} associated with the given {@link #getName() repository}.
* @throws ClientAuthenticationException thrown if the client does not have access to modify the namespace.
* @throws ResourceNotFoundException thrown if the repository with the given name was not found.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getPropertiesWithResponse(Context context) {
+ public Response getPropertiesWithResponse(Context context) {
return this.asyncClient.getPropertiesWithResponse(context).block();
}
/**
- * Gets the {@link RepositoryProperties properties} associated with the given {@link #getName() repository}.
+ * Gets the {@link ContainerRepositoryProperties properties} associated with the given {@link #getName() repository}.
*
* Code Samples
*
* Get the properties for the given repository.
*
- * {@codesnippet com.azure.containers.containerregistry.repository.getProperties}
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRepository.getProperties}
*
* @return The{@link RepositoryProperties properties} associated with the given {@link #getName() repository}.
* @throws ClientAuthenticationException thrown if the client does not have access to modify the namespace.
@@ -129,7 +129,7 @@ public Response getPropertiesWithResponse(Context context)
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public RepositoryProperties getProperties() {
+ public ContainerRepositoryProperties getProperties() {
return this.getPropertiesWithResponse(Context.NONE).getValue();
}
@@ -138,8 +138,8 @@ public RepositoryProperties getProperties() {
*
* @param digest Either a tag or digest that uniquely identifies the artifact.
* @return A new {@link RegistryArtifact} object for the desired repository.
- * @throws NullPointerException if 'digest' is null.
- * @throws IllegalArgumentException if 'digest' is empty.
+ * @throws NullPointerException if {@code digest} is null.
+ * @throws IllegalArgumentException if {@code digest} is empty.
*/
public RegistryArtifact getArtifact(String digest) {
return new RegistryArtifact(this.asyncClient.getArtifact(digest));
@@ -149,7 +149,7 @@ public RegistryArtifact getArtifact(String digest) {
* Fetches all the artifacts associated with the given {@link #getName() repository}.
*
* If you would like to specify the order in which the tags are returned please
- * use the overload that takes in the options parameter {@link #listManifests(ManifestOrderBy, Context)} listManifests}
+ * use the overload that takes in the options parameter {@link #listManifestProperties(ArtifactManifestOrderBy, Context)} listManifestProperties}
* No assumptions on the order can be made if no options are provided to the service.
*
*
@@ -157,15 +157,15 @@ public RegistryArtifact getArtifact(String digest) {
*
* Retrieve all artifacts associated with the given repository.
*
- * {@codesnippet com.azure.containers.containerregistry.repository.listManifests}.
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRepository.listManifestProperties}.
*
* @return {@link PagedIterable} of the artifacts for the given repository in the order specified by the options.
* @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable listManifests() {
- return this.listManifests(ManifestOrderBy.NONE, Context.NONE);
+ public PagedIterable listManifestProperties() {
+ return this.listManifestProperties(ArtifactManifestOrderBy.NONE, Context.NONE);
}
/**
@@ -180,7 +180,7 @@ public PagedIterable listManifests() {
*
* Retrieve all artifacts associated with the given repository from the most recently updated to the last.
*
- * {@codesnippet com.azure.containers.containerregistry.repository.listManifestsWithOptionsNoContext}.
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRepository.listManifestPropertiesWithOptionsNoContext}.
*
* @param orderBy the order in which the artifacts are returned by the service.
* @return {@link PagedIterable} of the artifacts for the given repository in the order specified by the options.
@@ -188,8 +188,8 @@ public PagedIterable listManifests() {
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable listManifests(ManifestOrderBy orderBy) {
- return this.listManifests(orderBy, Context.NONE);
+ public PagedIterable listManifestProperties(ArtifactManifestOrderBy orderBy) {
+ return this.listManifestProperties(orderBy, Context.NONE);
}
/**
@@ -204,7 +204,7 @@ public PagedIterable listManifests(ManifestOrderBy o
*
* Retrieve all artifacts associated with the given repository from the most recently updated to the last.
*
- * {@codesnippet com.azure.containers.containerregistry.repository.listManifestsWithOptions}.
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRepository.listManifestPropertiesWithOptions}.
*
* @param orderBy the order in which the artifacts are returned by the service.
* @param context Additional context that is passed through the Http pipeline during the service call.
@@ -213,52 +213,52 @@ public PagedIterable listManifests(ManifestOrderBy o
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable listManifests(ManifestOrderBy orderBy, Context context) {
- return new PagedIterable<>(this.asyncClient.listManifests(orderBy, context));
+ public PagedIterable listManifestProperties(ArtifactManifestOrderBy orderBy, Context context) {
+ return new PagedIterable<>(this.asyncClient.listManifestProperties(orderBy, context));
}
/**
- * Update the settable properties {@link RepositoryProperties} of the given {@link #getName() repository}.
+ * Update the settable properties {@link ContainerRepositoryProperties} of the given {@link #getName() repository}.
* These properties set the update, delete and retrieve options of the repository.
*
* Code Samples
*
* Update the writeable properties for the given repository.
*
- * {@codesnippet com.azure.containers.containerregistry.repository.updatePropertiesWithResponse}.
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRepository.updatePropertiesWithResponse}.
*
- * @param repositoryProperties {@link RepositoryProperties repository properties} that need to be updated for the repository.
+ * @param repositoryProperties {@link ContainerRepositoryProperties repository properties} that need to be updated for the repository.
* @param context Additional context that is passed through the Http pipeline during the service call.
* @return A REST response with the completion.
* @throws ClientAuthenticationException thrown if the client does not have access to the repository.
* @throws ResourceNotFoundException thrown if the repository with the given name was not found.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
- * @throws NullPointerException thrown if the 'value' is null.
+ * @throws NullPointerException thrown if the {@code repositoryProperties} is null.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response updatePropertiesWithResponse(RepositoryProperties repositoryProperties, Context context) {
+ public Response updatePropertiesWithResponse(ContainerRepositoryProperties repositoryProperties, Context context) {
return this.asyncClient.updatePropertiesWithResponse(repositoryProperties, context).block();
}
/**
- * Update the repository properties {@link RepositoryProperties} of the given {@link #getName() repository}.
+ * Update the repository properties {@link ContainerRepositoryProperties} of the given {@link #getName() repository}.
* These properties set the update, delete and retrieve options of the repository.
*
* Code Samples
*
* Update the writeable properties for the given repository.
*
- * {@codesnippet com.azure.containers.containerregistry.repository.updateProperties}.
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRepository.updateProperties}.
*
- * @param repositoryProperties {@link RepositoryProperties repository properties} that need to be updated for the repository.
- * @return The updated {@link RepositoryProperties properties }
+ * @param repositoryProperties {@link ContainerRepositoryProperties repository properties} that need to be updated for the repository.
+ * @return The updated {@link ContainerRepositoryProperties properties }
* @throws ClientAuthenticationException thrown if the client does not have access to the repository.
* @throws ResourceNotFoundException thrown if the repository with the given name was not found.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
- * @throws NullPointerException thrown if the 'value' is null.
+ * @throws NullPointerException thrown if the {@code repositoryProperties} is null.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public RepositoryProperties updateProperties(RepositoryProperties repositoryProperties) {
+ public ContainerRepositoryProperties updateProperties(ContainerRepositoryProperties repositoryProperties) {
return this.updatePropertiesWithResponse(repositoryProperties, Context.NONE).getValue();
}
}
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/ContainerRepositoryAsync.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/ContainerRepositoryAsync.java
index d626b0c982d4..36ab90292831 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/ContainerRepositoryAsync.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/ContainerRepositoryAsync.java
@@ -9,9 +9,9 @@
import com.azure.containers.containerregistry.implementation.ContainerRegistryImplBuilder;
import com.azure.containers.containerregistry.implementation.models.ManifestAttributesBase;
import com.azure.containers.containerregistry.implementation.models.RepositoryWriteableProperties;
+import com.azure.containers.containerregistry.models.ArtifactManifestOrderBy;
import com.azure.containers.containerregistry.models.ArtifactManifestProperties;
-import com.azure.containers.containerregistry.models.ManifestOrderBy;
-import com.azure.containers.containerregistry.models.RepositoryProperties;
+import com.azure.containers.containerregistry.models.ContainerRepositoryProperties;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.exception.ClientAuthenticationException;
@@ -40,7 +40,7 @@
*
* Instantiating an asynchronous Container Repository Helper class
*
- * {@codesnippet com.azure.containers.containerregistry.async.repository.instantiation}
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRepositoryAsync.instantiation}
*
*/
public final class ContainerRepositoryAsync {
@@ -112,7 +112,7 @@ public String getRegistryEndpoint() {
*
* Delete the repository.
*
- * {@codesnippet com.azure.containers.containerregistry.async.repository.deleteRepositoryWithResponse}
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRepositoryAsync.deleteRepositoryWithResponse}
*
* @return A REST response containing the result of the repository delete operation. It returns the count of the tags and
* artifacts that are deleted as part of the repository delete.
@@ -141,7 +141,7 @@ Mono> deleteWithResponse(Context context) {
*
* Delete the repository.
*
- * {@codesnippet com.azure.containers.containerregistry.async.repository.deleteRepository}
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRepositoryAsync.deleteRepository}
*
* @return It returns the count of the tags and artifacts that are deleted as part of the repository delete.
* @throws ClientAuthenticationException thrown if the client does not have access to the repository.
@@ -157,8 +157,8 @@ public Mono delete() {
*
* @param digest Either a tag or digest that uniquely identifies the artifact.
* @return A new {@link RegistryArtifactAsync} object for the desired repository.
- * @throws NullPointerException if 'Digest' is null.
- * @throws IllegalArgumentException if 'Digest' is empty.
+ * @throws NullPointerException if {@code digest} is null.
+ * @throws IllegalArgumentException if {@code digest} is empty.
*/
public RegistryArtifactAsync getArtifact(String digest) {
return new RegistryArtifactAsync(repositoryName, digest, httpPipeline, endpoint, apiVersion);
@@ -168,7 +168,7 @@ public RegistryArtifactAsync getArtifact(String digest) {
* Fetches all the artifacts associated with the given {@link #getName() repository}.
*
* If you would like to specify the order in which the tags are returned please
- * use the overload that takes in the options parameter {@link #listManifests(ManifestOrderBy)} listManifests}
+ * use the overload that takes in the options parameter {@link #listManifestProperties(ArtifactManifestOrderBy)} listManifestProperties}
* No assumptions on the order can be made if no options are provided to the service.
*
*
@@ -176,15 +176,15 @@ public RegistryArtifactAsync getArtifact(String digest) {
*
* Retrieve all artifacts associated with the given repository.
*
- * {@codesnippet com.azure.containers.containerregistry.async.repository.listManifests}.
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRepositoryAsync.listManifestProperties}.
*
* @return {@link PagedFlux} of ManifestProperties for all the artifacts in the given repository.
* @throws ClientAuthenticationException thrown if the client does not have access to the repository.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedFlux listManifests() {
- return listManifests(ManifestOrderBy.NONE);
+ public PagedFlux listManifestProperties() {
+ return listManifestProperties(ArtifactManifestOrderBy.NONE);
}
/**
@@ -198,7 +198,7 @@ public PagedFlux listManifests() {
*
* Retrieve all artifacts associated with the given repository from the most recently updated to the last.
*
- * {@codesnippet com.azure.containers.containerregistry.async.repository.listManifestsWithOptions}.
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRepositoryAsync.listManifestPropertiesWithOptions}.
*
* @param orderBy The order in which the artifacts are returned by the service.
* @return {@link PagedFlux} of the artifacts for the given repository in the order specified by the options.
@@ -206,25 +206,25 @@ public PagedFlux listManifests() {
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedFlux listManifests(ManifestOrderBy orderBy) {
+ public PagedFlux listManifestProperties(ArtifactManifestOrderBy orderBy) {
return new PagedFlux<>(
- (pageSize) -> withContext(context -> listManifestsSinglePageAsync(pageSize, orderBy, context)),
- (token, pageSize) -> withContext(context -> listManifestsNextSinglePageAsync(token, context)));
+ (pageSize) -> withContext(context -> listManifestPropertiesSinglePageAsync(pageSize, orderBy, context)),
+ (token, pageSize) -> withContext(context -> listManifestPropertiesNextSinglePageAsync(token, context)));
}
- PagedFlux listManifests(ManifestOrderBy orderBy, Context context) {
+ PagedFlux listManifestProperties(ArtifactManifestOrderBy orderBy, Context context) {
return new PagedFlux<>(
- (pageSize) -> listManifestsSinglePageAsync(pageSize, orderBy, context),
- (token, pageSize) -> listManifestsNextSinglePageAsync(token, context));
+ (pageSize) -> listManifestPropertiesSinglePageAsync(pageSize, orderBy, context),
+ (token, pageSize) -> listManifestPropertiesNextSinglePageAsync(token, context));
}
- Mono> listManifestsSinglePageAsync(Integer pageSize, ManifestOrderBy orderBy, Context context) {
+ Mono> listManifestPropertiesSinglePageAsync(Integer pageSize, ArtifactManifestOrderBy orderBy, Context context) {
try {
if (pageSize != null && pageSize < 0) {
return monoError(logger, new IllegalArgumentException("'pageSize' cannot be negative."));
}
- final String orderByString = orderBy == ManifestOrderBy.NONE ? null : orderBy.toString();
+ final String orderByString = orderBy == ArtifactManifestOrderBy.NONE ? null : orderBy.toString();
return this.serviceClient.getManifestsSinglePageAsync(repositoryName, null, pageSize, orderByString, context)
.map(res -> Utils.getPagedResponseWithContinuationToken(res, this::mapManifestsProperties))
.onErrorMap(Utils::mapException);
@@ -233,7 +233,7 @@ Mono> listManifestsSinglePageAsync(Int
}
}
- Mono> listManifestsNextSinglePageAsync(String nextLink, Context context) {
+ Mono> listManifestPropertiesNextSinglePageAsync(String nextLink, Context context) {
try {
return this.serviceClient.getManifestsNextSinglePageAsync(nextLink, context)
.map(res -> Utils.getPagedResponseWithContinuationToken(res, this::mapManifestsProperties))
@@ -258,7 +258,7 @@ private List mapManifestsProperties(List mapManifestsProperties(ListCode Samples
*
* Get the properties for the given repository.
*
- * {@codesnippet com.azure.containers.containerregistry.async.repository.getPropertiesWithResponse}
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRepositoryAsync.getPropertiesWithResponse}
*
- * @return A REST response with the {@link RepositoryProperties properties} associated with the given {@link #getName() repository}.
+ * @return A REST response with the {@link ContainerRepositoryProperties properties} associated with the given {@link #getName() repository}.
* @throws ClientAuthenticationException thrown if the client have access to the repository.
* @throws ResourceNotFoundException thrown if the repository with the given name was not found.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Mono> getPropertiesWithResponse() {
+ public Mono> getPropertiesWithResponse() {
return withContext(context -> this.getPropertiesWithResponse(context));
}
- Mono> getPropertiesWithResponse(Context context) {
+ Mono> getPropertiesWithResponse(Context context) {
try {
return this.serviceClient.getPropertiesWithResponseAsync(repositoryName, context)
.onErrorMap(Utils::mapException);
@@ -298,60 +298,60 @@ Mono> getPropertiesWithResponse(Context context)
}
/**
- * Gets the {@link RepositoryProperties properties} associated with the given {@link #getName() repository}.
+ * Gets the {@link ContainerRepositoryProperties properties} associated with the given {@link #getName() repository}.
*
* Code Samples
*
* Get the properties for the given repository.
*
- * {@codesnippet com.azure.containers.containerregistry.async.repository.getProperties}
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRepositoryAsync.getProperties}
*
- * @return The {@link RepositoryProperties properties} associated with the given {@link #getName() repository}.
+ * @return The {@link ContainerRepositoryProperties properties} associated with the given {@link #getName() repository}.
* @throws ClientAuthenticationException thrown if the client does not have access to the repository.
* @throws ResourceNotFoundException thrown if the repository with the given name was not found.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Mono getProperties() {
+ public Mono getProperties() {
return this.getPropertiesWithResponse().flatMap(FluxUtil::toMono);
}
/**
- * Update the repository properties {@link RepositoryProperties} of the given {@link #getName() repository}.
+ * Update the repository properties {@link ContainerRepositoryProperties} of the given {@link #getName() repository}.
* These properties set the update, delete and retrieve options of the repository.
*
* Code Samples
*
* Update the writeable properties for the given repository.
*
- * {@codesnippet com.azure.containers.containerregistry.async.repository.updatePropertiesWithResponse}.
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRepositoryAsync.updatePropertiesWithResponse}.
*
- * @param value {@link RepositoryProperties repository properties} that need to be updated for the repository.
- * @return The updated {@link RepositoryProperties repository properties }.
+ * @param repositoryProperties {@link ContainerRepositoryProperties repository properties} that need to be updated for the repository.
+ * @return The updated {@link ContainerRepositoryProperties repository properties }.
* @throws ClientAuthenticationException thrown if the client does not have access to the repository.
* @throws ResourceNotFoundException thrown if the repository with the given name was not found.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
- * @throws NullPointerException thrown if 'value' is null.
+ * @throws NullPointerException thrown if {@code repositoryProperties} is null.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Mono> updatePropertiesWithResponse(RepositoryProperties value) {
- return withContext(context -> this.updatePropertiesWithResponse(value, context));
+ public Mono> updatePropertiesWithResponse(ContainerRepositoryProperties repositoryProperties) {
+ return withContext(context -> this.updatePropertiesWithResponse(repositoryProperties, context));
}
- Mono> updatePropertiesWithResponse(RepositoryProperties value, Context context) {
+ Mono> updatePropertiesWithResponse(ContainerRepositoryProperties repositoryProperties, Context context) {
try {
- if (value == null) {
+ if (repositoryProperties == null) {
return monoError(logger, new NullPointerException("'value' cannot be null."));
}
RepositoryWriteableProperties writableProperties = new RepositoryWriteableProperties()
- .setDeleteEnabled(value.isDeleteEnabled())
- .setListEnabled(value.isListEnabled())
- .setWriteEnabled(value.isWriteEnabled())
- .setReadEnabled(value.isReadEnabled())
- .setTeleportEnabled(value.isTeleportEnabled());
+ .setDeleteEnabled(repositoryProperties.isDeleteEnabled())
+ .setListEnabled(repositoryProperties.isListEnabled())
+ .setWriteEnabled(repositoryProperties.isWriteEnabled())
+ .setReadEnabled(repositoryProperties.isReadEnabled())
+ .setTeleportEnabled(repositoryProperties.isTeleportEnabled());
- return this.serviceClient.setPropertiesWithResponseAsync(repositoryName, writableProperties, context)
+ return this.serviceClient.updatePropertiesWithResponseAsync(repositoryName, writableProperties, context)
.onErrorMap(Utils::mapException);
} catch (RuntimeException e) {
return monoError(logger, e);
@@ -359,24 +359,24 @@ Mono> updatePropertiesWithResponse(RepositoryProp
}
/**
- * Update the repository properties {@link RepositoryProperties} of the given {@link #getName() repository}.
+ * Update the repository properties {@link ContainerRepositoryProperties} of the given {@link #getName() repository}.
* These properties set the update, delete and retrieve options of the repository.
*
* Code Samples
*
* Update the writeable properties for the given repository.
*
- * {@codesnippet com.azure.containers.containerregistry.async.repository.updateProperties}.
+ * {@codesnippet com.azure.containers.containerregistry.ContainerRepositoryAsync.updateProperties}.
*
- * @param value {@link RepositoryProperties writeable properties} that need to be updated for the repository.
+ * @param repositoryProperties {@link ContainerRepositoryProperties writeable properties} that need to be updated for the repository.
* @return The completion.
* @throws ClientAuthenticationException thrown if the client does not have access to the repository.
* @throws ResourceNotFoundException thrown if the repository with the given name was not found.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
- * @throws NullPointerException thrown if the 'value' is null.
+ * @throws NullPointerException thrown if the {@code repositoryProperties} is null.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Mono updateProperties(RepositoryProperties value) {
- return this.updatePropertiesWithResponse(value).flatMap(FluxUtil::toMono);
+ public Mono updateProperties(ContainerRepositoryProperties repositoryProperties) {
+ return this.updatePropertiesWithResponse(repositoryProperties).flatMap(FluxUtil::toMono);
}
}
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/RegistryArtifact.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/RegistryArtifact.java
index daf30a565a35..e46bcb217a12 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/RegistryArtifact.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/RegistryArtifact.java
@@ -6,7 +6,7 @@
import com.azure.containers.containerregistry.models.ArtifactManifestProperties;
import com.azure.containers.containerregistry.models.ArtifactTagProperties;
-import com.azure.containers.containerregistry.models.TagOrderBy;
+import com.azure.containers.containerregistry.models.ArtifactTagOrderBy;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.exception.ClientAuthenticationException;
@@ -21,7 +21,7 @@
*
* Instantiating Registry Artifact
*
- * {@codesnippet com.azure.containers.containerregistry.registryartifact.instantiation}
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifact.instantiation}
*/
public final class RegistryArtifact {
private final RegistryArtifactAsync asyncClient;
@@ -53,29 +53,21 @@ public String getRepositoryName() {
}
/**
- * Gets the tag or digest for the current instance.
- * @return Tag or digest information for the current instance.
+ * Gets the fully qualified reference for the current instance.
+ * @return Fully qualified reference of the current instance.
* */
- public String getDigest() {
- return this.asyncClient.getDigest();
+ public String getFullyQualifiedReference() {
+ return this.asyncClient.getFullyQualifiedReference();
}
/**
- * Gets the fully qualified name for the current instance.
- * @return Fully qualified name of the current instance.
- * */
- public String getFullyQualifiedName() {
- return this.asyncClient.getFullyQualifiedName();
- }
-
- /**
- * Deletes the registry artifact with the matching digest {@link #getDigest()} in the given {@link #getRepositoryName() respository}.
+ * Deletes the registry artifact with the digest and repository associated with the instance.
*
* Code Samples
*
* Delete the registry artifact.
*
- * {@codesnippet com.azure.containers.containerregistry.registryartifact.deleteWithResponse}
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifact.deleteWithResponse#Context}
*
* @param context Additional context that is passed through the Http pipeline during the service call.
* @return A REST response containing the result of the service call.
@@ -88,13 +80,13 @@ public Response deleteWithResponse(Context context) {
}
/**
- * Deletes the registry artifact with the matching digest {@link #getDigest()} in the given {@link #getRepositoryName() respository}.
+ * Deletes the registry artifact with the digest and repository associated with the instance.
*
* Code Samples
*
* Delete the registry artifact.
*
- * {@codesnippet com.azure.containers.containerregistry.registryartifact.delete}
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifact.delete}
*
* @throws ClientAuthenticationException thrown if the client does not have access to modify the namespace.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
@@ -111,14 +103,14 @@ public void delete() {
*
* Delete the tag for the given repository.
*
- * {@codesnippet com.azure.containers.containerregistry.registryartifact.deleteTagWithResponse}
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifact.deleteTagWithResponse}
*
* @param tag The name of the tag that needs to be deleted.
* @param context Additional context that is passed through the Http pipeline during the service call.
* @return A REST response containing the result of the service call.
* @throws ClientAuthenticationException thrown if the client does not have access to modify the namespace.
- * @throws NullPointerException thrown if 'tag' is null.
- * @throws IllegalArgumentException thrown if 'tag' is empty.
+ * @throws NullPointerException thrown if {@code tag} is null.
+ * @throws IllegalArgumentException thrown if {@code tag} is empty.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@@ -133,12 +125,12 @@ public Response deleteTagWithResponse(String tag, Context context) {
*
* Delete the tag for the given repository.
*
- * {@codesnippet com.azure.containers.containerregistry.registryartifact.deleteTag}
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifact.deleteTag}
*
* @param tag The name of the tag that needs to be deleted.
* @throws ClientAuthenticationException thrown if the client does not have access to modify the namespace.
- * @throws NullPointerException thrown if 'tag' is null.
- * @throws IllegalArgumentException throws if 'tag' is empty.
+ * @throws NullPointerException thrown if {@code tag} is null.
+ * @throws IllegalArgumentException throws if {@code tag} is empty.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@@ -157,7 +149,7 @@ public void deleteTag(String tag) {
*
* Get the properties for the given repository.
*
- * {@codesnippet com.azure.containers.containerregistry.registryartifact.getManifestPropertiesWithResponse}
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifact.getManifestPropertiesWithResponse}
*
* @param context Additional context that is passed through the Http pipeline during the service call.
* @return A REST response containing {@link ArtifactManifestProperties properties} associated with the given {@code Digest}.
@@ -180,7 +172,7 @@ public Response getManifestPropertiesWithResponse(Co
*
* Get the registry artifact properties for a given tag or digest.
*
- * {@codesnippet com.azure.containers.containerregistry.registryartifact.getManifestProperties}.
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifact.getManifestProperties}.
*
* @return The {@link ArtifactManifestProperties properties} associated with the given {@code Digest}.
* @throws ClientAuthenticationException thrown if the client's credentials do not have access to modify the namespace.
@@ -199,15 +191,15 @@ public ArtifactManifestProperties getManifestProperties() {
*
* Retrieve the properties associated with the given tag.
*
- * {@codesnippet com.azure.containers.containerregistry.registryartifact.getTagPropertiesWithResponse}.
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifact.getTagPropertiesWithResponse}.
*
* @param tag name of the tag.
* @param context Additional context that is passed through the Http pipeline during the service call.
* @return A REST response with the {@link ArtifactTagProperties properties} associated with the given tag.
* @throws ClientAuthenticationException thrown if the client does not have access to the repository.
* @throws ResourceNotFoundException thrown if the given tag was not found.
- * @throws NullPointerException thrown if 'tag' is null.
- * @throws IllegalArgumentException throws if 'tag' is empty.
+ * @throws NullPointerException thrown if {@code tag} is null.
+ * @throws IllegalArgumentException throws if {@code tag} is empty.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@@ -223,14 +215,14 @@ public Response getTagPropertiesWithResponse(String tag,
*
* Retrieve the properties associated with the given tag.
*
- * {@codesnippet com.azure.containers.containerregistry.registryartifact.getTagProperties}.
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifact.getTagProperties}.
*
* @param tag name of the tag.
* @return The {@link ArtifactTagProperties properties} associated with the given tag.
* @throws ClientAuthenticationException thrown if the client does not have access to the repository.
* @throws ResourceNotFoundException thrown if the given tag was not found.
- * @throws NullPointerException thrown if 'tag' is null.
- * @throws IllegalArgumentException throws if 'tag' is empty.
+ * @throws NullPointerException thrown if {@code tag} is null.
+ * @throws IllegalArgumentException throws if {@code tag} is empty.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@@ -242,7 +234,7 @@ public ArtifactTagProperties getTagProperties(String tag) {
* Fetches all the tags associated with the given {@link #getRepositoryName() repository}.
*
* If you would like to specify the order in which the tags are returned please
- * use the overload that takes in the options parameter {@link #listTags(TagOrderBy, Context)} listTags}
+ * use the overload that takes in the options parameter {@link #listTagProperties(ArtifactTagOrderBy, Context)} listTagProperties}
* No assumptions on the order can be made if no options are provided to the service.
*
*
@@ -250,15 +242,15 @@ public ArtifactTagProperties getTagProperties(String tag) {
*
* Retrieve all the tags associated with the given repository from the most recently updated to the last.
*
- * {@codesnippet com.azure.containers.containerregistry.registryartifact.listTagsWithOptions}.
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifact.listTagPropertiesWithOptions}.
*
* @return {@link PagedIterable} of the artifacts for the given repository in the order specified by the options.
* @throws ClientAuthenticationException thrown if the client does not have access to the repository.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable listTags() {
- return listTags(TagOrderBy.NONE, Context.NONE);
+ public PagedIterable listTagProperties() {
+ return listTagProperties(ArtifactTagOrderBy.NONE, Context.NONE);
}
/**
@@ -273,7 +265,7 @@ public PagedIterable listTags() {
*
* Retrieve all the tags associated with the given repository from the most recently updated to the last.
*
- * {@codesnippet com.azure.containers.containerregistry.registryartifact.listTagsWithOptionsNoContext}.
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifact.listTagPropertiesWithOptionsNoContext}.
*
* @param orderBy The order in which the tags should be returned by the service.
* @return {@link PagedIterable} of the artifacts for the given repository in the order specified by the options.
@@ -281,8 +273,8 @@ public PagedIterable listTags() {
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable listTags(TagOrderBy orderBy) {
- return this.listTags(orderBy, Context.NONE);
+ public PagedIterable listTagProperties(ArtifactTagOrderBy orderBy) {
+ return this.listTagProperties(orderBy, Context.NONE);
}
/**
@@ -297,7 +289,7 @@ public PagedIterable listTags(TagOrderBy orderBy) {
*
* Retrieve all the tags associated with the given repository from the most recently updated to the last.
*
- * {@codesnippet com.azure.containers.containerregistry.registryartifact.listTagsWithOptions}.
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifact.listTagPropertiesWithOptions}.
*
* @param orderBy The order in which the tags should be returned by the service.
* @param context Additional context that is passed through the Http pipeline during the service call.
@@ -306,8 +298,8 @@ public PagedIterable listTags(TagOrderBy orderBy) {
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable listTags(TagOrderBy orderBy, Context context) {
- return new PagedIterable(asyncClient.listTags(orderBy, context));
+ public PagedIterable listTagProperties(ArtifactTagOrderBy orderBy, Context context) {
+ return new PagedIterable(asyncClient.listTagProperties(orderBy, context));
}
/**
@@ -318,17 +310,16 @@ public PagedIterable listTags(TagOrderBy orderBy, Context
*
* Update the writeable properties of a given tag.
*
- * {@codesnippet com.azure.containers.containerregistry.registryartifact.updateTagPropertiesWithResponse}.
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifact.updateTagPropertiesWithResponse}.
*
* @param tag Name of the tag.
* @param tagProperties {@link ArtifactTagProperties tagProperties} to be set.
* @param context Additional context that is passed through the Http pipeline during the service call.
* @return A REST response for the completion.
* @throws ClientAuthenticationException thrown if the client does not have access to repository.
- * @throws ResourceNotFoundException thrown if the given 'tag' was not found.
- * @throws NullPointerException thrown if 'tag' is null.
- * @throws IllegalArgumentException thrown if 'tag' is empty.
- * @throws NullPointerException thrown if 'tagProperties' is null.
+ * @throws ResourceNotFoundException thrown if the given {@code tag} was not found.
+ * @throws NullPointerException thrown if {@code tag} or {@code tagProperties} is null.
+ * @throws IllegalArgumentException thrown if {@code tag} or {@code tagProperties} is empty.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@@ -344,16 +335,15 @@ public Response updateTagPropertiesWithResponse(String ta
*
* Update the writeable properties of a given tag.
*
- * {@codesnippet com.azure.containers.containerregistry.registryartifact.updateTagProperties}.
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifact.updateTagProperties}.
*
* @param tag Name of the tag.
* @param tagProperties {@link ArtifactTagProperties tagProperties} to be set.
* @return The updated {@link ArtifactTagProperties properties }
* @throws ClientAuthenticationException thrown if the client does not have access to repository.
- * @throws ResourceNotFoundException thrown if the given tag was not found.
- * @throws NullPointerException thrown if 'tag' is null.
- * @throws IllegalArgumentException thrown if 'tag' is empty.
- * @throws NullPointerException thrown if 'tagProperties' is null.
+ * @throws ResourceNotFoundException thrown if the given {@code tag} was not found.
+ * @throws NullPointerException thrown if {@code tag} or {@code tagProperties} is null.
+ * @throws IllegalArgumentException thrown if {@code tag} or {@code tagProperties} is empty.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@@ -369,14 +359,14 @@ public ArtifactTagProperties updateTagProperties(String tag, ArtifactTagProperti
*
* Update the writeable properties of a given artifact.
*
- * {@codesnippet com.azure.containers.containerregistry.registryartifact.updateManifestPropertiesWithResponse}.
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifact.updateManifestPropertiesWithResponse}.
*
* @param manifestProperties {@link ArtifactManifestProperties tagProperties} to be set.
* @param context Additional context that is passed through the Http pipeline during the service call.
* @return A REST response for the completion.
* @throws ClientAuthenticationException thrown if the client does not have access to repository.
- * @throws NullPointerException thrown if the value is null.
- * @throws ResourceNotFoundException thrown if the given digest was not found.
+ * @throws NullPointerException thrown if the {@code manifestProperties} is null.
+ * @throws ResourceNotFoundException thrown if the given {@code digest} was not found.
*/
public Response updateManifestPropertiesWithResponse(ArtifactManifestProperties manifestProperties, Context context) {
return this.asyncClient.updateManifestPropertiesWithResponse(manifestProperties, context).block();
@@ -390,13 +380,13 @@ public Response updateManifestPropertiesWithResponse
*
* Update the writeable properties of a given manifest.
*
- * {@codesnippet com.azure.containers.containerregistry.registryartifact.updateManifestProperties}.
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifact.updateManifestProperties}.
*
* @param manifestProperties {@link ArtifactManifestProperties manifestProperties} to be set.
* @return The updated {@link ArtifactManifestProperties properties }
* @throws ClientAuthenticationException thrown if the client does not have access to repository.
- * @throws ResourceNotFoundException thrown if the given digest was not found.
- * @throws NullPointerException thrown if the 'value' is null.
+ * @throws ResourceNotFoundException thrown if the given {@code digest} was not found.
+ * @throws NullPointerException thrown if the {@code manifestProperties} is null.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public ArtifactManifestProperties updateManifestProperties(ArtifactManifestProperties manifestProperties) {
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/RegistryArtifactAsync.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/RegistryArtifactAsync.java
index f2de416bdd6b..847611a5b2e7 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/RegistryArtifactAsync.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/RegistryArtifactAsync.java
@@ -12,8 +12,8 @@
import com.azure.containers.containerregistry.implementation.models.TagAttributesBase;
import com.azure.containers.containerregistry.implementation.models.TagWriteableProperties;
import com.azure.containers.containerregistry.models.ArtifactManifestProperties;
+import com.azure.containers.containerregistry.models.ArtifactTagOrderBy;
import com.azure.containers.containerregistry.models.ArtifactTagProperties;
-import com.azure.containers.containerregistry.models.TagOrderBy;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.exception.ClientAuthenticationException;
@@ -42,7 +42,7 @@
*
* Instantiating an asynchronous RegistryArtifact helper.
*
- * {@codesnippet com.azure.containers.containerregistry.async.registryartifact.instantiation}
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifactAsync.instantiation}
*
* View {@link ContainerRegistryClientBuilder this} for additional ways to construct the client.
*
@@ -51,9 +51,10 @@
public final class RegistryArtifactAsync {
private final ContainerRegistriesImpl serviceClient;
private final String repositoryName;
- private final String fullyQualifiedName;
+ private final String fullyQualifiedReference;
private final String endpoint;
private final String apiVersion;
+ private final String tagOrDigest;
private String digest;
private final ClientLogger logger = new ClientLogger(RegistryArtifactAsync.class);
@@ -62,12 +63,12 @@ public final class RegistryArtifactAsync {
* Creates a RegistryArtifactAsync type that sends requests to the given repository in the container registry service at {@code endpoint}.
* Each service call goes through the {@code pipeline}.
* @param repositoryName The name of the repository on which the service operations are performed.
- * @param digest The tag or digest associated with the given artifact.
+ * @param tagOrDigest The tag or digest associated with the given artifact.
* @param endpoint The URL string for the Azure Container Registry service.
* @param httpPipeline HttpPipeline that the HTTP requests and responses flow through.
* @param version {@link ContainerRegistryServiceVersion} of the service to be used when making requests.
*/
- RegistryArtifactAsync(String repositoryName, String digest, HttpPipeline httpPipeline, String endpoint, String version) {
+ RegistryArtifactAsync(String repositoryName, String tagOrDigest, HttpPipeline httpPipeline, String endpoint, String version) {
if (repositoryName == null) {
throw logger.logExceptionAsError(new NullPointerException("'repositoryName' can't be null"));
}
@@ -76,11 +77,11 @@ public final class RegistryArtifactAsync {
throw logger.logExceptionAsError(new IllegalArgumentException("'repositoryName' can't be empty"));
}
- if (digest == null) {
+ if (tagOrDigest == null) {
throw logger.logExceptionAsError(new NullPointerException("'digest' can't be null"));
}
- if (digest.isEmpty()) {
+ if (tagOrDigest.isEmpty()) {
throw logger.logExceptionAsError(new IllegalArgumentException("'digest' can't be empty"));
}
@@ -90,16 +91,16 @@ public final class RegistryArtifactAsync {
this.endpoint = endpoint;
this.repositoryName = repositoryName;
+ this.tagOrDigest = tagOrDigest;
try {
URL endpointUrl = new URL(endpoint);
- this.fullyQualifiedName = endpointUrl.getHost() + "/" + this.repositoryName;
+ this.fullyQualifiedReference = endpointUrl.getHost() + "/" + this.repositoryName + (isDigest(tagOrDigest) ? "@" : ":") + tagOrDigest;
} catch (MalformedURLException ex) {
// This will not happen.
throw logger.logExceptionAsWarning(new IllegalArgumentException("'endpoint' must be a valid URL"));
}
- this.digest = digest;
this.serviceClient = registryImpl.getContainerRegistries();
this.apiVersion = version;
}
@@ -113,12 +114,15 @@ public String getRegistryEndpoint() {
}
/**
- * Gets the fully qualified name for the current instance.
- * @return Fully qualified name of the current instance.
+ * Gets the fully qualified reference for the current instance.
+ * The fully qualifiedName is of the form 'registryName/repositoryName@digest'
+ * or 'registryName/repositoryName:tag' based on the docker naming convention and whether
+ * tag or digest was supplied to the constructor.
+ * @return Fully qualified reference of the current instance.
* */
- public String getFullyQualifiedName() {
+ public String getFullyQualifiedReference() {
- return this.fullyQualifiedName;
+ return this.fullyQualifiedReference;
}
/**
@@ -130,18 +134,18 @@ public String getRepositoryName() {
return this.repositoryName;
}
- /**
- * Gets the tag or digest for the current instance.
- * @return Tag or digest information for the current instance.
- * */
- public String getDigest() {
- return this.digest;
+ private boolean isDigest(String tagOrDigest) {
+ return tagOrDigest.contains(":");
}
private Mono getDigestMono() {
- Mono getTagMono = digest.contains(":")
- ? Mono.just(digest)
- : this.getTagProperties(digest).map(a -> a.getDigest());
+ if (this.digest != null) {
+ return Mono.just(digest);
+ }
+
+ Mono getTagMono = isDigest(tagOrDigest)
+ ? Mono.just(tagOrDigest)
+ : this.getTagProperties(tagOrDigest).map(a -> a.getDigest());
return getTagMono.flatMap(res -> {
this.digest = res;
@@ -156,7 +160,7 @@ private Mono getDigestMono() {
*
* Delete the registry artifact.
*
- * {@codesnippet com.azure.containers.containerregistry.async.registryartifact.deleteWithResponse}
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifactAsync.deleteWithResponse}
*
* @return A REST response with completion signal.
* @throws ClientAuthenticationException thrown if the client does not have access to the repository.
@@ -185,7 +189,7 @@ Mono> deleteWithResponse(Context context) {
*
* Delete the registry artifact.
*
- * {@codesnippet com.azure.containers.containerregistry.async.registryartifact.delete}
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifactAsync.delete}
*
* @return the completion.
* @throws ClientAuthenticationException thrown if the client does not have access to the repository.
@@ -203,13 +207,13 @@ public Mono delete() {
*
* Delete the tag for the given repository.
*
- * {@codesnippet com.azure.containers.containerregistry.async.registryartifact.deleteTagWithResponse}
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifactAsync.deleteTagWithResponse}
*
* @param tag The name of the 'tag' that uniquely identifies the 'tag' that needs to be deleted.
* @return A REST response with completion signal.
* @throws ClientAuthenticationException thrown if the client does not have access to the repository.
- * @throws NullPointerException thrown if 'tag' is null.
- * @throws IllegalArgumentException thrown if 'tag' is empty.
+ * @throws NullPointerException thrown if {@code tag} is null.
+ * @throws IllegalArgumentException thrown if {@code tag} is empty.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@@ -240,13 +244,13 @@ Mono> deleteTagWithResponse(String tag, Context context) {
*
* Delete the tag for the given repository.
*
- * {@codesnippet com.azure.containers.containerregistry.async.registryartifact.deleteTag}
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifactAsync.deleteTag}
*
* @param tag The name of the tag that uniquely identifies the tag that needs to be deleted.
* @return The completion.
* @throws ClientAuthenticationException thrown if the client does not have access to the repository.
- * @throws NullPointerException thrown if 'tag' is null.
- * @throws IllegalArgumentException thrown if the 'tag' is empty.
+ * @throws NullPointerException thrown if {@code tag} is null.
+ * @throws IllegalArgumentException thrown if the {@code tag} is empty.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@@ -264,7 +268,7 @@ public Mono deleteTag(String tag) {
*
* Get the properties for the given repository.
*
- * {@codesnippet com.azure.containers.containerregistry.async.registryartifact.getManifestPropertiesWithResponse}
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifactAsync.getManifestPropertiesWithResponse}
*
* @return A REST response containing {@link ArtifactManifestProperties properties} associated with the given {@code Digest}.
* @throws ClientAuthenticationException thrown if the client does not have access to the repository.
@@ -296,7 +300,7 @@ Mono> getManifestPropertiesWithResponse(Con
*
* Get the properties for the given repository.
*
- * {@codesnippet com.azure.containers.containerregistry.async.registryartifact.getManifestProperties}.
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifactAsync.getManifestProperties}.
*
* @return The {@link ArtifactManifestProperties properties} associated with the given {@code Digest}.
* @throws ClientAuthenticationException thrown if the client does not have access to the repository.
@@ -315,15 +319,15 @@ public Mono getManifestProperties() {
*
* Retrieve the properties associated with the given tag.
*
- * {@codesnippet com.azure.containers.containerregistry.async.registryartifact.getTagPropertiesWithResponse}.
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifactAsync.getTagPropertiesWithResponse}.
*
* @param tag name of the tag that uniquely identifies a given tag.
* @return A REST response with the {@link ArtifactTagProperties properties} associated with the given tag.
* @throws ClientAuthenticationException thrown if the client does not have access to the repository.
* @throws ResourceNotFoundException thrown if the given tag was not found.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
- * @throws NullPointerException thrown if the 'tag' is null.
- * @throws IllegalArgumentException thrown if the 'tag' is empty.
+ * @throws NullPointerException thrown if the {@code tag} is null.
+ * @throws IllegalArgumentException thrown if the {@code tag} is empty.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono> getTagPropertiesWithResponse(String tag) {
@@ -353,15 +357,15 @@ Mono> getTagPropertiesWithResponse(String tag, C
*
* Retrieve the properties associated with the given tag.
*
- * {@codesnippet com.azure.containers.containerregistry.async.registryartifact.getTagProperties}.
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifactAsync.getTagProperties}.
*
* @param tag name of the tag that uniquely identifies a given tag.
* @return The {@link ArtifactTagProperties properties} associated with the given tag.
* @throws ClientAuthenticationException thrown if the client does not have access to the repository.
* @throws ResourceNotFoundException thrown if the given tag was not found.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
- * @throws NullPointerException thrown if the 'tag' is null.
- * @throws IllegalArgumentException thrown if the 'tag' is empty.
+ * @throws NullPointerException thrown if the {@code tag} is null.
+ * @throws IllegalArgumentException thrown if the {@code tag} is empty.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono getTagProperties(String tag) {
@@ -372,7 +376,7 @@ public Mono getTagProperties(String tag) {
* Fetches all the tags associated with the given {@link #getRepositoryName() repository}.
*
* If you would like to specify the order in which the tags are returned please
- * use the overload that takes in the options parameter {@link #listTags(TagOrderBy)} listTags}
+ * use the overload that takes in the options parameter {@link #listTagProperties(ArtifactTagOrderBy)} listTagProperties}
* No assumptions on the order can be made if no options are provided to the service.
*
*
@@ -380,15 +384,15 @@ public Mono getTagProperties(String tag) {
*
* Retrieve all the tags associated with the given repository from the most recently updated to the last.
*
- * {@codesnippet com.azure.containers.containerregistry.async.registryartifact.listTagsWithOptions}.
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifactAsync.listTagPropertiesWithOptions}.
*
* @return {@link PagedFlux} of the artifacts for the given repository in the order specified by the options.
* @throws ClientAuthenticationException thrown if the client does not have access to the repository.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedFlux listTags() {
- return listTags(TagOrderBy.NONE);
+ public PagedFlux listTagProperties() {
+ return listTagProperties(ArtifactTagOrderBy.NONE);
}
/**
@@ -403,7 +407,7 @@ public PagedFlux listTags() {
*
* Retrieve all the tags associated with the given repository from the most recently updated to the last.
*
- * {@codesnippet com.azure.containers.containerregistry.async.registryartifact.listTagsWithOptions}.
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifactAsync.listTagPropertiesWithOptions}.
*
* @param orderBy The order in which the tags should be returned by the service.
* @return {@link PagedFlux} of the artifacts for the given repository in the order specified by the options.
@@ -411,25 +415,25 @@ public PagedFlux listTags() {
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedFlux listTags(TagOrderBy orderBy) {
+ public PagedFlux listTagProperties(ArtifactTagOrderBy orderBy) {
return new PagedFlux<>(
- (pageSize) -> withContext(context -> listTagsSinglePageAsync(pageSize, orderBy, context)),
- (token, pageSize) -> withContext(context -> listTagsNextSinglePageAsync(token, context)));
+ (pageSize) -> withContext(context -> listTagPropertiesSinglePageAsync(pageSize, orderBy, context)),
+ (token, pageSize) -> withContext(context -> listTagPropertiesNextSinglePageAsync(token, context)));
}
- PagedFlux listTags(TagOrderBy orderBy, Context context) {
+ PagedFlux listTagProperties(ArtifactTagOrderBy orderBy, Context context) {
return new PagedFlux<>(
- (pageSize) -> listTagsSinglePageAsync(pageSize, orderBy, context),
- (token, pageSize) -> listTagsNextSinglePageAsync(token, context));
+ (pageSize) -> listTagPropertiesSinglePageAsync(pageSize, orderBy, context),
+ (token, pageSize) -> listTagPropertiesNextSinglePageAsync(token, context));
}
- Mono> listTagsSinglePageAsync(Integer pageSize, TagOrderBy orderBy, Context context) {
+ Mono> listTagPropertiesSinglePageAsync(Integer pageSize, ArtifactTagOrderBy orderBy, Context context) {
try {
if (pageSize != null && pageSize < 0) {
return monoError(logger, new IllegalArgumentException("'pageSize' cannot be negative."));
}
- final String orderByString = orderBy.equals(TagOrderBy.NONE) ? null : orderBy.toString();
+ final String orderByString = orderBy.equals(ArtifactTagOrderBy.NONE) ? null : orderBy.toString();
return this.getDigestMono()
.flatMap(res -> this.serviceClient.getTagsSinglePageAsync(repositoryName, null, pageSize, orderByString, res, context))
@@ -459,7 +463,7 @@ private List getTagProperties(List bas
}).collect(Collectors.toList());
}
- Mono> listTagsNextSinglePageAsync(String nextLink, Context context) {
+ Mono> listTagPropertiesNextSinglePageAsync(String nextLink, Context context) {
try {
return this.serviceClient.getTagsNextSinglePageAsync(nextLink, context)
.map(res -> Utils.getPagedResponseWithContinuationToken(res, this::getTagProperties));
@@ -476,7 +480,7 @@ Mono> listTagsNextSinglePageAsync(String ne
*
* Update the writeable properties of a given tag.
*
- * {@codesnippet com.azure.containers.containerregistry.async.registryartifact.updateTagPropertiesWithResponse}.
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifactAsync.updateTagPropertiesWithResponse}.
*
* @param tag Name of the tag that uniquely identifies it.
* @param tagProperties {@link ArtifactTagProperties value} to be set.
@@ -484,9 +488,9 @@ Mono> listTagsNextSinglePageAsync(String ne
* @throws ClientAuthenticationException thrown if the client does not have access to repository.
* @throws ResourceNotFoundException thrown if the given tag was not found.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
- * @throws NullPointerException thrown if the 'tag' is null.
- * @throws IllegalArgumentException thrown if the 'tag' is empty.
- * @throws NullPointerException thrown if 'tagProperties' is null.
+ * @throws NullPointerException thrown if the {@code tag} is null.
+ * @throws IllegalArgumentException thrown if the {@code tag} is empty.
+ * @throws NullPointerException thrown if {@code tagProperties} is null.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono> updateTagPropertiesWithResponse(
@@ -506,7 +510,7 @@ Mono> updateTagPropertiesWithResponse(
}
if (tagProperties == null) {
- return monoError(logger, new NullPointerException("'value' cannot be null."));
+ return monoError(logger, new NullPointerException("'tagProperties' cannot be null."));
}
TagWriteableProperties writeableProperties = new TagWriteableProperties()
@@ -530,7 +534,7 @@ Mono> updateTagPropertiesWithResponse(
*
* Update the writeable properties of a given tag.
*
- * {@codesnippet com.azure.containers.containerregistry.async.registryartifact.updateTagPropertiesWithResponse}.
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifactAsync.updateTagPropertiesWithResponse}.
*
* @param tag Name of the tag that uniquely identifies it.
* @param tagProperties {@link ArtifactTagProperties tagProperties} to be set.
@@ -538,9 +542,9 @@ Mono> updateTagPropertiesWithResponse(
* @throws ClientAuthenticationException thrown if the client does not have access to repository.
* @throws ResourceNotFoundException thrown if the given tag was not found.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
- * @throws NullPointerException thrown if the 'tag' is null.
- * @throws IllegalArgumentException thrown if the 'tag' is empty.
- * @throws NullPointerException thrown if 'value' is null.
+ * @throws NullPointerException thrown if the {@code tag} is null.
+ * @throws IllegalArgumentException thrown if the {@code tag} is empty.
+ * @throws NullPointerException thrown if {@code tagProperties} is null.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono updateTagProperties(String tag, ArtifactTagProperties tagProperties) {
@@ -555,14 +559,14 @@ public Mono updateTagProperties(String tag, ArtifactTagPr
*
* Update the writeable properties of a given manifest.
*
- * {@codesnippet com.azure.containers.containerregistry.async.registryartifact.updateManifestPropertiesWithResponse}.
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifactAsync.updateManifestPropertiesWithResponse}.
*
* @param manifestProperties {@link ArtifactManifestProperties manifestProperties} to be set.
* @return A REST response for the completion.
* @throws ClientAuthenticationException thrown if the client does not have access to repository.
* @throws ResourceNotFoundException thrown if the given digest was not found.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
- * @throws NullPointerException thrown if the 'manifestProperties' is null.
+ * @throws NullPointerException thrown if the {@code manifestProperties} is null.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono> updateManifestPropertiesWithResponse(ArtifactManifestProperties manifestProperties) {
@@ -597,14 +601,14 @@ Mono> updateManifestPropertiesWithResponse(
*
* Update the writeable properties of a given manifest.
*
- * {@codesnippet com.azure.containers.containerregistry.async.registryartifact.updateManifestProperties}.
+ * {@codesnippet com.azure.containers.containerregistry.RegistryArtifactAsync.updateManifestProperties}.
*
* @param manifestProperties {@link ArtifactManifestProperties manifestProperties} to be set.
* @return The completion.
* @throws ClientAuthenticationException thrown if the client does not have access to repository.
* @throws ResourceNotFoundException thrown if the given digest was not found.
* @throws HttpResponseException thrown if any other unexpected exception is returned by the service.
- * @throws NullPointerException thrown if the 'value' is null.
+ * @throws NullPointerException thrown if the {@code manifestProperties} is null.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono updateManifestProperties(ArtifactManifestProperties manifestProperties) {
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/Utils.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/Utils.java
index 576ee3b52f0e..7d82d0fa7832 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/Utils.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/Utils.java
@@ -175,6 +175,7 @@ static HttpPipeline buildHttpPipeline(
Configuration configuration,
RetryPolicy retryPolicy,
TokenCredential credential,
+ String authenticationScope,
List perCallPolicies,
List perRetryPolicies,
HttpClient httpClient,
@@ -211,6 +212,7 @@ static HttpPipeline buildHttpPipeline(
ContainerRegistryTokenService tokenService = new ContainerRegistryTokenService(
credential,
+ authenticationScope,
endpoint,
new HttpPipelineBuilder()
.policies(credentialPolicies.toArray(new HttpPipelinePolicy[0]))
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/ArtifactManifestPropertiesHelper.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/ArtifactManifestPropertiesHelper.java
index 1b013b7d03b1..2ef8d523b6d5 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/ArtifactManifestPropertiesHelper.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/ArtifactManifestPropertiesHelper.java
@@ -4,8 +4,8 @@
package com.azure.containers.containerregistry.implementation;
import com.azure.containers.containerregistry.models.ArtifactArchitecture;
+import com.azure.containers.containerregistry.models.ArtifactManifestPlatform;
import com.azure.containers.containerregistry.models.ArtifactManifestProperties;
-import com.azure.containers.containerregistry.models.ArtifactManifestReference;
import com.azure.containers.containerregistry.models.ArtifactOperatingSystem;
import java.time.OffsetDateTime;
@@ -27,7 +27,7 @@ public interface ArtifactManifestPropertiesAccessor {
void setRepositoryName(ArtifactManifestProperties manifestProperties, String repositoryName);
void setRegistryLoginServer(ArtifactManifestProperties manifestProperties, String registryLoginServer);
void setDigest(ArtifactManifestProperties manifestProperties, String digest);
- void setManifestReferences(ArtifactManifestProperties manifestProperties, List manifestReferences);
+ void setRelatedArtifacts(ArtifactManifestProperties manifestProperties, List relatedArtifacts);
void setCpuArchitecture(ArtifactManifestProperties manifestProperties, ArtifactArchitecture architecture);
void setOperatingSystem(ArtifactManifestProperties manifestProperties, ArtifactOperatingSystem operatingSystem);
void setTags(ArtifactManifestProperties manifestProperties, List tags);
@@ -65,8 +65,8 @@ public static void setlastUpdatedOn(ArtifactManifestProperties manifestPropertie
accessor.setlastUpdatedOn(manifestProperties, lastUpdatedOn);
}
- public static void setManifestReferences(ArtifactManifestProperties manifestProperties, List manifestReferences) {
- accessor.setManifestReferences(manifestProperties, manifestReferences);
+ public static void setRelatedArtifacts(ArtifactManifestProperties manifestProperties, List relatedArtifacts) {
+ accessor.setRelatedArtifacts(manifestProperties, relatedArtifacts);
}
public static void setCpuArchitecture(ArtifactManifestProperties manifestProperties, ArtifactArchitecture architecture) {
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/ContainerRegistriesImpl.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/ContainerRegistriesImpl.java
index a8a5c2e8b3de..f43e0acfa531 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/ContainerRegistriesImpl.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/ContainerRegistriesImpl.java
@@ -14,13 +14,13 @@
import com.azure.containers.containerregistry.implementation.models.ContainerRegistriesGetRepositoriesResponse;
import com.azure.containers.containerregistry.implementation.models.ContainerRegistriesGetTagsNextResponse;
import com.azure.containers.containerregistry.implementation.models.ContainerRegistriesGetTagsResponse;
+import com.azure.containers.containerregistry.models.ContainerRepositoryProperties;
import com.azure.containers.containerregistry.implementation.models.Manifest;
import com.azure.containers.containerregistry.implementation.models.ManifestAttributesBase;
import com.azure.containers.containerregistry.implementation.models.ManifestWriteableProperties;
import com.azure.containers.containerregistry.implementation.models.RepositoryWriteableProperties;
import com.azure.containers.containerregistry.implementation.models.TagAttributesBase;
import com.azure.containers.containerregistry.implementation.models.TagWriteableProperties;
-import com.azure.containers.containerregistry.models.RepositoryProperties;
import com.azure.core.annotation.BodyParam;
import com.azure.core.annotation.Delete;
import com.azure.core.annotation.ExpectedResponses;
@@ -123,7 +123,7 @@ Mono getRepositories(
@Get("/acr/v1/{name}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(AcrErrorsException.class)
- Mono> getProperties(
+ Mono> getProperties(
@HostParam("url") String url,
@PathParam("name") String name,
@HeaderParam("Accept") String accept,
@@ -141,7 +141,7 @@ Mono> deleteRepository(
@Patch("/acr/v1/{name}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(AcrErrorsException.class)
- Mono> setProperties(
+ Mono> updateProperties(
@HostParam("url") String url,
@PathParam("name") String name,
@BodyParam("application/json") RepositoryWriteableProperties value,
@@ -649,7 +649,7 @@ public PagedFlux getRepositoriesAsync(String last, Integer n, Context co
* @return repository attributes.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Mono> getPropertiesWithResponseAsync(String name) {
+ public Mono> getPropertiesWithResponseAsync(String name) {
final String accept = "application/json";
return FluxUtil.withContext(context -> service.getProperties(this.client.getUrl(), name, accept, context));
}
@@ -665,7 +665,7 @@ public Mono> getPropertiesWithResponseAsync(Strin
* @return repository attributes.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Mono> getPropertiesWithResponseAsync(String name, Context context) {
+ public Mono> getPropertiesWithResponseAsync(String name, Context context) {
final String accept = "application/json";
return service.getProperties(this.client.getUrl(), name, accept, context);
}
@@ -680,10 +680,10 @@ public Mono> getPropertiesWithResponseAsync(Strin
* @return repository attributes.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Mono getPropertiesAsync(String name) {
+ public Mono getPropertiesAsync(String name) {
return getPropertiesWithResponseAsync(name)
.flatMap(
- (Response res) -> {
+ (Response res) -> {
if (res.getValue() != null) {
return Mono.just(res.getValue());
} else {
@@ -703,10 +703,10 @@ public Mono getPropertiesAsync(String name) {
* @return repository attributes.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Mono getPropertiesAsync(String name, Context context) {
+ public Mono getPropertiesAsync(String name, Context context) {
return getPropertiesWithResponseAsync(name, context)
.flatMap(
- (Response res) -> {
+ (Response res) -> {
if (res.getValue() != null) {
return Mono.just(res.getValue());
} else {
@@ -783,14 +783,14 @@ public Mono deleteRepositoryAsync(String name, Context context) {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws AcrErrorsException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return repository attributes.
+ * @return properties of this repository.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Mono> setPropertiesWithResponseAsync(
+ public Mono> updatePropertiesWithResponseAsync(
String name, RepositoryWriteableProperties value) {
final String accept = "application/json";
return FluxUtil.withContext(
- context -> service.setProperties(this.client.getUrl(), name, value, accept, context));
+ context -> service.updateProperties(this.client.getUrl(), name, value, accept, context));
}
/**
@@ -802,13 +802,13 @@ public Mono> setPropertiesWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws AcrErrorsException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return repository attributes.
+ * @return properties of this repository.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Mono> setPropertiesWithResponseAsync(
+ public Mono> updatePropertiesWithResponseAsync(
String name, RepositoryWriteableProperties value, Context context) {
final String accept = "application/json";
- return service.setProperties(this.client.getUrl(), name, value, accept, context);
+ return service.updateProperties(this.client.getUrl(), name, value, accept, context);
}
/**
@@ -819,13 +819,13 @@ public Mono> setPropertiesWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws AcrErrorsException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return repository attributes.
+ * @return properties of this repository.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Mono setPropertiesAsync(String name, RepositoryWriteableProperties value) {
- return setPropertiesWithResponseAsync(name, value)
+ public Mono updatePropertiesAsync(String name, RepositoryWriteableProperties value) {
+ return updatePropertiesWithResponseAsync(name, value)
.flatMap(
- (Response res) -> {
+ (Response res) -> {
if (res.getValue() != null) {
return Mono.just(res.getValue());
} else {
@@ -843,14 +843,14 @@ public Mono setPropertiesAsync(String name, RepositoryWrit
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws AcrErrorsException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return repository attributes.
+ * @return properties of this repository.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Mono setPropertiesAsync(
+ public Mono updatePropertiesAsync(
String name, RepositoryWriteableProperties value, Context context) {
- return setPropertiesWithResponseAsync(name, value, context)
+ return updatePropertiesWithResponseAsync(name, value, context)
.flatMap(
- (Response res) -> {
+ (Response res) -> {
if (res.getValue() != null) {
return Mono.just(res.getValue());
} else {
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/authentication/ContainerRegistryRefreshTokenCredential.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/authentication/ContainerRegistryRefreshTokenCredential.java
index ffb5d0f8ff47..74e811bcca10 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/authentication/ContainerRegistryRefreshTokenCredential.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/authentication/ContainerRegistryRefreshTokenCredential.java
@@ -16,16 +16,18 @@ public class ContainerRegistryRefreshTokenCredential {
private final TokenCredential aadTokenCredential;
private final TokenServiceImpl tokenService;
- public static final String AAD_DEFAULT_SCOPE = "https://management.core.windows.net/.default";
+ private final String authenticationScope;
+ public static final String AAD_DEFAULT_SCOPE = "https://management.azure.com/.default";
/**
* Creates an instance of RefreshTokenCredential with default scheme "Bearer".
* @param tokenService the container registry token service that calls the token rest APIs.
* @param aadTokenCredential the ARM access token.
*/
- ContainerRegistryRefreshTokenCredential(TokenServiceImpl tokenService, TokenCredential aadTokenCredential) {
+ ContainerRegistryRefreshTokenCredential(TokenServiceImpl tokenService, TokenCredential aadTokenCredential, String authenticationScope) {
this.tokenService = tokenService;
this.aadTokenCredential = aadTokenCredential;
+ this.authenticationScope = authenticationScope == null ? AAD_DEFAULT_SCOPE : authenticationScope;
}
/**
@@ -36,7 +38,7 @@ public class ContainerRegistryRefreshTokenCredential {
public Mono getToken(ContainerRegistryTokenRequestContext context) {
String serviceName = context.getServiceName();
- return Mono.defer(() -> aadTokenCredential.getToken(new TokenRequestContext().addScopes(AAD_DEFAULT_SCOPE))
+ return Mono.defer(() -> aadTokenCredential.getToken(new TokenRequestContext().addScopes(authenticationScope))
.flatMap(token -> this.tokenService.getAcrRefreshTokenAsync(token.getToken(), serviceName)));
}
}
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/authentication/ContainerRegistryTokenService.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/authentication/ContainerRegistryTokenService.java
index f854616aebbe..aec773273452 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/authentication/ContainerRegistryTokenService.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/authentication/ContainerRegistryTokenService.java
@@ -30,11 +30,11 @@ public class ContainerRegistryTokenService implements TokenCredential {
* @param pipeline the pipeline to be used for the rest calls to the service.
* @param serializerAdapter the serializer adapter to be used for the rest calls to the service.
*/
- public ContainerRegistryTokenService(TokenCredential aadTokenCredential, String url, HttpPipeline pipeline, SerializerAdapter serializerAdapter) {
+ public ContainerRegistryTokenService(TokenCredential aadTokenCredential, String authenticationScope, String url, HttpPipeline pipeline, SerializerAdapter serializerAdapter) {
this.tokenService = new TokenServiceImpl(url, pipeline, serializerAdapter);
if (aadTokenCredential != null) {
- this.refreshTokenCache = new AccessTokenCacheImpl(new ContainerRegistryRefreshTokenCredential(tokenService, aadTokenCredential));
+ this.refreshTokenCache = new AccessTokenCacheImpl(new ContainerRegistryRefreshTokenCredential(tokenService, aadTokenCredential, authenticationScope));
} else {
isAnonymousAccess = true;
}
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/models/ArtifactManifestProperties.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/models/ArtifactManifestProperties.java
index 65bb2360c2fd..0290014f4acd 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/models/ArtifactManifestProperties.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/models/ArtifactManifestProperties.java
@@ -5,7 +5,7 @@
package com.azure.containers.containerregistry.implementation.models;
import com.azure.containers.containerregistry.models.ArtifactArchitecture;
-import com.azure.containers.containerregistry.models.ArtifactManifestReference;
+import com.azure.containers.containerregistry.models.ArtifactManifestPlatform;
import com.azure.containers.containerregistry.models.ArtifactOperatingSystem;
import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
@@ -67,11 +67,12 @@ public class ArtifactManifestProperties {
private ArtifactOperatingSystem operatingSystem;
/*
- * List of manifests referenced by this manifest list. List will be empty
- * if this manifest is not a manifest list.
+ * List of artifacts that are referenced by this manifest list, with
+ * information about the platform each supports. This list will be empty
+ * if this is a leaf manifest and not a manifest list.
*/
@JsonProperty(value = "manifest.references", access = JsonProperty.Access.WRITE_ONLY)
- private List manifestReferences;
+ private List relatedArtifacts;
/*
* List of tags
@@ -177,13 +178,13 @@ public ArtifactOperatingSystem getOperatingSystem() {
}
/**
- * Get the manifestReferences property: List of manifests referenced by this manifest list. List will be empty if
- * this manifest is not a manifest list.
+ * Get the relatedArtifacts property: List of artifacts that are referenced by this manifest list, with information
+ * about the platform each supports. This list will be empty if this is a leaf manifest and not a manifest list.
*
- * @return the manifestReferences value.
+ * @return the relatedArtifacts value.
*/
- public List getManifestReferences() {
- return this.manifestReferences;
+ public List getRelatedArtifacts() {
+ return this.relatedArtifacts;
}
/**
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/models/ContainerRepositoryProperties.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/models/ContainerRepositoryProperties.java
new file mode 100644
index 000000000000..fc93c25c9d0f
--- /dev/null
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/models/ContainerRepositoryProperties.java
@@ -0,0 +1,240 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.containers.containerregistry.implementation.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.JsonFlatten;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.time.OffsetDateTime;
+
+/** Properties of this repository. */
+@JsonFlatten
+@Fluent
+public class ContainerRepositoryProperties {
+ /*
+ * Registry login server name. This is likely to be similar to
+ * {registry-name}.azurecr.io
+ */
+ @JsonProperty(value = "registry", required = true, access = JsonProperty.Access.WRITE_ONLY)
+ private String registryLoginServer;
+
+ /*
+ * Image name
+ */
+ @JsonProperty(value = "imageName", required = true, access = JsonProperty.Access.WRITE_ONLY)
+ private String name;
+
+ /*
+ * Image created time
+ */
+ @JsonProperty(value = "createdTime", required = true, access = JsonProperty.Access.WRITE_ONLY)
+ private OffsetDateTime createdOn;
+
+ /*
+ * Image last update time
+ */
+ @JsonProperty(value = "lastUpdateTime", required = true, access = JsonProperty.Access.WRITE_ONLY)
+ private OffsetDateTime lastUpdatedOn;
+
+ /*
+ * Number of the manifests
+ */
+ @JsonProperty(value = "manifestCount", required = true, access = JsonProperty.Access.WRITE_ONLY)
+ private int manifestCount;
+
+ /*
+ * Number of the tags
+ */
+ @JsonProperty(value = "tagCount", required = true, access = JsonProperty.Access.WRITE_ONLY)
+ private int tagCount;
+
+ /*
+ * Delete enabled
+ */
+ @JsonProperty(value = "changeableAttributes.deleteEnabled")
+ private Boolean deleteEnabled;
+
+ /*
+ * Write enabled
+ */
+ @JsonProperty(value = "changeableAttributes.writeEnabled")
+ private Boolean writeEnabled;
+
+ /*
+ * List enabled
+ */
+ @JsonProperty(value = "changeableAttributes.listEnabled")
+ private Boolean listEnabled;
+
+ /*
+ * Read enabled
+ */
+ @JsonProperty(value = "changeableAttributes.readEnabled")
+ private Boolean readEnabled;
+
+ /*
+ * Enables Teleport functionality on new images in the repository improving
+ * Container startup performance
+ */
+ @JsonProperty(value = "changeableAttributes.teleportEnabled")
+ private Boolean teleportEnabled;
+
+ /**
+ * Get the registryLoginServer property: Registry login server name. This is likely to be similar to
+ * {registry-name}.azurecr.io.
+ *
+ * @return the registryLoginServer value.
+ */
+ public String getRegistryLoginServer() {
+ return this.registryLoginServer;
+ }
+
+ /**
+ * Get the name property: Image name.
+ *
+ * @return the name value.
+ */
+ public String getName() {
+ return this.name;
+ }
+
+ /**
+ * Get the createdOn property: Image created time.
+ *
+ * @return the createdOn value.
+ */
+ public OffsetDateTime getCreatedOn() {
+ return this.createdOn;
+ }
+
+ /**
+ * Get the lastUpdatedOn property: Image last update time.
+ *
+ * @return the lastUpdatedOn value.
+ */
+ public OffsetDateTime getLastUpdatedOn() {
+ return this.lastUpdatedOn;
+ }
+
+ /**
+ * Get the manifestCount property: Number of the manifests.
+ *
+ * @return the manifestCount value.
+ */
+ public int getManifestCount() {
+ return this.manifestCount;
+ }
+
+ /**
+ * Get the tagCount property: Number of the tags.
+ *
+ * @return the tagCount value.
+ */
+ public int getTagCount() {
+ return this.tagCount;
+ }
+
+ /**
+ * Get the deleteEnabled property: Delete enabled.
+ *
+ * @return the deleteEnabled value.
+ */
+ public Boolean isDeleteEnabled() {
+ return this.deleteEnabled;
+ }
+
+ /**
+ * Set the deleteEnabled property: Delete enabled.
+ *
+ * @param deleteEnabled the deleteEnabled value to set.
+ * @return the ContainerRepositoryProperties object itself.
+ */
+ public ContainerRepositoryProperties setDeleteEnabled(Boolean deleteEnabled) {
+ this.deleteEnabled = deleteEnabled;
+ return this;
+ }
+
+ /**
+ * Get the writeEnabled property: Write enabled.
+ *
+ * @return the writeEnabled value.
+ */
+ public Boolean isWriteEnabled() {
+ return this.writeEnabled;
+ }
+
+ /**
+ * Set the writeEnabled property: Write enabled.
+ *
+ * @param writeEnabled the writeEnabled value to set.
+ * @return the ContainerRepositoryProperties object itself.
+ */
+ public ContainerRepositoryProperties setWriteEnabled(Boolean writeEnabled) {
+ this.writeEnabled = writeEnabled;
+ return this;
+ }
+
+ /**
+ * Get the listEnabled property: List enabled.
+ *
+ * @return the listEnabled value.
+ */
+ public Boolean isListEnabled() {
+ return this.listEnabled;
+ }
+
+ /**
+ * Set the listEnabled property: List enabled.
+ *
+ * @param listEnabled the listEnabled value to set.
+ * @return the ContainerRepositoryProperties object itself.
+ */
+ public ContainerRepositoryProperties setListEnabled(Boolean listEnabled) {
+ this.listEnabled = listEnabled;
+ return this;
+ }
+
+ /**
+ * Get the readEnabled property: Read enabled.
+ *
+ * @return the readEnabled value.
+ */
+ public Boolean isReadEnabled() {
+ return this.readEnabled;
+ }
+
+ /**
+ * Set the readEnabled property: Read enabled.
+ *
+ * @param readEnabled the readEnabled value to set.
+ * @return the ContainerRepositoryProperties object itself.
+ */
+ public ContainerRepositoryProperties setReadEnabled(Boolean readEnabled) {
+ this.readEnabled = readEnabled;
+ return this;
+ }
+
+ /**
+ * Get the teleportEnabled property: Enables Teleport functionality on new images in the repository improving
+ * Container startup performance.
+ *
+ * @return the teleportEnabled value.
+ */
+ public Boolean isTeleportEnabled() {
+ return this.teleportEnabled;
+ }
+
+ /**
+ * Set the teleportEnabled property: Enables Teleport functionality on new images in the repository improving
+ * Container startup performance.
+ *
+ * @param teleportEnabled the teleportEnabled value to set.
+ * @return the ContainerRepositoryProperties object itself.
+ */
+ public ContainerRepositoryProperties setTeleportEnabled(Boolean teleportEnabled) {
+ this.teleportEnabled = teleportEnabled;
+ return this;
+ }
+}
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/models/ManifestAttributesBase.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/models/ManifestAttributesBase.java
index 0116d441755b..8e671067b60d 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/models/ManifestAttributesBase.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/models/ManifestAttributesBase.java
@@ -5,7 +5,7 @@
package com.azure.containers.containerregistry.implementation.models;
import com.azure.containers.containerregistry.models.ArtifactArchitecture;
-import com.azure.containers.containerregistry.models.ArtifactManifestReference;
+import com.azure.containers.containerregistry.models.ArtifactManifestPlatform;
import com.azure.containers.containerregistry.models.ArtifactOperatingSystem;
import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
@@ -54,11 +54,12 @@ public class ManifestAttributesBase {
private ArtifactOperatingSystem operatingSystem;
/*
- * List of manifests referenced by this manifest list. List will be empty
- * if this manifest is not a manifest list.
+ * List of artifacts that are referenced by this manifest list, with
+ * information about the platform each supports. This list will be empty
+ * if this is a leaf manifest and not a manifest list.
*/
@JsonProperty(value = "references", access = JsonProperty.Access.WRITE_ONLY)
- private List manifestReferences;
+ private List relatedArtifacts;
/*
* List of tags
@@ -145,13 +146,13 @@ public ArtifactOperatingSystem getOperatingSystem() {
}
/**
- * Get the manifestReferences property: List of manifests referenced by this manifest list. List will be empty if
- * this manifest is not a manifest list.
+ * Get the relatedArtifacts property: List of artifacts that are referenced by this manifest list, with information
+ * about the platform each supports. This list will be empty if this is a leaf manifest and not a manifest list.
*
- * @return the manifestReferences value.
+ * @return the relatedArtifacts value.
*/
- public List getManifestReferences() {
- return this.manifestReferences;
+ public List getRelatedArtifacts() {
+ return this.relatedArtifacts;
}
/**
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/models/ManifestAttributesManifest.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/models/ManifestAttributesManifest.java
index bdb61e752e91..c83b69bdfb02 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/models/ManifestAttributesManifest.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/implementation/models/ManifestAttributesManifest.java
@@ -4,7 +4,7 @@
package com.azure.containers.containerregistry.implementation.models;
-import com.azure.containers.containerregistry.models.ArtifactManifestReference;
+import com.azure.containers.containerregistry.models.ArtifactManifestPlatform;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
@@ -16,7 +16,7 @@ public final class ManifestAttributesManifest {
* List of manifest attributes details
*/
@JsonProperty(value = "references")
- private List references;
+ private List references;
/*
* Quarantine tag name
@@ -29,7 +29,7 @@ public final class ManifestAttributesManifest {
*
* @return the references value.
*/
- public List getReferences() {
+ public List getReferences() {
return this.references;
}
@@ -39,7 +39,7 @@ public List getReferences() {
* @param references the references value to set.
* @return the ManifestAttributesManifest object itself.
*/
- public ManifestAttributesManifest setReferences(List references) {
+ public ManifestAttributesManifest setReferences(List references) {
this.references = references;
return this;
}
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ArtifactManifestOrderBy.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ArtifactManifestOrderBy.java
new file mode 100644
index 000000000000..3bbd4a9f2efd
--- /dev/null
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ArtifactManifestOrderBy.java
@@ -0,0 +1,37 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.containers.containerregistry.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import java.util.Collection;
+
+/** Defines values for ArtifactManifestOrderBy. */
+public final class ArtifactManifestOrderBy extends ExpandableStringEnum {
+ /** Static value none for ArtifactManifestOrderBy. */
+ public static final ArtifactManifestOrderBy NONE = fromString("none");
+
+ /** Static value timedesc for ArtifactManifestOrderBy. */
+ public static final ArtifactManifestOrderBy LAST_UPDATED_ON_DESCENDING = fromString("timedesc");
+
+ /** Static value timeasc for ArtifactManifestOrderBy. */
+ public static final ArtifactManifestOrderBy LAST_UPDATED_ON_ASCENDING = fromString("timeasc");
+
+ /**
+ * Creates or finds a ArtifactManifestOrderBy from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding ArtifactManifestOrderBy.
+ */
+ @JsonCreator
+ public static ArtifactManifestOrderBy fromString(String name) {
+ return fromString(name, ArtifactManifestOrderBy.class);
+ }
+
+ /** @return known ArtifactManifestOrderBy values. */
+ public static Collection values() {
+ return values(ArtifactManifestOrderBy.class);
+ }
+}
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ArtifactManifestReference.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ArtifactManifestPlatform.java
similarity index 84%
rename from sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ArtifactManifestReference.java
rename to sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ArtifactManifestPlatform.java
index d2b1601a8e49..0d5105c5088d 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ArtifactManifestReference.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ArtifactManifestPlatform.java
@@ -9,7 +9,7 @@
/** Manifest attributes details. */
@Immutable
-public final class ArtifactManifestReference {
+public final class ArtifactManifestPlatform {
/*
* Manifest digest
*/
@@ -19,13 +19,13 @@ public final class ArtifactManifestReference {
/*
* CPU architecture
*/
- @JsonProperty(value = "architecture", required = true, access = JsonProperty.Access.WRITE_ONLY)
+ @JsonProperty(value = "architecture", access = JsonProperty.Access.WRITE_ONLY)
private ArtifactArchitecture architecture;
/*
* Operating system
*/
- @JsonProperty(value = "os", required = true, access = JsonProperty.Access.WRITE_ONLY)
+ @JsonProperty(value = "os", access = JsonProperty.Access.WRITE_ONLY)
private ArtifactOperatingSystem operatingSystem;
/**
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ArtifactManifestProperties.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ArtifactManifestProperties.java
index ba5a81b95353..f3b62fbd37b9 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ArtifactManifestProperties.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ArtifactManifestProperties.java
@@ -72,7 +72,7 @@ public final class ArtifactManifestProperties {
* if this manifest is not a manifest list.
*/
@JsonProperty(value = "manifest.references", access = JsonProperty.Access.WRITE_ONLY)
- private List manifestReferences;
+ private List relatedArtifacts;
/*
* List of tags
@@ -115,8 +115,8 @@ public void setDigest(ArtifactManifestProperties manifestProperties, String dige
}
@Override
- public void setManifestReferences(ArtifactManifestProperties manifestProperties, List manifestReferences) {
- manifestProperties.setManifestReferences(manifestReferences);
+ public void setRelatedArtifacts(ArtifactManifestProperties manifestProperties, List relatedArtifacts) {
+ manifestProperties.setRelatedArtifacts(relatedArtifacts);
}
@Override
@@ -156,8 +156,8 @@ private ArtifactManifestProperties setCpuArchitecture(ArtifactArchitecture archi
return this;
}
- private ArtifactManifestProperties setManifestReferences(List manifestReferences) {
- this.manifestReferences = manifestReferences;
+ private ArtifactManifestProperties setRelatedArtifacts(List relatedArtifacts) {
+ this.relatedArtifacts = relatedArtifacts;
return this;
}
@@ -207,11 +207,6 @@ private ArtifactManifestProperties setRepositoryName(String repositoryName) {
@JsonProperty(value = "manifest.changeableAttributes.readEnabled")
private Boolean readEnabled;
- /**
- * Initializes an instance of {@link ArtifactManifestProperties}.
- */
- public ArtifactManifestProperties() { }
-
/**
* Get the registryLoginServer property: Registry login server name. This is likely to be similar to
* {registry-name}.azurecr.io.
@@ -286,13 +281,14 @@ public ArtifactOperatingSystem getOperatingSystem() {
}
/**
- * Get the manifestReferences property: List of manifests referenced by this manifest list. List will be empty if
- * this manifest is not a manifest list.
+ * List of artifacts that are referenced by this manifest list, with
+ * information about the platform each of them supports. This list will be empty
+ * if this is a leaf manifest and not a manifest list.
*
- * @return the manifestReferences value.
+ * @return the relatedArtifacts value.
*/
- public List getManifestReferences() {
- return this.manifestReferences;
+ public List getRelatedArtifacts() {
+ return this.relatedArtifacts;
}
/**
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ArtifactTagOrderBy.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ArtifactTagOrderBy.java
new file mode 100644
index 000000000000..aad2ccbe3714
--- /dev/null
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ArtifactTagOrderBy.java
@@ -0,0 +1,37 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.containers.containerregistry.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import java.util.Collection;
+
+/** Defines values for ArtifactTagOrderBy. */
+public final class ArtifactTagOrderBy extends ExpandableStringEnum {
+ /** Static value none for ArtifactTagOrderBy. */
+ public static final ArtifactTagOrderBy NONE = fromString("none");
+
+ /** Static value timedesc for ArtifactTagOrderBy. */
+ public static final ArtifactTagOrderBy LAST_UPDATED_ON_DESCENDING = fromString("timedesc");
+
+ /** Static value timeasc for ArtifactTagOrderBy. */
+ public static final ArtifactTagOrderBy LAST_UPDATED_ON_ASCENDING = fromString("timeasc");
+
+ /**
+ * Creates or finds a ArtifactTagOrderBy from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding ArtifactTagOrderBy.
+ */
+ @JsonCreator
+ public static ArtifactTagOrderBy fromString(String name) {
+ return fromString(name, ArtifactTagOrderBy.class);
+ }
+
+ /** @return known ArtifactTagOrderBy values. */
+ public static Collection values() {
+ return values(ArtifactTagOrderBy.class);
+ }
+}
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ArtifactTagProperties.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ArtifactTagProperties.java
index 654b394959d9..ca3c21a075c0 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ArtifactTagProperties.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ArtifactTagProperties.java
@@ -109,11 +109,6 @@ private ArtifactTagProperties setName(String tagName) {
return this;
}
- /**
- * Initializes an instance of {@link ArtifactTagProperties}
- */
- public ArtifactTagProperties() { }
-
/**
* Get the registryLoginServer property: Registry login server name. This is likely to be similar to
* {registry-name}.azurecr.io.
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/RepositoryProperties.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ContainerRepositoryProperties.java
similarity index 92%
rename from sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/RepositoryProperties.java
rename to sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ContainerRepositoryProperties.java
index c154d851d91b..37294088a679 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/RepositoryProperties.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ContainerRepositoryProperties.java
@@ -12,7 +12,7 @@
/** Repository attributes. */
@JsonFlatten
@Fluent
-public final class RepositoryProperties {
+public final class ContainerRepositoryProperties {
/*
* Registry login server name. This is likely to be similar to
* {registry-name}.azurecr.io
@@ -151,7 +151,7 @@ public Boolean isDeleteEnabled() {
* @param deleteEnabled the deleteEnabled value to set.
* @return the RepositoryProperties object itself.
*/
- public RepositoryProperties setDeleteEnabled(Boolean deleteEnabled) {
+ public ContainerRepositoryProperties setDeleteEnabled(Boolean deleteEnabled) {
this.deleteEnabled = deleteEnabled;
return this;
}
@@ -171,7 +171,7 @@ public Boolean isWriteEnabled() {
* @param writeEnabled the writeEnabled value to set.
* @return the RepositoryProperties object itself.
*/
- public RepositoryProperties setWriteEnabled(Boolean writeEnabled) {
+ public ContainerRepositoryProperties setWriteEnabled(Boolean writeEnabled) {
this.writeEnabled = writeEnabled;
return this;
}
@@ -191,7 +191,7 @@ public Boolean isListEnabled() {
* @param listEnabled the listEnabled value to set.
* @return the RepositoryProperties object itself.
*/
- public RepositoryProperties setListEnabled(Boolean listEnabled) {
+ public ContainerRepositoryProperties setListEnabled(Boolean listEnabled) {
this.listEnabled = listEnabled;
return this;
}
@@ -211,7 +211,7 @@ public Boolean isReadEnabled() {
* @param readEnabled the readEnabled value to set.
* @return the RepositoryProperties object itself.
*/
- public RepositoryProperties setReadEnabled(Boolean readEnabled) {
+ public ContainerRepositoryProperties setReadEnabled(Boolean readEnabled) {
this.readEnabled = readEnabled;
return this;
}
@@ -233,7 +233,7 @@ public Boolean isTeleportEnabled() {
* @param teleportEnabled the teleportEnabled value to set.
* @return the RepositoryProperties object itself.
*/
- public RepositoryProperties setTeleportEnabled(Boolean teleportEnabled) {
+ public ContainerRepositoryProperties setTeleportEnabled(Boolean teleportEnabled) {
this.teleportEnabled = teleportEnabled;
return this;
}
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ManifestOrderBy.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ManifestOrderBy.java
deleted file mode 100644
index 65e5bca60638..000000000000
--- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/ManifestOrderBy.java
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.containers.containerregistry.models;
-
-import com.azure.core.util.ExpandableStringEnum;
-import com.fasterxml.jackson.annotation.JsonCreator;
-import java.util.Collection;
-
-/** Defines values for ManifestOrderBy. */
-public final class ManifestOrderBy extends ExpandableStringEnum {
- /** Static value none for ManifestOrderBy. */
- public static final ManifestOrderBy NONE = fromString("none");
-
- /** Static value timedesc for ManifestOrderBy. */
- public static final ManifestOrderBy LAST_UPDATED_ON_DESCENDING = fromString("timedesc");
-
- /** Static value timeasc for ManifestOrderBy. */
- public static final ManifestOrderBy LAST_UPDATED_ON_ASCENDING = fromString("timeasc");
-
- /**
- * Creates or finds a ManifestOrderBy from its string representation.
- *
- * @param name a name to look for.
- * @return the corresponding ManifestOrderBy.
- */
- @JsonCreator
- public static ManifestOrderBy fromString(String name) {
- return fromString(name, ManifestOrderBy.class);
- }
-
- /** @return known ManifestOrderBy values. */
- public static Collection values() {
- return values(ManifestOrderBy.class);
- }
-}
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/TagOrderBy.java b/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/TagOrderBy.java
deleted file mode 100644
index a0e661a82eb6..000000000000
--- a/sdk/containerregistry/azure-containers-containerregistry/src/main/java/com/azure/containers/containerregistry/models/TagOrderBy.java
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.containers.containerregistry.models;
-
-import com.azure.core.util.ExpandableStringEnum;
-import com.fasterxml.jackson.annotation.JsonCreator;
-import java.util.Collection;
-
-/** Defines values for TagOrderBy. */
-public final class TagOrderBy extends ExpandableStringEnum {
- /** Static value none for TagOrderBy. */
- public static final TagOrderBy NONE = fromString("none");
-
- /** Static value timedesc for TagOrderBy. */
- public static final TagOrderBy LAST_UPDATED_ON_DESCENDING = fromString("timedesc");
-
- /** Static value timeasc for TagOrderBy. */
- public static final TagOrderBy LAST_UPDATED_ON_ASCENDING = fromString("timeasc");
-
- /**
- * Creates or finds a TagOrderBy from its string representation.
- *
- * @param name a name to look for.
- * @return the corresponding TagOrderBy.
- */
- @JsonCreator
- public static TagOrderBy fromString(String name) {
- return fromString(name, TagOrderBy.class);
- }
-
- /** @return known TagOrderBy values. */
- public static Collection values() {
- return values(TagOrderBy.class);
- }
-}
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/AnonymousAsyncClientThrows.java b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/AnonymousAsyncClientThrows.java
index 3d64ec554676..164deb248af9 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/AnonymousAsyncClientThrows.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/AnonymousAsyncClientThrows.java
@@ -3,6 +3,11 @@
package com.azure.containers.containerregistry;
+import com.azure.core.exception.ClientAuthenticationException;
+
+/**
+ * This class returns a sample for the anonymous access client.
+ */
public class AnonymousAsyncClientThrows {
static final String ENDPOINT = "https://registryName.azure.io";
@@ -16,7 +21,11 @@ public static void main(String[] args) {
anonymousClient.deleteRepository(REPOSITORY_NAME).subscribe(deleteRepositoryResult -> {
System.out.println("Unexpected Success: Delete is not allowed on anonymous access");
}, error -> {
- System.out.println("Expected exception: Delete is not allowed on anonymous access");
+ if (error instanceof ClientAuthenticationException) {
+ System.out.println("Expected exception: Delete is not allowed on anonymous access");
+ } else {
+ System.out.println("Unexpected exception.");
+ }
});
}
}
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ContainerRegistryAsyncClientJavaDocSnippets.java b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ContainerRegistryAsyncClientJavaDocSnippets.java
new file mode 100644
index 000000000000..1bda7fd00690
--- /dev/null
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ContainerRegistryAsyncClientJavaDocSnippets.java
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+package com.azure.containers.containerregistry;
+
+import com.azure.core.credential.TokenCredential;
+import com.azure.core.http.HttpPipeline;
+import com.azure.core.http.HttpPipelineBuilder;
+
+public class ContainerRegistryAsyncClientJavaDocSnippets {
+ /**
+ * Generates code sample for creating a {@link ContainerRegistryAsyncClient}
+ *
+ * @return An instance of {@link ContainerRegistryAsyncClient}
+ * @throws IllegalStateException If client cannot be created
+ */
+ public ContainerRegistryAsyncClient createAsyncContainerRegistryClient() {
+ final String endpoint = getEndpoint();
+ final TokenCredential credential = getTokenCredentials();
+
+ // BEGIN: com.azure.containers.containerregistry.ContainerRegistryAsyncClient.instantiation
+ ContainerRegistryAsyncClient registryAsyncClient = new ContainerRegistryClientBuilder()
+ .endpoint(endpoint)
+ .credential(credential)
+ .buildAsyncClient();
+ // END: com.azure.containers.containerregistry.ContainerRegistryAsyncClient.instantiation
+ return registryAsyncClient;
+ }
+
+ public ContainerRegistryAsyncClient createAsyncContainerRegistryClientWithPipeline() {
+ final String endpoint = getEndpoint();
+ final TokenCredential credential = getTokenCredentials();
+
+ // BEGIN: com.azure.containers.containerregistry.ContainerRegistryAsyncClient.pipeline.instantiation
+ HttpPipeline pipeline = new HttpPipelineBuilder()
+ .policies(/* add policies */)
+ .build();
+
+ ContainerRegistryAsyncClient registryAsyncClient = new ContainerRegistryClientBuilder()
+ .pipeline(pipeline)
+ .endpoint(endpoint)
+ .credential(credential)
+ .buildAsyncClient();
+ // END: com.azure.containers.containerregistry.ContainerRegistryAsyncClient.pipeline.instantiation
+ return registryAsyncClient;
+ }
+
+ public void deleteRepositoryCodeSnippet() {
+ ContainerRegistryAsyncClient client = getAsyncClient();
+ final String repositoryName = getRepositoryName();
+
+ // BEGIN: com.azure.containers.containerregistry.ContainerRegistryAsyncClient.deleteRepository#String
+ client.deleteRepository(repositoryName).subscribe(response -> {
+ System.out.printf("Successfully initiated delete of the repository.");
+ }, error -> {
+ System.out.println("Failed to initiate a delete of the repository.");
+ });
+ // END: com.azure.containers.containerregistry.ContainerRegistryAsyncClient.deleteRepository#String
+ }
+
+ public void deleteRepositoryWithResponseCodeSnippet() {
+ ContainerRegistryAsyncClient client = getAsyncClient();
+ final String repositoryName = getRepositoryName();
+
+ // BEGIN: com.azure.containers.containerregistry.ContainerRegistryAsyncClient.deleteRepositoryWithResponse#String
+ client.deleteRepositoryWithResponse(repositoryName).subscribe(response -> {
+ System.out.printf("Successfully initiated delete of the repository.");
+ }, error -> {
+ System.out.println("Failed to initiate a delete of the repository.");
+ });
+ // END: com.azure.containers.containerregistry.ContainerRegistryAsyncClient.deleteRepositoryWithResponse#String
+ }
+
+ public void listRepositoryNamesCodeSnippet() {
+ ContainerRegistryAsyncClient client = getAsyncClient();
+
+ // BEGIN: com.azure.containers.containerregistry.ContainerRegistryAsyncClient.listRepositoryNames
+ client.listRepositoryNames().subscribe(name -> {
+ System.out.printf("Repository Name:%s,", name);
+ });
+ // END: com.azure.containers.containerregistry.ContainerRegistryAsyncClient.listRepositoryNames
+ }
+
+ public void getRepositoryCodeSnippet() {
+ ContainerRegistryAsyncClient client = getAsyncClient();
+ final String repositoryName = getRepositoryName();
+
+ // BEGIN: com.azure.containers.containerregistry.containeregistryasyncclient.getRepository
+ ContainerRepositoryAsync repositoryAsync = client.getRepository(repositoryName);
+ repositoryAsync.getProperties().subscribe(properties -> {
+ System.out.println(properties.getName());
+ });
+ // END: com.azure.containers.containerregistry.containeregistryasyncclient.getRepository
+ }
+
+ public void getArtifactCodeSnippet() {
+ ContainerRegistryAsyncClient client = getAsyncClient();
+ final String repositoryName = getRepositoryName();
+ final String tagOrDigest = getTagOrDigest();
+
+ // BEGIN: com.azure.containers.containerregistry.containeregistryasyncclient.getArtifact
+ RegistryArtifactAsync registryArtifactAsync = client.getArtifact(repositoryName, tagOrDigest);
+ registryArtifactAsync.getManifestProperties().subscribe(properties -> {
+ System.out.println(properties.getDigest());
+ });
+ // END: com.azure.containers.containerregistry.containeregistryasyncclient.getArtifact
+ }
+
+ /**
+ * Implementation not provided for this method.
+ *
+ * @return {@code null}
+ */
+ private String getTagOrDigest() {
+ return null;
+ }
+
+ /**
+ * Implementation not provided for this method
+ *
+ * @return {@code null}
+ */
+ private ContainerRegistryAsyncClient getAsyncClient() {
+ return null;
+ }
+
+ /**
+ * Implementation not provided for this method
+ *
+ * @return {@code null}
+ */
+ private String getEndpoint() {
+ return null;
+ }
+
+ /**
+ * Implementation not provided for this method
+ *
+ * @return {@code null}
+ */
+ private String getRepositoryName() {
+ return null;
+ }
+
+ /**
+ * Implementation not provided for this method
+ *
+ * @return {@code null}
+ */
+ private TokenCredential getTokenCredentials() {
+ return null;
+ }
+}
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ContainerRegistryClientJavaDocSnippets.java b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ContainerRegistryClientJavaDocSnippets.java
new file mode 100644
index 000000000000..5b07f95be8c2
--- /dev/null
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ContainerRegistryClientJavaDocSnippets.java
@@ -0,0 +1,157 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+package com.azure.containers.containerregistry;
+
+import com.azure.containers.containerregistry.models.ArtifactManifestProperties;
+import com.azure.containers.containerregistry.models.ContainerRepositoryProperties;
+import com.azure.core.credential.TokenCredential;
+import com.azure.core.http.HttpPipeline;
+import com.azure.core.http.HttpPipelineBuilder;
+import com.azure.core.util.Context;
+
+public class ContainerRegistryClientJavaDocSnippets {
+ /**
+ * Generates code sample for creating a {@link ContainerRegistryClient}
+ *
+ * @return An instance of {@link ContainerRegistryClient}
+ * @throws IllegalStateException If client cannot be created
+ */
+ public ContainerRegistryClient createAsyncContainerRegistryClient() {
+ final String endpoint = getEndpoint();
+ final TokenCredential credential = getTokenCredentials();
+
+ // BEGIN: com.azure.containers.containerregistry.ContainerRegistryClient.instantiation
+ ContainerRegistryClient registryAsyncClient = new ContainerRegistryClientBuilder()
+ .endpoint(endpoint)
+ .credential(credential)
+ .buildClient();
+ // END: com.azure.containers.containerregistry.ContainerRegistryClient.instantiation
+ return registryAsyncClient;
+ }
+
+ public ContainerRegistryClient createAsyncContainerRegistryClientWithPipeline() {
+ final String endpoint = getEndpoint();
+ final TokenCredential credential = getTokenCredentials();
+
+ // BEGIN: com.azure.containers.containerregistry.ContainerRegistryClient.pipeline.instantiation
+ HttpPipeline pipeline = new HttpPipelineBuilder()
+ .policies(/* add policies */)
+ .build();
+
+ ContainerRegistryClient registryAsyncClient = new ContainerRegistryClientBuilder()
+ .pipeline(pipeline)
+ .endpoint(endpoint)
+ .credential(credential)
+ .buildClient();
+ // END: com.azure.containers.containerregistry.ContainerRegistryClient.pipeline.instantiation
+ return registryAsyncClient;
+ }
+
+ public void deleteRepositoryCodeSnippet() {
+ ContainerRegistryClient client = getAsyncClient();
+ final String repositoryName = getRepositoryName();
+
+ // BEGIN: com.azure.containers.containerregistry.ContainerRegistryClient.deleteRepository#String
+ client.deleteRepository(repositoryName);
+ // END: com.azure.containers.containerregistry.ContainerRegistryClient.deleteRepository#String
+ }
+
+ public void deleteRepositoryWithResponseCodeSnippet() {
+ ContainerRegistryClient client = getAsyncClient();
+ final String repositoryName = getRepositoryName();
+
+ // BEGIN: com.azure.containers.containerregistry.ContainerRegistryClient.deleteRepositoryWithResponse#String-Context
+ client.deleteRepositoryWithResponse(repositoryName, Context.NONE);
+ // END: com.azure.containers.containerregistry.ContainerRegistryClient.deleteRepositoryWithResponse#String-Context
+ }
+
+ public void listRepositoryNamesCodeSnippet() {
+ ContainerRegistryClient client = getAsyncClient();
+
+ // BEGIN: com.azure.containers.containerregistry.ContainerRegistryClient.listRepositoryNames
+ client.listRepositoryNames().stream().forEach(name -> {
+ System.out.printf("Repository Name:%s,", name);
+ });
+ // END: com.azure.containers.containerregistry.ContainerRegistryClient.listRepositoryNames
+ }
+
+ public void listRepositoryNamesWithContextCodeSnippet() {
+ ContainerRegistryClient client = getAsyncClient();
+
+ // BEGIN: com.azure.containers.containerregistry.ContainerRegistryClient.listRepositoryNames#Context
+ client.listRepositoryNames(Context.NONE).stream().forEach(name -> {
+ System.out.printf("Repository Name:%s,", name);
+ });
+ // END: com.azure.containers.containerregistry.ContainerRegistryClient.listRepositoryNames#Context
+ }
+
+ public void getRepositoryCodeSnippet() {
+ ContainerRegistryClient client = getAsyncClient();
+ final String repositoryName = getRepositoryName();
+
+ // BEGIN: com.azure.containers.containerregistry.ContainerRegistryClient.getRepository
+ ContainerRepository repository = client.getRepository(repositoryName);
+ ContainerRepositoryProperties properties = repository.getProperties();
+ System.out.println(properties.getName());
+ // END: com.azure.containers.containerregistry.ContainerRegistryClient.getRepository
+ }
+
+ public void getArtifactCodeSnippet() {
+ ContainerRegistryClient client = getAsyncClient();
+ final String repositoryName = getRepositoryName();
+ final String tagOrDigest = getTagOrDigest();
+
+ // BEGIN: com.azure.containers.containerregistry.ContainerRegistryClient.getArtifact
+ RegistryArtifact registryArtifact = client.getArtifact(repositoryName, tagOrDigest);
+ ArtifactManifestProperties properties = registryArtifact.getManifestProperties();
+ System.out.println(properties.getDigest());
+ // END: com.azure.containers.containerregistry.ContainerRegistryClient.getArtifact
+ }
+
+ /**
+ * Implementation not provided for this method.
+ *
+ * @return {@code null}
+ */
+ private String getTagOrDigest() {
+ return null;
+ }
+
+ /**
+ * Implementation not provided for this method
+ *
+ * @return {@code null}
+ */
+ private ContainerRegistryClient getAsyncClient() {
+ return null;
+ }
+
+ /**
+ * Implementation not provided for this method
+ *
+ * @return {@code null}
+ */
+ private String getEndpoint() {
+ return null;
+ }
+
+ /**
+ * Implementation not provided for this method
+ *
+ * @return {@code null}
+ */
+ private String getRepositoryName() {
+ return null;
+ }
+
+ /**
+ * Implementation not provided for this method
+ *
+ * @return {@code null}
+ */
+ private TokenCredential getTokenCredentials() {
+ return null;
+ }
+}
+
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ContainerAsyncRepositoryJavaDocSnippets.java b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ContainerRepositoryAsyncJavaDocSnippets.java
similarity index 64%
rename from sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ContainerAsyncRepositoryJavaDocSnippets.java
rename to sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ContainerRepositoryAsyncJavaDocSnippets.java
index d49a0fcd3956..583586785c2b 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ContainerAsyncRepositoryJavaDocSnippets.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ContainerRepositoryAsyncJavaDocSnippets.java
@@ -3,13 +3,13 @@
package com.azure.containers.containerregistry;
-import com.azure.containers.containerregistry.models.ManifestOrderBy;
-import com.azure.containers.containerregistry.models.RepositoryProperties;
+import com.azure.containers.containerregistry.models.ArtifactManifestOrderBy;
+import com.azure.containers.containerregistry.models.ContainerRepositoryProperties;
import com.azure.core.credential.TokenCredential;
import com.azure.core.http.HttpPipeline;
import com.azure.core.http.HttpPipelineBuilder;
-public class ContainerAsyncRepositoryJavaDocSnippets {
+public class ContainerRepositoryAsyncJavaDocSnippets {
/**
* Generates code sample for creating a {@link ContainerRepositoryAsync}
*
@@ -20,13 +20,13 @@ public ContainerRepositoryAsync createAsyncContainerRepository() {
String endpoint = getEndpoint();
String repository = getRepository();
TokenCredential credential = getTokenCredentials();
- // BEGIN: com.azure.containers.containerregistry.async.repository.instantiation
+ // BEGIN: com.azure.containers.containerregistry.ContainerRepositoryAsync.instantiation
ContainerRepositoryAsync repositoryAsyncClient = new ContainerRegistryClientBuilder()
.endpoint(endpoint)
.credential(credential)
.buildAsyncClient()
.getRepository(repository);
- // END: com.azure.containers.containerregistry.async.repository.instantiation
+ // END: com.azure.containers.containerregistry.ContainerRepositoryAsync.instantiation
return repositoryAsyncClient;
}
@@ -34,7 +34,7 @@ public ContainerRepositoryAsync createAsyncContainerRespositoryClientWithPipelin
String endpoint = getEndpoint();
String repository = getRepository();
TokenCredential credential = getTokenCredentials();
- // BEGIN: com.azure.containers.containerregistry.async.repository.pipeline.instantiation
+ // BEGIN: com.azure.containers.containerregistry.ContainerRepositoryAsync.pipeline.instantiation
HttpPipeline pipeline = new HttpPipelineBuilder()
.policies(/* add policies */)
.build();
@@ -45,89 +45,89 @@ public ContainerRepositoryAsync createAsyncContainerRespositoryClientWithPipelin
.credential(credential)
.buildAsyncClient()
.getRepository(repository);
- // END: com.azure.containers.containerregistry.async.repository.pipeline.instantiation
+ // END: com.azure.containers.containerregistry.ContainerRepositoryAsync.pipeline.instantiation
return repositoryAsyncClient;
}
public void deleteRepositoryCodeSnippet() {
ContainerRepositoryAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.repository.deleteRepository
+ // BEGIN: com.azure.containers.containerregistry.ContainerRepositoryAsync.deleteRepository
client.delete().subscribe(response -> {
System.out.printf("Successfully initiated delete of the repository.");
}, error -> {
System.out.println("Failed to initiate a delete of the repository.");
});
- // END: com.azure.containers.containerregistry.async.repository.deleteRepository
+ // END: com.azure.containers.containerregistry.ContainerRepositoryAsync.deleteRepository
}
public void deleteRepositoryWithResponseCodeSnippet() {
ContainerRepositoryAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.repository.deleteRepositoryWithResponse
+ // BEGIN: com.azure.containers.containerregistry.ContainerRepositoryAsync.deleteRepositoryWithResponse
client.deleteWithResponse().subscribe(response -> {
System.out.printf("Successfully initiated delete of the repository.");
}, error -> {
System.out.println("Failed to initiate a delete of the repository.");
});
- // END: com.azure.containers.containerregistry.async.repository.deleteRepositoryWithResponse
+ // END: com.azure.containers.containerregistry.ContainerRepositoryAsync.deleteRepositoryWithResponse
}
public void getPropertiesCodeSnippet() {
ContainerRepositoryAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.repository.getProperties
+ // BEGIN: com.azure.containers.containerregistry.ContainerRepositoryAsync.getProperties
client.getProperties().subscribe(response -> {
System.out.printf("Name:%s,", response.getName());
});
- // END: com.azure.containers.containerregistry.async.repository.getProperties
+ // END: com.azure.containers.containerregistry.ContainerRepositoryAsync.getProperties
}
public void getPropertiesWithResponseCodeSnippet() {
ContainerRepositoryAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.repository.getPropertiesWithResponse
+ // BEGIN: com.azure.containers.containerregistry.ContainerRepositoryAsync.getPropertiesWithResponse
client.getPropertiesWithResponse().subscribe(response -> {
- final RepositoryProperties properties = response.getValue();
+ final ContainerRepositoryProperties properties = response.getValue();
System.out.printf("Name:%s,", properties.getName());
});
- // END: com.azure.containers.containerregistry.async.repository.getPropertiesWithResponse
+ // END: com.azure.containers.containerregistry.ContainerRepositoryAsync.getPropertiesWithResponse
}
public void updatePropertiesCodeSnippet() {
ContainerRepositoryAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.repository.updateProperties
- RepositoryProperties properties = getRepositoryProperties();
+ // BEGIN: com.azure.containers.containerregistry.ContainerRepositoryAsync.updateProperties
+ ContainerRepositoryProperties properties = getRepositoryProperties();
client.updateProperties(properties).subscribe();
- // END: com.azure.containers.containerregistry.async.repository.updateProperties
+ // END: com.azure.containers.containerregistry.ContainerRepositoryAsync.updateProperties
}
public void updatePropertiesWithResponseCodeSnippet() {
ContainerRepositoryAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.repository.updatePropertiesWithResponse
- RepositoryProperties properties = getRepositoryProperties();
+ // BEGIN: com.azure.containers.containerregistry.ContainerRepositoryAsync.updatePropertiesWithResponse
+ ContainerRepositoryProperties properties = getRepositoryProperties();
client.updatePropertiesWithResponse(properties).subscribe();
- // END: com.azure.containers.containerregistry.async.repository.updatePropertiesWithResponse
+ // END: com.azure.containers.containerregistry.ContainerRepositoryAsync.updatePropertiesWithResponse
}
- public void listManifestsCodeSnippet() {
+ public void listManifestPropertiesCodeSnippet() {
ContainerRepositoryAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.repository.listManifests
- client.listManifests().byPage(10)
+ // BEGIN: com.azure.containers.containerregistry.ContainerRepositoryAsync.listManifestProperties
+ client.listManifestProperties().byPage(10)
.subscribe(ManifestPropertiesPagedResponse -> {
ManifestPropertiesPagedResponse.getValue().stream().forEach(
ManifestProperties -> System.out.println(ManifestProperties.getDigest()));
});
- // END: com.azure.containers.containerregistry.async.repository.listManifests
+ // END: com.azure.containers.containerregistry.ContainerRepositoryAsync.listManifestProperties
}
- public void listManifestsWithOptionsCodeSnippet() {
+ public void listManifestPropertiesWithOptionsCodeSnippet() {
ContainerRepositoryAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.repository.listManifestsWithOptions
- client.listManifests(ManifestOrderBy.LAST_UPDATED_ON_DESCENDING).byPage(10)
+ // BEGIN: com.azure.containers.containerregistry.ContainerRepositoryAsync.listManifestPropertiesWithOptions
+ client.listManifestProperties(ArtifactManifestOrderBy.LAST_UPDATED_ON_DESCENDING).byPage(10)
.subscribe(ManifestPropertiesPagedResponse -> {
ManifestPropertiesPagedResponse.getValue().stream().forEach(
ManifestProperties -> System.out.println(ManifestProperties.getDigest()));
});
- // END: com.azure.containers.containerregistry.async.repository.listManifestsWithOptions
+ // END: com.azure.containers.containerregistry.ContainerRepositoryAsync.listManifestPropertiesWithOptions
}
/**
@@ -135,7 +135,7 @@ public void listManifestsWithOptionsCodeSnippet() {
*
* @return {@code null}
*/
- private RepositoryProperties getRepositoryProperties() {
+ private ContainerRepositoryProperties getRepositoryProperties() {
return null;
}
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ContainerRepositoryJavaDocSnippets.java b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ContainerRepositoryJavaDocSnippets.java
index f7b422c6a151..fe7e4883f249 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ContainerRepositoryJavaDocSnippets.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ContainerRepositoryJavaDocSnippets.java
@@ -3,8 +3,8 @@
package com.azure.containers.containerregistry;
-import com.azure.containers.containerregistry.models.ManifestOrderBy;
-import com.azure.containers.containerregistry.models.RepositoryProperties;
+import com.azure.containers.containerregistry.models.ArtifactManifestOrderBy;
+import com.azure.containers.containerregistry.models.ContainerRepositoryProperties;
import com.azure.core.credential.TokenCredential;
import com.azure.core.http.HttpPipeline;
import com.azure.core.http.HttpPipelineBuilder;
@@ -21,12 +21,12 @@ public ContainerRepository createContainerRepository() {
String endpoint = getEndpoint();
String repository = getRepository();
TokenCredential credential = getTokenCredentials();
- // BEGIN: com.azure.containers.containerregistry.repository.instantiation
+ // BEGIN: com.azure.containers.containerregistry.ContainerRepository.instantiation
ContainerRepository repositoryClient = new ContainerRegistryClientBuilder()
.endpoint(endpoint)
.credential(credential)
.buildClient().getRepository(repository);
- // END: com.azure.containers.containerregistry.repository.instantiation
+ // END: com.azure.containers.containerregistry.ContainerRepository.instantiation
return repositoryClient;
}
@@ -34,7 +34,7 @@ public ContainerRepository createContainerRepositoryWithPipeline() {
String endpoint = getEndpoint();
String repository = getRepository();
TokenCredential credential = getTokenCredentials();
- // BEGIN: com.azure.containers.containerregistry.repository.pipeline.instantiation
+ // BEGIN: com.azure.containers.containerregistry.ContainerRepository.pipeline.instantiation
HttpPipeline pipeline = new HttpPipelineBuilder()
.policies(/* add policies */)
.build();
@@ -44,90 +44,90 @@ public ContainerRepository createContainerRepositoryWithPipeline() {
.endpoint(endpoint)
.credential(credential)
.buildClient().getRepository(repository);
- // END: com.azure.containers.containerregistry.repository.pipeline.instantiation
+ // END: com.azure.containers.containerregistry.ContainerRepository.pipeline.instantiation
return repositoryClient;
}
public void deleteRepositoryCodeSnippet() {
ContainerRepository client = getClient();
- // BEGIN: com.azure.containers.containerregistry.repository.deleteRepository
+ // BEGIN: com.azure.containers.containerregistry.ContainerRepository.deleteRepository
client.delete();
System.out.printf("Successfully initiated delete.");
- // END: com.azure.containers.containerregistry.repository.deleteRepository
+ // END: com.azure.containers.containerregistry.ContainerRepository.deleteRepository
}
public void deleteRepositoryWithResponseCodeSnippet() {
ContainerRepository client = getClient();
- // BEGIN: com.azure.containers.containerregistry.repository.deleteRepositoryWithResponse
+ // BEGIN: com.azure.containers.containerregistry.ContainerRepository.deleteRepositoryWithResponse
Response response = client.deleteWithResponse(Context.NONE);
System.out.printf("Successfully initiated delete.");
- // END: com.azure.containers.containerregistry.repository.deleteRepositoryWithResponse
+ // END: com.azure.containers.containerregistry.ContainerRepository.deleteRepositoryWithResponse
}
public void getPropertiesCodeSnippet() {
ContainerRepository client = getClient();
- // BEGIN: com.azure.containers.containerregistry.repository.getProperties
- RepositoryProperties properties = client.getProperties();
+ // BEGIN: com.azure.containers.containerregistry.ContainerRepository.getProperties
+ ContainerRepositoryProperties properties = client.getProperties();
System.out.printf("Name:%s,", properties.getName());
- // END: com.azure.containers.containerregistry.repository.getProperties
+ // END: com.azure.containers.containerregistry.ContainerRepository.getProperties
}
public void getPropertiesWithResponseCodeSnippet() {
ContainerRepository client = getClient();
- // BEGIN: com.azure.containers.containerregistry.repository.getPropertiesWithResponse
- Response response = client.getPropertiesWithResponse(Context.NONE);
- final RepositoryProperties properties = response.getValue();
+ // BEGIN: com.azure.containers.containerregistry.ContainerRepository.getPropertiesWithResponse
+ Response response = client.getPropertiesWithResponse(Context.NONE);
+ final ContainerRepositoryProperties properties = response.getValue();
System.out.printf("Name:%s,", properties.getName());
- // END: com.azure.containers.containerregistry.repository.getPropertiesWithResponse
+ // END: com.azure.containers.containerregistry.ContainerRepository.getPropertiesWithResponse
}
public void updatePropertiesCodeSnippet() {
ContainerRepository client = getClient();
- // BEGIN: com.azure.containers.containerregistry.repository.updateProperties
- RepositoryProperties properties = getRepositoryProperties();
+ // BEGIN: com.azure.containers.containerregistry.ContainerRepository.updateProperties
+ ContainerRepositoryProperties properties = getRepositoryProperties();
client.updateProperties(properties);
- // END: com.azure.containers.containerregistry.repository.updateProperties
+ // END: com.azure.containers.containerregistry.ContainerRepository.updateProperties
}
public void updatePropertiesWithResponseCodeSnippet() {
ContainerRepository client = getClient();
- // BEGIN: com.azure.containers.containerregistry.repository.updatePropertiesWithResponse
- RepositoryProperties properties = getRepositoryProperties();
+ // BEGIN: com.azure.containers.containerregistry.ContainerRepository.updatePropertiesWithResponse
+ ContainerRepositoryProperties properties = getRepositoryProperties();
client.updatePropertiesWithResponse(properties, Context.NONE);
- // END: com.azure.containers.containerregistry.repository.updatePropertiesWithResponse
+ // END: com.azure.containers.containerregistry.ContainerRepository.updatePropertiesWithResponse
}
public void listManifestPropertiesCodeSnippet() {
ContainerRepository client = getClient();
- // BEGIN: com.azure.containers.containerregistry.repository.listManifests
- client.listManifests().iterableByPage(10)
+ // BEGIN: com.azure.containers.containerregistry.ContainerRepository.listManifestProperties
+ client.listManifestProperties().iterableByPage(10)
.forEach(pagedResponse -> {
pagedResponse.getValue().stream().forEach(
ManifestProperties -> System.out.println(ManifestProperties.getDigest()));
});
- // END: com.azure.containers.containerregistry.repository.listManifests
+ // END: com.azure.containers.containerregistry.ContainerRepository.listManifestProperties
}
public void listManifestPropertiesWithOptionsNoContextCodeSnippet() {
ContainerRepository client = getClient();
- // BEGIN: com.azure.containers.containerregistry.repository.listManifestsWithOptionsNoContext
- client.listManifests(ManifestOrderBy.LAST_UPDATED_ON_DESCENDING).iterableByPage(10)
+ // BEGIN: com.azure.containers.containerregistry.ContainerRepository.listManifestPropertiesWithOptionsNoContext
+ client.listManifestProperties(ArtifactManifestOrderBy.LAST_UPDATED_ON_DESCENDING).iterableByPage(10)
.forEach(pagedResponse -> {
pagedResponse.getValue().stream().forEach(
ManifestProperties -> System.out.println(ManifestProperties.getDigest()));
});
- // END: com.azure.containers.containerregistry.repository.listManifestsWithOptionsNoContext
+ // END: com.azure.containers.containerregistry.ContainerRepository.listManifestPropertiesWithOptionsNoContext
}
public void listManifestPropertiesWithOptionsCodeSnippet() {
ContainerRepository client = getClient();
- // BEGIN: com.azure.containers.containerregistry.repository.listManifestsWithOptions
- client.listManifests(ManifestOrderBy.LAST_UPDATED_ON_DESCENDING, Context.NONE).iterableByPage(10)
+ // BEGIN: com.azure.containers.containerregistry.ContainerRepository.listManifestPropertiesWithOptions
+ client.listManifestProperties(ArtifactManifestOrderBy.LAST_UPDATED_ON_DESCENDING, Context.NONE).iterableByPage(10)
.forEach(pagedResponse -> {
pagedResponse.getValue().stream().forEach(
ManifestProperties -> System.out.println(ManifestProperties.getDigest()));
});
- // END: com.azure.containers.containerregistry.repository.listManifestsWithOptions
+ // END: com.azure.containers.containerregistry.ContainerRepository.listManifestPropertiesWithOptions
}
/**
@@ -135,7 +135,7 @@ public void listManifestPropertiesWithOptionsCodeSnippet() {
*
* @return {@code null}
*/
- private RepositoryProperties getRepositoryProperties() {
+ private ContainerRepositoryProperties getRepositoryProperties() {
return null;
}
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/DeleteImagesAsync.java b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/DeleteImagesAsync.java
index 8ba42450ddc9..61097558606a 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/DeleteImagesAsync.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/DeleteImagesAsync.java
@@ -3,10 +3,13 @@
package com.azure.containers.containerregistry;
-import com.azure.containers.containerregistry.models.ManifestOrderBy;
+import com.azure.containers.containerregistry.models.ArtifactManifestOrderBy;
import com.azure.core.credential.TokenCredential;
import com.azure.identity.DefaultAzureCredentialBuilder;
+/**
+ * This is a sample for deleting images asynchronously.
+ */
public class DeleteImagesAsync {
static final String ENDPOINT = "https://registryName.azure.io";
@@ -21,7 +24,7 @@ public static void main(String[] args) {
final int imagesCountToKeep = 3;
client.listRepositoryNames()
.map(repositoryName -> client.getRepository(repositoryName))
- .flatMap(repository -> repository.listManifests(ManifestOrderBy.LAST_UPDATED_ON_DESCENDING))
+ .flatMap(repository -> repository.listManifestProperties(ArtifactManifestOrderBy.LAST_UPDATED_ON_DESCENDING))
.skip(imagesCountToKeep)
.subscribe(imageManifest -> {
System.out.printf(String.format("Deleting image with digest %s.%n", imageManifest.getDigest()));
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ListRepositoryNamesAsync.java b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ListRepositoryNamesAsync.java
index a55a2a7d685e..a714e87712c2 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ListRepositoryNamesAsync.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ListRepositoryNamesAsync.java
@@ -6,6 +6,9 @@
import com.azure.identity.DefaultAzureCredential;
import com.azure.identity.DefaultAzureCredentialBuilder;
+/**
+ * This is a sample for listing repository names asynchronously.
+ */
public class ListRepositoryNamesAsync {
static final String ENDPOINT = "https://registryName.azure.io";
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ListTagsAsync.java b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ListTagsAsync.java
index b0833f5824b0..60e7f85bc4e7 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ListTagsAsync.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ListTagsAsync.java
@@ -3,6 +3,9 @@
package com.azure.containers.containerregistry;
+/**
+ * This is a sample for listing tags asynchronously.
+ */
public class ListTagsAsync {
static final String ENDPOINT = "https://registryName.azure.io";
static final String REPOSITORY_NAME = "library/hello-world";
@@ -15,9 +18,9 @@ public static void main(String[] args) {
RegistryArtifactAsync image = anonymousClient.getArtifact(REPOSITORY_NAME, DIGEST);
- System.out.printf(String.format("%s has the following aliases:", image.getFullyQualifiedName()));
+ System.out.printf(String.format("%s has the following aliases:", image.getFullyQualifiedReference()));
- image.listTags().subscribe(tag -> {
+ image.listTagProperties().subscribe(tag -> {
System.out.printf(String.format("%s/%s:%s", anonymousClient.getEndpoint(), ENDPOINT, tag.getName()));
}, error -> {
System.out.println("There was an error while trying to list tags" + error);
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ReadmeSamples.java b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ReadmeSamples.java
index 3274ebc43a91..507a7e0434f1 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ReadmeSamples.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/ReadmeSamples.java
@@ -4,8 +4,9 @@
import com.azure.containers.containerregistry.models.ArtifactManifestProperties;
import com.azure.containers.containerregistry.models.ArtifactTagProperties;
-import com.azure.containers.containerregistry.models.ManifestOrderBy;
+import com.azure.containers.containerregistry.models.ArtifactManifestOrderBy;
import com.azure.core.credential.TokenCredential;
+import com.azure.core.exception.ClientAuthenticationException;
import com.azure.core.exception.HttpResponseException;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.util.Context;
@@ -92,8 +93,8 @@ public void deleteImages() {
// Obtain the images ordered from newest to oldest
PagedIterable imageManifests =
- repository.listManifests(
- ManifestOrderBy.LAST_UPDATED_ON_DESCENDING,
+ repository.listManifestProperties(
+ ArtifactManifestOrderBy.LAST_UPDATED_ON_DESCENDING,
Context.NONE);
imageManifests.stream().skip(imagesCountToKeep)
@@ -133,15 +134,15 @@ public void setArtifactProperties() {
private final String os = "os";
private final String digest = "digest";
- public void listTags() {
+ public void listTagProperties() {
ContainerRegistryClient anonymousClient = new ContainerRegistryClientBuilder()
.endpoint(endpoint)
.buildClient();
RegistryArtifact image = anonymousClient.getArtifact(repositoryName, digest);
- PagedIterable tags = image.listTags();
+ PagedIterable tags = image.listTagProperties();
- System.out.printf(String.format("%s has the following aliases:", image.getFullyQualifiedName()));
+ System.out.printf(String.format("%s has the following aliases:", image.getFullyQualifiedReference()));
for (ArtifactTagProperties tag : tags) {
System.out.printf(String.format("%s/%s:%s", anonymousClient.getEndpoint(), repositoryName, tag.getName()));
@@ -159,7 +160,7 @@ public void anonymousClientThrows() {
try {
anonymousClient.deleteRepository(repositoryName);
System.out.println("Unexpected Success: Delete is not allowed on anonymous access");
- } catch (Exception ex) {
+ } catch (ClientAuthenticationException ex) {
System.out.println("Expected exception: Delete is not allowed on anonymous access");
}
}
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/RegistryArtifactAsyncJavaDocSnippets.java b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/RegistryArtifactAsyncJavaDocSnippets.java
index 392ca717748d..12fe154a5ef1 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/RegistryArtifactAsyncJavaDocSnippets.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/RegistryArtifactAsyncJavaDocSnippets.java
@@ -5,7 +5,7 @@
import com.azure.containers.containerregistry.models.ArtifactManifestProperties;
import com.azure.containers.containerregistry.models.ArtifactTagProperties;
-import com.azure.containers.containerregistry.models.TagOrderBy;
+import com.azure.containers.containerregistry.models.ArtifactTagOrderBy;
import com.azure.core.credential.TokenCredential;
import com.azure.core.http.HttpPipeline;
import com.azure.core.http.HttpPipelineBuilder;
@@ -16,12 +16,12 @@ public RegistryArtifactAsync createRegistryArtifact() {
String repository = getRepository();
String digest = getDigest();
TokenCredential credential = getTokenCredentials();
- // BEGIN: com.azure.containers.containerregistry.async.registryartifact.instantiation
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifactAsync.instantiation
RegistryArtifactAsync registryArtifactAsync = new ContainerRegistryClientBuilder()
.endpoint(endpoint)
.credential(credential)
.buildAsyncClient().getArtifact(repository, digest);
- // END: com.azure.containers.containerregistry.async.registryartifact.instantiation
+ // END: com.azure.containers.containerregistry.RegistryArtifactAsync.instantiation
return registryArtifactAsync;
}
@@ -30,7 +30,7 @@ public RegistryArtifactAsync createContainerRepositoryWithPipeline() {
String repository = getRepository();
String digest = getDigest();
TokenCredential credential = getTokenCredentials();
- // BEGIN: com.azure.containers.containerregistry.async.registryartifact.pipeline.instantiation
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifactAsync.pipeline.instantiation
HttpPipeline pipeline = new HttpPipelineBuilder()
.policies(/* add policies */)
.build();
@@ -40,136 +40,138 @@ public RegistryArtifactAsync createContainerRepositoryWithPipeline() {
.endpoint(endpoint)
.credential(credential)
.buildAsyncClient().getArtifact(repository, digest);
- // END: com.azure.containers.containerregistry.async.registryartifact.pipeline.instantiation
+ // END: com.azure.containers.containerregistry.RegistryArtifactAsync.pipeline.instantiation
return registryArtifactAsync;
}
public void deleteCodeSnippet() {
RegistryArtifactAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.registryartifact.delete
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifactAsync.delete
client.delete().subscribe();
- // END: com.azure.containers.containerregistry.async.registryartifact.delete
+ // END: com.azure.containers.containerregistry.RegistryArtifactAsync.delete
}
public void deleteWithResponseCodeSnippet() {
RegistryArtifactAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.registryartifact.deleteWithResponse
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifactAsync.deleteWithResponse
client.deleteWithResponse().subscribe();
- // END: com.azure.containers.containerregistry.async.registryartifact.deleteWithResponse
+ // END: com.azure.containers.containerregistry.RegistryArtifactAsync.deleteWithResponse
}
public void deleteTagCodeSnippet() {
RegistryArtifactAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.registryartifact.deleteTag
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifactAsync.deleteTag
String tag = getTag();
client.deleteTag(tag).subscribe();
- // END: com.azure.containers.containerregistry.async.registryartifact.deleteTag
+ // END: com.azure.containers.containerregistry.RegistryArtifactAsync.deleteTag
}
public void deleteTagWithResponseCodeSnippet() {
RegistryArtifactAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.registryartifact.deleteTagWithResponse
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifactAsync.deleteTagWithResponse
String tag = getTag();
client.deleteTagWithResponse(tag).subscribe();
- // END: com.azure.containers.containerregistry.async.registryartifact.deleteTagWithResponse
+ // END: com.azure.containers.containerregistry.RegistryArtifactAsync.deleteTagWithResponse
}
public void getManifestPropertiesCodeSnippet() {
RegistryArtifactAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.registryartifact.getManifestProperties
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifactAsync.getManifestProperties
client.getManifestProperties()
.subscribe(properties -> {
System.out.printf("Digest:%s,", properties.getDigest());
});
- // END: com.azure.containers.containerregistry.async.registryartifact.getManifestProperties
+ // END: com.azure.containers.containerregistry.RegistryArtifactAsync.getManifestProperties
}
public void getManifestPropertiesWithResponseCodeSnippet() {
RegistryArtifactAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.registryartifact.getManifestPropertiesWithResponse
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifactAsync.getManifestPropertiesWithResponse
client.getManifestPropertiesWithResponse()
.subscribe(response -> {
final ArtifactManifestProperties properties = response.getValue();
System.out.printf("Digest:%s,", properties.getDigest());
});
- // END: com.azure.containers.containerregistry.async.registryartifact.getManifestPropertiesWithResponse
+ // END: com.azure.containers.containerregistry.RegistryArtifactAsync.getManifestPropertiesWithResponse
}
public void getTagPropertiesCodeSnippet() {
RegistryArtifactAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.registryartifact.getTagProperties
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifactAsync.getTagProperties
String tag = getTag();
client.getTagProperties(tag).subscribe(properties -> {
System.out.printf("Digest:%s,", properties.getDigest());
});
- // END: com.azure.containers.containerregistry.async.registryartifact.getTagProperties
+ // END: com.azure.containers.containerregistry.RegistryArtifactAsync.getTagProperties
}
public void getTagPropertiesWithResponseCodeSnippet() {
RegistryArtifactAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.registryartifact.getTagPropertiesWithResponse
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifactAsync.getTagPropertiesWithResponse
String tag = getTag();
client.getTagPropertiesWithResponse(tag).subscribe(response -> {
final ArtifactTagProperties properties = response.getValue();
System.out.printf("Digest:%s,", properties.getDigest());
});
- // END: com.azure.containers.containerregistry.async.registryartifact.getTagPropertiesWithResponse
+ // END: com.azure.containers.containerregistry.RegistryArtifactAsync.getTagPropertiesWithResponse
}
- public void listTagsCodeSnippet() {
+ public void listTagPropertiesCodeSnippet() {
RegistryArtifactAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.registryartifact.listTags
- client.listTags().byPage(10)
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifactAsync.listTagProperties
+ client.listTagProperties().byPage(10)
.subscribe(tagPropertiesPagedResponse -> {
tagPropertiesPagedResponse.getValue().stream().forEach(
tagProperties -> System.out.println(tagProperties.getDigest()));
});
- // END: com.azure.containers.containerregistry.async.registryartifact.listTags
+ // END: com.azure.containers.containerregistry.RegistryArtifactAsync.listTagProperties
}
- public void listTagsWithOptionsCodeSnippet() {
+ public void listTagPropertiesWithOptionsCodeSnippet() {
RegistryArtifactAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.registryartifact.listTagsWithOptions
- client.listTags(TagOrderBy.LAST_UPDATED_ON_DESCENDING).byPage(10)
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifactAsync.listTagPropertiesWithOptions
+ client.listTagProperties(ArtifactTagOrderBy.LAST_UPDATED_ON_DESCENDING)
+ .byPage(10)
.subscribe(tagPropertiesPagedResponse -> {
- tagPropertiesPagedResponse.getValue().stream().forEach(
- tagProperties -> System.out.println(tagProperties.getDigest()));
+ tagPropertiesPagedResponse.getValue()
+ .stream()
+ .forEach(tagProperties -> System.out.println(tagProperties.getDigest()));
});
- // END: com.azure.containers.containerregistry.async.registryartifact.listTagsWithOptions
+ // END: com.azure.containers.containerregistry.RegistryArtifactAsync.listTagPropertiesWithOptions
}
public void updateTagPropertiesCodeSnippet() {
RegistryArtifactAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.registryartifact.updateTagProperties
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifactAsync.updateTagProperties
ArtifactTagProperties properties = getTagProperties();
String tag = getTag();
client.updateTagProperties(tag, properties).subscribe();
- // END: com.azure.containers.containerregistry.async.registryartifact.updateTagProperties
+ // END: com.azure.containers.containerregistry.RegistryArtifactAsync.updateTagProperties
}
public void updateTagPropertiesWithResponseCodeSnippet() {
RegistryArtifactAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.registryartifact.updateTagPropertiesWithResponse
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifactAsync.updateTagPropertiesWithResponse
ArtifactTagProperties properties = getTagProperties();
String tag = getTag();
client.updateTagPropertiesWithResponse(tag, properties).subscribe();
- // END: com.azure.containers.containerregistry.async.registryartifact.updateTagPropertiesWithResponse
+ // END: com.azure.containers.containerregistry.RegistryArtifactAsync.updateTagPropertiesWithResponse
}
public void updateManifestPropertiesCodeSnippet() {
RegistryArtifactAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.registryartifact.updateManifestProperties
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifactAsync.updateManifestProperties
ArtifactManifestProperties properties = getArtifactManifestProperties();
client.updateManifestProperties(properties).subscribe();
- // END: com.azure.containers.containerregistry.async.registryartifact.updateManifestProperties
+ // END: com.azure.containers.containerregistry.RegistryArtifactAsync.updateManifestProperties
}
public void updateManifestPropertiesWithResponseCodeSnippet() {
RegistryArtifactAsync client = getAsyncClient();
- // BEGIN: com.azure.containers.containerregistry.async.registryartifact.updateManifestPropertiesWithResponse
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifactAsync.updateManifestPropertiesWithResponse
ArtifactManifestProperties properties = getArtifactManifestProperties();
client.updateManifestPropertiesWithResponse(properties).subscribe();
- // END: com.azure.containers.containerregistry.async.registryartifact.updateManifestPropertiesWithResponse
+ // END: com.azure.containers.containerregistry.RegistryArtifactAsync.updateManifestPropertiesWithResponse
}
/**
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/RegistryArtifactJavaDocSnippets.java b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/RegistryArtifactJavaDocSnippets.java
index edcf9ae17b1b..ca90c8191ba1 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/RegistryArtifactJavaDocSnippets.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/RegistryArtifactJavaDocSnippets.java
@@ -5,7 +5,7 @@
import com.azure.containers.containerregistry.models.ArtifactManifestProperties;
import com.azure.containers.containerregistry.models.ArtifactTagProperties;
-import com.azure.containers.containerregistry.models.TagOrderBy;
+import com.azure.containers.containerregistry.models.ArtifactTagOrderBy;
import com.azure.core.credential.TokenCredential;
import com.azure.core.http.HttpPipeline;
import com.azure.core.http.HttpPipelineBuilder;
@@ -18,12 +18,12 @@ public RegistryArtifact createRegistryArtifact() {
String repository = getRepository();
String digest = getDigest();
TokenCredential credential = getTokenCredentials();
- // BEGIN: com.azure.containers.containerregistry.registryartifact.instantiation
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifact.instantiation
RegistryArtifact registryArtifact = new ContainerRegistryClientBuilder()
.endpoint(endpoint)
.credential(credential)
.buildClient().getArtifact(repository, digest);
- // END: com.azure.containers.containerregistry.registryartifact.instantiation
+ // END: com.azure.containers.containerregistry.RegistryArtifact.instantiation
return registryArtifact;
}
@@ -32,7 +32,7 @@ public RegistryArtifact createContainerRepositoryWithPipeline() {
String repository = getRepository();
String digest = getDigest();
TokenCredential credential = getTokenCredentials();
- // BEGIN: com.azure.containers.containerregistry.registryartifact.pipeline.instantiation
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifact.pipeline.instantiation
HttpPipeline pipeline = new HttpPipelineBuilder()
.policies(/* add policies */)
.build();
@@ -42,139 +42,145 @@ public RegistryArtifact createContainerRepositoryWithPipeline() {
.endpoint(endpoint)
.credential(credential)
.buildClient().getArtifact(repository, digest);
- // END: com.azure.containers.containerregistry.registryartifact.pipeline.instantiation
+ // END: com.azure.containers.containerregistry.RegistryArtifact.pipeline.instantiation
return registryArtifact;
}
public void deleteRegistryArtifactCodeSnippet() {
RegistryArtifact client = getClient();
- // BEGIN: com.azure.containers.containerregistry.registryartifact.delete
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifact.delete
client.delete();
- // END: com.azure.containers.containerregistry.registryartifact.delete
+ // END: com.azure.containers.containerregistry.RegistryArtifact.delete
}
public void deleteRegistryArtifactWithResponseCodeSnippet() {
RegistryArtifact client = getClient();
- // BEGIN: com.azure.containers.containerregistry.registryartifact.deleteWithResponse
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifact.deleteWithResponse#Context
client.deleteWithResponse(Context.NONE);
- // END: com.azure.containers.containerregistry.registryartifact.deleteWithResponse
+ // END: com.azure.containers.containerregistry.RegistryArtifact.deleteWithResponse#Context
}
public void deleteTagCodeSnippet() {
RegistryArtifact client = getClient();
- // BEGIN: com.azure.containers.containerregistry.registryartifact.deleteTag
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifact.deleteTag
String tag = getTag();
client.deleteTag(tag);
- // END: com.azure.containers.containerregistry.registryartifact.deleteTag
+ // END: com.azure.containers.containerregistry.RegistryArtifact.deleteTag
}
public void deleteTagWithResponseCodeSnippet() {
RegistryArtifact client = getClient();
- // BEGIN: com.azure.containers.containerregistry.registryartifact.deleteTagWithResponse
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifact.deleteTagWithResponse
String tag = getTag();
client.deleteTagWithResponse(tag, Context.NONE);
- // END: com.azure.containers.containerregistry.registryartifact.deleteTagWithResponse
+ // END: com.azure.containers.containerregistry.RegistryArtifact.deleteTagWithResponse
}
public void getManifestPropertiesCodeSnippet() {
RegistryArtifact client = getClient();
- // BEGIN: com.azure.containers.containerregistry.registryartifact.getManifestProperties
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifact.getManifestProperties
ArtifactManifestProperties properties = client.getManifestProperties();
System.out.printf("Digest:%s,", properties.getDigest());
- // END: com.azure.containers.containerregistry.registryartifact.getManifestProperties
+ // END: com.azure.containers.containerregistry.RegistryArtifact.getManifestProperties
}
public void getManifestPropertiesWithResponseCodeSnippet() {
RegistryArtifact client = getClient();
- // BEGIN: com.azure.containers.containerregistry.registryartifact.getManifestPropertiesWithResponse
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifact.getManifestPropertiesWithResponse
Response response = client.getManifestPropertiesWithResponse(
Context.NONE);
final ArtifactManifestProperties properties = response.getValue();
System.out.printf("Digest:%s,", properties.getDigest());
- // END: com.azure.containers.containerregistry.registryartifact.getManifestPropertiesWithResponse
+ // END: com.azure.containers.containerregistry.RegistryArtifact.getManifestPropertiesWithResponse
}
public void getTagPropertiesCodeSnippet() {
RegistryArtifact client = getClient();
- // BEGIN: com.azure.containers.containerregistry.registryartifact.getTagProperties
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifact.getTagProperties
String tag = getTag();
ArtifactTagProperties properties = client.getTagProperties(tag);
System.out.printf("Digest:%s,", properties.getDigest());
- // END: com.azure.containers.containerregistry.registryartifact.getTagProperties
+ // END: com.azure.containers.containerregistry.RegistryArtifact.getTagProperties
}
public void getTagPropertiesWithResponseCodeSnippet() {
RegistryArtifact client = getClient();
- // BEGIN: com.azure.containers.containerregistry.registryartifact.getTagPropertiesWithResponse
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifact.getTagPropertiesWithResponse
String tag = getTag();
Response response = client.getTagPropertiesWithResponse(tag, Context.NONE);
final ArtifactTagProperties properties = response.getValue();
System.out.printf("Digest:%s,", properties.getDigest());
- // END: com.azure.containers.containerregistry.registryartifact.getTagPropertiesWithResponse
+ // END: com.azure.containers.containerregistry.RegistryArtifact.getTagPropertiesWithResponse
}
- public void listTagsCodeSnippet() {
+ public void listTagPropertiesCodeSnippet() {
RegistryArtifact client = getClient();
- // BEGIN: com.azure.containers.containerregistry.registryartifact.listTags
- client.listTags().iterableByPage(10).forEach(pagedResponse -> {
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifact.listTagProperties
+ client.listTagProperties().iterableByPage(10).forEach(pagedResponse -> {
pagedResponse.getValue().stream().forEach(
tagProperties -> System.out.println(tagProperties.getDigest()));
});
- // END: com.azure.containers.containerregistry.registryartifact.listTags
+ // END: com.azure.containers.containerregistry.RegistryArtifact.listTagProperties
}
- public void listTagsWithOptionsNoContextCodeSnippet() {
+ public void listTagPropertiesWithOptionsNoContextCodeSnippet() {
RegistryArtifact client = getClient();
- // BEGIN: com.azure.containers.containerregistry.registryartifact.listTagsWithOptionsNoContext
- client.listTags(TagOrderBy.LAST_UPDATED_ON_DESCENDING).iterableByPage(10).forEach(pagedResponse -> {
- pagedResponse.getValue().stream().forEach(
- tagProperties -> System.out.println(tagProperties.getDigest()));
- });
- // END: com.azure.containers.containerregistry.registryartifact.listTagsWithOptionsNoContext
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifact.listTagPropertiesWithOptionsNoContext
+ client.listTagProperties(ArtifactTagOrderBy.LAST_UPDATED_ON_DESCENDING)
+ .iterableByPage(10)
+ .forEach(pagedResponse -> {
+ pagedResponse.getValue()
+ .stream()
+ .forEach(tagProperties -> System.out.println(tagProperties.getDigest()));
+ });
+ // END: com.azure.containers.containerregistry.RegistryArtifact.listTagPropertiesWithOptionsNoContext
}
- public void listTagsWithOptionsCodeSnippet() {
+ public void listTagPropertiesWithOptionsCodeSnippet() {
RegistryArtifact client = getClient();
- // BEGIN: com.azure.containers.containerregistry.registryartifact.listTagsWithOptions
- client.listTags(TagOrderBy.LAST_UPDATED_ON_DESCENDING, Context.NONE).iterableByPage(10).forEach(pagedResponse -> {
- pagedResponse.getValue().stream().forEach(
- tagProperties -> System.out.println(tagProperties.getDigest()));
- });
- // END: com.azure.containers.containerregistry.registryartifact.listTagsWithOptions
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifact.listTagPropertiesWithOptions
+ client.listTagProperties(ArtifactTagOrderBy.LAST_UPDATED_ON_DESCENDING, Context.NONE)
+ .iterableByPage(10)
+ .forEach(pagedResponse -> {
+ pagedResponse.getValue()
+ .stream()
+ .forEach(tagProperties -> System.out.println(tagProperties.getDigest()));
+ });
+ // END: com.azure.containers.containerregistry.RegistryArtifact.listTagPropertiesWithOptions
}
public void updateTagPropertiesCodeSnippet() {
RegistryArtifact client = getClient();
- // BEGIN: com.azure.containers.containerregistry.registryartifact.updateTagProperties
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifact.updateTagProperties
ArtifactTagProperties properties = getArtifactTagProperties();
String tag = getTag();
client.updateTagProperties(tag, properties);
- // END: com.azure.containers.containerregistry.registryartifact.updateTagProperties
+ // END: com.azure.containers.containerregistry.RegistryArtifact.updateTagProperties
}
public void updateTagPropertiesWithResponseCodeSnippet() {
RegistryArtifact client = getClient();
- // BEGIN: com.azure.containers.containerregistry.registryartifact.updateTagPropertiesWithResponse
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifact.updateTagPropertiesWithResponse
ArtifactTagProperties properties = getArtifactTagProperties();
String tag = getTag();
client.updateTagPropertiesWithResponse(tag, properties, Context.NONE);
- // END: com.azure.containers.containerregistry.registryartifact.updateTagPropertiesWithResponse
+ // END: com.azure.containers.containerregistry.RegistryArtifact.updateTagPropertiesWithResponse
}
public void updateManifestPropertiesCodeSnippet() {
RegistryArtifact client = getClient();
- // BEGIN: com.azure.containers.containerregistry.registryartifact.updateManifestProperties
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifact.updateManifestProperties
ArtifactManifestProperties properties = getArtifactManifestProperties();
client.updateManifestProperties(properties);
- // END: com.azure.containers.containerregistry.registryartifact.updateManifestProperties
+ // END: com.azure.containers.containerregistry.RegistryArtifact.updateManifestProperties
}
public void updateManifestPropertiesWithResponseCodeSnippet() {
RegistryArtifact client = getClient();
- // BEGIN: com.azure.containers.containerregistry.registryartifact.updateManifestPropertiesWithResponse
+ // BEGIN: com.azure.containers.containerregistry.RegistryArtifact.updateManifestPropertiesWithResponse
ArtifactManifestProperties properties = getArtifactManifestProperties();
client.updateManifestPropertiesWithResponse(properties, Context.NONE);
- // END: com.azure.containers.containerregistry.registryartifact.updateManifestPropertiesWithResponse
+ // END: com.azure.containers.containerregistry.RegistryArtifact.updateManifestPropertiesWithResponse
}
/**
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/UpdateRegistryArtifactPropertiesAsync.java b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/UpdateRegistryArtifactPropertiesAsync.java
index b6e84e9cfc03..d04e1cd7a8e8 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/UpdateRegistryArtifactPropertiesAsync.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/samples/java/com/azure/containers/containerregistry/UpdateRegistryArtifactPropertiesAsync.java
@@ -7,6 +7,9 @@
import com.azure.core.credential.TokenCredential;
import com.azure.identity.DefaultAzureCredentialBuilder;
+/**
+ * This is a sample for updating registry artifact properties asynchronously.
+ */
public class UpdateRegistryArtifactPropertiesAsync {
static final String ENDPOINT = "https://registryName.azure.io";
static final String REPOSITORY_NAME = "library/hello-world";
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/ContainerRegistryClientsTestBase.java b/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/ContainerRegistryClientsTestBase.java
index 72d7c7a8b00a..b474eb0b33f6 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/ContainerRegistryClientsTestBase.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/ContainerRegistryClientsTestBase.java
@@ -4,11 +4,11 @@
package com.azure.containers.containerregistry;
import com.azure.containers.containerregistry.models.ArtifactArchitecture;
+import com.azure.containers.containerregistry.models.ArtifactManifestPlatform;
import com.azure.containers.containerregistry.models.ArtifactManifestProperties;
-import com.azure.containers.containerregistry.models.ArtifactManifestReference;
import com.azure.containers.containerregistry.models.ArtifactOperatingSystem;
import com.azure.containers.containerregistry.models.ArtifactTagProperties;
-import com.azure.containers.containerregistry.models.RepositoryProperties;
+import com.azure.containers.containerregistry.models.ContainerRepositoryProperties;
import com.azure.core.credential.TokenCredential;
import com.azure.core.http.HttpClient;
import com.azure.core.http.policy.HttpLogDetailLevel;
@@ -71,14 +71,14 @@ public class ContainerRegistryClientsTestBase extends TestBase {
.setWriteEnabled(true);
- protected static RepositoryProperties repoWriteableProperties = new RepositoryProperties()
+ protected static ContainerRepositoryProperties repoWriteableProperties = new ContainerRepositoryProperties()
.setDeleteEnabled(false)
.setListEnabled(true)
.setReadEnabled(true)
.setWriteEnabled(true)
.setTeleportEnabled(false);
- protected static RepositoryProperties defaultRepoWriteableProperties = new RepositoryProperties()
+ protected static ContainerRepositoryProperties defaultRepoWriteableProperties = new ContainerRepositoryProperties()
.setDeleteEnabled(true)
.setListEnabled(true)
.setReadEnabled(true)
@@ -109,17 +109,17 @@ ContainerRegistryClientBuilder getContainerRegistryBuilder(HttpClient httpClient
return getContainerRegistryBuilder(httpClient, credential, REGISTRY_ENDPOINT);
}
- List getChildArtifacts(Collection artifacts) {
+ List getChildArtifacts(Collection artifacts) {
return artifacts.stream()
.filter(artifact -> artifact.getArchitecture() != null)
.map(s -> s.getDigest()).collect(Collectors.toList());
}
- String getChildArtifactDigest(Collection artifacts) {
+ String getChildArtifactDigest(Collection artifacts) {
return getChildArtifacts(artifacts).get(0);
}
- void validateProperties(RepositoryProperties properties) {
+ void validateProperties(ContainerRepositoryProperties properties) {
assertNotNull(properties);
assertEquals(HELLO_WORLD_REPOSITORY_NAME, properties.getName());
assertNotNull(properties.getCreatedOn());
@@ -134,7 +134,7 @@ void validateProperties(RepositoryProperties properties) {
assertNotNull(properties.getRegistryLoginServer());
}
- void validateProperties(Response response) {
+ void validateProperties(Response response) {
validateResponse(response);
validateProperties(response.getValue());
}
@@ -218,8 +218,8 @@ void validateManifestProperties(ArtifactManifestProperties props, boolean hasTag
assertNotNull(props.getOperatingSystem());
} else {
assertNotNull(props.getTags());
- assertNotNull(props.getManifestReferences());
- props.getManifestReferences().stream().forEach(prop -> {
+ assertNotNull(props.getRelatedArtifacts());
+ props.getRelatedArtifacts().stream().forEach(prop -> {
assertNotNull(prop.getDigest());
assertNotNull(prop.getArchitecture());
assertNotNull(prop.getOperatingSystem());
@@ -272,7 +272,7 @@ void validateTagProperties(Response response, String tagN
validateTagProperties(response.getValue(), tagName);
}
- void validateRepoContentProperties(RepositoryProperties properties) {
+ void validateRepoContentProperties(ContainerRepositoryProperties properties) {
assertNotNull(properties);
assertEquals(false, properties.isDeleteEnabled(), "isDelete incorrect");
assertEquals(true, properties.isListEnabled(), "isList incorrect");
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/ContainerRepositoryAsyncIntegrationTests.java b/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/ContainerRepositoryAsyncIntegrationTests.java
index 6ef15934da5d..e68ca09715fb 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/ContainerRepositoryAsyncIntegrationTests.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/ContainerRepositoryAsyncIntegrationTests.java
@@ -4,8 +4,8 @@
package com.azure.containers.containerregistry;
-import com.azure.containers.containerregistry.models.ManifestOrderBy;
-import com.azure.containers.containerregistry.models.RepositoryProperties;
+import com.azure.containers.containerregistry.models.ArtifactManifestOrderBy;
+import com.azure.containers.containerregistry.models.ContainerRepositoryProperties;
import com.azure.core.exception.ResourceNotFoundException;
import com.azure.core.http.HttpClient;
import com.azure.core.http.netty.NettyAsyncHttpClientBuilder;
@@ -37,7 +37,7 @@ public class ContainerRepositoryAsyncIntegrationTests extends ContainerRegistryC
private ContainerRepositoryAsync asyncClient;
private ContainerRepository client;
- private RepositoryProperties contentProperties;
+ private ContainerRepositoryProperties contentProperties;
@BeforeEach
void beforeEach() {
@@ -127,7 +127,7 @@ public void listArtifacts(HttpClient httpClient) {
asyncClient = getContainerRepositoryAsync(httpClient);
client = getContainerRepository(httpClient);
- StepVerifier.create(asyncClient.listManifests())
+ StepVerifier.create(asyncClient.listManifestProperties())
.recordWith(ArrayList::new)
.thenConsumeWhile(x -> true)
.expectRecordedMatches(artifacts -> {
@@ -136,7 +136,7 @@ public void listArtifacts(HttpClient httpClient) {
})
.verifyComplete();
- validateListArtifacts(client.listManifests().stream().collect(Collectors.toList()));
+ validateListArtifacts(client.listManifestProperties().stream().collect(Collectors.toList()));
}
@ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS)
@@ -145,19 +145,19 @@ public void listArtifactsWithPageSize(HttpClient httpClient) {
asyncClient = getContainerRepositoryAsync(httpClient);
client = getContainerRepository(httpClient);
- StepVerifier.create(asyncClient.listManifests().byPage(PAGESIZE_2))
+ StepVerifier.create(asyncClient.listManifestProperties().byPage(PAGESIZE_2))
.recordWith(ArrayList::new)
.thenConsumeWhile(x -> true)
.expectRecordedMatches(pagedResList -> validateListArtifactsByPage(pagedResList)).verifyComplete();
- validateListArtifactsByPage(client.listManifests().streamByPage(PAGESIZE_2).collect(Collectors.toList()));
+ validateListArtifactsByPage(client.listManifestProperties().streamByPage(PAGESIZE_2).collect(Collectors.toList()));
}
@ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS)
@MethodSource("getHttpClients")
public void listArtifactsWithInvalidPageSize(HttpClient httpClient) {
ContainerRepositoryAsync client = getContainerRepositoryAsync(httpClient);
- StepVerifier.create(client.listManifests().byPage(-1)).expectError(IllegalArgumentException.class).verify();
+ StepVerifier.create(client.listManifestProperties().byPage(-1)).expectError(IllegalArgumentException.class).verify();
}
@ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS)
@@ -166,18 +166,18 @@ public void listArtifactsWithPageSizeAndOrderBy(HttpClient httpClient) {
asyncClient = getContainerRepositoryAsync(httpClient);
client = getContainerRepository(httpClient);
- StepVerifier.create(asyncClient.listManifests(ManifestOrderBy.LAST_UPDATED_ON_ASCENDING).byPage(PAGESIZE_2))
+ StepVerifier.create(asyncClient.listManifestProperties(ArtifactManifestOrderBy.LAST_UPDATED_ON_ASCENDING).byPage(PAGESIZE_2))
.recordWith(ArrayList::new)
.thenConsumeWhile(x -> true)
.expectRecordedMatches(pagedResList -> validateListArtifactsByPage(pagedResList, true))
.verifyComplete();
validateListArtifactsByPage(
- client.listManifests(ManifestOrderBy.LAST_UPDATED_ON_ASCENDING, Context.NONE).streamByPage(PAGESIZE_2).collect(Collectors.toList()),
+ client.listManifestProperties(ArtifactManifestOrderBy.LAST_UPDATED_ON_ASCENDING, Context.NONE).streamByPage(PAGESIZE_2).collect(Collectors.toList()),
true);
validateListArtifactsByPage(
- client.listManifests(ManifestOrderBy.LAST_UPDATED_ON_ASCENDING).streamByPage(PAGESIZE_2).collect(Collectors.toList()),
+ client.listManifestProperties(ArtifactManifestOrderBy.LAST_UPDATED_ON_ASCENDING).streamByPage(PAGESIZE_2).collect(Collectors.toList()),
true);
}
@@ -187,13 +187,13 @@ public void listArtifactsWithPageSizeNoOrderBy(HttpClient httpClient) {
asyncClient = getContainerRepositoryAsync(httpClient);
client = getContainerRepository(httpClient);
- StepVerifier.create(asyncClient.listManifests(ManifestOrderBy.NONE).byPage(PAGESIZE_2))
+ StepVerifier.create(asyncClient.listManifestProperties(ArtifactManifestOrderBy.NONE).byPage(PAGESIZE_2))
.recordWith(ArrayList::new)
.thenConsumeWhile(x -> true)
.expectRecordedMatches(pagedResList -> validateListArtifactsByPage(pagedResList))
.verifyComplete();
- validateListArtifactsByPage(client.listManifests(ManifestOrderBy.NONE, Context.NONE).streamByPage(PAGESIZE_2).collect(Collectors.toList()));
+ validateListArtifactsByPage(client.listManifestProperties(ArtifactManifestOrderBy.NONE, Context.NONE).streamByPage(PAGESIZE_2).collect(Collectors.toList()));
}
@ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS)
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/RegistryArtifactAsyncIntegrationTests.java b/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/RegistryArtifactAsyncIntegrationTests.java
index 39ecce6bbcbd..2c0b5b8d407f 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/RegistryArtifactAsyncIntegrationTests.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/RegistryArtifactAsyncIntegrationTests.java
@@ -5,7 +5,7 @@
package com.azure.containers.containerregistry;
import com.azure.containers.containerregistry.models.ArtifactManifestProperties;
-import com.azure.containers.containerregistry.models.TagOrderBy;
+import com.azure.containers.containerregistry.models.ArtifactTagOrderBy;
import com.azure.core.exception.ResourceNotFoundException;
import com.azure.core.http.HttpClient;
import com.azure.core.http.rest.Response;
@@ -88,7 +88,7 @@ public void getMultiArchitectureImagePropertiesWithResponse(HttpClient httpClien
}).flatMap(res -> getRegistryArtifactAsyncClient(httpClient, res.getValue().getDigest()).getManifestPropertiesWithResponse())
.flatMap(res -> {
validateManifestProperties(res, true, false);
- return Mono.just(getChildArtifactDigest(res.getValue().getManifestReferences()));
+ return Mono.just(getChildArtifactDigest(res.getValue().getRelatedArtifacts()));
}).flatMap(res -> getRegistryArtifactAsyncClient(httpClient, res).getManifestPropertiesWithResponse());
StepVerifier.create(safeTestRegistyArtifacts)
@@ -121,12 +121,12 @@ public void getMultiArchitectureImagePropertiesWithResponseThrows(HttpClient htt
@ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS)
@MethodSource("getHttpClients")
- public void listTags(HttpClient httpClient) {
+ public void listTagProperties(HttpClient httpClient) {
String digest = getDigest(httpClient);
asyncClient = getRegistryArtifactAsyncClient(httpClient, digest);
client = getRegistryArtifactClient(httpClient, digest);
- StepVerifier.create(asyncClient.listTags())
+ StepVerifier.create(asyncClient.listTagProperties())
.recordWith(ArrayList::new)
.thenConsumeWhile(x -> true)
.expectRecordedMatches(tags -> {
@@ -134,12 +134,12 @@ public void listTags(HttpClient httpClient) {
return true;
})
.verifyComplete();
- validateListTags(client.listTags().stream().collect(Collectors.toList()));
+ validateListTags(client.listTagProperties().stream().collect(Collectors.toList()));
// Now do the same via tag.
asyncClient = getRegistryArtifactAsyncClient(httpClient, LATEST_TAG_NAME);
client = getRegistryArtifactClient(httpClient, LATEST_TAG_NAME);
- StepVerifier.create(asyncClient.listTags())
+ StepVerifier.create(asyncClient.listTagProperties())
.recordWith(ArrayList::new)
.thenConsumeWhile(x -> true)
.expectRecordedMatches(tags -> {
@@ -147,67 +147,67 @@ public void listTags(HttpClient httpClient) {
return true;
})
.verifyComplete();
- validateListTags(client.listTags().stream().collect(Collectors.toList()));
+ validateListTags(client.listTagProperties().stream().collect(Collectors.toList()));
}
@ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS)
@MethodSource("getHttpClients")
- public void listTagsWithPageSize(HttpClient httpClient) {
+ public void listTagPropertiesWithPageSize(HttpClient httpClient) {
asyncClient = getRegistryArtifactAsyncClient(httpClient, LATEST_TAG_NAME);
client = getRegistryArtifactClient(httpClient, LATEST_TAG_NAME);
- StepVerifier.create(asyncClient.listTags().byPage(PAGESIZE_2))
+ StepVerifier.create(asyncClient.listTagProperties().byPage(PAGESIZE_2))
.recordWith(ArrayList::new)
.thenConsumeWhile(x -> true)
.expectRecordedMatches(pagedResList -> validateListTags(pagedResList, false))
.verifyComplete();
- validateListTags(client.listTags().streamByPage().collect(Collectors.toList()), false);
+ validateListTags(client.listTagProperties().streamByPage().collect(Collectors.toList()), false);
}
@ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS)
@MethodSource("getHttpClients")
- public void listTagsWithInvalidPageSize(HttpClient httpClient) {
+ public void listTagPropertiesWithInvalidPageSize(HttpClient httpClient) {
asyncClient = getRegistryArtifactAsyncClient(httpClient, LATEST_TAG_NAME);
client = getRegistryArtifactClient(httpClient, LATEST_TAG_NAME);
- StepVerifier.create(asyncClient.listTags().byPage(-1))
+ StepVerifier.create(asyncClient.listTagProperties().byPage(-1))
.verifyError(IllegalArgumentException.class);
- assertThrows(IllegalArgumentException.class, () -> client.listTags().streamByPage(-1).collect(Collectors.toList()));
+ assertThrows(IllegalArgumentException.class, () -> client.listTagProperties().streamByPage(-1).collect(Collectors.toList()));
}
@ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS)
@MethodSource("getHttpClients")
- public void listTagsWithPageSizeAndOrderBy(HttpClient httpClient) {
+ public void listTagPropertiesWithPageSizeAndOrderBy(HttpClient httpClient) {
asyncClient = getRegistryArtifactAsyncClient(httpClient, LATEST_TAG_NAME);
client = getRegistryArtifactClient(httpClient, LATEST_TAG_NAME);
- StepVerifier.create(asyncClient.listTags(TagOrderBy.LAST_UPDATED_ON_ASCENDING).byPage(PAGESIZE_2))
+ StepVerifier.create(asyncClient.listTagProperties(ArtifactTagOrderBy.LAST_UPDATED_ON_ASCENDING).byPage(PAGESIZE_2))
.recordWith(ArrayList::new)
.thenConsumeWhile(x -> true)
.expectRecordedMatches(pagedResList -> validateListTags(pagedResList, true))
.verifyComplete();
- validateListTags(client.listTags(TagOrderBy.LAST_UPDATED_ON_ASCENDING, Context.NONE).streamByPage(PAGESIZE_2).collect(Collectors.toList()), true);
- validateListTags(client.listTags(TagOrderBy.LAST_UPDATED_ON_ASCENDING).streamByPage(PAGESIZE_2).collect(Collectors.toList()), true);
+ validateListTags(client.listTagProperties(ArtifactTagOrderBy.LAST_UPDATED_ON_ASCENDING, Context.NONE).streamByPage(PAGESIZE_2).collect(Collectors.toList()), true);
+ validateListTags(client.listTagProperties(ArtifactTagOrderBy.LAST_UPDATED_ON_ASCENDING).streamByPage(PAGESIZE_2).collect(Collectors.toList()), true);
}
@ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS)
@MethodSource("getHttpClients")
- public void listTagsWithPageSizeNoOrderBy(HttpClient httpClient) {
+ public void listTagPropertiesWithPageSizeNoOrderBy(HttpClient httpClient) {
asyncClient = getRegistryArtifactAsyncClient(httpClient, LATEST_TAG_NAME);
client = getRegistryArtifactClient(httpClient, LATEST_TAG_NAME);
- StepVerifier.create(asyncClient.listTags(TagOrderBy.NONE).byPage(PAGESIZE_2))
+ StepVerifier.create(asyncClient.listTagProperties(ArtifactTagOrderBy.NONE).byPage(PAGESIZE_2))
.recordWith(ArrayList::new)
.thenConsumeWhile(x -> true)
.expectRecordedMatches(pagedResList -> validateListTags(pagedResList, false))
.verifyComplete();
- validateListTags(client.listTags(TagOrderBy.NONE, Context.NONE).streamByPage(PAGESIZE_2).collect(Collectors.toList()), false);
+ validateListTags(client.listTagProperties(ArtifactTagOrderBy.NONE, Context.NONE).streamByPage(PAGESIZE_2).collect(Collectors.toList()), false);
}
@ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS)
@@ -278,16 +278,13 @@ public void convenienceMethods(HttpClient httpClient) {
assertEquals(HELLO_WORLD_REPOSITORY_NAME, asyncClient.getRepositoryName());
assertEquals(HELLO_WORLD_REPOSITORY_NAME, client.getRepositoryName());
- assertTrue(asyncClient.getFullyQualifiedName().startsWith(registryName));
- assertTrue(asyncClient.getFullyQualifiedName().endsWith(HELLO_WORLD_REPOSITORY_NAME));
- assertTrue(client.getFullyQualifiedName().startsWith(registryName));
- assertTrue(client.getFullyQualifiedName().endsWith(HELLO_WORLD_REPOSITORY_NAME));
+ assertTrue(asyncClient.getFullyQualifiedReference().startsWith(registryName));
+ assertTrue(asyncClient.getFullyQualifiedReference().endsWith(LATEST_TAG_NAME));
+ assertTrue(client.getFullyQualifiedReference().startsWith(registryName));
+ assertTrue(client.getFullyQualifiedReference().endsWith(LATEST_TAG_NAME));
assertEquals(registryEndpoint, asyncClient.getRegistryEndpoint());
assertEquals(registryEndpoint, client.getRegistryEndpoint());
-
- assertEquals(LATEST_TAG_NAME, asyncClient.getDigest());
- assertEquals(LATEST_TAG_NAME, client.getDigest());
}
}
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/RegistryArtifactTests.java b/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/RegistryArtifactTests.java
index c87060270478..f970e0adde70 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/RegistryArtifactTests.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/RegistryArtifactTests.java
@@ -93,7 +93,7 @@ private RegistryArtifact getRegistryArtifactClient(String digest) {
@MethodSource("getHttpClients")
public void delete(HttpClient httpClient) {
client = getRegistryArtifactClient(httpClient, V4_TAG_NAME);
- String digest = getChildArtifactDigest(client.getManifestProperties().getManifestReferences());
+ String digest = getChildArtifactDigest(client.getManifestProperties().getRelatedArtifacts());
asyncClient = getRegistryArtifactAsyncClient(httpClient, digest);
@@ -209,7 +209,7 @@ public void updateTagProperties(HttpClient httpClient) {
public void deleteFromRecordFile() {
recordFileName = "RegistryArtifactTests.delete[1].json";
client = getRegistryArtifactClient(V4_TAG_NAME);
- String digest = getChildArtifactDigest(client.getManifestProperties().getManifestReferences());
+ String digest = getChildArtifactDigest(client.getManifestProperties().getRelatedArtifacts());
asyncClient = getRegistryArtifactAsyncClient(digest);
client = getRegistryArtifactClient(digest);
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/implementation/authentication/ContainerRegistryTokenServiceTest.java b/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/implementation/authentication/ContainerRegistryTokenServiceTest.java
index bbac7663c59c..25716832495d 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/implementation/authentication/ContainerRegistryTokenServiceTest.java
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/java/com/azure/containers/containerregistry/implementation/authentication/ContainerRegistryTokenServiceTest.java
@@ -71,6 +71,7 @@ public void setup() {
public void refreshTokenRestAPICalledOnlyOnce() throws Exception {
ContainerRegistryTokenService service = new ContainerRegistryTokenService(
this.tokenCredential,
+ null,
"myString",
this.httpPipeline,
this.serializerAdapter
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientIntegrationTests.getArtifactRegistry[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientIntegrationTests.getArtifactRegistry[1].json
index 8d4629120cf2..2d11c98f2f1e 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientIntegrationTests.getArtifactRegistry[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientIntegrationTests.getArtifactRegistry[1].json
@@ -4,20 +4,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7a8c87a6-934c-496b-af98-f7103ce18d46",
+ "x-ms-client-request-id" : "070abf82-3974-46d5-8aaa-ce6d3aa643dc",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "c476a8a4-639f-4cc2-be05-ba0599f9a5bb",
+ "X-Ms-Correlation-Request-Id" : "a0af1196-16f5-4b72-9e77-930290eacadd",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.583333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.166667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:48 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -26,20 +26,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e6b6544d-6ca2-4200-abbb-5b78f0feb5f9",
+ "x-ms-client-request-id" : "dec6276b-e19d-47cb-b91d-0fdabd2c3e7a",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "b36622ff-8711-47ea-bb1c-7604446aaade",
+ "X-Ms-Correlation-Request-Id" : "f7d76a51-8c6d-494e-bda2-0176373c5b2d",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.633333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "161.916667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:48 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -48,7 +48,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "43289b13-39b6-403c-a19f-adac1034be6f"
+ "x-ms-client-request-id" : "2df118a5-3fc9-4d91-851c-6d1093308b34"
},
"Response" : {
"content-length" : "404",
@@ -57,9 +57,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:48 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "dd24b883-4074-44a0-b3c6-c528c0081287",
+ "X-Ms-Correlation-Request-Id" : "31064988-512c-47d9-b33c-2534cd672574",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
@@ -71,20 +71,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "5ad4a439-1711-4207-bb38-3dba1dd711bd",
+ "x-ms-client-request-id" : "02356524-53ac-4dcb-9d3a-ec61c25327d9",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "37289000-0dcf-413a-b390-cbe5aff89647",
+ "X-Ms-Correlation-Request-Id" : "7e02fa0b-54f0-46cc-adf1-f97b10b41c8b",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.616667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.166667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:48 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -93,7 +93,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "355abb69-d32c-4642-bb22-e64efd82b08e"
+ "x-ms-client-request-id" : "df7cf2aa-7ee4-46fb-8b7a-fe375363db2d"
},
"Response" : {
"content-length" : "1611",
@@ -102,9 +102,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:48 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "54e25cd2-edb4-4cc0-8fd3-352106e8e684",
+ "X-Ms-Correlation-Request-Id" : "2c4beeaa-f5a6-4567-9c14-b20afb318c86",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"imageSize\":5325,\"createdTime\":\"2021-05-17T22:28:14.7976969Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7976969Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"architecture\":\"mips64le\",\"os\":\"linux\"},{\"digest\":\"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\",\"architecture\":\"s390x\",\"os\":\"linux\"},{\"digest\":\"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1\",\"architecture\":\"amd64\",\"os\":\"windows\"}]}}\n",
@@ -116,20 +116,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "bb3af119-a020-4fc0-a3bb-3db4881d6a35",
+ "x-ms-client-request-id" : "9de38869-ccc1-4c85-8da0-72dc08e53ea0",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "fd7c36f0-d1cb-4f3b-8007-e78228e60baf",
+ "X-Ms-Correlation-Request-Id" : "cb864ebf-93dd-4c37-8707-50790cb08837",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.816667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.116667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:48 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -138,20 +138,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "86588c64-e0fb-43fa-875d-774a7d046f03",
+ "x-ms-client-request-id" : "8421fd7d-0d7e-4cf7-88ad-c6ea6dfb4358",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "09e29808-45a5-4c4b-8993-5af9e80de1ba",
+ "X-Ms-Correlation-Request-Id" : "7deee9cd-0b54-4d28-b6ff-bc300b1ecf3e",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.6",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.133333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:48 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -160,7 +160,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "47a9d20c-dbcc-497e-ab19-2f772181b457"
+ "x-ms-client-request-id" : "db3689f6-4ff6-48c1-8ccf-6f40fddaf481"
},
"Response" : {
"content-length" : "404",
@@ -169,9 +169,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:48 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "de565c10-18c7-4ef0-9f94-f1fa7ce6b9db",
+ "X-Ms-Correlation-Request-Id" : "76a10157-6366-46e5-b325-97399dc66371",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
@@ -183,20 +183,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1ec07a1c-db4e-4964-a410-75bfb5fc52d5",
+ "x-ms-client-request-id" : "09ea700c-c0e7-4a16-84e4-39a16ee937aa",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "937a765c-22a9-475f-ba86-d8aa8dc3b57f",
+ "X-Ms-Correlation-Request-Id" : "1dccd4f7-bbc9-41a4-aa25-ccb69358e931",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.583333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.116667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:48 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -205,7 +205,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "20b02587-e346-4d59-9cf1-f09842991aac"
+ "x-ms-client-request-id" : "bd19acbc-1a76-4d5f-8e13-d3157716c67f"
},
"Response" : {
"content-length" : "1611",
@@ -214,9 +214,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:48 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "e0986c4c-a688-4357-9f7f-002da5493564",
+ "X-Ms-Correlation-Request-Id" : "83074961-ca53-4323-8f70-1c843300689d",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"imageSize\":5325,\"createdTime\":\"2021-05-17T22:28:14.7976969Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7976969Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"architecture\":\"mips64le\",\"os\":\"linux\"},{\"digest\":\"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\",\"architecture\":\"s390x\",\"os\":\"linux\"},{\"digest\":\"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1\",\"architecture\":\"amd64\",\"os\":\"windows\"}]}}\n",
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientIntegrationTests.getContainerRepository[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientIntegrationTests.getContainerRepository[1].json
index 6411e39cf0b0..12290466e418 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientIntegrationTests.getContainerRepository[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientIntegrationTests.getContainerRepository[1].json
@@ -4,20 +4,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c6f118e1-dbf8-4034-aec7-7a6f0da166f6",
+ "x-ms-client-request-id" : "efb83dc8-c19e-47ca-be45-c3bd2ae7f816",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "921b844f-6d95-4e95-8e8d-f4ac3a6b3ef7",
+ "X-Ms-Correlation-Request-Id" : "cb419fac-af3d-49fe-8f1b-077b5bbccad6",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.35",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.483333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:14 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:36 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -26,20 +26,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "4e361377-f544-4483-b79b-9162123a38be",
+ "x-ms-client-request-id" : "a3c6eb38-bd84-45a0-bb57-b48444ea3ba4",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "92e9b464-1b2e-4b38-be9c-742bcc813592",
+ "X-Ms-Correlation-Request-Id" : "72a4d64a-b0e7-48fd-aad6-6bbdc97fe122",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.533333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "161.933333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:14 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:36 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -48,7 +48,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a417af19-b74f-4040-9e30-a83aefe5aef0"
+ "x-ms-client-request-id" : "ef221eca-7722-4ca4-9868-2dc890da69e3"
},
"Response" : {
"content-length" : "339",
@@ -57,9 +57,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:33:14 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:36 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "90295e0d-7ba7-4613-bcb1-af16d97b2500",
+ "X-Ms-Correlation-Request-Id" : "555c8e7e-a2a9-4e6f-8bef-cdbdcf8586a1",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"createdTime\":\"2021-05-11T23:47:44.9315937Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.4432439Z\",\"manifestCount\":12,\"tagCount\":5,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"teleportEnabled\":false}}\n",
@@ -71,20 +71,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e45f8e7b-a97d-4976-87a1-2c9bd7acf1bf",
+ "x-ms-client-request-id" : "031b5e81-28c8-42bf-b5d9-b0e63dc25778",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "e8b7b8ed-4226-420d-bb02-87b5c1a673d6",
+ "X-Ms-Correlation-Request-Id" : "e8226c24-094c-44a9-b588-149ba376f262",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.25",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.666667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:14 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:36 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -93,20 +93,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "77ebfa99-3c3d-499d-92ed-839a730c7f46",
+ "x-ms-client-request-id" : "02326fa4-0b8d-4520-8d4a-4cc52b4ea800",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "e4e43d17-8325-4a6e-b6d9-6ede34c2ace7",
+ "X-Ms-Correlation-Request-Id" : "4f610ffe-6a1b-44ae-8edd-eab4b95e967f",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.333333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.516667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:14 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:36 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -115,7 +115,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "4d1e6b80-dfe6-4f4c-94f4-896d5d351ba9"
+ "x-ms-client-request-id" : "9d3bb9f6-002b-4a47-a1c2-a3cdc41db37c"
},
"Response" : {
"content-length" : "339",
@@ -124,9 +124,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:33:14 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:36 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "7ad3961c-31e8-497c-953c-7e314f693e11",
+ "X-Ms-Correlation-Request-Id" : "2a5a9e05-1663-42dc-ac48-77dcb428453a",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"createdTime\":\"2021-05-11T23:47:44.9315937Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.4432439Z\",\"manifestCount\":12,\"tagCount\":5,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"teleportEnabled\":false}}\n",
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientIntegrationTests.listRepositoryNamesWithPageSize[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientIntegrationTests.listRepositoryNamesWithPageSize[1].json
index 5ede03c094be..3a3137945d93 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientIntegrationTests.listRepositoryNamesWithPageSize[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientIntegrationTests.listRepositoryNamesWithPageSize[1].json
@@ -4,20 +4,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d7e7953f-c617-4bf4-ac98-0425575dc38c",
+ "x-ms-client-request-id" : "485a8fd4-e9d2-4e35-a6bc-16cfc006910d",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "8545350a-c03d-41ba-8b81-5b66fc8f8d6f",
+ "X-Ms-Correlation-Request-Id" : "daa8c11b-87cf-497e-93b8-d6160b7900f9",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.283333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.75",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:04 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -26,20 +26,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a50f722c-8e9a-46c4-ac2d-536b9168ccab",
+ "x-ms-client-request-id" : "a65b596b-74a3-4cfb-aba7-9a8296fc0f5b",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "473a30e9-215d-4070-9cd2-47510364c74f",
+ "X-Ms-Correlation-Request-Id" : "7852820b-dead-4c5f-a732-105f6d8ff698",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.55",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:05 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -48,7 +48,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/_catalog?n=1",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f52de169-5e9c-4e0c-90c1-2000149d08c8"
+ "x-ms-client-request-id" : "3ec48c4a-c5aa-4977-b602-736e4eb8c9cd"
},
"Response" : {
"content-length" : "36",
@@ -57,9 +57,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:05 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "fe5e10d2-82c4-402f-b0ad-665f93767a86",
+ "X-Ms-Correlation-Request-Id" : "c5b33739-bf71-40e5-87aa-700ca351afc4",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"repositories\":[\"library/alpine\"]}\n",
@@ -72,20 +72,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7fd00e22-7bdf-4af7-b9d5-1396df8a70f2",
+ "x-ms-client-request-id" : "0c46dcac-e50d-42de-953c-e17748a82623",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "b2d5785a-161e-4e4e-bf24-e9a848365afd",
+ "X-Ms-Correlation-Request-Id" : "62f087ff-b7f8-4326-8261-78554be49207",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.55",
+ "x-ms-ratelimit-remaining-calls-per-second" : "166.45",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:05 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -94,7 +94,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/_catalog?last=library%2Falpine&n=1&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "3fb94aa5-2158-4d84-a4dd-67324acfd47e"
+ "x-ms-client-request-id" : "ec437ce9-2653-4f84-849a-dc63a298f643"
},
"Response" : {
"content-length" : "43",
@@ -103,9 +103,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:05 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "3e867dab-a3a0-45c9-bb71-9f61f7f5d696",
+ "X-Ms-Correlation-Request-Id" : "3dd50ebf-5789-4f6f-bbf0-bc772ece5e54",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"repositories\":[\"library/hello-seattle\"]}\n",
@@ -118,20 +118,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a97e8201-e76a-42c2-a602-914ed0f5067f",
+ "x-ms-client-request-id" : "3ee697ba-0191-483a-945f-5334a040860c",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "15e746be-66c3-448a-a54b-e2635aa268fb",
+ "X-Ms-Correlation-Request-Id" : "47dcbe63-f44b-4c48-ac27-efe5642f3226",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.483333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.933333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:05 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -140,7 +140,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/_catalog?last=library%2Fhello-seattle&n=1&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "374d63f0-9f7d-455c-a68a-9cc542c93554"
+ "x-ms-client-request-id" : "1b118c54-279a-413e-9b8b-b94dfcd5db1c"
},
"Response" : {
"content-length" : "41",
@@ -149,9 +149,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:05 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "0116cbc4-a972-425a-9103-4ab430bd40e9",
+ "X-Ms-Correlation-Request-Id" : "72ee1511-8352-4d90-abe0-76e80d5b9ef9",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"repositories\":[\"library/hello-world\"]}\n",
@@ -163,20 +163,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "08db751e-9c85-4cdc-bfda-52c28157cfa4",
+ "x-ms-client-request-id" : "c9d61bba-ca6e-419b-9c5b-de68ae5543ce",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "ad49989d-8ef8-4154-b807-2b8c906e604a",
+ "X-Ms-Correlation-Request-Id" : "e75d3d35-165f-411f-89ec-4e2d5e802939",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.466667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.916667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:18 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:05 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -185,20 +185,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "4df2f767-d0ed-4bd8-b851-0f4e9eea6a42",
+ "x-ms-client-request-id" : "315bfdb0-fc9b-4991-85b7-ad222b1bee29",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "dcf3a0bf-04a5-4cc6-9a71-0e186a5c63f1",
+ "X-Ms-Correlation-Request-Id" : "0ce9d156-2ff9-487e-ba9c-83b4c59c668e",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.25",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.6",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:18 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:05 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -207,7 +207,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/_catalog?n=1",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "2d99812a-8168-4389-ad69-1bd4199fb8a7"
+ "x-ms-client-request-id" : "0ab85f29-e0e4-460b-b029-1188393500b5"
},
"Response" : {
"content-length" : "36",
@@ -216,9 +216,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:18 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:05 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "6dd18535-c9f9-41a5-aea0-75de8c743b5b",
+ "X-Ms-Correlation-Request-Id" : "8d5f4e08-b5d8-4c05-8a5f-2ed7ce502747",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"repositories\":[\"library/alpine\"]}\n",
@@ -231,20 +231,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d97e4b63-07b7-4ec2-827f-480605f4d3ef",
+ "x-ms-client-request-id" : "f97b2672-b06f-496e-8246-9de956286aa6",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "341b97ea-12d1-402d-836d-93d017347395",
+ "X-Ms-Correlation-Request-Id" : "52e6c561-cc0e-4694-a21e-5338e7b637f8",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.233333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.55",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:18 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:05 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -253,7 +253,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/_catalog?last=library%2Falpine&n=1&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "6cda7c8b-5d15-478c-90f4-3aeb02c7d4d7"
+ "x-ms-client-request-id" : "00b1d725-3afc-425f-8d79-a440b46ce0ef"
},
"Response" : {
"content-length" : "43",
@@ -262,9 +262,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:18 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:05 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "d794c5cf-db29-4556-9a59-a55320c9d3f6",
+ "X-Ms-Correlation-Request-Id" : "de07c3b3-42a1-47b5-bdc2-31313bdb4da8",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"repositories\":[\"library/hello-seattle\"]}\n",
@@ -277,20 +277,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "32bd4b55-2d46-4e34-aac6-efaf4bd8bb97",
+ "x-ms-client-request-id" : "0a464f08-3541-4491-bbdb-a2ceb1611be5",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "8b8bc172-b539-4c99-928a-b89cb453f406",
+ "X-Ms-Correlation-Request-Id" : "cdd1e495-fb88-4a56-8d1f-17a4700d38d8",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.216667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.883333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:18 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:05 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -299,7 +299,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/_catalog?last=library%2Fhello-seattle&n=1&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "b7baa450-9699-40a3-9bae-e06b7c648f09"
+ "x-ms-client-request-id" : "ed935666-4faa-4c4e-9e26-67e519c2cbc5"
},
"Response" : {
"content-length" : "41",
@@ -308,9 +308,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:18 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:05 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "9fd4a5a8-ad3a-4d6d-ac7f-8c2790d489f2",
+ "X-Ms-Correlation-Request-Id" : "93732d87-cbab-4fcd-8ce1-96f04fd45b2c",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"repositories\":[\"library/hello-world\"]}\n",
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientIntegrationTests.listRepositoryNames[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientIntegrationTests.listRepositoryNames[1].json
index c938fa2151b3..3955246e53ed 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientIntegrationTests.listRepositoryNames[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientIntegrationTests.listRepositoryNames[1].json
@@ -4,20 +4,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "bb6bdba1-91f1-477d-8a81-c5e747643214",
+ "x-ms-client-request-id" : "99621209-243e-4368-8316-82959726b75e",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "7287b43f-6587-4fbd-8d52-9806a3779878",
+ "X-Ms-Correlation-Request-Id" : "a209af74-237e-4f0c-bd92-6634f9e064af",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.8",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.85",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:47 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:34 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -26,20 +26,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "31072b94-2370-4f16-898a-c0c4d44e0ed9",
+ "x-ms-client-request-id" : "b58e809c-dfe9-4cd6-ab52-910d8a40ad00",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "54c1d241-6da3-4e19-b4f0-c812ed356231",
+ "X-Ms-Correlation-Request-Id" : "23026c6b-4628-4dca-9ae8-3e0b927d4220",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.133333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.983333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:48 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:34 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -48,7 +48,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/_catalog",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "9ed6ac4f-26ca-4e3a-881b-7d654b6c1973"
+ "x-ms-client-request-id" : "6548a055-8c12-4bb1-be7b-375dc2f0b503"
},
"Response" : {
"content-length" : "82",
@@ -57,9 +57,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:48 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:34 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "b2c8dd43-9fde-4e91-9b6d-0af224f9631a",
+ "X-Ms-Correlation-Request-Id" : "97e60bc2-6878-46b6-aec8-90d199e3d9b6",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"repositories\":[\"library/alpine\",\"library/hello-seattle\",\"library/hello-world\"]}\n",
@@ -71,20 +71,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "37bcc39f-3c93-4ba9-83b0-b9e57916e75e",
+ "x-ms-client-request-id" : "18865fe4-eb50-4c56-99f3-f896efa0fd85",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "f86fb708-1730-4baf-b38c-9015dc8376e4",
+ "X-Ms-Correlation-Request-Id" : "1c4d6a9f-cdbd-4513-b925-fe40812c279e",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.916667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.916667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:48 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:34 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -93,20 +93,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "4a6c6f88-1bcb-464b-8618-9e43b6b6a93a",
+ "x-ms-client-request-id" : "e108a3c4-c2d7-4971-9c28-30fdf83696ed",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "ad540e9b-d687-4d28-b0c2-c24824c5a7cb",
+ "X-Ms-Correlation-Request-Id" : "6329d38d-3245-4d06-8516-23404fa7c6d2",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.566667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.55",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:48 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:34 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -115,7 +115,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/_catalog",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "cca0df25-bd76-40ac-a2b3-ec7795daaeaa"
+ "x-ms-client-request-id" : "b0335d1e-2462-480e-b726-7f643e4d51ad"
},
"Response" : {
"content-length" : "82",
@@ -124,9 +124,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:48 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:34 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "61c3044f-1ca4-482b-8ac6-9bf117fef98f",
+ "X-Ms-Correlation-Request-Id" : "89bfc320-f554-4aae-bbb9-888bc9bcf916",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"repositories\":[\"library/alpine\",\"library/hello-seattle\",\"library/hello-world\"]}\n",
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientTest.deleteRepositoryFromMethod.json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientTest.deleteRepositoryFromMethod.json
index 19da2e44f663..d5f3d494523a 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientTest.deleteRepositoryFromMethod.json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientTest.deleteRepositoryFromMethod.json
@@ -4,7 +4,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-seattle",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "0457a96f-5436-4a56-8a1a-a8e85a3b7407"
+ "x-ms-client-request-id" : "e313704f-1bb3-4c8d-bd30-ff9ba40bb3c8"
},
"Response" : {
"retry-after" : "0",
@@ -18,7 +18,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-seattle",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f56786df-d2f4-453c-a1b6-674791268359"
+ "x-ms-client-request-id" : "f52ae57b-8773-428a-b2b8-760525cc6eb7"
},
"Response" : {
"retry-after" : "0",
@@ -32,7 +32,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-seattle",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f514bb71-62f7-4ba1-90bc-b5a335c2392e"
+ "x-ms-client-request-id" : "03243bc3-52d4-4f02-b287-9fb83fecb07c"
},
"Response" : {
"retry-after" : "0",
@@ -46,7 +46,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-seattle",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d81cdc2d-887d-4ec3-b253-d019525110f0"
+ "x-ms-client-request-id" : "9c7470c3-fce4-442a-ada7-e76d25f1d86e"
},
"Response" : {
"retry-after" : "0",
@@ -60,7 +60,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-seattle",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "785f25d6-22fd-47ff-98b7-ddc9e6db3431"
+ "x-ms-client-request-id" : "326bb6f0-2271-49f3-8b47-97857b7852f1"
},
"Response" : {
"retry-after" : "0",
@@ -74,7 +74,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-seattle",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "6934bd59-50a5-45c8-8a33-173907cffd78"
+ "x-ms-client-request-id" : "fc1ceb31-58f0-45e5-bca7-4b0cbcefba8b"
},
"Response" : {
"retry-after" : "0",
@@ -88,7 +88,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-seattle",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f0866356-fcf9-456e-9bc3-78c8c0530650"
+ "x-ms-client-request-id" : "bb4ff59b-8681-41a6-8cad-cdc6af8ae958"
},
"Response" : {
"retry-after" : "0",
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientTest.deleteRepository[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientTest.deleteRepository[1].json
index f66d64e4d41a..d62d4dcdc30e 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientTest.deleteRepository[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRegistryClientTest.deleteRepository[1].json
@@ -4,20 +4,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "fdbe3a92-01e3-464a-86cf-3f5808bf0a0e",
+ "x-ms-client-request-id" : "deaab347-27f4-4ef6-b53f-4fd0fc01604a",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "acdd8e35-26a2-43b2-a2f6-e99f21feadc3",
+ "X-Ms-Correlation-Request-Id" : "1e395cf2-b980-42be-be31-1c21e0fcf919",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.616667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.75",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:22 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:09 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -26,20 +26,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "053b5c1f-c016-4a7f-a407-3c819ff384ca",
+ "x-ms-client-request-id" : "3962dd56-6323-48de-b48a-2d58e1f319fc",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "47bac63a-e5c0-43d3-91b2-abd157532f55",
+ "X-Ms-Correlation-Request-Id" : "dfbac34b-9c76-43cd-af12-19df714bda05",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.6",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:22 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:09 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -48,7 +48,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-seattle",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7a327f54-4b1a-4adc-9aaf-d8da780ebce2"
+ "x-ms-client-request-id" : "b102e6d5-2ed9-425e-8390-af9800956074"
},
"Response" : {
"content-length" : "936",
@@ -57,13 +57,13 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "202",
- "Date" : "Wed, 19 May 2021 23:32:29 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:12 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "2a023dba-3d3d-478f-8a8f-6ab9753cc8a2",
+ "X-Ms-Correlation-Request-Id" : "be79a567-1902-4504-88a3-f885ab50dcbc",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
- "X-Ms-Client-Request-Id" : "7a327f54-4b1a-4adc-9aaf-d8da780ebce2",
- "X-Ms-Request-Id" : "619189c4-bdce-4279-83f7-c659c2452e23",
+ "X-Ms-Client-Request-Id" : "b102e6d5-2ed9-425e-8390-af9800956074",
+ "X-Ms-Request-Id" : "7f895d7c-944a-4d4a-877b-714b7fe49c5f",
"X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "7.000000",
"Body" : "{\"manifestsDeleted\":[\"sha256:220d888ab6ad0f51269605a7ffc0798f442d33c140ed5051e20eec501bbf2202\",\"sha256:2c542cfa48db891b0d4667b1fd98c78428d0e4d7e59ab483dd027a185cf4dbe0\",\"sha256:5c9ac9b2b91bacbe58641a89cb130d6b1cdb8b040e48a76751335d01ef5d76b7\",\"sha256:6f29a27f990505592eb80fc3032334568562f5f682ee17ef9d6b090bfe387e25\",\"sha256:7a012702999ac3589aeb46d28ab2b9b6b82324d8504b55e5cf4fdc9a9f52558d\",\"sha256:80f072dcbce20f8745fa8ec7594ee1cc5e4c53910df1dc4886b03942f249ba76\",\"sha256:9f16da7cb4e19d8def2ae8343610e985b9c46f33867d4b724ba47a4145952621\",\"sha256:ae574da1bf2b023591ed9c40a086b6768369c511cbc2fad37545dbe3048de81e\",\"sha256:b6ed6e4cc14488cfce68e946d13ae329ccf3e8454b26d106f23e3dff38f0b955\",\"sha256:c22223dc179f142076c071e844254ba21cb2e53a7fbb52ff275865130f11c7c1\",\"sha256:d7f84c1d6f16b1006d6ed62783625113b480ea697664909601f51ef380d55523\",\"sha256:d91c24cf3e56abeb62b887ed721836ba88ed5a543e26d28328e312ab518088f3\"],\"tagsDeleted\":[\"latest\"]}\n",
"Content-Type" : "application/json; charset=utf-8"
@@ -74,20 +74,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "14c94dd4-fdbd-4ef4-b568-42cafb40455f",
+ "x-ms-client-request-id" : "0b021e74-181a-486b-92dc-d4c61e7795d1",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "d51de8e6-a092-458d-8a0a-82a911fa35fc",
+ "X-Ms-Correlation-Request-Id" : "6dbba0f2-8cfc-4e2d-a4d7-5276085b0239",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.933333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "166.383333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:29 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:12 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -96,7 +96,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-seattle",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "43d02354-7398-47b5-9ced-de094be3e3c8"
+ "x-ms-client-request-id" : "8ffc148a-8401-4edd-b536-1599000813e1"
},
"Response" : {
"content-length" : "99",
@@ -105,9 +105,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "404",
- "Date" : "Wed, 19 May 2021 23:32:29 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:12 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "0d81d337-2095-46cb-b53d-7a824e845e2a",
+ "X-Ms-Correlation-Request-Id" : "5435808d-63e4-4d6d-895a-90e7661966ff",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"errors\":[{\"code\":\"NAME_UNKNOWN\",\"message\":\"repository \\\"library/hello-seattle\\\" is not found\"}]}\n",
@@ -119,20 +119,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "bcb3e091-26b3-4fd6-b612-eed2976f94f9",
+ "x-ms-client-request-id" : "e4b83b87-657e-49c8-9e2d-f9f7308b6218",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "9aefe353-a809-46c8-b2c6-56ba3f07228c",
+ "X-Ms-Correlation-Request-Id" : "5f1a136e-6ead-40af-bb3b-9334c77961d3",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.916667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.6",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:29 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:12 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -141,7 +141,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-seattle",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "652cd3ac-1cf5-4145-9c4a-2ab0a4a41746"
+ "x-ms-client-request-id" : "2db28f45-51c2-466b-83b5-922e06efcc3b"
},
"Response" : {
"content-length" : "129",
@@ -150,13 +150,13 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "404",
- "Date" : "Wed, 19 May 2021 23:32:29 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:12 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "560f0bf2-fdd8-41c7-98b6-61758dd6038f",
+ "X-Ms-Correlation-Request-Id" : "a15e1a29-f538-4554-84d8-f319cb3747bf",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
- "X-Ms-Client-Request-Id" : "652cd3ac-1cf5-4145-9c4a-2ab0a4a41746",
- "X-Ms-Request-Id" : "27b5461c-f491-44c9-a266-8475ffc6d1b5",
+ "X-Ms-Client-Request-Id" : "2db28f45-51c2-466b-83b5-922e06efcc3b",
+ "X-Ms-Request-Id" : "1cdaa237-e4f7-43ea-8e98-a0be3a98a141",
"X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "8.000000",
"Body" : "{\"errors\":[{\"code\":\"NAME_UNKNOWN\",\"message\":\"repository name not known to registry\",\"detail\":{\"name\":\"library/hello-seattle\"}}]}\n",
"Content-Type" : "application/json; charset=utf-8"
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAnonymousAccessTests.listAnonymousRepositories[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAnonymousAccessTests.listAnonymousRepositories[1].json
index f63abe23ead3..f8fae375f5f4 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAnonymousAccessTests.listAnonymousRepositories[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAnonymousAccessTests.listAnonymousRepositories[1].json
@@ -4,20 +4,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7e167744-fb5a-4c07-b54b-eea8c9034c8f",
+ "x-ms-client-request-id" : "05922e12-7f5d-4bc1-bad9-ec3671820d51",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "80b41a69-8bbe-4bd0-9b73-205b1c2f51a4",
+ "X-Ms-Correlation-Request-Id" : "f9330439-d35e-4333-9cf1-af445863c2c4",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.65",
+ "x-ms-ratelimit-remaining-calls-per-second" : "166.583333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:06 GMT",
+ "Date" : "Thu, 27 May 2021 17:49:54 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -26,7 +26,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/_catalog",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f61a3082-707f-44f7-bc9e-752b7351f3f4"
+ "x-ms-client-request-id" : "82438e47-7c95-406b-9084-6e74ec1f24d6"
},
"Response" : {
"content-length" : "41",
@@ -35,9 +35,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:06 GMT",
+ "Date" : "Thu, 27 May 2021 17:49:54 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "bc2ca4b3-7175-4a61-bb29-75620109f0f9",
+ "X-Ms-Correlation-Request-Id" : "790be858-54fd-4308-b702-74127f36b5b3",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"repositories\":[\"library/hello-world\"]}\n",
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.getArtifactRegistry[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.getArtifactRegistry[1].json
index ea1fd7055c2c..3a628d9d51b3 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.getArtifactRegistry[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.getArtifactRegistry[1].json
@@ -4,20 +4,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "863e6772-a74a-4fef-856f-3391a6682489",
+ "x-ms-client-request-id" : "4e23333b-2fd9-4cc5-8c2f-14acea1db8ca",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "c1243eee-005d-4556-8ec1-79d233d1aa3b",
+ "X-Ms-Correlation-Request-Id" : "3a9d51d4-2264-4730-a731-5c9b71aae43b",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.416667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.683333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:49 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -26,20 +26,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "97382d47-062c-4f84-8446-b716f0a8af6c",
+ "x-ms-client-request-id" : "ab35bc64-0623-4d51-ab99-1d762b439bdf",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "c80c2f9a-eee0-4df6-972c-c7417e398aa9",
+ "X-Ms-Correlation-Request-Id" : "ffa8c3c3-bb51-47e8-b9fe-b70f900f393c",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.75",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.1",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:49 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -48,7 +48,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "79fb20bf-c740-4cd1-a401-719ac32f0705"
+ "x-ms-client-request-id" : "825ad9e6-7e26-405a-b098-28af536c113a"
},
"Response" : {
"content-length" : "404",
@@ -57,9 +57,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:49 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "ecbde5ca-56ae-4807-b4d5-0baf137cf8f6",
+ "X-Ms-Correlation-Request-Id" : "9be4cec6-fa7d-40a7-922c-8e1efed9fecc",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
@@ -71,20 +71,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f625d1e5-99c5-4a0a-9abe-a4ecfb07e4d1",
+ "x-ms-client-request-id" : "32dbcff6-981f-43ce-a5cd-a5f8ea821e6b",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "9d0480f6-316b-4617-91fa-ea57230d5794",
+ "X-Ms-Correlation-Request-Id" : "798c9ed3-9799-4209-8218-3d0a2fb6268d",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.733333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "161.9",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:49 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -93,7 +93,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "bd628f2d-7ad1-4932-9f56-573d6e3edbe2"
+ "x-ms-client-request-id" : "05026fbc-bf26-4c4d-b860-5fe2e466496a"
},
"Response" : {
"content-length" : "1611",
@@ -102,9 +102,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:49 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "e817f7fd-f1ca-4e0a-b87a-3e7d2432c649",
+ "X-Ms-Correlation-Request-Id" : "563d0c82-70c1-4edc-b907-03f2bd3973bd",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"imageSize\":5325,\"createdTime\":\"2021-05-17T22:28:14.7976969Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7976969Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"architecture\":\"mips64le\",\"os\":\"linux\"},{\"digest\":\"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\",\"architecture\":\"s390x\",\"os\":\"linux\"},{\"digest\":\"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1\",\"architecture\":\"amd64\",\"os\":\"windows\"}]}}\n",
@@ -116,20 +116,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "740c7d4f-ed1b-4f05-9f31-b554d6b2dd15",
+ "x-ms-client-request-id" : "d2e87453-353d-43e1-b4e2-6c4223b307fe",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "4292867b-1c0e-4630-a6b6-0f94bd2ddc8e",
+ "X-Ms-Correlation-Request-Id" : "52b4ab97-97c6-4c8f-81a5-820201dd2fb7",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.383333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "159.566667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:50 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -138,20 +138,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "69c8e01b-b34b-4175-8e67-75897ba2b30d",
+ "x-ms-client-request-id" : "6fe34006-e88a-4e64-8161-aafa60c91e31",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "8dae9b2d-5e65-447c-960a-fba2201c8cc1",
+ "X-Ms-Correlation-Request-Id" : "122137c9-2ecc-46d8-be8a-5cf26230c659",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.216667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "159.8",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:50 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -160,7 +160,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "94e16fce-e807-460f-851a-e4862331602d"
+ "x-ms-client-request-id" : "ac114f41-6bc8-43c8-a8dd-97f4f45c4a83"
},
"Response" : {
"content-length" : "404",
@@ -169,9 +169,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:50 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "c78dad0c-d10b-4a9a-81ca-bec83458f164",
+ "X-Ms-Correlation-Request-Id" : "d375e85e-7429-4732-98e5-4ea4be9ab7b4",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
@@ -183,20 +183,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "5835087f-99f2-4180-8c76-88b17befa37a",
+ "x-ms-client-request-id" : "ef021de7-5ca3-42ba-9e1e-091c006a72c5",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "842e2a27-f9b5-4bf2-9ee3-d32a795bf494",
+ "X-Ms-Correlation-Request-Id" : "97606f80-4d5d-4f3a-8c3c-3954b9385798",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.2",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.3",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:51 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -205,7 +205,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "634e10a3-6b30-40c1-a94a-29bde6c0b7b5"
+ "x-ms-client-request-id" : "19559574-2b04-41a6-af60-fca94af0fe5c"
},
"Response" : {
"content-length" : "1611",
@@ -214,9 +214,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:51 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "2d77b0f5-b745-45cc-a266-0eb29559f321",
+ "X-Ms-Correlation-Request-Id" : "d018d3af-56b5-40cf-a367-01e0aac87871",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"imageSize\":5325,\"createdTime\":\"2021-05-17T22:28:14.7976969Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7976969Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"architecture\":\"mips64le\",\"os\":\"linux\"},{\"digest\":\"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\",\"architecture\":\"s390x\",\"os\":\"linux\"},{\"digest\":\"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1\",\"architecture\":\"amd64\",\"os\":\"windows\"}]}}\n",
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.getPropertiesWithResponse[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.getPropertiesWithResponse[1].json
index 05cc61858ed4..6bce68caa20c 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.getPropertiesWithResponse[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.getPropertiesWithResponse[1].json
@@ -4,20 +4,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "4695d220-0abd-4ba6-908a-e809272363ba",
+ "x-ms-client-request-id" : "c76197d7-abae-4c64-8c0d-a189e19096f1",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "8ed3e737-7ce1-411c-9b84-b2b64867cfdc",
+ "X-Ms-Correlation-Request-Id" : "634e9546-b526-4f41-b5a5-85b7bb02fa24",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.45",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.983333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:11 GMT",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -26,20 +26,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "dd7f6714-fd17-46b1-9b6a-b33c3b80bb71",
+ "x-ms-client-request-id" : "9b126f14-bd09-43af-bbbb-0a841d1071c4",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "6d7e62d5-00dc-4602-9f8d-202e15bbaa8c",
+ "X-Ms-Correlation-Request-Id" : "69600ef9-7683-48d8-83df-528345edcabc",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.6",
+ "x-ms-ratelimit-remaining-calls-per-second" : "166.616667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:11 GMT",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -48,7 +48,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "47bae558-2118-41b6-8ef8-c9ecc536bcd6"
+ "x-ms-client-request-id" : "99c6416e-3dc8-4f20-864c-746e816bdcae"
},
"Response" : {
"content-length" : "339",
@@ -57,9 +57,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "b18042a1-3011-4beb-9e48-e86082d4813f",
+ "X-Ms-Correlation-Request-Id" : "f5ce06af-1f7b-452a-8577-ee37fef2bbff",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"createdTime\":\"2021-05-11T23:47:44.9315937Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.4432439Z\",\"manifestCount\":12,\"tagCount\":5,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"teleportEnabled\":false}}\n",
@@ -71,20 +71,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e4cb7489-f7fe-421e-bafb-01737ad37078",
+ "x-ms-client-request-id" : "cecfeaca-ebf3-457c-a468-2ff207069935",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "ca635cb5-c039-4636-9973-cd8f5f207f38",
+ "X-Ms-Correlation-Request-Id" : "889ace34-6077-458f-8368-04396b7e7aac",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.6",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.266667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -93,7 +93,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f93c7f40-d67c-4e90-ba22-db37dcd5a257"
+ "x-ms-client-request-id" : "c1bec540-7e85-4cb3-8f9c-8105c156717c"
},
"Response" : {
"content-length" : "339",
@@ -102,9 +102,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "5dc118e5-6560-430f-9998-c208aafb6475",
+ "X-Ms-Correlation-Request-Id" : "68352bf8-d072-4cb5-8d46-71133f5d8854",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"createdTime\":\"2021-05-11T23:47:44.9315937Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.4432439Z\",\"manifestCount\":12,\"tagCount\":5,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"teleportEnabled\":false}}\n",
@@ -116,20 +116,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f72af339-dbe8-4b0c-9c7c-70fc52ca3ee2",
+ "x-ms-client-request-id" : "7e9b92dd-c605-4fde-a55f-87dd8d1465cc",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "7260b8c4-0685-4d32-b5fe-cb136869e918",
+ "X-Ms-Correlation-Request-Id" : "ee572ace-bc98-4c80-bd9a-f5cd14a67353",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.566667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.25",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -138,20 +138,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "697ec23a-c68a-410e-86c7-ab9147dba2ee",
+ "x-ms-client-request-id" : "4bee6720-a938-4ef0-b846-c016554acd42",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "11c154e5-c5cd-424a-afa6-ae13d809c677",
+ "X-Ms-Correlation-Request-Id" : "79e0615d-4c05-44c0-8c1b-69c739cc81d4",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.533333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.2",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -160,7 +160,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "621c7a63-7043-4071-97e6-f102b33717cc"
+ "x-ms-client-request-id" : "016d633d-7fb4-41b7-8220-a5b295db3d79"
},
"Response" : {
"content-length" : "339",
@@ -169,9 +169,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "41f03d59-f7dc-4dd8-99b2-84be833e0255",
+ "X-Ms-Correlation-Request-Id" : "73665a64-ef12-4e8b-a06a-1a68b0d26905",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"createdTime\":\"2021-05-11T23:47:44.9315937Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.4432439Z\",\"manifestCount\":12,\"tagCount\":5,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"teleportEnabled\":false}}\n",
@@ -183,20 +183,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7c9c14fb-1571-4bde-a376-7802f961279c",
+ "x-ms-client-request-id" : "af49b32c-7a5e-434f-b95a-5da3091f5b02",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "26163cee-482c-407f-8d69-cc79c6012bbd",
+ "X-Ms-Correlation-Request-Id" : "7818c0d4-ac4c-430f-adb1-fb4f59f49128",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.55",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.65",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -205,7 +205,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "5415cb83-e586-4fed-a4bd-20d17e3274b8"
+ "x-ms-client-request-id" : "9c5a0682-4ebb-4e31-b664-9d29c5bb2594"
},
"Response" : {
"content-length" : "339",
@@ -214,9 +214,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "b18f9541-1013-4fa3-a4c4-b5463e3b3c6e",
+ "X-Ms-Correlation-Request-Id" : "a50a2250-34ce-4395-a6e2-1f1f00d765d8",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"createdTime\":\"2021-05-11T23:47:44.9315937Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.4432439Z\",\"manifestCount\":12,\"tagCount\":5,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"teleportEnabled\":false}}\n",
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.getUnknownRepositoryPropertiesWithResponse[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.getUnknownRepositoryPropertiesWithResponse[1].json
index f41e64e753dc..b95117a02ade 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.getUnknownRepositoryPropertiesWithResponse[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.getUnknownRepositoryPropertiesWithResponse[1].json
@@ -4,20 +4,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "db0a22ef-dd1a-42fc-b548-19ba888d8ab1",
+ "x-ms-client-request-id" : "58548c92-a51a-4bd9-9244-df65b4732b1e",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "f4f09470-e997-49bb-b0f4-e2c041124f68",
+ "X-Ms-Correlation-Request-Id" : "f9bd604c-3ec0-4c50-9485-9a3942e03a31",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.483333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.666667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:49 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -26,20 +26,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "3d161ad0-f03c-421b-879d-e3be5f5f2007",
+ "x-ms-client-request-id" : "3c786234-7ba6-454e-91aa-7a5ad6db14cf",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "47a96cdd-cb28-4489-a4ec-54d51b2596e7",
+ "X-Ms-Correlation-Request-Id" : "6e01a24b-d616-474d-89f5-f62fefb14fed",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.4",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.083333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:49 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -48,7 +48,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/unknowntag",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "0cdfad86-f2ab-4a14-83c6-5a9304b1c52b"
+ "x-ms-client-request-id" : "19174aec-c297-43d5-9602-d95db6985c2c"
},
"Response" : {
"content-length" : "88",
@@ -57,9 +57,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "404",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:49 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "a74a90e2-cf77-425e-9b7f-76daa731cd22",
+ "X-Ms-Correlation-Request-Id" : "3acd1d8a-c2ed-45be-adf7-2b8c37ddc3b2",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"errors\":[{\"code\":\"NAME_UNKNOWN\",\"message\":\"repository \\\"unknowntag\\\" is not found\"}]}\n",
@@ -71,20 +71,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "69afc80b-55ea-4bcb-8610-4b654f59f087",
+ "x-ms-client-request-id" : "082f7160-be4a-4ddc-928a-70e1531098d6",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "28620086-2510-4e76-86a1-a471d2da31c5",
+ "X-Ms-Correlation-Request-Id" : "eae46c56-8199-4015-8a6e-12dfa5019898",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.233333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "161.883333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:49 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -93,7 +93,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/unknowntag",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "596b3fca-fb88-46bb-9cd9-8be4cdf9c70d"
+ "x-ms-client-request-id" : "2fee9ba9-755f-4d9d-b598-52aff1bed3e1"
},
"Response" : {
"content-length" : "88",
@@ -102,9 +102,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "404",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:49 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "1586a5c0-7726-4044-b236-4cd26bba76eb",
+ "X-Ms-Correlation-Request-Id" : "16c84af6-1e72-4eb1-afd1-65cbd5d604fe",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"errors\":[{\"code\":\"NAME_UNKNOWN\",\"message\":\"repository \\\"unknowntag\\\" is not found\"}]}\n",
@@ -116,20 +116,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f2144b61-f88e-4a6f-adce-086aa9537b00",
+ "x-ms-client-request-id" : "05a24008-4ac3-4ef3-baa1-c4f65c0c7e7e",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "632da65f-9b68-444c-ad1d-981a7cea1910",
+ "X-Ms-Correlation-Request-Id" : "229c7e58-1aba-4d38-b757-35e7e1d0e513",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.466667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.1",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:50 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -138,20 +138,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "8ab4a906-bfdb-412d-be14-30e681cbaa5c",
+ "x-ms-client-request-id" : "ba3ef81c-d343-447a-ab4b-38f3d6e773ec",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "90e18846-df8b-4792-950b-2a67c2e049d6",
+ "X-Ms-Correlation-Request-Id" : "a957c169-5537-44ca-922c-ed4cb671e86a",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.366667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.633333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:50 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -160,7 +160,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/unknowntag",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d0f25daa-2017-452a-89ba-e4119fcf4467"
+ "x-ms-client-request-id" : "cd2b4238-1513-4549-b06f-f136de58731c"
},
"Response" : {
"content-length" : "88",
@@ -169,43 +169,21 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "404",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:50 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "90399444-e5ad-4a0a-a93c-b826d919af41",
+ "X-Ms-Correlation-Request-Id" : "b7230515-369a-46d9-9b30-97f1fab5a3df",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"errors\":[{\"code\":\"NAME_UNKNOWN\",\"message\":\"repository \\\"unknowntag\\\" is not found\"}]}\n",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
- }, {
- "Method" : "POST",
- "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
- "Headers" : {
- "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "ec121230-af1b-4746-9c60-fb09c4166f87",
- "Content-Type" : "application/x-www-form-urlencoded"
- },
- "Response" : {
- "Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "c8e8cb36-b827-4d3a-bfd4-7c053c7794a5",
- "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
- "Server" : "openresty",
- "Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.45",
- "retry-after" : "0",
- "StatusCode" : "200",
- "Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
- "Content-Type" : "application/json; charset=utf-8"
- },
- "Exception" : null
}, {
"Method" : "GET",
"Uri" : "https://REDACTED.azurecr.io/acr/v1/unknowntag",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "2ff4b8d1-668f-42dd-b09a-ab574674174b"
+ "x-ms-client-request-id" : "ee9583c6-4c23-420d-a098-ea1f56c61b48"
},
"Response" : {
"content-length" : "88",
@@ -214,9 +192,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "404",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:50 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "da454dc9-7223-4fb3-8e59-ea9d86e75eae",
+ "X-Ms-Correlation-Request-Id" : "3acd1d8a-c2ed-45be-adf7-2b8c37ddc3b2",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"errors\":[{\"code\":\"NAME_UNKNOWN\",\"message\":\"repository \\\"unknowntag\\\" is not found\"}]}\n",
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.listArtifactsWithPageSizeAndOrderBy[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.listArtifactsWithPageSizeAndOrderBy[1].json
index 89f016ca05be..bdb0e1f210b7 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.listArtifactsWithPageSizeAndOrderBy[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.listArtifactsWithPageSizeAndOrderBy[1].json
@@ -4,20 +4,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "32dc639a-1cf1-4ad9-9ef1-646196214487",
+ "x-ms-client-request-id" : "55a27701-6834-49e9-8b2f-7898be510afe",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "4189d0be-f3a3-459f-96fd-6923797988d4",
+ "X-Ms-Correlation-Request-Id" : "47b86922-4f5d-4945-953b-87d2230b7470",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.916667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.583333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:59 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -26,20 +26,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "fbe743bd-919b-4560-bb60-e59145001c98",
+ "x-ms-client-request-id" : "3afb6316-d933-4660-9d14-74ecec79bbc1",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "8d2427f4-3abd-44bf-882b-a50cb183f11c",
+ "X-Ms-Correlation-Request-Id" : "8046d8b5-5b01-4aa0-b855-76cbf9aacf87",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.083333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.1",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:59 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -48,7 +48,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?n=2&orderby=timeasc",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "3d57e6f8-375e-4de1-963e-f15bf497a963"
+ "x-ms-client-request-id" : "37c7e78c-ebad-4070-9f25-61992884f1a2"
},
"Response" : {
"content-length" : "924",
@@ -57,9 +57,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:59 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "82e8d399-c3b4-455b-bc0e-a2f5e2fa8f33",
+ "X-Ms-Correlation-Request-Id" : "50364ee2-d807-4870-93d1-26cf690db2ad",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519\",\"imageSize\":5325,\"createdTime\":\"2021-05-11T23:47:45.0311086Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.0311086Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:45.6813875Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.6813875Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -72,20 +72,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "71d673f6-41b2-4dbb-81bd-07022d6483cf",
+ "x-ms-client-request-id" : "549546a3-d474-4dd0-bbfd-560f575b8fae",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "f9e5fe7b-e0f4-4eca-94b6-e7264dd5a67b",
+ "X-Ms-Correlation-Request-Id" : "90abdf4c-b81d-4653-bce0-3d29a3b60cce",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.7",
+ "x-ms-ratelimit-remaining-calls-per-second" : "161.933333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:59 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -94,7 +94,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=637563736656813875%26sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9&n=2&orderby=timeasc",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "6ef8352c-e095-4b97-8a1b-63a96119bc1b"
+ "x-ms-client-request-id" : "c596890d-2db3-4e0f-bf38-51b2f2c9e419"
},
"Response" : {
"content-length" : "954",
@@ -103,9 +103,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:59 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "1826223a-2ec6-4b3e-8d5f-e51d09cc5fc8",
+ "X-Ms-Correlation-Request-Id" : "46860d01-a727-48f1-b517-d21a534dbc77",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:45.987848Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.987848Z\",\"architecture\":\"amd64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.0395297Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.0395297Z\",\"architecture\":\"arm64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -118,20 +118,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "4d439663-67f2-463e-907f-3150d4661a28",
+ "x-ms-client-request-id" : "b1ef1a80-aca5-41ca-84f9-c416a6608d05",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "33cee9e6-3221-4202-87b2-381a49a78c1a",
+ "X-Ms-Correlation-Request-Id" : "2981253d-3842-421e-9b03-df39ff291702",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.383333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.216667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:59 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -140,7 +140,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=637563736660395297%26sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343&n=2&orderby=timeasc",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1deeade1-43fb-48c2-bd40-4a422b5029c0"
+ "x-ms-client-request-id" : "73dc4b6f-c3eb-41d4-beea-26f1eb984e55"
},
"Response" : {
"content-length" : "948",
@@ -149,9 +149,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:59 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "20d0737d-f73c-4b51-8c1a-3d38fc239bd6",
+ "X-Ms-Correlation-Request-Id" : "21e084f4-62a2-412e-b162-83465d6ed59b",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.20562Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.20562Z\",\"architecture\":\"386\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.2891598Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.2891598Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -164,20 +164,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1ecc903e-735a-4eba-8258-01e62e85ea42",
+ "x-ms-client-request-id" : "5b1e8dc4-fb2e-4576-b063-cba231ce8f00",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "8ab238aa-07fd-409c-95d7-f49728ea9b3b",
+ "X-Ms-Correlation-Request-Id" : "a08c35c9-c52f-48ab-b358-097f6e527d36",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.883333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.916667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:59 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -186,7 +186,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=637563736662891598%26sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1&n=2&orderby=timeasc",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "5a9f865a-541b-4dec-8039-dc73e245003f"
+ "x-ms-client-request-id" : "36dae92f-7b0a-4c4b-8b3d-8136c3b917e7"
},
"Response" : {
"content-length" : "959",
@@ -195,9 +195,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:59 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "d7e711ca-9613-41b5-ae14-8f28d68ab9ec",
+ "X-Ms-Correlation-Request-Id" : "c2eb6a9e-3acb-45e4-9e0e-fc3ac0cacaa9",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.5202078Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.5202078Z\",\"architecture\":\"mips64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.5811927Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.5811927Z\",\"architecture\":\"s390x\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -210,20 +210,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "3f2ce123-a96f-42db-b0c8-8360c9da408e",
+ "x-ms-client-request-id" : "85075c57-778a-48a9-b6d8-add7c1ac0c1d",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "c305e252-2090-4dd2-b3e3-f385cc515266",
+ "X-Ms-Correlation-Request-Id" : "787c1763-a760-4b17-b75a-8379ed162e79",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.266667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.8",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:59 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -232,7 +232,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=637563736665811927%26sha256%3Ae49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf&n=2&orderby=timeasc",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f6c06b56-9498-4448-a534-791c605ae028"
+ "x-ms-client-request-id" : "1eddd5a6-c9f8-4945-a1f6-a30d918c688e"
},
"Response" : {
"content-length" : "961",
@@ -241,9 +241,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:59 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "b7756f0e-a941-4629-a1da-cd55f42bc18d",
+ "X-Ms-Correlation-Request-Id" : "882e6625-3927-43d0-839d-9c3ca217e2a9",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\",\"imageSize\":1125,\"createdTime\":\"2021-05-11T23:47:47.7915157Z\",\"lastUpdateTime\":\"2021-05-11T23:47:47.7915157Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:48.0163617Z\",\"lastUpdateTime\":\"2021-05-11T23:47:48.0163617Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -256,20 +256,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1afc762d-61c5-4359-9dd7-84ea6841c260",
+ "x-ms-client-request-id" : "827cc463-7fe0-4465-a985-82e5d3222d4b",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "c3c204e8-e02e-48e1-94a8-a202043e9a3a",
+ "X-Ms-Correlation-Request-Id" : "acfcd6e6-afbb-442e-a76d-d1a3168f8e15",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.85",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.183333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:59 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -278,7 +278,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=637563736680163617%26sha256%3Abb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d&n=2&orderby=timeasc",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e5b03449-86ad-4d92-adea-eb91e3b68573"
+ "x-ms-client-request-id" : "0339f7e4-190a-497e-b620-c1a15268bff0"
},
"Response" : {
"content-length" : "940",
@@ -287,9 +287,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:59 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "fb531e51-9b84-46fb-ba96-fd417da2edb1",
+ "X-Ms-Correlation-Request-Id" : "baa523a4-b6da-4f16-918b-809e9f66bc26",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"imageSize\":5325,\"createdTime\":\"2021-05-17T22:28:14.7976969Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7976969Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1\",\"imageSize\":1125,\"createdTime\":\"2021-05-17T22:28:15.2899657Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.2899657Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -301,20 +301,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "8e91c8f6-a71a-49f2-8ecb-c6dc42fca34d",
+ "x-ms-client-request-id" : "16c70017-799e-4edc-939d-073b46826d62",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "6cbde385-f603-411a-a085-6f6315e5a01c",
+ "X-Ms-Correlation-Request-Id" : "ad4f41cd-73c1-4183-9053-4f29f29d8d78",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.216667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "159.85",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:00 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -323,20 +323,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "37950a5b-e922-40a4-bdda-69f97d1afddc",
+ "x-ms-client-request-id" : "9f8f85c8-bfd3-4983-92ff-22735fa6b42e",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "623c0dd5-0c01-4328-aaf2-8276174a890e",
+ "X-Ms-Correlation-Request-Id" : "46f2bbf6-6ce5-4fd4-8859-b64b0623a790",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.966667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.15",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:00 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -345,7 +345,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?n=2&orderby=timeasc",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1b038c9a-0766-4e8a-95da-5b3c5dbb8f2b"
+ "x-ms-client-request-id" : "d5796e63-4849-48a7-901c-4fadf1e8f59b"
},
"Response" : {
"content-length" : "924",
@@ -354,9 +354,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:33:00 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "955004df-d09d-4e88-8f66-938323e5529f",
+ "X-Ms-Correlation-Request-Id" : "f4f0349e-7e04-41ca-a868-0404cb8b38f5",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519\",\"imageSize\":5325,\"createdTime\":\"2021-05-11T23:47:45.0311086Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.0311086Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:45.6813875Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.6813875Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -369,20 +369,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "2e95c20e-ec61-4273-bcb8-954e39786058",
+ "x-ms-client-request-id" : "0caa0303-0fc5-45e5-a609-9c17155e24fa",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "8c5aff6d-cc84-4990-97ab-420c3e17a06d",
+ "X-Ms-Correlation-Request-Id" : "8abf8574-e1dc-48a7-8e84-f8c9090651a5",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.483333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.6",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:00 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -391,7 +391,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=637563736656813875%26sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9&n=2&orderby=timeasc",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1307434d-2a7e-4ef1-ae96-b0a1c4f63a9f"
+ "x-ms-client-request-id" : "e1c11b45-a924-4453-8db7-abc2dbbd3f00"
},
"Response" : {
"content-length" : "954",
@@ -400,9 +400,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:33:00 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "369d2c5b-881b-40e8-8736-7d0ead2f6c03",
+ "X-Ms-Correlation-Request-Id" : "14a49b9a-1b0a-4f9e-af96-d3a38e448579",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:45.987848Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.987848Z\",\"architecture\":\"amd64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.0395297Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.0395297Z\",\"architecture\":\"arm64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -415,20 +415,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "2a607d44-9a3f-4a44-8c21-98377f2ea56a",
+ "x-ms-client-request-id" : "b8868a38-2ebe-40bd-b7f6-7075086dac1c",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "48d7c502-d12c-4270-9b3a-933dbf663461",
+ "X-Ms-Correlation-Request-Id" : "c29196ed-0776-4288-b39e-bdf19f5a6795",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.316667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.133333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:00 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -437,7 +437,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=637563736660395297%26sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343&n=2&orderby=timeasc",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "93a57d96-7255-43aa-a47a-37907e672cc8"
+ "x-ms-client-request-id" : "13079245-051f-4015-a4dd-50cac498d2a4"
},
"Response" : {
"content-length" : "948",
@@ -446,9 +446,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:33:00 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "ddf50a6f-8b77-42b4-a86e-3fab0aaa72b0",
+ "X-Ms-Correlation-Request-Id" : "0db8d144-a2b6-49c1-b644-a5817cea823c",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.20562Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.20562Z\",\"architecture\":\"386\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.2891598Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.2891598Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -461,20 +461,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "63026906-049c-4d33-8fd5-e167548facd2",
+ "x-ms-client-request-id" : "f72f7aa5-5ff2-4c97-b6f2-dfde199f7ccc",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "716313aa-5160-4ac8-8786-133aa750f9dc",
+ "X-Ms-Correlation-Request-Id" : "f2f62cf9-1ba6-419e-b855-8e0a68220f6b",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.3",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.15",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:00 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -483,7 +483,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=637563736662891598%26sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1&n=2&orderby=timeasc",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a3723126-5d2f-48e7-9944-3e59473d07ff"
+ "x-ms-client-request-id" : "285354da-6d31-40cd-acad-4b68ff56a2d8"
},
"Response" : {
"content-length" : "959",
@@ -492,9 +492,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:33:00 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "efc461cd-18e0-44b8-979d-b1442b121f41",
+ "X-Ms-Correlation-Request-Id" : "03ce9e13-05b4-4f48-9864-021dfe4165f0",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.5202078Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.5202078Z\",\"architecture\":\"mips64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.5811927Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.5811927Z\",\"architecture\":\"s390x\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -507,20 +507,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "48811664-6585-46b2-ad3b-bea318a0c48e",
+ "x-ms-client-request-id" : "085d4082-1cbf-4a57-b56c-dc8f5c3cd310",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "800e0c18-7846-41bb-abd3-366d722a9d20",
+ "X-Ms-Correlation-Request-Id" : "21d29739-b087-45c3-8957-4c2b9d2f5744",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.45",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.35",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:00 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -529,7 +529,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=637563736665811927%26sha256%3Ae49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf&n=2&orderby=timeasc",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "b6d5ca4a-c22c-4b44-bc5b-69832ba4e56c"
+ "x-ms-client-request-id" : "a09ee1b9-53d3-451b-bad4-8a1f76b5027d"
},
"Response" : {
"content-length" : "961",
@@ -538,9 +538,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:33:00 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "bdfcb573-9ea3-48e0-b27b-41222b096673",
+ "X-Ms-Correlation-Request-Id" : "621b4ff8-6e0c-41eb-9835-7f75ca6fa866",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\",\"imageSize\":1125,\"createdTime\":\"2021-05-11T23:47:47.7915157Z\",\"lastUpdateTime\":\"2021-05-11T23:47:47.7915157Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:48.0163617Z\",\"lastUpdateTime\":\"2021-05-11T23:47:48.0163617Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -553,20 +553,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f26a16ff-80a6-49fd-b963-032784d6f021",
+ "x-ms-client-request-id" : "c9ca49a6-4496-4d7e-8746-e6ded4b6fa92",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "0c92edc9-2653-4a7a-b0e1-6ce7ca1ffb10",
+ "X-Ms-Correlation-Request-Id" : "096004d6-ad39-4127-a526-3bc6d8c32608",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.633333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.733333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:00 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -575,7 +575,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=637563736680163617%26sha256%3Abb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d&n=2&orderby=timeasc",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "faedb6c1-2783-4160-91af-8aa63bc94196"
+ "x-ms-client-request-id" : "29c2f48a-74f8-4e5f-90d0-f5979b95628e"
},
"Response" : {
"content-length" : "940",
@@ -584,9 +584,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:33:00 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "048989a8-7ebe-4e39-bfa4-03c69d50faac",
+ "X-Ms-Correlation-Request-Id" : "fe0e2a44-61ec-42dd-8343-e321688dd921",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"imageSize\":5325,\"createdTime\":\"2021-05-17T22:28:14.7976969Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7976969Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1\",\"imageSize\":1125,\"createdTime\":\"2021-05-17T22:28:15.2899657Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.2899657Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -598,20 +598,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1560be8d-42d2-4218-83d4-35ddbac409fc",
+ "x-ms-client-request-id" : "7a50d14b-e4d0-4ee8-a0fb-6d5e63b9c795",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "4726cc5a-4a63-48f4-8995-048c7de207f9",
+ "X-Ms-Correlation-Request-Id" : "e9944ce7-8447-434a-9347-16a73833093f",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.933333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "159.583333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:00 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -620,7 +620,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?n=2&orderby=timeasc",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "fd8d202d-9ce0-4df0-8b93-30d12437ac0f"
+ "x-ms-client-request-id" : "12d8d4c5-1cb4-46eb-9682-aad2d26f6326"
},
"Response" : {
"content-length" : "924",
@@ -629,9 +629,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:33:00 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "a5ab8f7e-8deb-479f-9cce-d671d8cbee78",
+ "X-Ms-Correlation-Request-Id" : "d3039d78-17b6-45f4-bd36-9227247ac064",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519\",\"imageSize\":5325,\"createdTime\":\"2021-05-11T23:47:45.0311086Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.0311086Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:45.6813875Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.6813875Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -644,20 +644,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "67f5fa8e-5dcf-496b-87a1-61c418c1bd63",
+ "x-ms-client-request-id" : "64762bf9-8acc-48cf-9935-f5c0ea4f5418",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "99bad91d-3768-4319-b26d-82fb2011c302",
+ "X-Ms-Correlation-Request-Id" : "21d956ea-4f78-4c30-bed8-96d4c96c0c4b",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.1",
+ "x-ms-ratelimit-remaining-calls-per-second" : "159.833333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:01 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -666,7 +666,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=637563736656813875%26sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9&n=2&orderby=timeasc",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "46f23241-4c55-4dbb-88d8-b2b034e03999"
+ "x-ms-client-request-id" : "2e63f434-e450-4999-87cc-557dabbd5743"
},
"Response" : {
"content-length" : "954",
@@ -675,9 +675,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:33:01 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "7decc94e-dbbb-45fa-80f1-6a4885539143",
+ "X-Ms-Correlation-Request-Id" : "cd243642-6d60-4027-b443-daa5b3929bf7",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:45.987848Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.987848Z\",\"architecture\":\"amd64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.0395297Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.0395297Z\",\"architecture\":\"arm64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -690,20 +690,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f7076a8e-25cb-4ea9-94dd-6cce9470ff5d",
+ "x-ms-client-request-id" : "cf704324-a810-48eb-9d22-565f2ebfa466",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "d7c3ebc9-77a2-4f90-957c-4de4d72509e3",
+ "X-Ms-Correlation-Request-Id" : "d7766b69-108d-451e-8206-61a0567740f8",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.416667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.333333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:01 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:46 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -712,7 +712,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=637563736660395297%26sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343&n=2&orderby=timeasc",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "ded38b53-ca05-4740-b29c-653944f6cfa0"
+ "x-ms-client-request-id" : "36c56ea0-db36-4a61-89b3-8761bcf2d8cd"
},
"Response" : {
"content-length" : "948",
@@ -721,9 +721,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:33:01 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:47 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "adbb5e08-b468-4cb9-90f6-f2ad3e4d1fef",
+ "X-Ms-Correlation-Request-Id" : "c4fb13fb-3e6f-422c-96ea-df67ea516fc0",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.20562Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.20562Z\",\"architecture\":\"386\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.2891598Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.2891598Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -736,20 +736,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "906ef3fd-c80c-41ec-ac01-028d9a9e3a38",
+ "x-ms-client-request-id" : "071d82c4-4eb5-4df2-b4b1-b53cb889373d",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "645b07e1-50c6-4d40-b9bc-2427a1515b25",
+ "X-Ms-Correlation-Request-Id" : "799a3e99-3d64-42c1-852c-a30f1a845f35",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.533333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.7",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:01 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:47 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -758,7 +758,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=637563736662891598%26sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1&n=2&orderby=timeasc",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "cf173d53-1280-4f3e-8d8b-9603522cdfa0"
+ "x-ms-client-request-id" : "8ef21355-8dec-42bd-adc1-df6b42c49ce4"
},
"Response" : {
"content-length" : "959",
@@ -767,9 +767,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:33:01 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:47 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "37e342cb-b0b3-4c9a-b28b-5da59b62c3c9",
+ "X-Ms-Correlation-Request-Id" : "7f6a06db-1d24-429e-b5c4-773b15319cd2",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.5202078Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.5202078Z\",\"architecture\":\"mips64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.5811927Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.5811927Z\",\"architecture\":\"s390x\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -782,20 +782,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d8ee9c62-c8f2-4ce4-bb14-b0b90a105856",
+ "x-ms-client-request-id" : "7027e5be-765a-48c7-80e1-976f132849ff",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "c1bfb185-732c-4032-95e3-526ba914b243",
+ "X-Ms-Correlation-Request-Id" : "15e077d4-d091-447e-87cf-046967e7af74",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.4",
+ "x-ms-ratelimit-remaining-calls-per-second" : "159.816667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:01 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:47 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -804,7 +804,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=637563736665811927%26sha256%3Ae49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf&n=2&orderby=timeasc",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "bbcb0670-b03d-4378-8d37-b323ac381348"
+ "x-ms-client-request-id" : "6ed684ad-a2a6-4bca-970f-8b3be048fb35"
},
"Response" : {
"content-length" : "961",
@@ -813,9 +813,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:33:01 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:47 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "df257457-3825-40d7-ad2e-cabaa5084bf8",
+ "X-Ms-Correlation-Request-Id" : "e9f290e1-f816-4d0e-a187-4b6637208919",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\",\"imageSize\":1125,\"createdTime\":\"2021-05-11T23:47:47.7915157Z\",\"lastUpdateTime\":\"2021-05-11T23:47:47.7915157Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:48.0163617Z\",\"lastUpdateTime\":\"2021-05-11T23:47:48.0163617Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -828,20 +828,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "83c9aa59-371a-415c-a990-6cb6849e051c",
+ "x-ms-client-request-id" : "92dfc954-68b9-431b-a903-3806d13aa4a7",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "e6f62bcd-3b5e-423a-9fd1-cafee9aa8849",
+ "X-Ms-Correlation-Request-Id" : "abaf1c6e-1b11-46a7-ba08-d6af6065de46",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.283333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.316667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:01 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:47 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -850,7 +850,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=637563736680163617%26sha256%3Abb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d&n=2&orderby=timeasc",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "5c4ff937-0de2-4ea4-a636-8aa5ab403b59"
+ "x-ms-client-request-id" : "0c97dd19-ad7b-4301-ae88-6944b9080089"
},
"Response" : {
"content-length" : "940",
@@ -859,9 +859,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:33:01 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:47 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "95a091b1-a3c3-49d0-a895-bc02a2744d94",
+ "X-Ms-Correlation-Request-Id" : "2279a9e7-59d5-4047-8908-9bcfdd5f73da",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"imageSize\":5325,\"createdTime\":\"2021-05-17T22:28:14.7976969Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7976969Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1\",\"imageSize\":1125,\"createdTime\":\"2021-05-17T22:28:15.2899657Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.2899657Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.listArtifactsWithPageSizeNoOrderBy[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.listArtifactsWithPageSizeNoOrderBy[1].json
index 706dc20bfd0b..dfa19958133c 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.listArtifactsWithPageSizeNoOrderBy[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.listArtifactsWithPageSizeNoOrderBy[1].json
@@ -4,20 +4,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "0ddb1fe9-85d2-49f0-977e-ad7a67815c76",
+ "x-ms-client-request-id" : "3c18b023-db3f-43dc-8205-678774ed6c10",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "2a3baa65-edc5-41b0-9878-8ae74ed5c465",
+ "X-Ms-Correlation-Request-Id" : "55fea799-21a0-4866-bcb0-c51842036b6b",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.233333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.4",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:37 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:31 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -26,20 +26,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "02755ac1-dd71-46c6-ba6f-9184e52fc357",
+ "x-ms-client-request-id" : "ed362b00-58ec-4535-b022-57c136e5b3e1",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "51a47e92-71aa-42d2-8f08-840e8eb688b0",
+ "X-Ms-Correlation-Request-Id" : "0a709f0e-c058-489c-8215-af4fd39b2ab5",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.883333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.466667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:37 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:31 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -48,7 +48,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?n=2",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "12ce84ed-7228-4009-9177-06f94d25a88b"
+ "x-ms-client-request-id" : "1eaf933b-f8b6-4719-9429-e829916379ae"
},
"Response" : {
"content-length" : "952",
@@ -57,9 +57,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:37 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:31 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "8b03f300-add4-4490-ae07-649e40e10762",
+ "X-Ms-Correlation-Request-Id" : "3278009f-d580-4683-8375-892227e2eb1e",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:45.987848Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.987848Z\",\"architecture\":\"amd64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.2891598Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.2891598Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -72,20 +72,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "5bfd7ed8-284b-4997-9a56-5570f4b2d702",
+ "x-ms-client-request-id" : "27b794e4-9324-4976-b341-fca9b587f291",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "2ba127e6-2668-4272-9921-2bdb5742f43b",
+ "X-Ms-Correlation-Request-Id" : "2c400e25-7bf8-4cbc-8d1e-39bc2aee6af0",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.85",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.633333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:37 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:31 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -94,7 +94,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1&n=2&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "489b4254-2fb8-4b0b-a2a8-2cede0c1eb84"
+ "x-ms-client-request-id" : "9c5a58f5-0312-4e09-8584-d213b7ebef4b"
},
"Response" : {
"content-length" : "940",
@@ -103,9 +103,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:37 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:32 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "25ce2629-8de0-49af-ad50-12f33e183925",
+ "X-Ms-Correlation-Request-Id" : "50b737e5-d40b-4ad4-b94b-6fc8802b04aa",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"imageSize\":5325,\"createdTime\":\"2021-05-17T22:28:14.7976969Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7976969Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1\",\"imageSize\":1125,\"createdTime\":\"2021-05-17T22:28:15.2899657Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.2899657Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -118,20 +118,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "fdc99f51-9c34-49cc-9bd2-adccfa17179c",
+ "x-ms-client-request-id" : "6aa07e3f-1b55-4036-978c-f2cf6dbffb90",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "4942d056-ddec-4ca9-97dc-a0a35190dfe9",
+ "X-Ms-Correlation-Request-Id" : "9682807c-0028-45d4-9dce-beb14857ff13",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.833333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.3",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:38 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:32 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -140,7 +140,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1&n=2&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "73f85351-3efe-4999-9cf6-bc230b4274e5"
+ "x-ms-client-request-id" : "ed9cbd3b-18dd-4153-811e-054907daaf32"
},
"Response" : {
"content-length" : "959",
@@ -149,9 +149,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:38 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:32 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "63454373-44b9-4dde-9425-dde8b4dd1097",
+ "X-Ms-Correlation-Request-Id" : "4ff221e4-cc2e-421c-8ffa-07a0e5d4a5fd",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.5202078Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.5202078Z\",\"architecture\":\"mips64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.0395297Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.0395297Z\",\"architecture\":\"arm64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -164,20 +164,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "da749a3c-0020-44b0-a5b4-80269dd3db4c",
+ "x-ms-client-request-id" : "95b9f2c7-92bd-4d18-b182-284768690d8d",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "b490ba40-3493-429d-b339-298d22b2d43b",
+ "X-Ms-Correlation-Request-Id" : "872bbce4-563e-40c0-b807-90d252c42307",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.816667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.95",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:38 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:32 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -186,7 +186,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343&n=2&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "b253bf07-d840-4ed5-8a7e-184b3b681dfe"
+ "x-ms-client-request-id" : "3e050c54-b968-4f73-bace-1329d171d27e"
},
"Response" : {
"content-length" : "952",
@@ -195,9 +195,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:38 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:32 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "63bce148-548d-4c01-bade-a9861ebaf288",
+ "X-Ms-Correlation-Request-Id" : "3bc44264-1892-4c53-bd53-a244d4f490b4",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:48.0163617Z\",\"lastUpdateTime\":\"2021-05-11T23:47:48.0163617Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.20562Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.20562Z\",\"architecture\":\"386\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -210,20 +210,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "bcf7891e-6c7b-45a6-a9ac-1784859bfcbe",
+ "x-ms-client-request-id" : "a6104149-161e-4c52-88f6-32b1f0fbcedf",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "bd81b83d-9824-46b5-b315-ac5623ca81c1",
+ "X-Ms-Correlation-Request-Id" : "ba2a7253-27ad-4fc7-b594-fdc91858cec7",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.283333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.616667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:38 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:32 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -232,7 +232,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98&n=2&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "716f6c59-5290-4ee9-a76d-de4524ae0a57"
+ "x-ms-client-request-id" : "8b5a6128-35c2-4dd0-83f3-a1e45c819410"
},
"Response" : {
"content-length" : "954",
@@ -241,9 +241,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:38 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:32 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "e50b0ee8-a4a5-4a66-a8b1-07527c3f23b8",
+ "X-Ms-Correlation-Request-Id" : "f3576886-4dfd-4660-b4d3-c33a1606d09a",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.5811927Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.5811927Z\",\"architecture\":\"s390x\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:45.6813875Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.6813875Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -256,20 +256,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "500b3b0f-177e-4345-aa4c-672307b78a45",
+ "x-ms-client-request-id" : "6dbd3136-1aac-49db-94cf-85f5ccbeac5f",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "5c405234-086b-4dae-b60a-e9e9f39d468b",
+ "X-Ms-Correlation-Request-Id" : "0c16f18d-b67c-472f-a3d5-f5d0753f992a",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.266667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.566667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:38 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:32 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -278,7 +278,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9&n=2&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "81fc0909-ce81-4b90-b2b4-fbb4b902022f"
+ "x-ms-client-request-id" : "9546ca6d-d1c2-44be-a85f-ef8a016dce30"
},
"Response" : {
"content-length" : "929",
@@ -287,9 +287,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:38 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:32 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "334ac909-1f61-46aa-8fc1-89615727eac7",
+ "X-Ms-Correlation-Request-Id" : "9d00a2e1-39f0-4232-bd36-13e35c49ca77",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\",\"imageSize\":1125,\"createdTime\":\"2021-05-11T23:47:47.7915157Z\",\"lastUpdateTime\":\"2021-05-11T23:47:47.7915157Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519\",\"imageSize\":5325,\"createdTime\":\"2021-05-11T23:47:45.0311086Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.0311086Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -301,20 +301,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "73bceced-ec68-40ec-b353-6adae665bcd6",
+ "x-ms-client-request-id" : "0f8d8dcb-1929-4651-9670-1f74b14a3e8a",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "4fcb7f03-db84-4251-ba70-338ab8c14836",
+ "X-Ms-Correlation-Request-Id" : "9dc1774a-b0fe-4cb1-84ff-02327ee2ec97",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.183333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.933333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:38 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:32 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -323,20 +323,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "9ce3d3c7-677e-498f-8151-3d11c1cdc4a3",
+ "x-ms-client-request-id" : "b115971a-2d1a-4882-a6c9-d6a59b7e7e33",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "ba5adf44-56bf-4260-88dc-1df2387c733c",
+ "X-Ms-Correlation-Request-Id" : "23533b11-b2fc-4819-b249-809718430ced",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.233333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.016667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:38 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:32 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -345,7 +345,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?n=2",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c9ed9aac-71bf-4cad-a41c-6fd92b40d13a"
+ "x-ms-client-request-id" : "f868e99c-6360-4f2f-a92e-a9c6ce13cdd2"
},
"Response" : {
"content-length" : "952",
@@ -354,9 +354,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:38 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:33 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "178d9ca2-ff0d-4e38-8cc1-9248bc379181",
+ "X-Ms-Correlation-Request-Id" : "6012b8b8-8dc9-472f-8745-e5ba8fda52fa",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:45.987848Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.987848Z\",\"architecture\":\"amd64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.2891598Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.2891598Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -369,20 +369,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a69982af-7902-4f1d-ba96-38b4d19045cc",
+ "x-ms-client-request-id" : "4600f9c5-2347-4f6d-885f-475a6623101c",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "3d41e6b6-c3c6-467b-acc7-ff626449e74f",
+ "X-Ms-Correlation-Request-Id" : "94d42e27-b255-41de-8541-f5219e4999cb",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.216667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.65",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:38 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:33 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -391,7 +391,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1&n=2&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e72a7de4-bee1-47a5-b872-b3b0a9370e47"
+ "x-ms-client-request-id" : "ae808c64-e439-4536-a6d3-5eb7d92da3f3"
},
"Response" : {
"content-length" : "940",
@@ -400,9 +400,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:38 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:33 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "6306affe-7edc-41eb-8802-148a01235bb2",
+ "X-Ms-Correlation-Request-Id" : "65c92c10-c37e-41d9-a497-2cc423abfac3",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"imageSize\":5325,\"createdTime\":\"2021-05-17T22:28:14.7976969Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7976969Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1\",\"imageSize\":1125,\"createdTime\":\"2021-05-17T22:28:15.2899657Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.2899657Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -415,20 +415,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "727b091c-bbe9-4dfa-82b4-d67475f31bb0",
+ "x-ms-client-request-id" : "c9722df4-691f-475d-83f6-d5dec6fa6c92",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "5ebd5843-77b5-4ad3-9ff9-c1287d933eaa",
+ "X-Ms-Correlation-Request-Id" : "62b742d4-4f4d-40d3-9c6f-5e7cf22decd6",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.2",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.983333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:38 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:33 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -437,7 +437,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1&n=2&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "788991e0-8874-454a-a89a-0004470c2122"
+ "x-ms-client-request-id" : "71cc699d-8ecb-418f-97b9-2b2e6a6dc225"
},
"Response" : {
"content-length" : "959",
@@ -446,9 +446,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:39 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:33 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "afca36ef-62ac-4905-ba6c-c4c8f6dc5502",
+ "X-Ms-Correlation-Request-Id" : "206bbea5-11e8-47f3-b9f3-ee53ad597473",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.5202078Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.5202078Z\",\"architecture\":\"mips64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.0395297Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.0395297Z\",\"architecture\":\"arm64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -461,20 +461,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d1a28ac7-f798-480a-b9bd-062dc0d6df18",
+ "x-ms-client-request-id" : "afe56382-aec1-4b6d-b590-e5217f3cb805",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "7aa81cad-b307-460c-bee4-b3d1c923a451",
+ "X-Ms-Correlation-Request-Id" : "415bb779-be43-41de-a5b8-048644b211ff",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.183333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.95",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:39 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:33 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -483,7 +483,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343&n=2&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "483b106f-9af2-40ed-9ffe-6d880e5e42a9"
+ "x-ms-client-request-id" : "eeb5975f-ccaa-4295-9c90-d9f20759e60f"
},
"Response" : {
"content-length" : "952",
@@ -492,9 +492,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:39 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:33 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "4061e66d-7ed5-4da4-a35f-47de6d2e99d6",
+ "X-Ms-Correlation-Request-Id" : "07f9d62c-478f-4700-bf00-9d5c637e400c",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:48.0163617Z\",\"lastUpdateTime\":\"2021-05-11T23:47:48.0163617Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.20562Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.20562Z\",\"architecture\":\"386\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -507,20 +507,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "8406b033-7ff4-4055-9d69-1e30e2d3985d",
+ "x-ms-client-request-id" : "989a464a-c3e4-4b98-8d2a-0763b87e33f7",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "20489fe9-de87-4f39-945a-2b566f7931cd",
+ "X-Ms-Correlation-Request-Id" : "b1fb963f-b6f0-4a96-a83e-af044cb90037",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.75",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.683333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:39 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:33 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -529,7 +529,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98&n=2&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "16c2ea94-6535-481b-907f-438f574923a3"
+ "x-ms-client-request-id" : "c62a1c1c-82ae-48e2-9512-4aed6d1d47b8"
},
"Response" : {
"content-length" : "954",
@@ -538,9 +538,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:39 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:33 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "e0f0e9b0-fa8a-4813-a99a-eb7d37b8ba68",
+ "X-Ms-Correlation-Request-Id" : "70a5f1e5-60ef-430f-bc0c-319bb902889c",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.5811927Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.5811927Z\",\"architecture\":\"s390x\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:45.6813875Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.6813875Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -553,20 +553,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a43b3aa7-05ec-4ca5-8874-04fecb14a74c",
+ "x-ms-client-request-id" : "5b332e99-cb74-4959-9ae0-b5660f1cfa32",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "2c6b89d1-73b5-47a8-91f3-55b2dde004dc",
+ "X-Ms-Correlation-Request-Id" : "61b65424-720d-4f45-a219-0874fa682c8c",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.733333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.9",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:39 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:33 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -575,7 +575,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9&n=2&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "61911cd8-cd17-4bad-af19-f99bffb9da98"
+ "x-ms-client-request-id" : "9a75bf78-7875-4872-876c-cc5034ff1c3d"
},
"Response" : {
"content-length" : "929",
@@ -584,9 +584,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:39 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:33 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "9ee9b8a2-07e7-4750-88c7-881302c6b220",
+ "X-Ms-Correlation-Request-Id" : "45faada1-efd6-47b4-9361-9a7285df973e",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\",\"imageSize\":1125,\"createdTime\":\"2021-05-11T23:47:47.7915157Z\",\"lastUpdateTime\":\"2021-05-11T23:47:47.7915157Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519\",\"imageSize\":5325,\"createdTime\":\"2021-05-11T23:47:45.0311086Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.0311086Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.listArtifactsWithPageSize[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.listArtifactsWithPageSize[1].json
index e6a5d915daab..c5c65a7de639 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.listArtifactsWithPageSize[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.listArtifactsWithPageSize[1].json
@@ -4,20 +4,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d5ba767b-78a0-461a-a7dd-a847e0ef561f",
+ "x-ms-client-request-id" : "2b9195d8-4a2b-4710-8437-a7ee9603231e",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "bbdc2cc1-bc46-4274-bf70-94c3b4dc8f4e",
+ "X-Ms-Correlation-Request-Id" : "a63577ee-bfb3-4e45-8444-879612433527",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.566667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.5",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:50 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:44 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -26,20 +26,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1691a27f-db01-486c-860b-fb26e395b860",
+ "x-ms-client-request-id" : "0a9b8cd6-557e-4f6c-950a-85755597b11e",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "f72b5f65-1c87-4bd7-91a2-2904555d9d6b",
+ "X-Ms-Correlation-Request-Id" : "e522c33c-6a83-4596-8434-c23a73d7e4b0",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.8",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.616667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:50 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:44 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -48,7 +48,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?n=2",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "19b72186-890d-4633-adb1-98a4dfd2e664"
+ "x-ms-client-request-id" : "5bffec23-64b8-48e3-b77a-465df29673ef"
},
"Response" : {
"content-length" : "952",
@@ -57,9 +57,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:50 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:44 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "9874523c-22d3-4e75-a8d3-9fd81663b9b9",
+ "X-Ms-Correlation-Request-Id" : "b7b9d2ea-ee81-4054-9d78-d495e2394dd6",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:45.987848Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.987848Z\",\"architecture\":\"amd64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.2891598Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.2891598Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -72,20 +72,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d8ffe328-ceb3-4264-bb3b-04e807e2243e",
+ "x-ms-client-request-id" : "0b7740f8-c256-495e-883a-9bc223789483",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "3f1f5ea1-e1f6-460f-9ad8-430f783bbe06",
+ "X-Ms-Correlation-Request-Id" : "53f482ee-ef9c-40ec-8b6a-1a4129f341d2",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.55",
+ "x-ms-ratelimit-remaining-calls-per-second" : "161.883333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:50 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:44 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -94,7 +94,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1&n=2&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "641925de-cc33-4dd5-80ee-7f293b3376f7"
+ "x-ms-client-request-id" : "cfa13f7d-9646-4feb-8fa9-a6d065845268"
},
"Response" : {
"content-length" : "940",
@@ -103,9 +103,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:50 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:44 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "7682ccc5-ed14-487a-80b1-1d399892f812",
+ "X-Ms-Correlation-Request-Id" : "b58b57c7-cb44-48c3-b825-f05a9baa2d9c",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"imageSize\":5325,\"createdTime\":\"2021-05-17T22:28:14.7976969Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7976969Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1\",\"imageSize\":1125,\"createdTime\":\"2021-05-17T22:28:15.2899657Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.2899657Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -118,20 +118,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c85e1848-01d1-450c-9f46-2182d6dd5744",
+ "x-ms-client-request-id" : "cbd2fa45-0ae8-4167-a173-2bc21e0627ba",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "7a907470-853e-41b2-885a-9970b7e3e7ab",
+ "X-Ms-Correlation-Request-Id" : "e22cd99f-66cf-4252-a80d-888e4a2d1ac1",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.55",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.766667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:50 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:44 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -140,7 +140,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1&n=2&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "595bdfc2-bd0b-47d5-969a-7622b40b1232"
+ "x-ms-client-request-id" : "8cd2cf5d-4355-4e9b-95cb-e2ebb7d78480"
},
"Response" : {
"content-length" : "959",
@@ -149,9 +149,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:50 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:44 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "c847b064-d673-49f2-9f85-d319cce7dfc7",
+ "X-Ms-Correlation-Request-Id" : "092df67b-7696-487b-8011-54ef448675cf",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.5202078Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.5202078Z\",\"architecture\":\"mips64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.0395297Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.0395297Z\",\"architecture\":\"arm64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -164,20 +164,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a9912712-90dc-4ab0-9154-4d2fa30353b5",
+ "x-ms-client-request-id" : "19bc445c-300a-4ad0-994f-60ecc012a1f6",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "20e69aca-52fd-44ec-ac64-fc7ad7fb6053",
+ "X-Ms-Correlation-Request-Id" : "6dc9a16d-6848-402b-bcde-e553c3e6d4b3",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.366667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.6",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:50 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:44 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -186,7 +186,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343&n=2&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "601d3754-a0b6-4be5-965e-cbefa970a209"
+ "x-ms-client-request-id" : "493db18b-547c-4b90-adbf-92cf46b5dd52"
},
"Response" : {
"content-length" : "952",
@@ -195,9 +195,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:51 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:44 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "743d6342-6967-42e4-96c9-e2f986ec9577",
+ "X-Ms-Correlation-Request-Id" : "e783bdd6-b7cd-4e8d-906f-1565897c7a28",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:48.0163617Z\",\"lastUpdateTime\":\"2021-05-11T23:47:48.0163617Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.20562Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.20562Z\",\"architecture\":\"386\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -210,20 +210,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "607a9040-ca80-4dc4-9802-46e95c8cfada",
+ "x-ms-client-request-id" : "461611ea-93c6-4b0d-9efa-867cc362fce2",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "a29786d9-65bf-488a-9449-73029e7b6d84",
+ "X-Ms-Correlation-Request-Id" : "c2fb1e99-a128-43b5-bb26-9a8b54192c73",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.783333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "161.866667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:51 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:44 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -232,7 +232,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98&n=2&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "aa5ac241-f743-4881-82d5-b841ffdc8067"
+ "x-ms-client-request-id" : "4f618bf8-2391-4e14-8200-8be4fd4fad5a"
},
"Response" : {
"content-length" : "954",
@@ -241,9 +241,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:51 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:44 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "89153c46-fbf6-40fc-b986-6bb1185651e0",
+ "X-Ms-Correlation-Request-Id" : "2b39f06b-fb78-4271-9a0f-795772d0b238",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.5811927Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.5811927Z\",\"architecture\":\"s390x\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:45.6813875Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.6813875Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -256,20 +256,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f246f0de-ad86-4947-af5b-3b1507ddd73f",
+ "x-ms-client-request-id" : "840ac2a4-862d-4513-93e3-c4c8d421accb",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "36e2dad4-0831-44f7-800d-c26592b7c885",
+ "X-Ms-Correlation-Request-Id" : "805fc97c-ad55-4168-a10e-5057ad3f3951",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.533333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.75",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:51 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:44 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -278,7 +278,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9&n=2&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d72f75d0-763a-4c2a-81a2-16cfc883f177"
+ "x-ms-client-request-id" : "e2423b32-5974-4ca0-b1bf-8ccc2054741c"
},
"Response" : {
"content-length" : "929",
@@ -287,9 +287,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:51 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:44 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "ab648cc7-fed5-4aa5-9c50-abbd8479f072",
+ "X-Ms-Correlation-Request-Id" : "37df0048-2bc9-4eec-9697-c66522efe4a8",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\",\"imageSize\":1125,\"createdTime\":\"2021-05-11T23:47:47.7915157Z\",\"lastUpdateTime\":\"2021-05-11T23:47:47.7915157Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519\",\"imageSize\":5325,\"createdTime\":\"2021-05-11T23:47:45.0311086Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.0311086Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -301,20 +301,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1a85da98-8cd0-4b23-9ef8-a9181de61995",
+ "x-ms-client-request-id" : "49b242a0-64c3-4293-af4c-108ade8ee0f0",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "c9969a80-8866-4874-b7ae-d5004971366b",
+ "X-Ms-Correlation-Request-Id" : "69fc415c-2661-4f77-89ea-50e7dde960ce",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.533333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.116667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:51 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -323,20 +323,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c6d435d1-8274-49f0-a7cb-35a8ed22f283",
+ "x-ms-client-request-id" : "b8d62215-8d3d-4da3-9770-d50a85d85958",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "e4f051e6-e018-464d-a501-152fbddc8321",
+ "X-Ms-Correlation-Request-Id" : "f8e2bca3-5be7-4531-8f0c-0b7cbc2b9d98",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.516667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "161.95",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:51 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -345,7 +345,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?n=2",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "28feec5e-e011-4545-a8b7-b92755cc01d6"
+ "x-ms-client-request-id" : "a084bfce-4418-4fc8-af53-77209f13551e"
},
"Response" : {
"content-length" : "952",
@@ -354,9 +354,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:51 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "96779e5a-35c5-459e-8fa0-91139d89e4db",
+ "X-Ms-Correlation-Request-Id" : "46ebcb8a-f9ce-4da1-9cd7-6e31eb63c82e",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:45.987848Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.987848Z\",\"architecture\":\"amd64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.2891598Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.2891598Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -369,20 +369,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "61e9a70d-c5ef-4eb2-afec-36ad2335179f",
+ "x-ms-client-request-id" : "b61aa7ff-7396-4996-8d94-1c6967cca803",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "2aca5361-def6-4649-913d-39139a88ac4f",
+ "X-Ms-Correlation-Request-Id" : "28613660-a579-43fb-ba0d-15034287d705",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.516667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.85",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:51 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -391,7 +391,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1&n=2&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "bc20d568-6604-47e0-aff5-c4b1994e1f26"
+ "x-ms-client-request-id" : "6e11f199-bb2b-4953-b6fe-9fb33316e584"
},
"Response" : {
"content-length" : "940",
@@ -400,9 +400,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:51 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "547d1a33-d376-4bce-accd-bc8677063953",
+ "X-Ms-Correlation-Request-Id" : "5141c9c9-2bb2-413e-a791-963a1994c0f2",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"imageSize\":5325,\"createdTime\":\"2021-05-17T22:28:14.7976969Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7976969Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1\",\"imageSize\":1125,\"createdTime\":\"2021-05-17T22:28:15.2899657Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.2899657Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -415,20 +415,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a7cce0d2-1c93-4f66-9197-f0a676c1086e",
+ "x-ms-client-request-id" : "f8939379-5212-4a19-b68a-9268247d4fa9",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "89d6ae23-a0e0-4474-9717-d0e7d076ee37",
+ "X-Ms-Correlation-Request-Id" : "961c1e37-979b-4bff-9f86-802cd46751fb",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.316667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "161.3",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:51 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -437,7 +437,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1&n=2&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "0dfe1c46-0aea-4a55-9f3e-d4f0b8187744"
+ "x-ms-client-request-id" : "78d76e94-6921-4b7e-8bee-9d8a6ad9f13c"
},
"Response" : {
"content-length" : "959",
@@ -446,9 +446,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:52 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "092e8780-09ea-4ce8-8ba8-3c6f357678d0",
+ "X-Ms-Correlation-Request-Id" : "8fa79ba5-f614-4d3e-9374-a710794f7a98",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.5202078Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.5202078Z\",\"architecture\":\"mips64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.0395297Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.0395297Z\",\"architecture\":\"arm64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -461,20 +461,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7330ecb9-a125-4116-ac6f-e5af8c6b2099",
+ "x-ms-client-request-id" : "8205d0e1-a508-4cbc-8040-556c28c46cb3",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "5d481428-384a-489f-8607-d48c8597e220",
+ "X-Ms-Correlation-Request-Id" : "67e52ff7-2489-4b0e-91ff-67395f45cadb",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.766667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.2",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:52 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -483,7 +483,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343&n=2&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "18191f74-7d48-4f83-91c9-cbd03a2669fc"
+ "x-ms-client-request-id" : "a2a67fc0-aec7-43bb-b0ca-aa7f8fd6eb97"
},
"Response" : {
"content-length" : "952",
@@ -492,9 +492,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:52 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "dee658c4-f631-42f1-8202-80fa5fe7be42",
+ "X-Ms-Correlation-Request-Id" : "88e9aed1-c6c2-4d95-a857-0c6b752f2318",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:48.0163617Z\",\"lastUpdateTime\":\"2021-05-11T23:47:48.0163617Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.20562Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.20562Z\",\"architecture\":\"386\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -507,20 +507,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a7f7289c-5dbb-45fa-b3ee-2868d3e7cd33",
+ "x-ms-client-request-id" : "10d97630-3d3a-4ef0-aebc-9f68652acca2",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "f840736b-77df-4cfc-ade6-8379f24bb7a1",
+ "X-Ms-Correlation-Request-Id" : "89cd8969-a623-46f9-9463-18e66884844f",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.5",
+ "x-ms-ratelimit-remaining-calls-per-second" : "159.866667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:52 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -529,7 +529,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98&n=2&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "9b8fec3d-140c-48f5-934a-f9a35438b140"
+ "x-ms-client-request-id" : "5c7d4813-d104-462c-90bc-f312776add82"
},
"Response" : {
"content-length" : "954",
@@ -538,9 +538,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:52 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "9e5c415c-53d8-4fc7-ac56-6f7862f35e55",
+ "X-Ms-Correlation-Request-Id" : "577bd027-852a-40d8-af34-8a61376abe16",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.5811927Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.5811927Z\",\"architecture\":\"s390x\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:45.6813875Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.6813875Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -553,20 +553,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "052ee659-78ea-40d4-a9c5-bcdafbaac0e8",
+ "x-ms-client-request-id" : "9e47fbc2-dc18-41b9-bcf8-2185198bdf32",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "64109e34-1010-4e5b-994f-fda733298395",
+ "X-Ms-Correlation-Request-Id" : "c241b0d4-1311-4b2e-868e-1ef4d4bf220e",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.5",
+ "x-ms-ratelimit-remaining-calls-per-second" : "159.6",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:52 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -575,7 +575,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9&n=2&orderby=",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "b6d91d2a-b479-4c47-9aad-fb13f2d4c37a"
+ "x-ms-client-request-id" : "485f0073-0830-4ded-b49e-a0b2716fd7c2"
},
"Response" : {
"content-length" : "929",
@@ -584,9 +584,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:52 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:45 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "02b30e1e-8726-4a88-ad61-bd66a68fd1b9",
+ "X-Ms-Correlation-Request-Id" : "af12019d-a0ac-43e0-8151-8b4d880b8723",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\",\"imageSize\":1125,\"createdTime\":\"2021-05-11T23:47:47.7915157Z\",\"lastUpdateTime\":\"2021-05-11T23:47:47.7915157Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519\",\"imageSize\":5325,\"createdTime\":\"2021-05-11T23:47:45.0311086Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.0311086Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.listArtifacts[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.listArtifacts[1].json
index 1248b16b20fb..abe6b0a96aa5 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.listArtifacts[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.listArtifacts[1].json
@@ -4,20 +4,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "46f0b415-bd1a-4f71-bb0d-e0dbede9e4e8",
+ "x-ms-client-request-id" : "d450f028-3edd-4c12-973f-6b7811d39b0d",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "dc33739b-e703-4489-a64f-f9f26840472d",
+ "X-Ms-Correlation-Request-Id" : "357a4275-8f4f-4c2f-84e4-d0b80ffa330e",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.966667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "161.766667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:28 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:21 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -26,20 +26,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "0c1ede60-15a0-4173-8766-8c94ecb29533",
+ "x-ms-client-request-id" : "244d4db8-d7c8-4fd3-ad1e-7e9315c534c0",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "3f7e50cb-269b-46bb-a31e-9bab848c4596",
+ "X-Ms-Correlation-Request-Id" : "c0d399ab-fd4a-4401-8fa0-6cb9732e1e9b",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.016667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.183333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:28 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:21 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -48,7 +48,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "cff5a7e9-28ec-49c2-910e-ed609fa24957"
+ "x-ms-client-request-id" : "2cad12fc-8fe2-41ce-b2d9-551468c4f168"
},
"Response" : {
"Transfer-Encoding" : "chunked",
@@ -57,9 +57,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:28 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:22 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "10858a86-6a16-4f41-9f39-dcc80219843c",
+ "X-Ms-Correlation-Request-Id" : "c38884c1-8c7d-466d-941a-6e214b7fcac8",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:45.987848Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.987848Z\",\"architecture\":\"amd64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.2891598Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.2891598Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"imageSize\":5325,\"createdTime\":\"2021-05-17T22:28:14.7976969Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7976969Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1\",\"imageSize\":1125,\"createdTime\":\"2021-05-17T22:28:15.2899657Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.2899657Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.5202078Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.5202078Z\",\"architecture\":\"mips64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.0395297Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.0395297Z\",\"architecture\":\"arm64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:48.0163617Z\",\"lastUpdateTime\":\"2021-05-11T23:47:48.0163617Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.20562Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.20562Z\",\"architecture\":\"386\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.5811927Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.5811927Z\",\"architecture\":\"s390x\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:45.6813875Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.6813875Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\",\"imageSize\":1125,\"createdTime\":\"2021-05-11T23:47:47.7915157Z\",\"lastUpdateTime\":\"2021-05-11T23:47:47.7915157Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519\",\"imageSize\":5325,\"createdTime\":\"2021-05-11T23:47:45.0311086Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.0311086Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
@@ -71,20 +71,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d14568b3-980d-4cb9-9009-ed3e5984bfe1",
+ "x-ms-client-request-id" : "c6e8e4c6-c93c-4fa3-b1ac-04790bcd278f",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "bb245d5a-d1df-41bf-80f0-74ea0e2d2d6b",
+ "X-Ms-Correlation-Request-Id" : "a9dc91dd-c87e-474d-8fa0-96209725ea03",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.6",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.316667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:29 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:26 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -93,20 +93,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "bd8831fc-417c-4ee1-b2ae-8ec2dc2d60df",
+ "x-ms-client-request-id" : "dfb2715b-f1aa-422d-9397-b6d7b8e11197",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "a70e16b1-84ab-48ec-aba0-5f123eaf1b4a",
+ "X-Ms-Correlation-Request-Id" : "e92db5a4-432e-4ed4-a75c-155e2cdf0043",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.95",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:29 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:26 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -115,7 +115,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1fa381d6-e346-41db-b1e1-5a75148c9ff5"
+ "x-ms-client-request-id" : "86acf6e9-2dc4-4054-a978-ea552b994a03"
},
"Response" : {
"Transfer-Encoding" : "chunked",
@@ -124,9 +124,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:29 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:26 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "bbbb3bb7-9260-4b28-8793-39075fa9fe02",
+ "X-Ms-Correlation-Request-Id" : "296b906c-6758-4ad6-9282-9e5d1140b28d",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifests\":[{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:45.987848Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.987848Z\",\"architecture\":\"amd64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.2891598Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.2891598Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"imageSize\":5325,\"createdTime\":\"2021-05-17T22:28:14.7976969Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7976969Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"digest\":\"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1\",\"imageSize\":1125,\"createdTime\":\"2021-05-17T22:28:15.2899657Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.2899657Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.5202078Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.5202078Z\",\"architecture\":\"mips64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.0395297Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.0395297Z\",\"architecture\":\"arm64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:48.0163617Z\",\"lastUpdateTime\":\"2021-05-11T23:47:48.0163617Z\",\"architecture\":\"ppc64le\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.20562Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.20562Z\",\"architecture\":\"386\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:46.5811927Z\",\"lastUpdateTime\":\"2021-05-11T23:47:46.5811927Z\",\"architecture\":\"s390x\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:45.6813875Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.6813875Z\",\"architecture\":\"arm\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\",\"imageSize\":1125,\"createdTime\":\"2021-05-11T23:47:47.7915157Z\",\"lastUpdateTime\":\"2021-05-11T23:47:47.7915157Z\",\"architecture\":\"amd64\",\"os\":\"windows\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}},{\"digest\":\"sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519\",\"imageSize\":5325,\"createdTime\":\"2021-05-11T23:47:45.0311086Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.0311086Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineState\":\"Passed\"}}]}\n",
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.updateProperties[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.updateProperties[1].json
index b1b5d53df250..3c6f8ce2b7d6 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.updateProperties[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/ContainerRepositoryAsyncIntegrationTests.updateProperties[1].json
@@ -4,20 +4,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f1b9675b-3b2a-45e8-bbf2-84e75390d2ec",
+ "x-ms-client-request-id" : "c072d085-201c-4efa-a881-1d2c58b4b376",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "467da17d-7d0d-4885-89c8-88dcf4603a92",
+ "X-Ms-Correlation-Request-Id" : "6476400b-ce85-44e5-9d2b-69574897590d",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.65",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.25",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:11 GMT",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -26,20 +26,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "08ff3ccd-19f4-4260-b28e-04a765ffff21",
+ "x-ms-client-request-id" : "286c9ffa-b142-4622-8aec-a85415d5082b",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "66747c40-c7a4-45f1-977c-75c4f29ca02b",
+ "X-Ms-Correlation-Request-Id" : "3f871fb5-ed4a-4971-97fa-ea5b26f704a5",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.633333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.616667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:11 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:09 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -48,7 +48,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f5c64922-aced-420f-8e83-6b4253ebb0f2",
+ "x-ms-client-request-id" : "31aa7eac-5f4a-400e-a9d3-e2b1c27138ce",
"Content-Type" : "application/json"
},
"Response" : {
@@ -58,9 +58,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:10 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "067b2ea9-2c91-4744-aab4-a8f055115ba0",
+ "X-Ms-Correlation-Request-Id" : "31f0619e-e670-4a5c-b689-245078bd3706",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"createdTime\":\"2021-05-11T23:47:44.9315937Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.4432439Z\",\"manifestCount\":12,\"tagCount\":5,\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"teleportEnabled\":false}}\n",
@@ -72,20 +72,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "cbcc4d0a-2a7c-4217-aa90-379787eff0c8",
+ "x-ms-client-request-id" : "5075d0dc-7003-4543-9fea-d981a5456750",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "a8a32ea4-5ded-40c5-9c76-005902a646ed",
+ "X-Ms-Correlation-Request-Id" : "8d3cb6fe-c5aa-4da9-8643-8e0ebe2b48c7",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.166667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.733333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:10 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -94,7 +94,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d6975dfa-67d1-440a-84ff-146c4be8bbdb",
+ "x-ms-client-request-id" : "99caa777-1a95-43f0-8db1-f77a7d4b41d2",
"Content-Type" : "application/json"
},
"Response" : {
@@ -104,9 +104,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:18 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:10 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "630690ef-1fe6-4ad6-8344-7e64f7531727",
+ "X-Ms-Correlation-Request-Id" : "62b5d85b-f2b1-4bd7-8574-aff0c377bd3e",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"createdTime\":\"2021-05-11T23:47:44.9315937Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.4432439Z\",\"manifestCount\":12,\"tagCount\":5,\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"teleportEnabled\":false}}\n",
@@ -118,20 +118,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "777be114-7b9f-4f28-a9d2-56f1d5e1002e",
+ "x-ms-client-request-id" : "7cd3f3e8-771d-4e8b-8430-253871ac7c14",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "e0bf9d61-202a-411d-afb1-b63b55815b62",
+ "X-Ms-Correlation-Request-Id" : "1c0d9d9c-60b4-4a62-a5b4-dbd69fcf662b",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.966667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "166.4",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:18 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:11 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -140,20 +140,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "52a4ab78-ce2c-47b4-b637-6e868828ee5f",
+ "x-ms-client-request-id" : "0f8c6309-cb07-440a-b751-5237d43ec2fd",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "4686c058-73b1-43de-8c79-08384e1863f9",
+ "X-Ms-Correlation-Request-Id" : "f10fb486-270f-425f-8c4c-4e740bb7500e",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.883333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.733333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:18 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:11 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -162,7 +162,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "82a093a8-90bd-4e6b-9f29-f10e3dc6ee70",
+ "x-ms-client-request-id" : "23cabc1a-c624-4785-8df5-de4e9a0b3843",
"Content-Type" : "application/json"
},
"Response" : {
@@ -172,9 +172,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:56 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:11 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "de5015cd-65f3-4bcb-b08b-3cb2f614094c",
+ "X-Ms-Correlation-Request-Id" : "9fa8c8de-888f-4f3b-b70d-b08ca697e3d3",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"createdTime\":\"2021-05-11T23:47:44.9315937Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.4432439Z\",\"manifestCount\":12,\"tagCount\":5,\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"teleportEnabled\":false}}\n",
@@ -186,20 +186,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d91f4095-b039-481a-bbfe-3ccc7e80147b",
+ "x-ms-client-request-id" : "920f511f-67d1-42b7-a035-f55d48818e8c",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "612d8652-4610-4670-88a1-74433f0f9c19",
+ "X-Ms-Correlation-Request-Id" : "bed0f06b-41ab-4350-92e5-f3ebe98efd76",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.983333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.65",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:56 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:11 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -208,7 +208,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e5749883-7b1b-440e-a105-3240fe1fd509",
+ "x-ms-client-request-id" : "f733d3fd-27d7-444b-bc56-8ac85cb1124a",
"Content-Type" : "application/json"
},
"Response" : {
@@ -218,9 +218,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:56 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:11 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "45db38cb-8956-44ea-b078-24b3ea6a0eaf",
+ "X-Ms-Correlation-Request-Id" : "27bae588-512f-4926-a906-d3d0ec8704f3",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"createdTime\":\"2021-05-11T23:47:44.9315937Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.4432439Z\",\"manifestCount\":12,\"tagCount\":5,\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"teleportEnabled\":false}}\n",
@@ -232,20 +232,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "6d608a52-fbc7-41ff-8bac-b479fb3d3c94",
+ "x-ms-client-request-id" : "c374a994-ec70-4c40-b0d5-1f15e543b1f8",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "49493476-f0fd-4eaa-953c-fcc69a6a91c5",
+ "X-Ms-Correlation-Request-Id" : "ba7cf929-7352-496c-8e59-45249c355032",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.483333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.583333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:56 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:12 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -254,20 +254,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "b54ba130-cee7-4593-937b-2e09a2594696",
+ "x-ms-client-request-id" : "b276f435-442e-4fab-970a-1d3f581db0b5",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "e6a95b86-863d-46ae-ba51-07ce123a86f8",
+ "X-Ms-Correlation-Request-Id" : "05d18ed7-f7d3-431b-b734-21ed2e13f50b",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.25",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.566667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:56 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:12 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -276,7 +276,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "66968960-d446-43cf-a908-d3b6f3e90162",
+ "x-ms-client-request-id" : "45ca805a-7e51-460b-bbe5-5ecebccad921",
"Content-Type" : "application/json"
},
"Response" : {
@@ -286,9 +286,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:59 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:13 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "e71ef8eb-58fa-4296-bd2e-c61dca15a9f3",
+ "X-Ms-Correlation-Request-Id" : "8839e024-695f-4026-bee0-ad31b45de143",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"createdTime\":\"2021-05-11T23:47:44.9315937Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.4432439Z\",\"manifestCount\":12,\"tagCount\":5,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"teleportEnabled\":false}}\n",
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.getMultiArchitectureImagePropertiesWithResponseThrows[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.getMultiArchitectureImagePropertiesWithResponseThrows[1].json
index be3919090ae5..9aa3112e7771 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.getMultiArchitectureImagePropertiesWithResponseThrows[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.getMultiArchitectureImagePropertiesWithResponseThrows[1].json
@@ -4,11 +4,11 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests/unknown:digest",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "894dd3be-ada0-408a-9c6c-5721db2a8125"
+ "x-ms-client-request-id" : "b29b18d6-35bc-498e-80dd-eb4c8066cabd"
},
"Response" : {
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "a9a46887-12b3-4538-8f88-4b45609bccd4",
+ "X-Ms-Correlation-Request-Id" : "d9584696-c19c-407a-a717-04737b2f5f4a",
"content-length" : "19",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Server" : "openresty",
@@ -17,7 +17,7 @@
"retry-after" : "0",
"StatusCode" : "404",
"Body" : "404 page not found\n",
- "Date" : "Wed, 19 May 2021 23:32:27 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:42 GMT",
"Content-Type" : "text/plain; charset=utf-8"
},
"Exception" : null
@@ -26,11 +26,11 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests/unknown:digest",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f20411f1-468a-4d37-a31f-dbb56f94d5f1"
+ "x-ms-client-request-id" : "e848afe9-9739-4201-ab6f-e58645682eb8"
},
"Response" : {
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "e3803975-605f-43a2-ad27-58ce86af4246",
+ "X-Ms-Correlation-Request-Id" : "18deec3d-d3b8-49b3-beed-17d4448ea4c9",
"content-length" : "19",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Server" : "openresty",
@@ -39,7 +39,7 @@
"retry-after" : "0",
"StatusCode" : "404",
"Body" : "404 page not found\n",
- "Date" : "Wed, 19 May 2021 23:32:27 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:42 GMT",
"Content-Type" : "text/plain; charset=utf-8"
},
"Exception" : null
@@ -48,11 +48,11 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests/unknown:digest",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "0089e161-32d7-44ba-8a3f-01470fb1356e"
+ "x-ms-client-request-id" : "5871fbd7-2a9c-4bd0-958d-2d3491c33faf"
},
"Response" : {
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "8205f789-7f11-4825-9aa8-0adac17aacf7",
+ "X-Ms-Correlation-Request-Id" : "a9ddabe5-15c0-4861-975a-2c4ee8090440",
"content-length" : "19",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Server" : "openresty",
@@ -61,7 +61,7 @@
"retry-after" : "0",
"StatusCode" : "404",
"Body" : "404 page not found\n",
- "Date" : "Wed, 19 May 2021 23:32:27 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:42 GMT",
"Content-Type" : "text/plain; charset=utf-8"
},
"Exception" : null
@@ -70,11 +70,11 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests/unknown:digest",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "b7181040-fe48-4bf3-b98e-ae6da64f60e4"
+ "x-ms-client-request-id" : "20d558d9-61dc-40dc-8b76-f061fbb5e1a2"
},
"Response" : {
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "c356c5e7-6d8b-41ba-95a0-37cc39cae983",
+ "X-Ms-Correlation-Request-Id" : "8e280a17-145c-4cb2-b62c-448bbc0abf55",
"content-length" : "19",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Server" : "openresty",
@@ -83,7 +83,7 @@
"retry-after" : "0",
"StatusCode" : "404",
"Body" : "404 page not found\n",
- "Date" : "Wed, 19 May 2021 23:32:27 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:42 GMT",
"Content-Type" : "text/plain; charset=utf-8"
},
"Exception" : null
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.getMultiArchitectureImagePropertiesWithResponse[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.getMultiArchitectureImagePropertiesWithResponse[1].json
index f23e0fa36a62..bc712dc04f02 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.getMultiArchitectureImagePropertiesWithResponse[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.getMultiArchitectureImagePropertiesWithResponse[1].json
@@ -4,20 +4,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f49069f9-bbdc-4df1-afb3-c2ab2a3847b6",
+ "x-ms-client-request-id" : "c54b97a8-cca3-4383-b667-2f38e060b664",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "85b944d6-d639-4e70-8c8c-1d906785c803",
+ "X-Ms-Correlation-Request-Id" : "310c3246-a236-4957-8117-f4d9b9981056",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.65",
+ "x-ms-ratelimit-remaining-calls-per-second" : "166.366667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:11 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:17 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -26,20 +26,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "ba2fea99-149d-4756-b76a-079d3834775d",
+ "x-ms-client-request-id" : "1fe871ad-e611-41e1-9a1f-826a10645eab",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "be74172e-db25-461b-a635-e0997324b4e3",
+ "X-Ms-Correlation-Request-Id" : "91fda7a5-0e5a-4b73-8e0e-d51b7f3ceb6d",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.366667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.65",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:11 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:17 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -48,7 +48,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "9359335e-c3a2-460a-8d99-a1482faf0042"
+ "x-ms-client-request-id" : "39d0f569-b937-49b6-abe2-baf0fd2529c9"
},
"Response" : {
"content-length" : "404",
@@ -57,9 +57,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:11 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:17 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "76627673-4866-4bd3-ade1-49183fa946fb",
+ "X-Ms-Correlation-Request-Id" : "9cfb200f-b34f-47fa-8650-137cfb04ae58",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
@@ -71,20 +71,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "bf622553-42d0-42aa-9e3e-c61600d02761",
+ "x-ms-client-request-id" : "3ded6640-2a99-43ab-b29e-7674c3e5a865",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "63c4e11d-1da3-4118-ae92-68fb52d096e1",
+ "X-Ms-Correlation-Request-Id" : "06e772e9-330e-4af5-aa8a-a5e34bc6b356",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.633333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.383333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:11 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:17 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -93,7 +93,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "efedc6d6-10a4-4971-a4c3-67663e8b1c27"
+ "x-ms-client-request-id" : "7ff5c25c-4aa7-42cc-a1a1-f925a3a1229a"
},
"Response" : {
"content-length" : "1611",
@@ -102,9 +102,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:11 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:17 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "0f454804-e402-4506-8b66-69ef8f8d1a00",
+ "X-Ms-Correlation-Request-Id" : "5815fd22-a498-4922-836b-69b4f55a04d1",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"imageSize\":5325,\"createdTime\":\"2021-05-17T22:28:14.7976969Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7976969Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"architecture\":\"mips64le\",\"os\":\"linux\"},{\"digest\":\"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\",\"architecture\":\"s390x\",\"os\":\"linux\"},{\"digest\":\"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1\",\"architecture\":\"amd64\",\"os\":\"windows\"}]}}\n",
@@ -116,20 +116,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "b850452b-d814-4979-b2d3-0c9b4103b35b",
+ "x-ms-client-request-id" : "d85e6678-f01f-4976-9ef6-f10fa8c3a6d9",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "ced254f1-6211-4efc-b4c7-af4b9cb1b0e8",
+ "X-Ms-Correlation-Request-Id" : "7c1681b9-d914-4c52-a557-879433022566",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.583333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.55",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:18 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -138,20 +138,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a00a8e81-8e91-4844-b60e-2dacce83f531",
+ "x-ms-client-request-id" : "f29d61c6-66a4-4ce1-b518-b27ab1a6075d",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "f13fab6c-0e4d-44c7-88c6-6fd0b3e805f1",
+ "X-Ms-Correlation-Request-Id" : "f6bdf52a-5c71-4f59-8843-11d4695c62c5",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.916667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.933333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:18 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -160,7 +160,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "2b4e99b7-31c6-46dc-bbf5-9d03e63f1122"
+ "x-ms-client-request-id" : "948bbd7b-5f92-41b0-a05e-1a6a8dbc25cc"
},
"Response" : {
"content-length" : "1611",
@@ -169,9 +169,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:18 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "47fa0ce5-2d1c-459b-a43a-e5aeb4f65273",
+ "X-Ms-Correlation-Request-Id" : "a53a9dd1-9501-4e3a-9e26-dc0b8d307cbe",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"imageSize\":5325,\"createdTime\":\"2021-05-17T22:28:14.7976969Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7976969Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"architecture\":\"mips64le\",\"os\":\"linux\"},{\"digest\":\"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\",\"architecture\":\"s390x\",\"os\":\"linux\"},{\"digest\":\"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1\",\"architecture\":\"amd64\",\"os\":\"windows\"}]}}\n",
@@ -183,20 +183,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "b4f6b877-f351-4dee-926f-929c061ff9f8",
+ "x-ms-client-request-id" : "2ac5ef07-1ee7-4e56-953d-572e32eade8a",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "1a2b9dab-b7fb-474c-a18f-d92ad48c7aab",
+ "X-Ms-Correlation-Request-Id" : "5555c102-3a3c-4da4-9d2f-026750751e6a",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.35",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.533333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:18 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -205,20 +205,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "4273e69f-66f8-44f4-9246-7b017d4136e6",
+ "x-ms-client-request-id" : "15cb2197-0356-41f3-b050-43030371cf21",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "86e72f73-5f45-4466-a68c-c81efc954099",
+ "X-Ms-Correlation-Request-Id" : "321e3e63-20e5-4ae4-a8ad-b470b0522ef9",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.566667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.333333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:18 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -227,21 +227,21 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d82a7576-4af8-41ea-a926-2796464ebe69"
+ "x-ms-client-request-id" : "81dc8191-3aa2-4cde-9f0e-ef8b81676360"
},
"Response" : {
- "content-length" : "841",
+ "content-length" : "840",
"Server" : "openresty",
"X-Content-Type-Options" : "nosniff",
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:18 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "2a09a3ac-d31b-4b61-87ed-613fdaf9abb3",
+ "X-Ms-Correlation-Request-Id" : "f46d8a8f-e758-444a-bad1-70baafa52894",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
- "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:45.987848Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.987848Z\",\"architecture\":\"amd64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineDetails\":\"{\\\"state\\\":\\\"Scan InProgress\\\",\\\"link\\\":\\\"https://aka.ms/test\\\",\\\"scanner\\\":\\\"Azure Security Monitoring-Qualys Scanner\\\",\\\"result\\\":{\\\"version\\\":\\\"5/19/2021 11:31:54 PM\\\",\\\"summary\\\":[{\\\"severity\\\":\\\"High\\\",\\\"count\\\":0},{\\\"severity\\\":\\\"Medium\\\",\\\"count\\\":0},{\\\"severity\\\":\\\"Low\\\",\\\"count\\\":0}]}}\",\"quarantineState\":\"Passed\"}}}\n",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"imageSize\":525,\"createdTime\":\"2021-05-11T23:47:45.987848Z\",\"lastUpdateTime\":\"2021-05-11T23:47:45.987848Z\",\"architecture\":\"amd64\",\"os\":\"linux\",\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true,\"quarantineDetails\":\"{\\\"state\\\":\\\"Scan InProgress\\\",\\\"link\\\":\\\"https://aka.ms/test\\\",\\\"scanner\\\":\\\"Azure Security Monitoring-Qualys Scanner\\\",\\\"result\\\":{\\\"version\\\":\\\"5/27/2021 5:50:09 PM\\\",\\\"summary\\\":[{\\\"severity\\\":\\\"High\\\",\\\"count\\\":0},{\\\"severity\\\":\\\"Medium\\\",\\\"count\\\":0},{\\\"severity\\\":\\\"Low\\\",\\\"count\\\":0}]}}\",\"quarantineState\":\"Passed\"}}}\n",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -250,20 +250,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "4a7231ed-3832-43f7-ab25-3aad4fddf097",
+ "x-ms-client-request-id" : "5a09ba16-953a-40e8-9940-f9b4032dca82",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "117bf8fa-98e3-4871-a701-66af5bb8f031",
+ "X-Ms-Correlation-Request-Id" : "4b00fe86-f23c-4d5c-a719-26ef3e180d53",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.333333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.366667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:18 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -272,7 +272,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d2fc0db0-421b-4e61-8a6d-7555e55ab8f2"
+ "x-ms-client-request-id" : "e5f347b2-d51b-4a59-a627-a61a8eef99ee"
},
"Response" : {
"content-length" : "1611",
@@ -281,9 +281,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:18 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "773d911f-31e7-4c2b-a054-4c45f463f8a2",
+ "X-Ms-Correlation-Request-Id" : "920abff4-75a8-4fce-8575-f3973d7e50b5",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"imageSize\":5325,\"createdTime\":\"2021-05-17T22:28:14.7976969Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7976969Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"architecture\":\"mips64le\",\"os\":\"linux\"},{\"digest\":\"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\",\"architecture\":\"s390x\",\"os\":\"linux\"},{\"digest\":\"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1\",\"architecture\":\"amd64\",\"os\":\"windows\"}]}}\n",
@@ -295,20 +295,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "8e82ac95-661d-435a-912b-8fa343b14ba0",
+ "x-ms-client-request-id" : "38c887fd-76e4-41d0-8834-f0cf4cada7e4",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "0866c03c-c71a-474d-ab05-2a0e9c82b94c",
+ "X-Ms-Correlation-Request-Id" : "f894e036-f1eb-42da-a03d-463f2035b343",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.9",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.433333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:13 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:22 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -317,20 +317,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "5876ff87-9b30-4585-8515-f49d5c67786f",
+ "x-ms-client-request-id" : "f1ced39b-6525-4ba4-8d90-853bfeea6f88",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "a14f50e1-15ac-439e-bd5b-8e512670a038",
+ "X-Ms-Correlation-Request-Id" : "eb24638d-085a-46c8-adcc-47e54c00b151",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.533333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.166667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:13 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:22 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -339,7 +339,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "573c09ea-34a2-4ef9-9538-1ad8b714c0b6"
+ "x-ms-client-request-id" : "af3c35a1-3ae2-4fed-b10c-45affe3aaaa9"
},
"Response" : {
"content-length" : "404",
@@ -348,9 +348,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:13 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:22 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "8119b477-c04f-4573-b842-8abb27be66ce",
+ "X-Ms-Correlation-Request-Id" : "e0b40b0e-496d-4748-b814-55cfa710d351",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
@@ -362,20 +362,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "fd62e8b3-8f8c-4da3-8f7d-dd3436ae5cea",
+ "x-ms-client-request-id" : "878c7005-94ea-4118-82cf-9664abe67099",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "b2780d67-8091-44b9-81cd-6a4d6613e3d5",
+ "X-Ms-Correlation-Request-Id" : "59287c06-202d-4c7d-99aa-27071439b270",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.516667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.716667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:13 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:22 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -384,7 +384,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e3b10e9b-86ce-47d7-af2f-dad514309888"
+ "x-ms-client-request-id" : "c8d09ce1-15c5-4ae5-9468-b707b3c936dc"
},
"Response" : {
"content-length" : "1611",
@@ -393,9 +393,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:13 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:22 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "8dfb0d0f-8b62-4ab8-8878-d94cde4d3ec8",
+ "X-Ms-Correlation-Request-Id" : "b26a7685-90c8-4f3e-8338-b199a5c98d6a",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"imageSize\":5325,\"createdTime\":\"2021-05-17T22:28:14.7976969Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7976969Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"architecture\":\"mips64le\",\"os\":\"linux\"},{\"digest\":\"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\",\"architecture\":\"s390x\",\"os\":\"linux\"},{\"digest\":\"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1\",\"architecture\":\"amd64\",\"os\":\"windows\"}]}}\n",
@@ -407,20 +407,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "77442014-e1d1-492a-9352-43a57a2f16d7",
+ "x-ms-client-request-id" : "45294158-8f06-49a5-9223-aa86718ee938",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "bdc5d7ef-ac47-40a3-8cc4-415e3c63d5c6",
+ "X-Ms-Correlation-Request-Id" : "f535fa7d-f730-4b2e-97e8-10efd495f814",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.316667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.15",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:13 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:22 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -429,7 +429,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "89468468-1e11-42c9-8bfa-d9d99b96556c"
+ "x-ms-client-request-id" : "80877447-b9ee-42ec-9b69-e83be7472c66"
},
"Response" : {
"content-length" : "1611",
@@ -438,9 +438,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:13 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:22 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "d89ed8e3-66de-44ff-84d5-1e8c043098bd",
+ "X-Ms-Correlation-Request-Id" : "eb2d87cd-7863-492a-a15b-c119452f1690",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"imageSize\":5325,\"createdTime\":\"2021-05-17T22:28:14.7976969Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7976969Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"architecture\":\"mips64le\",\"os\":\"linux\"},{\"digest\":\"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\",\"architecture\":\"s390x\",\"os\":\"linux\"},{\"digest\":\"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1\",\"architecture\":\"amd64\",\"os\":\"windows\"}]}}\n",
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.getTagPropertiesWithResponseThrows[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.getTagPropertiesWithResponseThrows[1].json
index 5a2ac1f521dc..c74a410d3451 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.getTagPropertiesWithResponseThrows[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.getTagPropertiesWithResponseThrows[1].json
@@ -4,20 +4,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7ef715e8-577c-46ef-bbd0-78025b17ed82",
+ "x-ms-client-request-id" : "9c10b1bb-0ae3-4b11-b204-df9aafeb708a",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "5eca3690-2df0-41cd-9624-4296338d192e",
+ "X-Ms-Correlation-Request-Id" : "7d13a2f3-cf9d-4843-a6e1-a2ae65ca5f72",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.95",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.583333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:11 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:27 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -26,20 +26,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "06d5e2c9-c963-4834-9928-9176c73c196d",
+ "x-ms-client-request-id" : "456f4476-9005-412e-971d-fe8db2e9efe1",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "29afce99-19e8-4da6-b5b2-c9fa0af174e0",
+ "X-Ms-Correlation-Request-Id" : "15bbd99a-795a-4769-a1d3-adb3f35c96f8",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.616667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.2",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:11 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:27 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -48,7 +48,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/unknowntag",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "73f2bb66-4890-4178-a164-33ca89adf9d8"
+ "x-ms-client-request-id" : "d93d8939-633d-4584-a88d-597287d67010"
},
"Response" : {
"content-length" : "81",
@@ -57,9 +57,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "404",
- "Date" : "Wed, 19 May 2021 23:32:11 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:27 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "4026fa51-0740-4402-a1b7-726362b7405a",
+ "X-Ms-Correlation-Request-Id" : "bc0bd73f-df0a-4b41-9ddd-aba3917b99b9",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"errors\":[{\"code\":\"TAG_UNKNOWN\",\"message\":\"the specified tag does not exist\"}]}\n",
@@ -71,20 +71,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c52c880a-9350-46f7-8654-b4ee1441c414",
+ "x-ms-client-request-id" : "979e2b33-9afb-4260-9a0f-92ab4393214a",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "a03e4ec1-8af3-4730-ba80-a4207166d8b0",
+ "X-Ms-Correlation-Request-Id" : "af669816-b2c9-4db7-8b49-b603196f8363",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.616667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.95",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:11 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:27 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -93,7 +93,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/unknowntag",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "75586cd6-1f74-4d18-8874-b156b6294ea4"
+ "x-ms-client-request-id" : "a499db47-3bbc-4885-bd05-8d22e959c4ad"
},
"Response" : {
"content-length" : "81",
@@ -102,9 +102,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "404",
- "Date" : "Wed, 19 May 2021 23:32:11 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:27 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "282c5ba2-67ba-4e0d-88f8-f08b06a68fbc",
+ "X-Ms-Correlation-Request-Id" : "829ae81b-5c21-4f94-9af6-bf238be64328",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"errors\":[{\"code\":\"TAG_UNKNOWN\",\"message\":\"the specified tag does not exist\"}]}\n",
@@ -116,20 +116,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d8217903-b8fd-473f-a146-cbc51f5a84da",
+ "x-ms-client-request-id" : "9846b708-7bb6-42af-bfaa-74f1d42b9239",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "b815c9a1-1b7f-4458-91d8-62bb228b2348",
+ "X-Ms-Correlation-Request-Id" : "d0eb8608-e7bd-455a-9999-583502530dc8",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.933333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.933333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:28 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -138,20 +138,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d84d4c32-71ec-4ed4-b217-b5b7050a589e",
+ "x-ms-client-request-id" : "f64d6764-bdd4-4222-b927-859b264e4f3d",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "7dbb4b5f-cf9a-4309-8396-4895e6765651",
+ "X-Ms-Correlation-Request-Id" : "ff69f0e8-7f88-405e-b419-a1dc085e95e2",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.366667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.366667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:28 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -160,7 +160,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/unknowntag",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a02de941-2d55-4e26-870f-8fa8eaa096b6"
+ "x-ms-client-request-id" : "d9f17b7b-d4b1-406f-8575-59d85f78e587"
},
"Response" : {
"content-length" : "81",
@@ -169,9 +169,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "404",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:28 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "7182c001-6644-424f-9b28-5833286790e9",
+ "X-Ms-Correlation-Request-Id" : "ad991718-7c3c-437a-9d7e-f7f07a72b302",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"errors\":[{\"code\":\"TAG_UNKNOWN\",\"message\":\"the specified tag does not exist\"}]}\n",
@@ -183,20 +183,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "dc30b8ee-088e-4a10-8fb9-e8b4f4e13c0b",
+ "x-ms-client-request-id" : "2dcb4565-f863-42c9-a004-17281da0e5a7",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "fffcbc35-5015-43ad-a4a9-b319357a7471",
+ "X-Ms-Correlation-Request-Id" : "fe54018a-b648-4c0a-9f80-53bd995fb7fd",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.566667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.25",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:28 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -205,7 +205,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/unknowntag",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e329825c-6475-44f0-8709-487220618b09"
+ "x-ms-client-request-id" : "189096c5-8232-4a44-be57-bad879d995c6"
},
"Response" : {
"content-length" : "81",
@@ -214,9 +214,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "404",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:28 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "fc94e59e-bf02-468d-aebd-c9dd4024d7f2",
+ "X-Ms-Correlation-Request-Id" : "d8add092-48b5-4f78-8370-5196302e737a",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"errors\":[{\"code\":\"TAG_UNKNOWN\",\"message\":\"the specified tag does not exist\"}]}\n",
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.getTagProperties[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.getTagProperties[1].json
index 31f739b80419..3d9ca1665e25 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.getTagProperties[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.getTagProperties[1].json
@@ -4,20 +4,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "0f6793af-0535-46ca-a2be-4156ea7c5c29",
+ "x-ms-client-request-id" : "b1ea2958-9d27-4a3c-941b-7d2624826b21",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "7e55e9be-449a-4c02-86db-516d05b8cd9f",
+ "X-Ms-Correlation-Request-Id" : "42603557-3c66-48b1-b925-7d5508b962f4",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.516667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.6",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:26 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -26,20 +26,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "b21b10e8-3266-4a5a-abeb-881fc412a152",
+ "x-ms-client-request-id" : "afa020ff-2b59-4ada-a024-f5cbbeb972eb",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "fee9786a-5b8b-4936-8d2c-3886036828ac",
+ "X-Ms-Correlation-Request-Id" : "1dc319c9-2eb0-4a65-a2f5-b562bd430531",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.316667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.233333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:26 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -48,7 +48,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/v1",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "0abca924-5ebf-43f1-be2c-e0ae1391d2cd"
+ "x-ms-client-request-id" : "bdbda7de-a11b-4dc4-80c5-353d93838512"
},
"Response" : {
"content-length" : "401",
@@ -57,9 +57,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:26 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "873195b6-966f-431b-a9b4-8a715a27e8d3",
+ "X-Ms-Correlation-Request-Id" : "90d1a7c4-6006-4c6c-8238-71fae9dac356",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"v1\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.7129279Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.6590696Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
@@ -71,20 +71,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "359ad562-9913-4e4e-933c-d6e38ce0c794",
+ "x-ms-client-request-id" : "8c963288-7a55-401a-975c-7442000646d1",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "5d74db1c-8a64-4812-bd33-d1bf1d1e2bf1",
+ "X-Ms-Correlation-Request-Id" : "6b7db44d-0963-41de-a9b2-04535e6a32a6",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.266667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.983333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:26 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -93,7 +93,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7fcd4559-2cb0-41e8-9e89-6e60bb7e757b"
+ "x-ms-client-request-id" : "81fa16e6-7fea-4157-92ec-d5fe849145a5"
},
"Response" : {
"content-length" : "404",
@@ -102,9 +102,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:26 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "0e4e0e23-1eed-496f-b2a6-ce00d832a913",
+ "X-Ms-Correlation-Request-Id" : "8fcd23d9-ffe2-4eb3-bf75-20567b04dfa2",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
@@ -116,20 +116,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "92459e4d-66af-4da5-8b92-4f37eb3ab1df",
+ "x-ms-client-request-id" : "70f04469-aaf2-4b54-8f88-c562fd31c34b",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "f99d40e7-7ac7-495d-a6ed-070d0494d33b",
+ "X-Ms-Correlation-Request-Id" : "750d5a27-7604-4006-b773-23ded70d5f97",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.7",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.216667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:26 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -138,20 +138,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "6c651359-c5e6-4633-980a-d1d4f7111dc5",
+ "x-ms-client-request-id" : "c44e6ed4-f84b-4415-b60b-375f5b8abb79",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "7b6a5010-8c9a-4861-9cbf-d8e81a6303aa",
+ "X-Ms-Correlation-Request-Id" : "1150aa22-ec33-4171-a6af-9490a821d812",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.533333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.3",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:26 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -160,7 +160,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/v1",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "67695c7d-db5d-49a1-b44f-66ff75498e36"
+ "x-ms-client-request-id" : "af71d4ac-6944-4c5d-ae9e-040a7a2effd8"
},
"Response" : {
"content-length" : "401",
@@ -169,9 +169,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:26 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "823f9731-9011-4da9-9721-5edb54e24881",
+ "X-Ms-Correlation-Request-Id" : "09045a4c-be42-4f89-ac4f-e470f655e535",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"v1\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.7129279Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.6590696Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
@@ -183,20 +183,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "788670a5-83d9-4036-82b1-142bdff00910",
+ "x-ms-client-request-id" : "637befe4-262b-45ea-a742-6397e9a7e611",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "91ec39c9-35d2-49a6-8824-8f4b3c8cc36b",
+ "X-Ms-Correlation-Request-Id" : "a07bd58f-3755-43f8-9dae-74809446cdd1",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.5",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.416667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:26 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -205,7 +205,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "8b7aadda-65c4-420b-97c8-a0b0196a9676"
+ "x-ms-client-request-id" : "428a0784-a4b1-4516-997d-2344e429d8df"
},
"Response" : {
"content-length" : "404",
@@ -214,9 +214,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:26 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "98f86b64-7918-491c-a124-73ab4afda9f8",
+ "X-Ms-Correlation-Request-Id" : "174c93a7-758f-441e-a7eb-25d3863761ea",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.listTagPropertiesWithInvalidPageSize[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.listTagPropertiesWithInvalidPageSize[1].json
new file mode 100644
index 000000000000..ba5f37f8f855
--- /dev/null
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.listTagPropertiesWithInvalidPageSize[1].json
@@ -0,0 +1,4 @@
+{
+ "networkCallRecords" : [ ],
+ "variables" : [ ]
+}
\ No newline at end of file
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.listTagPropertiesWithPageSizeAndOrderBy[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.listTagPropertiesWithPageSizeAndOrderBy[1].json
new file mode 100644
index 000000000000..957b5fef3726
--- /dev/null
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.listTagPropertiesWithPageSizeAndOrderBy[1].json
@@ -0,0 +1,549 @@
+{
+ "networkCallRecords" : [ {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "e9ffe9d6-1eb7-4cc2-8337-874b64f35621",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "a1355545-27f9-498f-a993-967bf9687f77",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.9",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"refresh_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:35 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "15c0d1b3-9673-4959-9b28-2d0a62e86e6e",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "51ff0663-d788-44bf-9774-e58c86e81208",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.783333",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:35 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "e1858738-8e2c-4fa5-a932-37d892b01b78"
+ },
+ "Response" : {
+ "content-length" : "404",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:35 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "cf45f253-f497-4f51-a300-d4bb6ad3f7ce",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "e935e993-c750-4755-9486-b7164f1bc930",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "31c1ff33-193d-415d-9672-eb191ffc136b",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.666667",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:35 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?n=2&orderby=timeasc&digest=sha256%3A5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "9bbdb87f-690c-4e8f-99d7-322574f83192"
+ },
+ "Response" : {
+ "content-length" : "716",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:35 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "6d2b5b8f-0c46-44a1-98d9-5983808d7076",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v1\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.7129279Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.6590696Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Link" : "; rel=\"next\"",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "169376b4-e11d-4cc8-87f6-1e8d6be3ef5d",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "b6b45885-478f-421b-a822-d3af50cb5026",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.766667",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:35 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=637568872946590696%26v1&n=2&orderby=timeasc",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "4980f16a-1a9e-4081-945d-77d546aee557"
+ },
+ "Response" : {
+ "content-length" : "713",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:35 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "e0d6d47e-805f-4ef0-920e-978cdaa4fee5",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"v2\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.0126201Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7458296Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v4\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.6426668Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.7843587Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Link" : "; rel=\"next\"",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "a6b3736d-f504-4335-a550-b764829be949",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "f42decdc-b0f4-4e6a-9845-d95f1c440011",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.733333",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:35 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=637568872957843587%26v4&n=2&orderby=timeasc",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "a70ef0c9-2d20-4903-a7fb-8d483abd025a"
+ },
+ "Response" : {
+ "content-length" : "404",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:35 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "56539e43-237f-4b03-aaa2-1d74910e9d42",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"v3\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.2738111Z\",\"lastUpdateTime\":\"2021-05-17T22:28:16.0118757Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "9402cb18-ed0c-4417-be12-bca37b878a9f",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "c57465d3-2737-4783-b412-5f3a488a076e",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.65",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"refresh_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:36 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "e3b91f82-e57b-4299-aeef-f48e808a528a",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "03706b1e-66a2-48e6-8ee7-c860833231b3",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.533333",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:36 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "0b7ac9f7-8132-473c-b915-9e70f56306e1"
+ },
+ "Response" : {
+ "content-length" : "404",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:36 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "c2b321b5-c958-43e8-9bca-5e44547a1115",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "67211460-a3cf-4ac2-88c6-7cacf1e284e0",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "a6b4144f-a014-4000-a000-cb017fd4b2e7",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.883333",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:36 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?n=2&orderby=timeasc&digest=sha256%3A5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "e0202708-2701-4879-8e19-f6870bb5dccc"
+ },
+ "Response" : {
+ "content-length" : "716",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:36 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "4a1a6a4f-2e82-46eb-8409-2680d2f0b803",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v1\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.7129279Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.6590696Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Link" : "; rel=\"next\"",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "997711cb-f9de-4988-93bf-94c42589ee3f",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "520a95dc-4031-478d-aeb9-702fef1b95c6",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.866667",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:36 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=637568872946590696%26v1&n=2&orderby=timeasc",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "739af3ca-9f50-4673-b47a-410cc743d40c"
+ },
+ "Response" : {
+ "content-length" : "713",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:36 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "a451c243-0bc0-4966-a422-a06fdfed9348",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"v2\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.0126201Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7458296Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v4\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.6426668Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.7843587Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Link" : "; rel=\"next\"",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f8d55e85-02fb-4c56-92e5-54179701808c",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "134118b8-a2d5-435b-b2da-cb5f9879ade3",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.7",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:36 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=637568872957843587%26v4&n=2&orderby=timeasc",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c2c3e7e1-0839-4ef6-b9df-f3f9ad6f5d27"
+ },
+ "Response" : {
+ "content-length" : "404",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:36 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "18d1d78f-68ce-4b4b-b302-ba7f14b88bc1",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"v3\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.2738111Z\",\"lastUpdateTime\":\"2021-05-17T22:28:16.0118757Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "0357a2e8-008b-42b5-9689-4af7d8d1eb8d",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "8fe3ded1-e0f2-4c21-8c4c-46c90807ef96",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.85",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:36 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?n=2&orderby=timeasc&digest=sha256%3A5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "ea7b945c-3452-4835-b769-97e519b390fb"
+ },
+ "Response" : {
+ "content-length" : "716",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:36 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "ac316aa8-ec60-4a4c-8918-0e6bbc7059b8",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v1\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.7129279Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.6590696Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Link" : "; rel=\"next\"",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "e7b6b006-b360-483f-a7a9-33f95b437e44",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "8552dbb2-226a-403a-ae60-f8769b81a781",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.683333",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:36 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=637568872946590696%26v1&n=2&orderby=timeasc",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f5f0fc49-228b-4b5b-9841-a9e050ee48af"
+ },
+ "Response" : {
+ "content-length" : "713",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:36 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "e258f86d-6ef0-445b-992f-591f07507bbd",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"v2\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.0126201Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7458296Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v4\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.6426668Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.7843587Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Link" : "; rel=\"next\"",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "5a114f6b-81a5-4180-a7cb-d51fe9e92eeb",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "5fe2414f-edc0-4663-b8a5-4067f97cf329",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.933333",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:36 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=637568872957843587%26v4&n=2&orderby=timeasc",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "0e02460a-38d0-4ce2-8701-11f8389aca23"
+ },
+ "Response" : {
+ "content-length" : "404",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:36 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "348eb99f-4c01-4c2b-af80-3bf3ed7dc547",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"v3\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.2738111Z\",\"lastUpdateTime\":\"2021-05-17T22:28:16.0118757Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ } ],
+ "variables" : [ ]
+}
\ No newline at end of file
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.listTagPropertiesWithPageSizeNoOrderBy[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.listTagPropertiesWithPageSizeNoOrderBy[1].json
new file mode 100644
index 000000000000..457de555c214
--- /dev/null
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.listTagPropertiesWithPageSizeNoOrderBy[1].json
@@ -0,0 +1,412 @@
+{
+ "networkCallRecords" : [ {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f602db48-bd70-4987-a9ae-8d41581808fa",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "bbbe1285-4b2a-4052-ab08-beffd128b9da",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "166.65",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"refresh_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "285e5e7e-29fa-4039-910f-9f268aa2fc7c",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "f7275246-4ecf-478e-8720-983fd67bd4a6",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "166.633333",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "94eb165b-dd24-472c-9c52-92c6201a3692"
+ },
+ "Response" : {
+ "content-length" : "404",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "c9023a75-db10-46f6-8bf5-522f9a6ebed2",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c1f6fd66-fcb5-43b0-851a-d1633e44f3ed",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "1fa7fecd-ab42-483e-b12b-8e9665a034be",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.233333",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?n=2&digest=sha256%3A5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "6a35ac9e-da89-4f28-bfce-79386584cf1c"
+ },
+ "Response" : {
+ "content-length" : "716",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "4a5b8a12-fad9-404e-bcde-a13b0609323a",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v1\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.7129279Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.6590696Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Link" : "; rel=\"next\"",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "12dcc599-b170-4dd7-905d-df698b28aebd",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "61a3b44b-9e53-445a-a877-55c36dc9dd97",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.866667",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=v1&n=2&orderby=",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "d8b990ba-5b87-4a48-8abc-cfa48c9e9a69"
+ },
+ "Response" : {
+ "content-length" : "713",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "81546439-2452-45f1-985f-206f6afe083c",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"v2\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.0126201Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7458296Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v3\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.2738111Z\",\"lastUpdateTime\":\"2021-05-17T22:28:16.0118757Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Link" : "; rel=\"next\"",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "d29b5636-792e-4f60-8a26-a01984a35db4",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "e84ff0fd-7d5c-4fc9-bf9a-3ac382a6166b",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "166.566667",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=v3&n=2&orderby=",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "00e30e95-40e6-4b1d-99ba-55966afbc43c"
+ },
+ "Response" : {
+ "content-length" : "404",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "e68223a7-5ae2-4390-a556-0a82f5d22213",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"v4\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.6426668Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.7843587Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "b22b88f2-54bf-484f-abd0-64174474f199",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "822b9a54-04aa-4d73-9db0-a6432c084656",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.966667",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"refresh_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "1eded602-5c29-42cc-90ff-b12e68f1ad81",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "5f67bd46-46ac-4069-907f-fcf18556d50c",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.8",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "911fd250-bbf0-473d-b11f-a19c008e1107"
+ },
+ "Response" : {
+ "content-length" : "404",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "4622518b-9ae8-48bd-847e-3ad9e329397d",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "33c27722-9b61-43cb-af95-35ce5d4b0910",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "112cf25d-ff9f-40c6-a4a5-98402eadd07e",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.983333",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?n=2&digest=sha256%3A5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "a6ed2da3-82bd-4748-a4b1-c6c0630cdfbe"
+ },
+ "Response" : {
+ "content-length" : "716",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "4d459713-f1af-4435-b56d-d6e0a673504e",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v1\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.7129279Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.6590696Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Link" : "; rel=\"next\"",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "929dc106-9c56-41c8-9ae8-d44e2200b48b",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "5c6a4a9e-f6f7-4df5-b2a6-0bab567ce2c3",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.616667",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=v1&n=2&orderby=",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "4557252d-68f8-4264-9aeb-ce1dd66b96c7"
+ },
+ "Response" : {
+ "content-length" : "713",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "f32020f7-ddbb-4b7d-8d2b-d48dfed5d548",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"v2\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.0126201Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7458296Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v3\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.2738111Z\",\"lastUpdateTime\":\"2021-05-17T22:28:16.0118757Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Link" : "; rel=\"next\"",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "2becad32-a83b-477d-870c-372e0e7278c6",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "c850abe2-7053-46d1-97c9-db570abf47c6",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.833333",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=v3&n=2&orderby=",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "839c356d-9a25-4d7f-a5a2-3c71af0f3692"
+ },
+ "Response" : {
+ "content-length" : "404",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "43f7bf6f-6f13-4ba2-9fa1-9d395148df33",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"v4\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.6426668Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.7843587Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ } ],
+ "variables" : [ ]
+}
\ No newline at end of file
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.listTagPropertiesWithPageSize[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.listTagPropertiesWithPageSize[1].json
new file mode 100644
index 000000000000..adb4bf37d2d2
--- /dev/null
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.listTagPropertiesWithPageSize[1].json
@@ -0,0 +1,320 @@
+{
+ "networkCallRecords" : [ {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "60d60fa1-0075-4706-b674-7848f7efc3d4",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "e57a8cac-bfc3-4f71-bf40-cac6fc2da88a",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.65",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"refresh_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:38 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "8eef261e-7c8a-41e3-9968-b26ffdb25dbf",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "33621bec-c1fa-46eb-aace-5ebaeea2e17b",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "161.916667",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:38 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "5938b152-3285-420c-bf3d-085d4ab593ea"
+ },
+ "Response" : {
+ "content-length" : "404",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:38 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "6f1c8506-586a-4a66-9ccb-c351952b1ebd",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "53b5e8d5-77c0-4af4-a718-eb277f094f43",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "6a181f85-2f64-4807-8c4f-5b20018fe1e4",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.833333",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:38 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?n=2&digest=sha256%3A5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "ee1d3c52-3040-4447-9527-2fa571082df8"
+ },
+ "Response" : {
+ "content-length" : "716",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:38 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "30f51054-e0e9-4fae-9f54-b14a4d8e75e8",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v1\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.7129279Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.6590696Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Link" : "; rel=\"next\"",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "3ec2e778-779a-4f6d-96ff-b2ea64eeb586",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "e4bd8b2d-66db-4792-870d-cfd0428cd87d",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.633333",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:38 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=v1&n=2&orderby=",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "5ae97ae5-9228-473a-990e-8aaf39490c9f"
+ },
+ "Response" : {
+ "content-length" : "713",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:38 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "7059f8d9-13aa-4a1a-8e13-c71859594bdf",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"v2\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.0126201Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7458296Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v3\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.2738111Z\",\"lastUpdateTime\":\"2021-05-17T22:28:16.0118757Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Link" : "; rel=\"next\"",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "af7781dd-5c4b-4a72-a2ae-6f8705466cbc",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "82a7cddf-6b59-49bc-aeab-f241764a4f53",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "161.9",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:38 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=v3&n=2&orderby=",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "ee008678-e1f6-4a6f-9d5b-beb349dbb012"
+ },
+ "Response" : {
+ "content-length" : "404",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:38 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "d7eae950-cb72-4edc-9482-8a2898ed86a4",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"v4\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.6426668Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.7843587Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "ee8dbf02-eafa-4e23-a9b4-640b51e374e8",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "c2e30128-3c4d-4e41-a64b-fe0dbad63ccf",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "160.816667",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"refresh_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:38 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "0ed4edb1-4127-4468-b640-612e4a072f93",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "c12ccb83-01c1-4572-84cc-7ac76b3d3add",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "163.633333",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:38 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "25b44b82-457b-4eee-b779-ca5ead0bc3c1"
+ },
+ "Response" : {
+ "content-length" : "404",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:38 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "1c4fcad1-e366-4a7b-ab3a-75f65ab426b8",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "4cb193e5-f005-4071-846b-bee12248b6d2",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "4ff5bc32-672a-4bb5-98f3-626c84a52305",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "162.35",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:38 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?digest=sha256%3A5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "987918cc-0859-490e-b21d-f0f624ba08a8"
+ },
+ "Response" : {
+ "content-length" : "1643",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:38 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "138f3e83-2a57-400f-b824-2b0b15ec8602",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v1\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.7129279Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.6590696Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v2\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.0126201Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7458296Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v3\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.2738111Z\",\"lastUpdateTime\":\"2021-05-17T22:28:16.0118757Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v4\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.6426668Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.7843587Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ } ],
+ "variables" : [ ]
+}
\ No newline at end of file
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.listTagProperties[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.listTagProperties[1].json
new file mode 100644
index 000000000000..59d924318209
--- /dev/null
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactAsyncIntegrationTests.listTagProperties[1].json
@@ -0,0 +1,474 @@
+{
+ "networkCallRecords" : [ {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "ede109e5-41d6-4c7c-b2ad-1b93ea1622fc",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "172efb7e-7bc4-4834-9cf3-f9474d2f7b05",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "166.55",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"refresh_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "6e857514-4565-446d-928e-b4667b9561ed",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "89216c7d-bc82-4da0-851f-0fb9f8ea1bd8",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.283333",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f145dd79-4b05-41b4-b1b0-bb416548deb0"
+ },
+ "Response" : {
+ "content-length" : "404",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "3ec0aed3-a9e0-47f4-9d45-560e44c4505a",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f615e863-dd90-4c25-804c-f01dca234a4b",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "5f4542ec-feef-48d4-98a0-ad3845018218",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "166.583333",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "8e48914e-f026-44b0-85c0-09dcfdee1c26"
+ },
+ "Response" : {
+ "content-length" : "1611",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "435edbd0-f91f-402a-90b0-d77cbfd2f2f8",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"manifest\":{\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"imageSize\":5325,\"createdTime\":\"2021-05-17T22:28:14.7976969Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7976969Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\",\"architecture\":\"mips64le\",\"os\":\"linux\"},{\"digest\":\"sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\",\"architecture\":\"s390x\",\"os\":\"linux\"},{\"digest\":\"sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1\",\"architecture\":\"amd64\",\"os\":\"windows\"}]}}\n",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f7670ecc-4ce4-4065-892f-c52f786acd31",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "1e711752-efbc-4bfe-ab10-8fa0d4c4e3fb",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.95",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"refresh_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "2457358e-321c-4436-9370-f13b2efbaedf",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "a098c424-4034-4cd7-991c-bf8318dd0db2",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.666667",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?digest=sha256%3A5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "33acbea1-b26c-4717-98fb-bdc25300cf67"
+ },
+ "Response" : {
+ "content-length" : "1643",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "8566f7f1-4686-46cf-b017-f9776e7058eb",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v1\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.7129279Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.6590696Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v2\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.0126201Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7458296Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v3\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.2738111Z\",\"lastUpdateTime\":\"2021-05-17T22:28:16.0118757Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v4\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.6426668Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.7843587Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "367c2366-f66f-4aed-a13b-9826231a40d6",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "706626bc-c26f-454f-9c7b-bb8a5e98da03",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.233333",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"refresh_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "8665df53-add5-42b8-bea1-88a1fbb7d582",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "cc064b52-ed7f-4288-88dc-a5e0c7033d40",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.633333",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?digest=sha256%3A5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "34b3215b-78df-4877-bd78-44fd75d119b7"
+ },
+ "Response" : {
+ "content-length" : "1643",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "ccde69cf-f756-4257-a2bf-255f07d93f31",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v1\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.7129279Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.6590696Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v2\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.0126201Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7458296Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v3\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.2738111Z\",\"lastUpdateTime\":\"2021-05-17T22:28:16.0118757Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v4\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.6426668Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.7843587Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "55919883-174c-4867-9438-6f6928bd3359",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "e629a82b-6979-4d95-aec7-b039ea09fd26",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.783333",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"refresh_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:01 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "323ee1fc-1c2a-4b0f-b7b1-bb40d870ce64",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "047eb31f-39c6-4a32-9cef-bf1103c729af",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.583333",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:01 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "d8040cf9-eacb-415e-8f0a-0193c88c4535"
+ },
+ "Response" : {
+ "content-length" : "404",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:01 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "74cd2dd1-93a8-4df9-abde-90633248e5a8",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "fecd7174-7851-4f6d-849a-5299aaa8711e",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "3a3ea82e-1083-4b5e-8eb0-8e0de1c44a01",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.633333",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:01 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?digest=sha256%3A5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c215e009-83fb-4e36-9036-09aa9aebd2e0"
+ },
+ "Response" : {
+ "content-length" : "1643",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:01 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "cd4e9d32-39e4-4b3a-b3c1-3f3a611bfaef",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v1\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.7129279Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.6590696Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v2\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.0126201Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7458296Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v3\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.2738111Z\",\"lastUpdateTime\":\"2021-05-17T22:28:16.0118757Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v4\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.6426668Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.7843587Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "7e78414e-22bf-4647-9de5-efbf9fb14597",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "24977919-d66a-4410-80f7-b4d43c8df252",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.766667",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"refresh_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:01 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "b97a2518-b8e0-4ad0-a48e-b50b97c8c041",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "40fda2a7-c88f-434d-b0db-325b65287112",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "166.466667",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:01 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "a82f0f82-43d9-444b-9877-64b848c6ce80"
+ },
+ "Response" : {
+ "content-length" : "404",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:01 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "4efda1d0-4bf9-44b5-8ab4-478bca9c51b9",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tag\":{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "POST",
+ "Uri" : "https://REDACTED.azurecr.io/oauth2/token",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c26230c3-8e24-4197-a4d5-eb4904f5e2cf",
+ "Content-Type" : "application/x-www-form-urlencoded"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "X-Ms-Correlation-Request-Id" : "d656646e-03ab-4e55-8d5d-2f5ede536b89",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
+ "Server" : "openresty",
+ "Connection" : "keep-alive",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.816667",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Body" : "{\"access_token\":\"REDACTED\"}",
+ "Date" : "Thu, 27 May 2021 17:50:01 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Fhello-world/_tags?digest=sha256%3A5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c",
+ "Headers" : {
+ "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "ea64e030-cd94-438f-aab4-e9ed829e40fb"
+ },
+ "Response" : {
+ "content-length" : "1643",
+ "Server" : "openresty",
+ "X-Content-Type-Options" : "nosniff",
+ "Connection" : "keep-alive",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Thu, 27 May 2021 17:50:01 GMT",
+ "Docker-Distribution-Api-Version" : "registry/2.0",
+ "X-Ms-Correlation-Request-Id" : "febf59bc-c1a3-4265-a80d-c7948404f5bd",
+ "Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
+ "Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/hello-world\",\"tags\":[{\"name\":\"latest\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:44.9689538Z\",\"lastUpdateTime\":\"2021-05-17T22:28:13.877174Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v1\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.7129279Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.6590696Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v2\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.0126201Z\",\"lastUpdateTime\":\"2021-05-17T22:28:14.7458296Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v3\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.2738111Z\",\"lastUpdateTime\":\"2021-05-17T22:28:16.0118757Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}},{\"name\":\"v4\",\"digest\":\"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c\",\"createdTime\":\"2021-05-11T23:47:47.6426668Z\",\"lastUpdateTime\":\"2021-05-17T22:28:15.7843587Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}]}\n",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Exception" : null
+ } ],
+ "variables" : [ ]
+}
\ No newline at end of file
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.deleteFromRecordFile.json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.deleteFromRecordFile.json
index 29a4e3af3f89..1db5af83123f 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.deleteFromRecordFile.json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.deleteFromRecordFile.json
@@ -4,7 +4,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_tags/v4",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f895e0c6-a768-4125-a5c3-e7914557cfe2"
+ "x-ms-client-request-id" : "3b6fc888-44f5-455c-ae5b-37a6b60dd6c1"
},
"Response" : {
"retry-after" : "0",
@@ -18,7 +18,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_manifests/sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "227d459e-3d69-4819-b77f-e0aa1f85bf51"
+ "x-ms-client-request-id" : "fc8cf132-423e-4d48-baec-3fef9a9ec2ab"
},
"Response" : {
"retry-after" : "0",
@@ -32,7 +32,7 @@
"Uri" : "https://REDACTED.azurecr.io/v2/library%2Falpine/manifests/sha256:def822f9851ca422481ec6fee59a9966f12b351c62ccb9aca841526ffaa9f748",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "b59ff816-9595-46b8-a4c5-9cd5c92614f1"
+ "x-ms-client-request-id" : "6936c50c-ee1f-4ae0-a0d7-207d21eda5c6"
},
"Response" : {
"retry-after" : "0",
@@ -44,7 +44,7 @@
"Uri" : "https://REDACTED.azurecr.io/v2/library%2Falpine/manifests/sha256:def822f9851ca422481ec6fee59a9966f12b351c62ccb9aca841526ffaa9f748",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "948b63fb-e8af-4064-8c62-348eb2f4a694"
+ "x-ms-client-request-id" : "1bf8d48c-aef6-4194-895d-3bbacb31c462"
},
"Response" : {
"retry-after" : "0",
@@ -56,7 +56,7 @@
"Uri" : "https://REDACTED.azurecr.io/v2/library%2Falpine/manifests/sha256:def822f9851ca422481ec6fee59a9966f12b351c62ccb9aca841526ffaa9f748",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c3f51cd2-cf2e-45ca-bbb8-9a0d872a8513"
+ "x-ms-client-request-id" : "6e5364c8-59c6-4c46-bdab-6d04f3b1b502"
},
"Response" : {
"retry-after" : "0",
@@ -68,7 +68,7 @@
"Uri" : "https://REDACTED.azurecr.io/v2/library%2Falpine/manifests/sha256:def822f9851ca422481ec6fee59a9966f12b351c62ccb9aca841526ffaa9f748",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c397597a-d20e-45d2-961c-3731793c271d"
+ "x-ms-client-request-id" : "e0d5ffb5-4a0f-45ea-b883-9adf0759f316"
},
"Response" : {
"retry-after" : "0",
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.deleteTagFromRecordFile.json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.deleteTagFromRecordFile.json
index 5385b4c86952..f317955a9837 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.deleteTagFromRecordFile.json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.deleteTagFromRecordFile.json
@@ -4,7 +4,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_tags/v3",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "27f21500-4af2-4a4f-a626-ea002c587bfa"
+ "x-ms-client-request-id" : "5d65e724-564f-4c4d-ba79-74f47873788e"
},
"Response" : {
"retry-after" : "0",
@@ -16,7 +16,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_tags/v3",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "968c36e3-950a-4572-b714-5cddd3298f04"
+ "x-ms-client-request-id" : "eebfc7a3-dbbe-481d-9e39-5bd291df2d37"
},
"Response" : {
"retry-after" : "0",
@@ -28,7 +28,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_tags/v3",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "faee5601-373b-4517-b162-5b56b02aab61"
+ "x-ms-client-request-id" : "bc2f7f66-c237-40ee-83e2-5cab7ab01d02"
},
"Response" : {
"retry-after" : "0",
@@ -40,7 +40,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_tags/v3",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e1e07048-7c1e-4898-a014-fda777cd9fcc"
+ "x-ms-client-request-id" : "3ccfab91-9b4d-4e8d-b58e-def5891f3b75"
},
"Response" : {
"retry-after" : "0",
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.deleteTag[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.deleteTag[1].json
index e755f1a496c6..0bac86b8af78 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.deleteTag[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.deleteTag[1].json
@@ -4,20 +4,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d1b7db02-c608-440e-adc5-b0bb6c4dbdb2",
+ "x-ms-client-request-id" : "441b36f3-6619-4dfc-b1f2-4706dcc875ce",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "97224c3b-b36c-4146-bc2d-4da1e0b5da84",
+ "X-Ms-Correlation-Request-Id" : "345e27c1-959e-44aa-bbe0-fa6d230118ed",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.4",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.883333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:09 GMT",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -26,20 +26,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "2230986b-82bc-4139-badc-6b73fca73ff6",
+ "x-ms-client-request-id" : "ec4383b5-da28-4a9c-922b-35b72d467d68",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "66a4fec2-ad11-449b-acb0-8cfdc66dee52",
+ "X-Ms-Correlation-Request-Id" : "46e57b0b-c1cb-446b-9c6a-30e0614857a9",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.55",
+ "x-ms-ratelimit-remaining-calls-per-second" : "166.6",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:09 GMT",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -48,7 +48,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_tags/v3",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "13c38bb3-206e-4bc1-89b2-77048bbff092"
+ "x-ms-client-request-id" : "a530ad24-88e1-497a-88c0-3513050962c2"
},
"Response" : {
"content-length" : "0",
@@ -57,14 +57,14 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "202",
- "Date" : "Wed, 19 May 2021 23:33:09 GMT",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
"X-Ms-Int-Docker-Content-Digest" : "sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "4e7ada57-fbbf-4371-bfac-cacd8b8d818d",
+ "X-Ms-Correlation-Request-Id" : "bddd8ef8-e80f-43e1-9136-e7cf9db030ad",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
- "X-Ms-Client-Request-Id" : "13c38bb3-206e-4bc1-89b2-77048bbff092",
- "X-Ms-Request-Id" : "88a66b69-669e-4c7a-a123-6cdda1d0d8bc",
+ "X-Ms-Client-Request-Id" : "a530ad24-88e1-497a-88c0-3513050962c2",
+ "X-Ms-Request-Id" : "2295cb4d-c29b-4117-ae72-14c03edef0b4",
"X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "8.000000"
},
"Exception" : null
@@ -73,20 +73,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "80f247be-c759-4ffc-a2de-af5fc1112b42",
+ "x-ms-client-request-id" : "5c51373e-3278-4173-9d22-dae6ef6d80e1",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "13a13420-2896-4b9b-9221-05acfbf88695",
+ "X-Ms-Correlation-Request-Id" : "c8b1f73b-a3d3-4372-a943-9a5daa523138",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.266667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "166.55",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:09 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -95,7 +95,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_tags/v3",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "9db08289-726c-47a2-8da1-fb58971a92bd"
+ "x-ms-client-request-id" : "096edc63-e19b-4109-81bc-3cfe1bb2589f"
},
"Response" : {
"content-length" : "81",
@@ -104,9 +104,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "404",
- "Date" : "Wed, 19 May 2021 23:33:09 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "db8473ef-bec9-4008-8f5f-501db5ab1514",
+ "X-Ms-Correlation-Request-Id" : "2d3bfa4e-5b23-49c3-b864-0fe6d2d827ee",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"errors\":[{\"code\":\"TAG_UNKNOWN\",\"message\":\"the specified tag does not exist\"}]}\n",
@@ -118,20 +118,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a83dc09a-4e98-4d61-9fe2-5d5e6038d193",
+ "x-ms-client-request-id" : "09f7a8d0-aeae-4870-af0c-db2acca6e00e",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "e1202ba5-56a3-4581-8c45-7e8cec388eb0",
+ "X-Ms-Correlation-Request-Id" : "669f81dd-0d88-48ab-a6e6-d219ec7aa956",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.266667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.783333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:09 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:09 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -140,7 +140,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_tags/v3",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "aa255bcd-f9fe-4772-9c7c-f9714f953bec"
+ "x-ms-client-request-id" : "55b224d2-852b-41f1-ae29-0f943e3d1b24"
},
"Response" : {
"content-length" : "81",
@@ -149,14 +149,14 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "404",
- "Date" : "Wed, 19 May 2021 23:33:09 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:09 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "d70309dd-524d-4f78-b6b6-9571cc117284",
+ "X-Ms-Correlation-Request-Id" : "4a1218a1-7f6b-4861-9bc4-36d2e6d29f9d",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
- "X-Ms-Client-Request-Id" : "aa255bcd-f9fe-4772-9c7c-f9714f953bec",
- "X-Ms-Request-Id" : "1ed71ab3-8705-4ffd-8e30-5009ec279e5c",
- "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "7.000000",
+ "X-Ms-Client-Request-Id" : "55b224d2-852b-41f1-ae29-0f943e3d1b24",
+ "X-Ms-Request-Id" : "d4c70fdf-5d46-48d5-9b72-2c9e1e28d26b",
+ "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "8.000000",
"Body" : "{\"errors\":[{\"code\":\"TAG_UNKNOWN\",\"message\":\"the specified tag does not exist\"}]}\n",
"Content-Type" : "application/json; charset=utf-8"
},
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.delete[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.delete[1].json
index dc8cee63c29a..8d034357f354 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.delete[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.delete[1].json
@@ -4,20 +4,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d073bf6b-4597-4b53-b497-55f5a628b206",
+ "x-ms-client-request-id" : "471d7b0a-5675-43f9-b5d1-b4e4f0fafd00",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "48aec9ed-d2a2-4580-b8b8-b05c783270c1",
+ "X-Ms-Correlation-Request-Id" : "0bd33715-4506-4a13-a805-14ef44e0399a",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.55",
+ "x-ms-ratelimit-remaining-calls-per-second" : "166.583333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -26,20 +26,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f746c192-c043-4105-a13c-8c21fddbb017",
+ "x-ms-client-request-id" : "07f84c89-2042-4326-87a8-c7372dd426a3",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "59350f16-76d7-46de-bbfa-9a286e7ddeac",
+ "X-Ms-Correlation-Request-Id" : "4bb0bf50-c490-4d04-ba3f-c005dd3d2bf7",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.583333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.016667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -48,7 +48,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_tags/v4",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e22a1a26-5578-48bb-a5a5-03d8e59536ca"
+ "x-ms-client-request-id" : "1be03054-2a3d-416e-b769-fb468637ded2"
},
"Response" : {
"content-length" : "396",
@@ -57,9 +57,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "fa2d2a37-c03d-4d8f-9cc4-8ebed3d07994",
+ "X-Ms-Correlation-Request-Id" : "034f0636-42e8-4f2b-951b-005f871596f6",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/alpine\",\"tag\":{\"name\":\"v4\",\"digest\":\"sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f\",\"createdTime\":\"2021-05-11T23:33:34.2901102Z\",\"lastUpdateTime\":\"2021-05-11T23:33:34.2901102Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
@@ -71,20 +71,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1377f740-d1d7-4d02-910b-e6a1102e3f75",
+ "x-ms-client-request-id" : "d0387784-9826-4a77-a379-405927bb01cd",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "5a8e3fdc-4ce7-49c5-b6b6-8aa13fe869ad",
+ "X-Ms-Correlation-Request-Id" : "a26d9d78-1bf8-4e9b-a04e-0fed079af2de",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.55",
+ "x-ms-ratelimit-remaining-calls-per-second" : "166.533333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -93,21 +93,21 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_manifests/sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "3274e243-a395-4701-b451-8cf8728ba2bf"
+ "x-ms-client-request-id" : "a49dcd1d-a545-4860-9880-fa046ac08b7c"
},
"Response" : {
- "content-length" : "1359",
+ "content-length" : "1355",
"Server" : "openresty",
"X-Content-Type-Options" : "nosniff",
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:12 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "09f20012-d920-40e8-98fc-dd535d24b715",
+ "X-Ms-Correlation-Request-Id" : "7a810ce0-076a-4b7f-b29f-68523d92cd79",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
- "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/alpine\",\"manifest\":{\"digest\":\"sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f\",\"imageSize\":3696,\"createdTime\":\"2021-05-11T23:33:32.7469627Z\",\"lastUpdateTime\":\"2021-05-11T23:33:32.7469627Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:def822f9851ca422481ec6fee59a9966f12b351c62ccb9aca841526ffaa9f748\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:ea73ecf48cd45e250f65eb731dd35808175ae37d70cca5d41f9ef57210737f04\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:9663906b1c3bf891618ebcac857961531357525b25493ef717bca0f86f581ad6\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:8f18fae117ec6e5777cc62ba78cbb3be10a8a38639ccfb949521abd95c8301a4\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:5de788243acadd50526e70868b86d12ad79f3793619719ae22e0d09e8c873a66\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:827525365ff718681b0688621e09912af49a17611701ee4d421ba50d57c13f7e\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:a090d7c93c8e9ab88946367500756c5f50cd660e09deb4c57494989c1f23fa5a\",\"architecture\":\"s390x\",\"os\":\"linux\"}]}}\n",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/alpine\",\"manifest\":{\"digest\":\"sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f\",\"imageSize\":3696,\"createdTime\":\"2021-05-11T23:33:32.7469627Z\",\"lastUpdateTime\":\"2021-05-11T23:33:32.7469627Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:def822f9851ca422481ec6fee59a9966f12b351c62ccb9aca841526ffaa9f748\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:ea73ecf48cd45e250f65eb731dd35808175ae37d70cca5d41f9ef57210737f04\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:9663906b1c3bf891618ebcac857961531357525b25493ef717bca0f86f581ad6\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:8f18fae117ec6e5777cc62ba78cbb3be10a8a38639ccfb949521abd95c8301a4\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:5de788243acadd50526e70868b86d12ad79f3793619719ae22e0d09e8c873a66\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:827525365ff718681b0688621e09912af49a17611701ee4d421ba50d57c13f7e\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:a090d7c93c8e9ab88946367500756c5f50cd660e09deb4c57494989c1f23fa5a\",\"architecture\":\"s390x\",\"os\":\"linux\"}]}}\n",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -116,20 +116,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "179f0fc9-70cd-4dd0-8a1f-ade99fec5909",
+ "x-ms-client-request-id" : "c5cc4bde-9aba-4db7-9e78-420147164e1b",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "9368ca9f-b3d1-4639-a715-697c0a420227",
+ "X-Ms-Correlation-Request-Id" : "670f2f8b-5559-48cd-b2ba-6e627db29c76",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.266667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.733333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:05 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -138,20 +138,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "3433c5c1-5685-4759-b63a-c056a2c70884",
+ "x-ms-client-request-id" : "fcbe502b-269d-401b-a01c-07b63bbf957c",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "5fdd7496-a3b4-4909-9dd1-1c579e8f48b8",
+ "X-Ms-Correlation-Request-Id" : "da78fce5-0493-409c-ab95-0d9462f6ca67",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.516667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.533333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:05 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -160,7 +160,7 @@
"Uri" : "https://REDACTED.azurecr.io/v2/library%2Falpine/manifests/sha256:def822f9851ca422481ec6fee59a9966f12b351c62ccb9aca841526ffaa9f748",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "6d13d70c-1595-4e65-a6fe-4a11494ddb93"
+ "x-ms-client-request-id" : "1b10a568-1b7e-4e19-9a25-0a37ee8177aa"
},
"Response" : {
"content-length" : "0",
@@ -169,13 +169,13 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "202",
- "Date" : "Wed, 19 May 2021 23:32:21 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:05 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "e7751314-bc2b-4a55-a998-c44d9ab18fad",
+ "X-Ms-Correlation-Request-Id" : "1861b1cd-ecf4-48dc-94b2-12bd7e7223ff",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
- "X-Ms-Client-Request-Id" : "6d13d70c-1595-4e65-a6fe-4a11494ddb93",
- "X-Ms-Request-Id" : "573dfd4a-5b3e-4def-9bd0-aad609834908",
+ "X-Ms-Client-Request-Id" : "1b10a568-1b7e-4e19-9a25-0a37ee8177aa",
+ "X-Ms-Request-Id" : "2137dc80-591d-4a30-b053-8452dac5ac6c",
"X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "8.000000"
},
"Exception" : null
@@ -184,20 +184,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "5681c00a-9826-40e5-954d-023c7dd71d9e",
+ "x-ms-client-request-id" : "b03036cc-e8a3-409a-b9a3-fc624ec592ea",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "cebc2bbc-c7c1-4b9f-bf90-b080afccda2c",
+ "X-Ms-Correlation-Request-Id" : "09bf7394-6c72-4e4d-ad07-adb6d6e2c8d5",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.633333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.516667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:21 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:05 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -206,7 +206,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_manifests/sha256:def822f9851ca422481ec6fee59a9966f12b351c62ccb9aca841526ffaa9f748",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "0e98d262-6b43-4128-8ed2-40284e1b61af"
+ "x-ms-client-request-id" : "2f5f82c8-9182-4b23-a3ad-5c3ee4466b69"
},
"Response" : {
"content-length" : "70",
@@ -215,9 +215,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "404",
- "Date" : "Wed, 19 May 2021 23:32:22 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:05 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "7fe4fb0e-5287-4c64-bd40-4f28bb898112",
+ "X-Ms-Correlation-Request-Id" : "e747a9cc-cc0e-4e7c-bad5-bc7c8ff9c4c9",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"errors\":[{\"code\":\"MANIFEST_UNKNOWN\",\"message\":\"manifest unknown\"}]}\n",
@@ -229,20 +229,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "02057de3-6e4f-4be0-907a-f951b1da9f8f",
+ "x-ms-client-request-id" : "071d8631-33fa-4688-adde-a7d3771d5dbf",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "2fd1a748-4005-452a-9033-f1412d5b0eec",
+ "X-Ms-Correlation-Request-Id" : "6daceebf-7828-431f-9348-9a9c017e8130",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.033333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.583333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:22 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:05 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -251,7 +251,7 @@
"Uri" : "https://REDACTED.azurecr.io/v2/library%2Falpine/manifests/sha256:def822f9851ca422481ec6fee59a9966f12b351c62ccb9aca841526ffaa9f748",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "87694921-5a5d-47ec-9592-ef10926d43c9"
+ "x-ms-client-request-id" : "85844d54-7bcf-494b-ac63-d977c62b2863"
},
"Response" : {
"content-length" : "147",
@@ -260,14 +260,14 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "404",
- "Date" : "Wed, 19 May 2021 23:32:22 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:06 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "d27086ff-4bd1-44a3-b289-141ade8b43b1",
+ "X-Ms-Correlation-Request-Id" : "cdc93678-e590-4364-90ad-4985f5a55758",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
- "X-Ms-Client-Request-Id" : "87694921-5a5d-47ec-9592-ef10926d43c9",
- "X-Ms-Request-Id" : "ee42d2c8-91b1-4288-8443-427bc9c486ef",
- "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "8.000000",
+ "X-Ms-Client-Request-Id" : "85844d54-7bcf-494b-ac63-d977c62b2863",
+ "X-Ms-Request-Id" : "923303ce-0a07-452d-94d8-97c984633cd9",
+ "X-Ms-Ratelimit-Remaining-Calls-Per-Second" : "7.000000",
"Body" : "{\"errors\":[{\"code\":\"MANIFEST_UNKNOWN\",\"message\":\"manifest sha256:def822f9851ca422481ec6fee59a9966f12b351c62ccb9aca841526ffaa9f748 is not found\"}]}\n",
"Content-Type" : "application/json; charset=utf-8"
},
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.updateManifestProperties[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.updateManifestProperties[1].json
index 2ffdfefcf87c..e437f4557f34 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.updateManifestProperties[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.updateManifestProperties[1].json
@@ -4,20 +4,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d20486db-2efb-481d-948e-c87328142ac5",
+ "x-ms-client-request-id" : "15260354-2b5b-446e-a9d1-602f28bad9a7",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "503521a0-4dc5-47b5-a81a-a4a0f3e943f4",
+ "X-Ms-Correlation-Request-Id" : "7323b12b-5c71-4a82-86f0-5185fbfd848e",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.733333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.3",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:37 GMT",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -26,20 +26,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c8a34a66-195e-4fc2-bdae-fdba28729298",
+ "x-ms-client-request-id" : "70568902-023e-4893-80d1-efda9bb6be41",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "b6a960a7-4ba1-46d6-b153-12a8d4588976",
+ "X-Ms-Correlation-Request-Id" : "691f3083-58c7-4395-8266-f0421191d168",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.333333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.216667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:37 GMT",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -48,7 +48,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_tags/v1",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "8eac8f63-4081-495e-a70b-4a530a37739e"
+ "x-ms-client-request-id" : "8f661e9b-8fac-470e-896e-aa7ee0613050"
},
"Response" : {
"content-length" : "396",
@@ -57,9 +57,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:37 GMT",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "31d2b66d-5f64-43a5-b41d-dbdfe696e245",
+ "X-Ms-Correlation-Request-Id" : "79078354-1198-4ecf-86f1-fef89231cbed",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/alpine\",\"tag\":{\"name\":\"v1\",\"digest\":\"sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f\",\"createdTime\":\"2021-05-11T23:33:33.7829226Z\",\"lastUpdateTime\":\"2021-05-11T23:33:33.7829226Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
@@ -71,20 +71,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "08d0d92f-c9d0-4d8d-b0c4-a11c8ed1c9c4",
+ "x-ms-client-request-id" : "9b624477-fb1a-4890-b00c-5853f82b3270",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "aa8db4d9-2417-4253-b06a-8a0ad6c09677",
+ "X-Ms-Correlation-Request-Id" : "64cbd4a3-763d-4174-b44d-d842b9489f9b",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.316667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.033333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:37 GMT",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -93,7 +93,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_manifests/sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "ff357f06-4458-46e7-920e-073a3064f9b5",
+ "x-ms-client-request-id" : "eade807a-2d4e-4641-9cfc-ceb362c4bfcd",
"Content-Type" : "application/json"
},
"Response" : {
@@ -103,9 +103,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:33:00 GMT",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "a6511062-e4f5-45ff-9a03-79f01544fe71",
+ "X-Ms-Correlation-Request-Id" : "489bcf87-751d-4d42-9632-591f886bf88a",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/alpine\",\"manifest\":{\"digest\":\"sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f\",\"imageSize\":3696,\"createdTime\":\"2021-05-11T23:33:32.7469627Z\",\"lastUpdateTime\":\"2021-05-11T23:33:32.7469627Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:def822f9851ca422481ec6fee59a9966f12b351c62ccb9aca841526ffaa9f748\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:ea73ecf48cd45e250f65eb731dd35808175ae37d70cca5d41f9ef57210737f04\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:9663906b1c3bf891618ebcac857961531357525b25493ef717bca0f86f581ad6\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:8f18fae117ec6e5777cc62ba78cbb3be10a8a38639ccfb949521abd95c8301a4\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:5de788243acadd50526e70868b86d12ad79f3793619719ae22e0d09e8c873a66\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:827525365ff718681b0688621e09912af49a17611701ee4d421ba50d57c13f7e\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:a090d7c93c8e9ab88946367500756c5f50cd660e09deb4c57494989c1f23fa5a\",\"architecture\":\"s390x\",\"os\":\"linux\"}]}}\n",
@@ -117,20 +117,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "aa08bf54-b4f2-4313-92f5-18a7f62e67cd",
+ "x-ms-client-request-id" : "81995d40-0c94-4af3-8dc1-16054a130c69",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "b1188314-6301-400f-a220-0134b0ab7fe0",
+ "X-Ms-Correlation-Request-Id" : "455d2701-d976-40e0-83d7-84d20c37b65f",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.466667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.966667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:00 GMT",
+ "Date" : "Thu, 27 May 2021 17:49:59 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -139,22 +139,22 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_manifests/sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "ac82e48c-abdc-4e64-81c7-e506560fbc57",
+ "x-ms-client-request-id" : "52cbafa9-10e4-4f26-95d7-3ce345db30fc",
"Content-Type" : "application/json"
},
"Response" : {
- "content-length" : "1360",
+ "content-length" : "1355",
"Server" : "openresty",
"X-Content-Type-Options" : "nosniff",
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:33:00 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "b5f8c58d-abc8-4fac-b53b-8cabb1946181",
+ "X-Ms-Correlation-Request-Id" : "5d33eb07-3112-4308-9035-106f75b9e6d1",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
- "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/alpine\",\"manifest\":{\"digest\":\"sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f\",\"imageSize\":3696,\"createdTime\":\"2021-05-11T23:33:32.7469627Z\",\"lastUpdateTime\":\"2021-05-11T23:33:32.7469627Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:def822f9851ca422481ec6fee59a9966f12b351c62ccb9aca841526ffaa9f748\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:ea73ecf48cd45e250f65eb731dd35808175ae37d70cca5d41f9ef57210737f04\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:9663906b1c3bf891618ebcac857961531357525b25493ef717bca0f86f581ad6\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:8f18fae117ec6e5777cc62ba78cbb3be10a8a38639ccfb949521abd95c8301a4\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:5de788243acadd50526e70868b86d12ad79f3793619719ae22e0d09e8c873a66\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:827525365ff718681b0688621e09912af49a17611701ee4d421ba50d57c13f7e\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:a090d7c93c8e9ab88946367500756c5f50cd660e09deb4c57494989c1f23fa5a\",\"architecture\":\"s390x\",\"os\":\"linux\"}]}}\n",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/alpine\",\"manifest\":{\"digest\":\"sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f\",\"imageSize\":3696,\"createdTime\":\"2021-05-11T23:33:32.7469627Z\",\"lastUpdateTime\":\"2021-05-11T23:33:32.7469627Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:def822f9851ca422481ec6fee59a9966f12b351c62ccb9aca841526ffaa9f748\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:ea73ecf48cd45e250f65eb731dd35808175ae37d70cca5d41f9ef57210737f04\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:9663906b1c3bf891618ebcac857961531357525b25493ef717bca0f86f581ad6\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:8f18fae117ec6e5777cc62ba78cbb3be10a8a38639ccfb949521abd95c8301a4\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:5de788243acadd50526e70868b86d12ad79f3793619719ae22e0d09e8c873a66\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:827525365ff718681b0688621e09912af49a17611701ee4d421ba50d57c13f7e\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:a090d7c93c8e9ab88946367500756c5f50cd660e09deb4c57494989c1f23fa5a\",\"architecture\":\"s390x\",\"os\":\"linux\"}]}}\n",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -163,20 +163,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "217b80b2-1f7e-4bbe-8750-ccf462c0aaec",
+ "x-ms-client-request-id" : "cf95e59f-08ae-4326-851f-fee30cea1347",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "ea329f39-79c9-463c-9cf2-aaae82936299",
+ "X-Ms-Correlation-Request-Id" : "19525c40-4255-4ad6-822c-cc4e7b3d0353",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.266667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "166.516667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:01 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -185,20 +185,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "50fce406-77e8-4c48-b895-68c353361935",
+ "x-ms-client-request-id" : "d7f8fdd1-e743-47dc-a0d0-70778f8a4540",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "eea0e33f-afbe-40b4-b5c5-979f6e9e5936",
+ "X-Ms-Correlation-Request-Id" : "0918ed15-b85a-467f-8bf3-107770a63269",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.433333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.85",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:01 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -207,7 +207,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_tags/v1",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d25d1abb-b5e9-47d4-a756-53cf47054554"
+ "x-ms-client-request-id" : "ed1af17c-6d37-46d9-a184-9745b3d02d84"
},
"Response" : {
"content-length" : "396",
@@ -216,9 +216,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:33:01 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "e2fd3714-4454-432a-a413-42208783f9b0",
+ "X-Ms-Correlation-Request-Id" : "9bc435b8-9f60-41ae-9069-375d1b55b92a",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/alpine\",\"tag\":{\"name\":\"v1\",\"digest\":\"sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f\",\"createdTime\":\"2021-05-11T23:33:33.7829226Z\",\"lastUpdateTime\":\"2021-05-11T23:33:33.7829226Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
@@ -230,20 +230,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "3bd67411-ddad-45bc-a8c6-4fde26585077",
+ "x-ms-client-request-id" : "3edf2271-4061-4552-ac4d-ea3f66b50b9d",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "60a46680-4fee-4d75-bb2c-ea7b02efae6a",
+ "X-Ms-Correlation-Request-Id" : "5c214867-9462-4f6a-ab0a-9d1a40fed542",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.616667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.65",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:01 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -252,22 +252,22 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_manifests/sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c020021d-5ec0-4a03-9ec1-236594c282d3",
+ "x-ms-client-request-id" : "7b6b7736-0d7a-47da-8c4b-65ff40b7a4ea",
"Content-Type" : "application/json"
},
"Response" : {
- "content-length" : "1360",
+ "content-length" : "1355",
"Server" : "openresty",
"X-Content-Type-Options" : "nosniff",
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:33:01 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "f1a196b7-b55e-4b3c-a672-aa2c318c39d5",
+ "X-Ms-Correlation-Request-Id" : "93f07137-9b19-4a83-a785-067d00301ee3",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
- "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/alpine\",\"manifest\":{\"digest\":\"sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f\",\"imageSize\":3696,\"createdTime\":\"2021-05-11T23:33:32.7469627Z\",\"lastUpdateTime\":\"2021-05-11T23:33:32.7469627Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:def822f9851ca422481ec6fee59a9966f12b351c62ccb9aca841526ffaa9f748\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:ea73ecf48cd45e250f65eb731dd35808175ae37d70cca5d41f9ef57210737f04\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:9663906b1c3bf891618ebcac857961531357525b25493ef717bca0f86f581ad6\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:8f18fae117ec6e5777cc62ba78cbb3be10a8a38639ccfb949521abd95c8301a4\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:5de788243acadd50526e70868b86d12ad79f3793619719ae22e0d09e8c873a66\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:827525365ff718681b0688621e09912af49a17611701ee4d421ba50d57c13f7e\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:a090d7c93c8e9ab88946367500756c5f50cd660e09deb4c57494989c1f23fa5a\",\"architecture\":\"s390x\",\"os\":\"linux\"}]}}\n",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/alpine\",\"manifest\":{\"digest\":\"sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f\",\"imageSize\":3696,\"createdTime\":\"2021-05-11T23:33:32.7469627Z\",\"lastUpdateTime\":\"2021-05-11T23:33:32.7469627Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:def822f9851ca422481ec6fee59a9966f12b351c62ccb9aca841526ffaa9f748\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:ea73ecf48cd45e250f65eb731dd35808175ae37d70cca5d41f9ef57210737f04\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:9663906b1c3bf891618ebcac857961531357525b25493ef717bca0f86f581ad6\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:8f18fae117ec6e5777cc62ba78cbb3be10a8a38639ccfb949521abd95c8301a4\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:5de788243acadd50526e70868b86d12ad79f3793619719ae22e0d09e8c873a66\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:827525365ff718681b0688621e09912af49a17611701ee4d421ba50d57c13f7e\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:a090d7c93c8e9ab88946367500756c5f50cd660e09deb4c57494989c1f23fa5a\",\"architecture\":\"s390x\",\"os\":\"linux\"}]}}\n",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -276,20 +276,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "80711aa9-e0e2-4e3b-b6f4-562a648fa641",
+ "x-ms-client-request-id" : "147dd24c-7c45-439b-b5a1-32b8704a7620",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "2a32ef19-d5fe-4b72-b7a2-77ab165a7486",
+ "X-Ms-Correlation-Request-Id" : "d96791e9-2c6d-49e7-8945-e68f6bc681a6",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.6",
+ "x-ms-ratelimit-remaining-calls-per-second" : "166.5",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:01 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -298,22 +298,22 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_manifests/sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "71cf385b-4b55-4233-b445-69b90207f01a",
+ "x-ms-client-request-id" : "94822bcc-ebe7-4a78-b736-e972eb8a4c1a",
"Content-Type" : "application/json"
},
"Response" : {
- "content-length" : "1360",
+ "content-length" : "1355",
"Server" : "openresty",
"X-Content-Type-Options" : "nosniff",
- "Connection" : "close",
+ "Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:33:03 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:00 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "193453f2-1c95-4dea-9c60-9b307c5a6459",
+ "X-Ms-Correlation-Request-Id" : "84624b09-6331-41da-8645-3a979dc3fd34",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
- "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/alpine\",\"manifest\":{\"digest\":\"sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f\",\"imageSize\":3696,\"createdTime\":\"2021-05-11T23:33:32.7469627Z\",\"lastUpdateTime\":\"2021-05-11T23:33:32.7469627Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:def822f9851ca422481ec6fee59a9966f12b351c62ccb9aca841526ffaa9f748\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:ea73ecf48cd45e250f65eb731dd35808175ae37d70cca5d41f9ef57210737f04\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:9663906b1c3bf891618ebcac857961531357525b25493ef717bca0f86f581ad6\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:8f18fae117ec6e5777cc62ba78cbb3be10a8a38639ccfb949521abd95c8301a4\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:5de788243acadd50526e70868b86d12ad79f3793619719ae22e0d09e8c873a66\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:827525365ff718681b0688621e09912af49a17611701ee4d421ba50d57c13f7e\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:a090d7c93c8e9ab88946367500756c5f50cd660e09deb4c57494989c1f23fa5a\",\"architecture\":\"s390x\",\"os\":\"linux\"}]}}\n",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/alpine\",\"manifest\":{\"digest\":\"sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f\",\"imageSize\":3696,\"createdTime\":\"2021-05-11T23:33:32.7469627Z\",\"lastUpdateTime\":\"2021-05-11T23:33:32.7469627Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:def822f9851ca422481ec6fee59a9966f12b351c62ccb9aca841526ffaa9f748\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:ea73ecf48cd45e250f65eb731dd35808175ae37d70cca5d41f9ef57210737f04\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:9663906b1c3bf891618ebcac857961531357525b25493ef717bca0f86f581ad6\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:8f18fae117ec6e5777cc62ba78cbb3be10a8a38639ccfb949521abd95c8301a4\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:5de788243acadd50526e70868b86d12ad79f3793619719ae22e0d09e8c873a66\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:827525365ff718681b0688621e09912af49a17611701ee4d421ba50d57c13f7e\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:a090d7c93c8e9ab88946367500756c5f50cd660e09deb4c57494989c1f23fa5a\",\"architecture\":\"s390x\",\"os\":\"linux\"}]}}\n",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -322,20 +322,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "31e6404f-178c-406e-8721-a4a82a26e2ab",
+ "x-ms-client-request-id" : "07f80f22-fe6d-46a4-b8a7-5f3cbe5a66b0",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "4699d317-cad3-4431-84c2-df01ca5976ce",
+ "X-Ms-Correlation-Request-Id" : "a0bfc5ec-5eb1-4381-b053-70a0ecba7211",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.033333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "166.483333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:03 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:01 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -344,20 +344,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7c614500-afdf-4e24-a9ac-148d52fc026b",
+ "x-ms-client-request-id" : "312b4d69-be47-483c-9eac-0ff59685acda",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "b285f6c7-3e97-4eb1-9557-553c1c64e013",
+ "X-Ms-Correlation-Request-Id" : "e0aca523-f8b7-4949-bae3-056d78dbd89b",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.483333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.566667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:03 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:01 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -366,7 +366,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_tags/v1",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c0e20137-98ad-4455-901c-1449e64d9a18"
+ "x-ms-client-request-id" : "07f50a18-f7de-4815-9a2a-0b1ffce9a13d"
},
"Response" : {
"content-length" : "396",
@@ -375,9 +375,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:33:03 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:01 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "422d9b9d-54d6-486f-9996-2029ccfd6070",
+ "X-Ms-Correlation-Request-Id" : "0b50cb64-af94-4ab9-b452-b36f34e7b76e",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/alpine\",\"tag\":{\"name\":\"v1\",\"digest\":\"sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f\",\"createdTime\":\"2021-05-11T23:33:33.7829226Z\",\"lastUpdateTime\":\"2021-05-11T23:33:33.7829226Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
@@ -389,20 +389,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "0c03c541-fae6-49c2-b2fb-61e199cfcb3d",
+ "x-ms-client-request-id" : "d14e84ef-68c3-4f63-9cd5-f5910f84d1f7",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "05b8fcaa-43e6-4bd5-912e-db9d7cf46999",
+ "X-Ms-Correlation-Request-Id" : "bcc13516-1ba7-4dc1-9861-2f6cf45b43b0",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.1",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.616667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:33:03 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:01 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -411,22 +411,22 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_manifests/sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c48ddf26-73ff-4f74-b943-9cb41d4d48e2",
+ "x-ms-client-request-id" : "bb016a5a-63a2-4bb8-9cb0-ef6c027ab685",
"Content-Type" : "application/json"
},
"Response" : {
- "content-length" : "1359",
+ "content-length" : "1354",
"Server" : "openresty",
"X-Content-Type-Options" : "nosniff",
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:33:04 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:01 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "fa8770bf-aa44-4564-b71f-828ad4ad6c46",
+ "X-Ms-Correlation-Request-Id" : "4b2067a8-0def-4b69-882a-2677613be24a",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
- "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/alpine\",\"manifest\":{\"digest\":\"sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f\",\"imageSize\":3696,\"createdTime\":\"2021-05-11T23:33:32.7469627Z\",\"lastUpdateTime\":\"2021-05-11T23:33:32.7469627Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v3\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:def822f9851ca422481ec6fee59a9966f12b351c62ccb9aca841526ffaa9f748\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:ea73ecf48cd45e250f65eb731dd35808175ae37d70cca5d41f9ef57210737f04\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:9663906b1c3bf891618ebcac857961531357525b25493ef717bca0f86f581ad6\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:8f18fae117ec6e5777cc62ba78cbb3be10a8a38639ccfb949521abd95c8301a4\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:5de788243acadd50526e70868b86d12ad79f3793619719ae22e0d09e8c873a66\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:827525365ff718681b0688621e09912af49a17611701ee4d421ba50d57c13f7e\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:a090d7c93c8e9ab88946367500756c5f50cd660e09deb4c57494989c1f23fa5a\",\"architecture\":\"s390x\",\"os\":\"linux\"}]}}\n",
+ "Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/alpine\",\"manifest\":{\"digest\":\"sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f\",\"imageSize\":3696,\"createdTime\":\"2021-05-11T23:33:32.7469627Z\",\"lastUpdateTime\":\"2021-05-11T23:33:32.7469627Z\",\"mediaType\":\"application/vnd.docker.distribution.manifest.list.v2+json\",\"tags\":[\"latest\",\"v1\",\"v2\",\"v4\"],\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true},\"references\":[{\"digest\":\"sha256:def822f9851ca422481ec6fee59a9966f12b351c62ccb9aca841526ffaa9f748\",\"architecture\":\"amd64\",\"os\":\"linux\"},{\"digest\":\"sha256:ea73ecf48cd45e250f65eb731dd35808175ae37d70cca5d41f9ef57210737f04\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:9663906b1c3bf891618ebcac857961531357525b25493ef717bca0f86f581ad6\",\"architecture\":\"arm\",\"os\":\"linux\"},{\"digest\":\"sha256:8f18fae117ec6e5777cc62ba78cbb3be10a8a38639ccfb949521abd95c8301a4\",\"architecture\":\"arm64\",\"os\":\"linux\"},{\"digest\":\"sha256:5de788243acadd50526e70868b86d12ad79f3793619719ae22e0d09e8c873a66\",\"architecture\":\"386\",\"os\":\"linux\"},{\"digest\":\"sha256:827525365ff718681b0688621e09912af49a17611701ee4d421ba50d57c13f7e\",\"architecture\":\"ppc64le\",\"os\":\"linux\"},{\"digest\":\"sha256:a090d7c93c8e9ab88946367500756c5f50cd660e09deb4c57494989c1f23fa5a\",\"architecture\":\"s390x\",\"os\":\"linux\"}]}}\n",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
diff --git a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.updateTagProperties[1].json b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.updateTagProperties[1].json
index e9d0802b11b5..7d3432f4bf0a 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.updateTagProperties[1].json
+++ b/sdk/containerregistry/azure-containers-containerregistry/src/test/resources/session-records/RegistryArtifactTests.updateTagProperties[1].json
@@ -4,20 +4,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "146f11ad-64a2-4eab-8c54-4818d9175cd9",
+ "x-ms-client-request-id" : "eb2ee028-5e55-436e-9fd8-91155f46863e",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "c34b6495-6a73-4071-b006-498d77a7ec1d",
+ "X-Ms-Correlation-Request-Id" : "f1305441-ae31-47f3-aae1-32db6d377b1c",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.5",
+ "x-ms-ratelimit-remaining-calls-per-second" : "165.8",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:06 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -26,20 +26,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1f1de5ac-6ae2-4921-8fe8-73809eb22566",
+ "x-ms-client-request-id" : "ee3f2132-2e91-4905-8d18-e49a32dbc9d6",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "778712ad-f7e4-4b90-8356-084e714b6006",
+ "X-Ms-Correlation-Request-Id" : "683627a1-d1e8-4d2e-8745-56dd8315564e",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.716667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.5",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:06 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -48,7 +48,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_tags/v2",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "ae773a99-63f2-4fca-9d0e-1376e8a33369",
+ "x-ms-client-request-id" : "dbf62c3b-dc8a-484a-b326-bd22f0e86657",
"Content-Type" : "application/json"
},
"Response" : {
@@ -58,9 +58,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:06 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "ee61bc55-0b70-4e89-83e2-ca1a3d103a51",
+ "X-Ms-Correlation-Request-Id" : "01bca345-425d-4103-b648-3c1c0df56b5c",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/alpine\",\"tag\":{\"name\":\"v2\",\"digest\":\"sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f\",\"createdTime\":\"2021-05-11T23:33:33.4763945Z\",\"lastUpdateTime\":\"2021-05-11T23:33:33.4763945Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
@@ -72,20 +72,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "23256184-f63f-48f1-9432-6d33a0740d04",
+ "x-ms-client-request-id" : "cd09f796-c5c6-45fd-b455-1e856a21869d",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "93831263-2b96-463d-ad5d-c2c1cd7d9aae",
+ "X-Ms-Correlation-Request-Id" : "67bd1ae9-b065-4323-887e-285b7e3f4a8f",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.983333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.45",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:17 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:06 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -94,7 +94,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_tags/v2",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "b0d5497d-6025-4455-a89a-773a551f85d6",
+ "x-ms-client-request-id" : "734cd963-1b06-477e-85c1-d984b3da082f",
"Content-Type" : "application/json"
},
"Response" : {
@@ -104,9 +104,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:18 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:06 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "825ace49-c186-4d5e-995c-645e2059ce96",
+ "X-Ms-Correlation-Request-Id" : "11062df5-4dd5-4362-986b-495c5ece9622",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/alpine\",\"tag\":{\"name\":\"v2\",\"digest\":\"sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f\",\"createdTime\":\"2021-05-11T23:33:33.4763945Z\",\"lastUpdateTime\":\"2021-05-11T23:33:33.4763945Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
@@ -118,20 +118,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "4f491f46-79b6-4aef-87f9-108c098c7d46",
+ "x-ms-client-request-id" : "ca7f4737-772c-4b5b-babb-2510a401062c",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "ff5f01c2-eea5-42fc-8ff3-6004c73b1940",
+ "X-Ms-Correlation-Request-Id" : "a65a8db9-e8a7-4993-8f6d-ab398842c935",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "165.05",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.683333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:18 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:06 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -140,20 +140,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "48eb69b0-5670-4390-858d-5cb67870ebdb",
+ "x-ms-client-request-id" : "d56d6821-7011-459a-975f-28d34647c8dc",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "b223bf21-6b4e-4ef5-a5d8-f0f08aa3bd73",
+ "X-Ms-Correlation-Request-Id" : "447e847a-a040-4571-911c-49a75690344d",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "166.2",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.483333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:18 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:06 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -162,7 +162,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_tags/v2",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "51daa7e6-a7c6-44c4-b90d-c9f4da000eb2",
+ "x-ms-client-request-id" : "9e130473-24d5-45e1-b62f-0b2f0ac7228a",
"Content-Type" : "application/json"
},
"Response" : {
@@ -172,9 +172,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:07 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "40397700-b0af-449b-ba1f-be1a2a8a30ed",
+ "X-Ms-Correlation-Request-Id" : "02d8f9dc-7ef0-4008-a263-45154f472e2c",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/alpine\",\"tag\":{\"name\":\"v2\",\"digest\":\"sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f\",\"createdTime\":\"2021-05-11T23:33:33.4763945Z\",\"lastUpdateTime\":\"2021-05-11T23:33:33.4763945Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
@@ -186,20 +186,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "b8ec20e7-b31a-40e8-894f-a04325fb62f0",
+ "x-ms-client-request-id" : "091a02d9-0419-4424-9a97-8c2b4b7920f4",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "777df7e9-3d4e-4a3b-b903-083a93229b5e",
+ "X-Ms-Correlation-Request-Id" : "ed475432-1020-4f43-a89a-8f4042530a65",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.716667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.383333",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:55 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:07 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -208,7 +208,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_tags/v2",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1b76da65-0e03-4510-83a1-f12a3471ea54",
+ "x-ms-client-request-id" : "fe11f774-414e-4475-b65d-98de3a529859",
"Content-Type" : "application/json"
},
"Response" : {
@@ -218,9 +218,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:56 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:07 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "68778256-1960-4358-96f2-a4f54340567c",
+ "X-Ms-Correlation-Request-Id" : "4d89fc6a-7457-46e6-81ce-0c810216360b",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/alpine\",\"tag\":{\"name\":\"v2\",\"digest\":\"sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f\",\"createdTime\":\"2021-05-11T23:33:33.4763945Z\",\"lastUpdateTime\":\"2021-05-11T23:33:33.4763945Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":false,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
@@ -232,20 +232,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/exchange",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a163038f-ec08-4016-939a-c6be662d215f",
+ "x-ms-client-request-id" : "793af9a0-d623-49dd-ad69-80f82ec579f4",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "73805006-35ee-41c9-930b-d34223e14367",
+ "X-Ms-Correlation-Request-Id" : "d913faad-aa25-4b21-8523-4e2e7aa6fa83",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "163.316667",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.666667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"refresh_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:56 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:07 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -254,20 +254,20 @@
"Uri" : "https://REDACTED.azurecr.io/oauth2/token",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e56d4673-88fe-4f4e-8e96-192b3a601e67",
+ "x-ms-client-request-id" : "064f1fa5-d261-41f3-8dd4-6d44d2463e21",
"Content-Type" : "application/x-www-form-urlencoded"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "X-Ms-Correlation-Request-Id" : "8a4bb1c0-1ef4-40fd-a559-b39e7eb46bb5",
+ "X-Ms-Correlation-Request-Id" : "b7ce5031-8d88-43fd-b90e-bfa0b268aa19",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains",
"Server" : "openresty",
"Connection" : "keep-alive",
- "x-ms-ratelimit-remaining-calls-per-second" : "164.433333",
+ "x-ms-ratelimit-remaining-calls-per-second" : "164.466667",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"access_token\":\"REDACTED\"}",
- "Date" : "Wed, 19 May 2021 23:32:56 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:07 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
@@ -276,7 +276,7 @@
"Uri" : "https://REDACTED.azurecr.io/acr/v1/library%2Falpine/_tags/v2",
"Headers" : {
"User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.10; Windows 10; 10.0)",
- "x-ms-client-request-id" : "14c72f86-20c2-4055-ab2f-bb078fb9d0ca",
+ "x-ms-client-request-id" : "91cdb523-9c27-4d69-926d-98a8e62e7ba5",
"Content-Type" : "application/json"
},
"Response" : {
@@ -286,9 +286,9 @@
"Connection" : "keep-alive",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 May 2021 23:32:56 GMT",
+ "Date" : "Thu, 27 May 2021 17:50:07 GMT",
"Docker-Distribution-Api-Version" : "registry/2.0",
- "X-Ms-Correlation-Request-Id" : "20d1ddd5-f868-46aa-9f35-261b6ca75ff4",
+ "X-Ms-Correlation-Request-Id" : "83a6b972-b966-4085-a206-ee04e074eb1c",
"Access-Control-Expose-Headers" : "Docker-Content-Digest,WWW-Authenticate,Link,X-Ms-Correlation-Request-Id",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains",
"Body" : "{\"registry\":\"pallavitcontainerregistry.azurecr.io\",\"imageName\":\"library/alpine\",\"tag\":{\"name\":\"v2\",\"digest\":\"sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f\",\"createdTime\":\"2021-05-11T23:33:33.4763945Z\",\"lastUpdateTime\":\"2021-05-11T23:33:33.4763945Z\",\"signed\":false,\"changeableAttributes\":{\"deleteEnabled\":true,\"writeEnabled\":true,\"readEnabled\":true,\"listEnabled\":true}}}\n",
diff --git a/sdk/containerregistry/azure-containers-containerregistry/swagger/autorest.md b/sdk/containerregistry/azure-containers-containerregistry/swagger/autorest.md
index e55dbfc20853..b5d468af7e18 100644
--- a/sdk/containerregistry/azure-containers-containerregistry/swagger/autorest.md
+++ b/sdk/containerregistry/azure-containers-containerregistry/swagger/autorest.md
@@ -29,7 +29,7 @@ autorest --java --use:@autorest/java@4.0.x
### Code generation settings
``` yaml
-input-file: containerregistry.json
+input-file: https://github.com/Azure/azure-rest-api-specs/blob/5bcf8b9ce0d230830b172c2d9753cbbb4abf325b/specification/containerregistry/data-plane/Azure.ContainerRegistry/preview/2019-08-15-preview/containerregistry.json
java: true
output-folder: ./..
generate-client-as-impl: true
@@ -40,7 +40,7 @@ add-context-parameter: true
context-client-method-parameter: true
service-interface-as-public: true
models-subpackage: implementation.models
-custom-types: ManifestOrderBy,TagOrderBy,ArtifactArchitecture,ArtifactOperatingSystem,ArtifactManifestReference,RepositoryProperties
+custom-types: ArtifactManifestOrderBy,ArtifactTagOrderBy,ArtifactArchitecture,ArtifactOperatingSystem,ArtifactManifestPlatform,RepositoryProperties
custom-types-subpackage: models
```
@@ -118,20 +118,20 @@ directive:
$["properties"]["tag"].readOnly = true;
```
-### Set modelAsString flag for the enum values of TagOrderBy
+### Set modelAsString flag for the enum values of ArtifactTagOrderBy
```yaml
directive:
- from: swagger-document
- where: $.definitions.TagOrderBy
+ where: $.definitions.ArtifactTagOrderBy
transform: >
$["x-ms-enum"].modelAsString = true;
```
-### Set modelAsString flag for the enum values of ManifestOrderBy
+### Set modelAsString flag for the enum values of ArtifactManifestOrderBy
```yaml
directive:
- from: swagger-document
- where: $.definitions.ManifestOrderBy
+ where: $.definitions.ArtifactManifestOrderBy
transform: >
$["x-ms-enum"].modelAsString = true;
```
diff --git a/sdk/containerregistry/azure-containers-containerregistry/swagger/containerregistry.json b/sdk/containerregistry/azure-containers-containerregistry/swagger/containerregistry.json
deleted file mode 100644
index e23aabd88b38..000000000000
--- a/sdk/containerregistry/azure-containers-containerregistry/swagger/containerregistry.json
+++ /dev/null
@@ -1,3093 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Container Registry",
- "description": "Metadata API definition for the Azure Container Registry runtime",
- "version": "2019-08-15-preview"
- },
- "x-ms-parameterized-host": {
- "hostTemplate": "{url}",
- "useSchemePrefix": false,
- "positionInOperation": "first",
- "parameters": [
- {
- "$ref": "#/parameters/Url"
- }
- ]
- },
- "securityDefinitions": {
- "registry_auth": {
- "type": "basic"
- },
- "registry_oauth2": {
- "type": "apiKey",
- "in": "header",
- "name": "Authorization"
- }
- },
- "security": [
- {
- "registry_auth": [],
- "registry_oauth2": []
- }
- ],
- "tags": [
- {
- "name": "ContainerRegistry",
- "description": "Registry Operations"
- },
- {
- "name": "ContainerRegistryBlob",
- "description": "Blob Operations"
- }
- ],
- "schemes": [
- "https"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/v2/": {
- "get": {
- "tags": [
- "Registry"
- ],
- "description": "Tells whether this Docker Registry instance supports Docker Registry HTTP API v2",
- "operationId": "ContainerRegistry_CheckDockerV2Support",
- "x-ms-examples": {
- "Check Docker Registry V2 Support": {
- "$ref": "./examples/GetDockerRegistryV2Support.json"
- }
- },
- "responses": {
- "200": {
- "description": "Successful response. API v2 supported"
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- }
- },
- "/v2/{name}/manifests/{reference}": {
- "get": {
- "tags": [
- "Repository"
- ],
- "description": "Get the manifest identified by `name` and `reference` where `reference` can be a tag or digest.",
- "x-ms-examples": {
- "Get manifest": {
- "$ref": "./examples/GetManifest.json"
- }
- },
- "operationId": "ContainerRegistry_GetManifest",
- "parameters": [
- {
- "$ref": "#/parameters/ImageName"
- },
- {
- "$ref": "#/parameters/ImageReference"
- },
- {
- "name": "accept",
- "in": "header",
- "description": "Accept header string delimited by comma. For example, application/vnd.docker.distribution.manifest.v2+json",
- "required": false,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "Returns the requested manifest file in a larger combined group",
- "schema": {
- "$ref": "#/definitions/Manifest"
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- },
- "put": {
- "tags": [
- "Repository"
- ],
- "x-ms-long-running-operation": false,
- "description": "Put the manifest identified by `name` and `reference` where `reference` can be a tag or digest.",
- "x-ms-examples": {
- "Put manifest": {
- "$ref": "./examples/CreateManifest.json"
- }
- },
- "consumes": [
- "application/vnd.docker.distribution.manifest.v2+json"
- ],
- "operationId": "ContainerRegistry_CreateManifest",
- "parameters": [
- {
- "$ref": "#/parameters/ImageName"
- },
- {
- "$ref": "#/parameters/ImageReference"
- },
- {
- "$ref": "#/parameters/ManifestBody"
- }
- ],
- "responses": {
- "201": {
- "description": "The manifest is updated",
- "schema": {},
- "headers": {
- "Docker-Content-Digest": {
- "type": "string",
- "description": "Identifies the docker upload uuid for the current request."
- },
- "Location": {
- "type": "string",
- "description": "The canonical location url of the uploaded manifest."
- },
- "Content-Length": {
- "type": "integer",
- "format": "int64",
- "description": "The length of the requested blob content."
- }
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "Repository"
- ],
- "description": "Delete the manifest identified by `name` and `reference`. Note that a manifest can _only_ be deleted by `digest`.",
- "x-ms-examples": {
- "Delete manifest": {
- "$ref": "./examples/DeleteManifest.json"
- }
- },
- "operationId": "ContainerRegistry_DeleteManifest",
- "parameters": [
- {
- "$ref": "#/parameters/ImageName"
- },
- {
- "$ref": "#/parameters/DigestReference"
- }
- ],
- "responses": {
- "202": {
- "description": "The manifest has been deleted"
- },
- "404": {
- "description": "The manifest was not found"
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- }
- },
- "/v2/{name}/blobs/{digest}": {
- "get": {
- "produces": [
- "application/octet-stream"
- ],
- "tags": [
- "ContainerRegistryBlob"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/ImageName"
- },
- {
- "$ref": "#/parameters/Digest"
- }
- ],
- "x-ms-examples": {
- "Get a blob from digest": {
- "$ref": "./examples/GetBlob.json"
- }
- },
- "description": "Retrieve the blob from the registry identified by digest.",
- "operationId": "ContainerRegistryBlob_GetBlob",
- "responses": {
- "200": {
- "description": "The blob identified by digest is available. The blob content will be present in the body of the response.",
- "schema": {
- "description": "blob binary data",
- "type": "file",
- "format": "file"
- },
- "headers": {
- "Content-Length": {
- "type": "integer",
- "format": "int64",
- "description": "The length of the requested blob content."
- },
- "Docker-Content-Digest": {
- "description": "Digest of the targeted content for the request.",
- "type": "string"
- }
- }
- },
- "307": {
- "description": "The blob identified by digest is available at the provided location.",
- "headers": {
- "Location": {
- "type": "string",
- "description": "The location where the layer should be accessible."
- }
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- },
- "head": {
- "tags": [
- "ContainerRegistryBlob"
- ],
- "description": "Same as GET, except only the headers are returned.",
- "operationId": "ContainerRegistryBlob_CheckBlobExists",
- "x-ms-examples": {
- "Head for a Blob Chunk": {
- "$ref": "./examples/CheckBlob.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ImageName"
- },
- {
- "$ref": "#/parameters/Digest"
- }
- ],
- "responses": {
- "200": {
- "description": "The blob identified by digest is available. The blob content will be present in the body of the response.",
- "headers": {
- "Content-Length": {
- "type": "integer",
- "format": "int64",
- "description": "The length of the requested blob content."
- },
- "Docker-Content-Digest": {
- "description": "Digest of the targeted content for the request.",
- "type": "string"
- }
- }
- },
- "307": {
- "description": "The blob identified by digest is available at the provided location.",
- "headers": {
- "Location": {
- "type": "string",
- "description": "The location where the layer should be accessible."
- }
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- },
- "delete": {
- "parameters": [
- {
- "$ref": "#/parameters/ImageName"
- },
- {
- "$ref": "#/parameters/Digest"
- }
- ],
- "description": "Removes an already uploaded blob.",
- "produces": [
- "application/octet-stream"
- ],
- "tags": [
- "ContainerRegistryBlob"
- ],
- "operationId": "ContainerRegistryBlob_DeleteBlob",
- "x-ms-examples": {
- "Delete a blob": {
- "$ref": "./examples/DeleteBlob.json"
- }
- },
- "responses": {
- "202": {
- "description": "The blob identified by digest is available. The blob content will be present in the body of the response.",
- "schema": {
- "description": "blob binary data",
- "type": "file",
- "format": "file"
- },
- "headers": {
- "Docker-Content-Digest": {
- "description": "Digest of the targeted content for the request.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- }
- },
- "/v2/{name}/blobs/uploads/": {
- "post": {
- "tags": [
- "ContainerRegistryBlob"
- ],
- "description": "Mount a blob identified by the `mount` parameter from another repository.",
- "operationId": "ContainerRegistryBlob_MountBlob",
- "x-ms-examples": {
- "Mount a blob from repository": {
- "$ref": "./examples/MountBlob.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ImageName"
- },
- {
- "$ref": "#/parameters/From"
- },
- {
- "$ref": "#/parameters/Mount"
- }
- ],
- "responses": {
- "201": {
- "description": "The blob has been created in the registry and is available at the provided location.",
- "headers": {
- "Location": {
- "description": "Provided location for blob",
- "type": "string"
- },
- "Docker-Upload-UUID": {
- "description": "Identifies the docker upload uuid for the current request.",
- "type": "string"
- },
- "Docker-Content-Digest": {
- "description": "Digest of the targeted content for the request.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- }
- },
- "/{nextBlobUuidLink}": {
- "get": {
- "tags": [
- "ContainerRegistryBlob"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/NextLink"
- }
- ],
- "description": "Retrieve status of upload identified by uuid. The primary purpose of this endpoint is to resolve the current status of a resumable upload.",
- "operationId": "ContainerRegistryBlob_GetUploadStatus",
- "x-ms-examples": {
- "Get blob status": {
- "$ref": "./examples/GetBlobStatus.json"
- }
- },
- "responses": {
- "204": {
- "description": "The upload is known and in progress. The last received offset is available in the Range header.",
- "headers": {
- "Range": {
- "description": "Range indicating the current progress of the upload.",
- "type": "string"
- },
- "Docker-Upload-UUID": {
- "description": "Identifies the docker upload uuid for the current request.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- },
- "patch": {
- "security": [
- {
- "registry_auth": [],
- "registry_oauth2": []
- }
- ],
- "tags": [
- "ContainerRegistryBlob"
- ],
- "description": "Upload a stream of data without completing the upload.",
- "operationId": "ContainerRegistryBlob_UploadChunk",
- "x-ms-examples": {
- "Upload Blob": {
- "$ref": "./examples/UploadBlob.json"
- }
- },
- "consumes": [
- "application/octet-stream"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/RawData"
- },
- {
- "$ref": "#/parameters/NextLink"
- }
- ],
- "responses": {
- "202": {
- "description": "The stream of data has been accepted and the current progress is available in the range header. The updated upload location is available in the Location header.",
- "headers": {
- "Location": {
- "description": "Provided location for blob",
- "type": "string"
- },
- "Range": {
- "description": "Range indicating the current progress of the upload.",
- "type": "string"
- },
- "Docker-Upload-UUID": {
- "description": "Identifies the docker upload uuid for the current request.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- },
- "put": {
- "tags": [
- "ContainerRegistryBlob"
- ],
- "consumes": [
- "application/octet-stream"
- ],
- "description": "Complete the upload, providing all the data in the body, if necessary. A request without a body will just complete the upload with previously uploaded content.",
- "operationId": "ContainerRegistryBlob_CompleteUpload",
- "x-ms-examples": {
- "End a blob upload": {
- "$ref": "./examples/EndBlobUpload.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/BlobQueryDigest"
- },
- {
- "$ref": "#/parameters/RawDataOptional"
- },
- {
- "$ref": "#/parameters/NextLink"
- }
- ],
- "responses": {
- "201": {
- "description": "The upload has been completed and accepted by the registry.",
- "headers": {
- "Location": {
- "description": "Provided location for blob",
- "type": "string"
- },
- "Range": {
- "description": "Range indicating the current progress of the upload.",
- "type": "string"
- },
- "Docker-Content-Digest": {
- "description": "Digest of the targeted content for the request.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "ContainerRegistryBlob"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/NextLink"
- }
- ],
- "description": "Cancel outstanding upload processes, releasing associated resources. If this is not called, the unfinished uploads will eventually timeout.",
- "operationId": "ContainerRegistryBlob_CancelUpload",
- "x-ms-examples": {
- "End a blob upload": {
- "$ref": "./examples/CancelBlobUpload.json"
- }
- },
- "responses": {
- "204": {
- "description": "The upload has been successfully deleted."
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- }
- },
- "/acr/v1/_catalog": {
- "get": {
- "tags": [
- "Registry"
- ],
- "description": "List repositories",
- "operationId": "ContainerRegistry_GetRepositories",
- "x-ms-pageable": {
- "itemName": "repositories",
- "nextLinkName": "link"
- },
- "x-ms-examples": {
- "Get repositories in a registry": {
- "$ref": "./examples/GetRepositoryList.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/QueryLast"
- },
- {
- "$ref": "#/parameters/QueryNum"
- }
- ],
- "responses": {
- "200": {
- "headers": {
- "Link": {
- "description": "next paginated result",
- "type": "string"
- }
- },
- "description": "Returns a list of repositories",
- "schema": {
- "$ref": "#/definitions/Repositories"
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- }
- },
- "/acr/v1/{name}": {
- "get": {
- "tags": [
- "Registry"
- ],
- "description": "Get repository attributes",
- "operationId": "ContainerRegistry_GetProperties",
- "x-ms-examples": {
- "Get details of repository": {
- "$ref": "./examples/GetRepositoryAttributes.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ImageName"
- }
- ],
- "responses": {
- "200": {
- "description": "Returns a list of attributes",
- "schema": {
- "$ref": "#/definitions/RepositoryAttributes"
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "Registry"
- ],
- "description": "Delete the repository identified by `name`",
- "operationId": "ContainerRegistry_DeleteRepository",
- "x-ms-examples": {
- "Delete a repository": {
- "$ref": "./examples/DeleteAcrRepository.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ImageName"
- }
- ],
- "responses": {
- "202": {
- "description": "The repository is deleted"
- },
- "404": {
- "description": "The repository is not found."
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- },
- "patch": {
- "tags": [
- "Registry"
- ],
- "description": "Update the attribute identified by `name` where `reference` is the name of the repository.",
- "operationId": "ContainerRegistry_SetProperties",
- "x-ms-examples": {
- "Update repository attributes": {
- "$ref": "./examples/UpdateRepositoryAttributes.json"
- }
- },
- "consumes": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/ImageName"
- },
- {
- "$ref": "#/parameters/RepositoryAttributeValue"
- }
- ],
- "responses": {
- "200": {
- "description": "The attributes are updated",
- "schema": {
- "$ref": "#/definitions/RepositoryAttributes"
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- }
- },
- "/acr/v1/{name}/_tags": {
- "get": {
- "tags": [
- "Repository"
- ],
- "description": "List tags of a repository",
- "operationId": "ContainerRegistry_GetTags",
- "x-ms-examples": {
- "Get tags of a repository": {
- "$ref": "./examples/GetTagList.json"
- }
- },
- "x-ms-pageable": {
- "itemName": "tags",
- "nextLinkName": "link"
- },
- "parameters": [
- {
- "$ref": "#/parameters/ImageName"
- },
- {
- "$ref": "#/parameters/QueryLast"
- },
- {
- "$ref": "#/parameters/QueryNum"
- },
- {
- "$ref": "#/parameters/QueryOrderBy"
- },
- {
- "$ref": "#/parameters/QueryDigest"
- }
- ],
- "responses": {
- "200": {
- "headers": {
- "Link": {
- "description": "next paginated result",
- "type": "string"
- }
- },
- "description": "Tag details of a repository",
- "schema": {
- "$ref": "#/definitions/TagList"
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- }
- },
- "/acr/v1/{name}/_tags/{reference}": {
- "get": {
- "tags": [
- "Repository"
- ],
- "description": "Get tag attributes by tag",
- "operationId": "ContainerRegistry_GetTagProperties",
- "x-ms-examples": {
- "Get tag attributes": {
- "$ref": "./examples/GetTagAttributes.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ImageName"
- },
- {
- "$ref": "#/parameters/TagReference"
- }
- ],
- "responses": {
- "200": {
- "description": "Tag attributes",
- "schema": {
- "$ref": "#/definitions/TagAttributes"
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- },
- "patch": {
- "tags": [
- "Repository"
- ],
- "description": "Update tag attributes",
- "operationId": "ContainerRegistry_UpdateTagAttributes",
- "consumes": [
- "application/json"
- ],
- "x-ms-examples": {
- "Update attributes of a tag": {
- "$ref": "./examples/UpdateTagAttributes.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ImageName"
- },
- {
- "$ref": "#/parameters/TagReference"
- },
- {
- "$ref": "#/parameters/TagAttributeValue"
- }
- ],
- "responses": {
- "200": {
- "description": "The attributes are updated",
- "schema": {
- "$ref": "#/definitions/TagAttributes"
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "Repository"
- ],
- "description": "Delete tag",
- "operationId": "ContainerRegistry_DeleteTag",
- "consumes": [
- "application/json"
- ],
- "x-ms-examples": {
- "Delete a tag": {
- "$ref": "./examples/DeleteTag.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ImageName"
- },
- {
- "$ref": "#/parameters/TagReference"
- }
- ],
- "responses": {
- "202": {
- "description": "The tag is deleted"
- },
- "404": {
- "description": "The tag was not found"
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- }
- },
- "/acr/v1/{name}/_manifests": {
- "get": {
- "tags": [
- "Repository"
- ],
- "description": "List manifests of a repository",
- "operationId": "ContainerRegistry_GetManifests",
- "x-ms-examples": {
- "Get list of available manifests": {
- "$ref": "./examples/GetManifestList.json"
- }
- },
- "x-ms-pageable": {
- "itemName": "manifests",
- "nextLinkName": "link"
- },
- "parameters": [
- {
- "$ref": "#/parameters/ImageName"
- },
- {
- "$ref": "#/parameters/QueryLast"
- },
- {
- "$ref": "#/parameters/QueryNum"
- },
- {
- "$ref": "#/parameters/QueryOrderBy"
- }
- ],
- "responses": {
- "200": {
- "headers": {
- "Link": {
- "description": "next paginated result",
- "type": "string"
- }
- },
- "description": "Returns a list of manifests",
- "schema": {
- "$ref": "#/definitions/AcrManifests"
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- }
- },
- "/acr/v1/{name}/_manifests/{digest}": {
- "get": {
- "tags": [
- "Repository"
- ],
- "description": "Get manifest attributes",
- "operationId": "ContainerRegistry_GetManifestProperties",
- "x-ms-examples": {
- "Get manifest attributes": {
- "$ref": "./examples/GetManifestAttributes.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ImageName"
- },
- {
- "$ref": "#/parameters/Digest"
- }
- ],
- "responses": {
- "200": {
- "description": "List of attributes",
- "schema": {
- "$ref": "#/definitions/ManifestAttributes"
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- },
- "patch": {
- "tags": [
- "Repository"
- ],
- "description": "Update properties of a manifest",
- "operationId": "ContainerRegistry_UpdateManifestProperties",
- "consumes": [
- "application/json"
- ],
- "x-ms-examples": {
- "Update attributes of a manifest": {
- "$ref": "./examples/UpdateManifestAttributes.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ImageName"
- },
- {
- "$ref": "#/parameters/Digest"
- },
- {
- "$ref": "#/parameters/ManifestAttributeValue"
- }
- ],
- "responses": {
- "200": {
- "description": "The attributes are updated",
- "schema": {
- "$ref": "#/definitions/ManifestAttributes"
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- }
- },
- "/oauth2/exchange": {
- "post": {
- "tags": [
- "AcrToken",
- "RefreshToken"
- ],
- "description": "Exchange AAD tokens for an ACR refresh Token",
- "operationId": "Authentication_ExchangeAadAccessTokenForAcrRefreshToken",
- "consumes": [
- "application/x-www-form-urlencoded"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/Grant_type"
- },
- {
- "$ref": "#/parameters/Service"
- },
- {
- "$ref": "#/parameters/AccessToken"
- }
- ],
- "responses": {
- "200": {
- "description": "ACR refresh token acquired",
- "schema": {
- "$ref": "#/definitions/RefreshToken"
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- },
- "security": [],
- "x-ms-examples": {
- "Exchange AAD Token for ACR Refresh": {
- "$ref": "./examples/PostRefreshToken.json"
- }
- }
- }
- },
- "/oauth2/token": {
- "post": {
- "tags": [
- "AcrToken",
- "AccessToken"
- ],
- "description": "Exchange ACR Refresh token for an ACR Access Token",
- "operationId": "Authentication_ExchangeAcrRefreshTokenForAcrAccessToken",
- "consumes": [
- "application/x-www-form-urlencoded"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/Service"
- },
- {
- "name": "scope",
- "in": "formData",
- "required": true,
- "description": "Which is expected to be a valid scope, and can be specified more than once for multiple scope requests. You obtained this from the Www-Authenticate response header from the challenge.",
- "type": "string"
- },
- {
- "name": "refresh_token",
- "x-ms-client-name": "acrRefreshToken",
- "in": "formData",
- "required": true,
- "description": "Must be a valid ACR refresh token",
- "type": "string"
- },
- {
- "name": "grant_type",
- "in": "formData",
- "description": "Grant type is expected to be refresh_token",
- "required": true,
- "type": "string",
- "enum": [
- "refresh_token",
- "password"
- ],
- "x-ms-enum": {
- "name": "TokenGrantType"
- },
- "x-accessibility" : "internal",
- "x-ms-client-default": "refresh_token"
- }
- ],
- "responses": {
- "200": {
- "description": "ACR access token acquired",
- "schema": {
- "$ref": "#/definitions/AccessToken"
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- },
- "security": [],
- "x-ms-examples": {
- "Get Access Token with Refresh Token": {
- "$ref": "./examples/PostAccessToken.json"
- }
- }
- }
- }
- },
- "x-ms-paths": {
- "/v2/{name}/blobs/uploads/?mode=resumable": {
- "post": {
- "tags": [
- "ContainerRegistryBlob"
- ],
- "description": "Initiate a resumable blob upload with an empty request body.",
- "operationId": "ContainerRegistryBlob_StartUpload",
- "x-ms-examples": {
- "Start a blob upload": {
- "$ref": "./examples/StartBlobUpload.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ImageName"
- }
- ],
- "responses": {
- "202": {
- "description": "The upload has been created. The Location header must be used to complete the upload. The response should be identical to a GET request on the contents of the returned Location header.",
- "headers": {
- "Location": {
- "description": "Provided location for blob",
- "type": "string"
- },
- "Range": {
- "description": "Range indicating the current progress of the upload.",
- "type": "string"
- },
- "Docker-Upload-UUID": {
- "description": "Identifies the docker upload uuid for the current request.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- }
- },
- "/v2/{name}/blobs/{digest}?mode=chunk": {
- "get": {
- "produces": [
- "application/octet-stream"
- ],
- "tags": [
- "ContainerRegistryBlob"
- ],
- "description": "Retrieve the blob from the registry identified by `digest`. This endpoint may also support RFC7233 compliant range requests. Support can be detected by issuing a HEAD request. If the header `Accept-Range: bytes` is returned, range requests can be used to fetch partial content.",
- "operationId": "ContainerRegistryBlob_GetChunk",
- "parameters": [
- {
- "$ref": "#/parameters/ImageName"
- },
- {
- "$ref": "#/parameters/Digest"
- },
- {
- "$ref": "#/parameters/Range"
- }
- ],
- "x-ms-examples": {
- "Get a blob Chunk": {
- "$ref": "./examples/GetBlobChunk.json"
- }
- },
- "responses": {
- "206": {
- "description": "The blob identified by digest is available. The specified chunk of blob content will be present in the body of the request.",
- "schema": {
- "description": "blob binary data",
- "type": "file",
- "format": "file"
- },
- "headers": {
- "Content-Length": {
- "type": "integer",
- "format": "int64",
- "description": "The length of the requested blob content."
- },
- "Content-Range": {
- "type": "string",
- "description": "Content range of blob chunk."
- }
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- },
- "head": {
- "tags": [
- "ContainerRegistryBlob"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/ImageName"
- },
- {
- "$ref": "#/parameters/Digest"
- },
- {
- "$ref": "#/parameters/Range"
- }
- ],
- "description": "Same as GET, except only the headers are returned.",
- "operationId": "ContainerRegistryBlob_CheckChunkExists",
- "x-ms-examples": {
- "Get headers without blob Chunk": {
- "$ref": "./examples/CheckBlobChunk.json"
- }
- },
- "responses": {
- "200": {
- "description": "The blob identified by digest is available. The specified chunk of blob content will be present in the body of the request.",
- "headers": {
- "Content-Length": {
- "type": "integer",
- "format": "int64",
- "description": "The length of the requested blob content."
- },
- "Content-Range": {
- "type": "string",
- "description": "Content range of blob chunk."
- }
- }
- },
- "default": {
- "description": "ACR error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/AcrErrors"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "RepositoryAttributes": {
- "required": [
- "registry",
- "imageName",
- "createdTime",
- "lastUpdateTime",
- "manifestCount",
- "tagCount",
- "changeableAttributes"
- ],
- "x-ms-client-name": "RepositoryProperties",
- "type": "object",
- "description": "Repository attributes",
- "properties": {
- "registry": {
- "type": "string",
- "readOnly": true,
- "description": "Registry login server name. This is likely to be similar to {registry-name}.azurecr.io",
- "x-ms-client-name": "registryLoginServer"
- },
- "imageName": {
- "type": "string",
- "readOnly": true,
- "description": "Image name",
- "x-ms-client-name": "name"
- },
- "createdTime": {
- "type": "string",
- "readOnly": true,
- "format": "date-time",
- "description": "Image created time",
- "x-ms-client-name": "createdOn"
- },
- "lastUpdateTime": {
- "type": "string",
- "readOnly": true,
- "format": "date-time",
- "description": "Image last update time",
- "x-ms-client-name": "lastUpdatedOn"
- },
- "manifestCount": {
- "type": "integer",
- "readOnly": true,
- "description": "Number of the manifests"
- },
- "tagCount": {
- "type": "integer",
- "readOnly": true,
- "description": "Number of the tags"
- },
- "changeableAttributes": {
- "description": "Writeable properties of the resource",
- "$ref": "#/definitions/RepositoryChangeableAttributes",
- "x-ms-client-flatten": true
- }
- },
- "example": {
- "registry": "registryname.azurecr.io",
- "changeableAttributes": {
- "readEnabled": true,
- "listEnabled": true,
- "deleteEnabled": true,
- "writeEnabled": true
- },
- "imageName": "imageName",
- "createdTime": "2018-09-07T16:30:46.6583219Z",
- "tagCount": 6,
- "manifestCount": 2,
- "lastUpdateTime": "2018-09-07T16:30:46.6583219Z"
- }
- },
- "TagList": {
- "required": [
- "registry",
- "imageName",
- "tags"
- ],
- "description": "List of tag details",
- "x-accessibility": "internal",
- "properties": {
- "registry": {
- "type": "string",
- "description": "Registry login server name. This is likely to be similar to {registry-name}.azurecr.io",
- "x-ms-client-name": "RegistryLoginServer"
- },
- "imageName": {
- "type": "string",
- "description": "Image name",
- "x-ms-client-name": "repository"
- },
- "tags": {
- "type": "array",
- "description": "List of tag attribute details",
- "x-ms-client-name": "TagAttributeBases",
- "x-accessibility": "internal",
- "items": {
- "$ref": "#/definitions/TagAttributesBase"
- }
- },
- "link": {
- "type": "string"
- }
- },
- "example": {
- "registry": "registry",
- "imageName": "imageName",
- "tags": [
- {
- "changeableAttributes": {
- "readEnabled": true,
- "listEnabled": true,
- "deleteEnabled": true,
- "writeEnabled": true
- },
- "name": "name",
- "digest": "digest",
- "createdTime": "createdTime",
- "signed": true,
- "lastUpdateTime": "lastUpdateTime"
- },
- {
- "changeableAttributes": {
- "readEnabled": true,
- "listEnabled": true,
- "deleteEnabled": true,
- "writeEnabled": true
- },
- "name": "name",
- "digest": "digest",
- "createdTime": "createdTime",
- "signed": true,
- "lastUpdateTime": "lastUpdateTime"
- }
- ]
- }
- },
- "TagAttributes": {
- "required": [
- "registry",
- "imageName",
- "tag"
- ],
- "x-ms-client-name": "ArtifactTagProperties",
- "description": "Tag attributes",
- "properties": {
- "registry": {
- "type": "string",
- "readOnly": true,
- "description": "Registry login server name. This is likely to be similar to {registry-name}.azurecr.io",
- "x-ms-client-name": "registryLoginServer"
- },
- "imageName": {
- "type": "string",
- "readOnly": true,
- "description": "Image name",
- "x-ms-client-name": "repositoryName"
- },
- "tag": {
- "x-ms-client-flatten": true,
- "description": "List of tag attribute details",
- "readOnly": true,
- "$ref": "#/definitions/TagAttributesBase"
- }
- },
- "example": {
- "registry": "registry",
- "imageName": "imageName",
- "tag": {
- "changeableAttributes": {
- "readEnabled": true,
- "listEnabled": true,
- "deleteEnabled": true,
- "writeEnabled": true
- },
- "name": "name",
- "digest": "digest",
- "createdTime": "createdTime",
- "signed": true,
- "lastUpdateTime": "lastUpdateTime"
- }
- }
- },
- "TagAttributesBase": {
- "required": [
- "name",
- "digest",
- "createdTime",
- "lastUpdateTime",
- "changeableAttributes"
- ],
- "description": "Tag attribute details",
- "x-accessibility": "internal",
- "properties": {
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "Tag name"
- },
- "digest": {
- "type": "string",
- "readOnly": true,
- "description": "Tag digest"
- },
- "createdTime": {
- "type": "string",
- "readOnly": true,
- "format": "date-time",
- "description": "Tag created time",
- "x-ms-client-name": "createdOn"
- },
- "lastUpdateTime": {
- "type": "string",
- "readOnly": true,
- "format": "date-time",
- "description": "Tag last update time",
- "x-ms-client-name": "lastUpdatedOn"
- },
- "changeableAttributes": {
- "$ref": "#/definitions/TagChangeableAttributes",
- "description": "Writeable properties of the resource",
- "x-ms-client-flatten": true
- }
- },
- "example": {
- "changeableAttributes": {
- "readEnabled": true,
- "listEnabled": true,
- "deleteEnabled": true,
- "writeEnabled": true
- },
- "name": "tagname",
- "digest": "sha256:0873c923e00e0fd2ba78041bfb64a105e1ecb7678916d1f7776311e45bf5634b",
- "createdTime": "2018-08-10T17:28:44.1082945Z",
- "signed": true,
- "lastUpdateTime": "2018-08-10T17:28:44.1082945Z"
- }
- },
- "TagOrderBy": {
- "type": "string",
- "enum": [
- "none",
- "timedesc",
- "timeasc"
- ],
- "x-ms-enum": {
- "name": "TagOrderBy",
- "values": [
- {
- "value": "none",
- "name": "None",
- "description": "Do not provide an orderby value in the request."
- },
- {
- "value": "timedesc",
- "name": "LastUpdatedOnDescending",
- "description": "Order tags by LastUpdatedOn field, from most recently updated to least recently updated."
- },
- {
- "value": "timeasc",
- "name": "LastUpdatedOnAscending",
- "description": "Order tags by LastUpdatedOn field, from least recently updated to most recently updated."
- }
- ]
- },
- "x-accessibility": "public"
-},
-"ArtifactArchitecture": {
- "type": "string",
- "enum": [
- "386",
- "amd64",
- "arm",
- "arm64",
- "mips",
- "mipsle",
- "mips64",
- "mips64le",
- "ppc64",
- "ppc641e",
- "riscv64",
- "s390x",
- "wasm"
- ],
- "x-ms-enum": {
- "name": "ArtifactArchitecture",
- "modelAsString": true,
- "values": [
- {
- "value": "386",
- "name": "I386",
- "description": ""
- },
- {
- "value": "amd64",
- "name": "Amd64",
- "description": ""
- },
- {
- "value": "arm",
- "name": "Arm",
- "description": ""
- },
- {
- "value": "arm64",
- "name": "Arm64",
- "description": ""
- },
- {
- "value": "mips",
- "name": "Mips",
- "description": ""
- },
- {
- "value": "mipsle",
- "name": "MipsLe",
- "description": ""
- },
- {
- "value": "mips64",
- "name": "Mips64",
- "description": ""
- },
- {
- "value": "mips64le",
- "name": "Mips64Le",
- "description": ""
- },
- {
- "value": "ppc64",
- "name": "Ppc64",
- "description": ""
- },
- {
- "value": "ppc64le",
- "name": "Ppc64Le",
- "description": ""
- },
- {
- "value": "riscv64",
- "name": "RiscV64",
- "description": ""
- },
- {
- "value": "s390x",
- "name": "S390x",
- "description": ""
- },
- {
- "value": "wasm",
- "name": "Wasm",
- "description": ""
- }
- ]
- },
- "default": "none",
- "x-accessibility": "public"
-},
-"ArtifactOperatingSystem": {
- "type": "string",
- "enum": [
- "aix",
- "android",
- "darwin",
- "dragonfly",
- "freebsd",
- "illumos",
- "ios",
- "js",
- "linux",
- "netbsd",
- "openbsd",
- "plan9",
- "solaris",
- "windows"
- ],
- "x-ms-enum": {
- "name": "ArtifactOperatingSystem",
- "modelAsString": true,
- "values": [
- {
- "value": "aix",
- "name": "Aix",
- "description": ""
- },
- {
- "value": "android",
- "name": "Android",
- "description": ""
- },
- {
- "value": "darwin",
- "name": "Darwin",
- "description": ""
- },
- {
- "value": "dragonfly",
- "name": "Dragonfly",
- "description": ""
- },
- {
- "value": "freebsd",
- "name": "FreeBsd",
- "description": ""
- },
- {
- "value": "illumos",
- "name": "Illumos",
- "description": ""
- },
- {
- "value": "ios",
- "name": "iOS",
- "description": ""
- },
- {
- "value": "js",
- "name": "JS",
- "description": ""
- },
- {
- "value": "linux",
- "name": "Linux",
- "description": ""
- },
- {
- "value": "netbsd",
- "name": "NetBsd",
- "description": ""
- },
- {
- "value": "openbsd",
- "name": "OpenBsd",
- "description": ""
- },
- {
- "value": "plan9",
- "name": "Plan9",
- "description": ""
- },
- {
- "value": "solaris",
- "name": "Solaris",
- "description": ""
- },
- {
- "value": "windows",
- "name": "Windows",
- "description": ""
- }
- ]
- },
- "x-accessibility": "public"
- },
- "AcrManifests": {
- "description": "Manifest attributes",
- "properties": {
- "registry": {
- "type": "string",
- "description": "Registry login server name. This is likely to be similar to {registry-name}.azurecr.io",
- "x-ms-client-name": "registryLoginServer"
- },
- "imageName": {
- "type": "string",
- "description": "Image name",
- "x-ms-client-name": "repository"
- },
- "manifests": {
- "type": "array",
- "description": "List of manifests",
- "items": {
- "$ref": "#/definitions/ManifestAttributesBase",
- "description": "Manifest details"
- }
- },
- "link": {
- "type": "string"
- }
- },
- "x-accessibility": "internal",
- "example": {
- "registry": "registry",
- "imageName": "imageName",
- "manifests": [
- {
- "changeableAttributes": {
- "quarantineDetails": "quarantineDetails",
- "readEnabled": true,
- "quarantineState": "quarantineState",
- "listEnabled": true,
- "deleteEnabled": true,
- "writeEnabled": true
- },
- "os": "os",
- "digest": "digest",
- "imageSize": 2401606,
- "createdTime": "createdTime",
- "mediaType": "mediaType",
- "configMediaType": "configMediaType",
- "lastUpdateTime": "lastUpdateTime",
- "architecture": "architecture",
- "tags": [
- "tags",
- "tags"
- ]
- },
- {
- "changeableAttributes": {
- "quarantineDetails": "quarantineDetails",
- "readEnabled": true,
- "quarantineState": "quarantineState",
- "listEnabled": true,
- "deleteEnabled": true,
- "writeEnabled": true
- },
- "os": "os",
- "digest": "digest",
- "imageSize": 2401606,
- "createdTime": "createdTime",
- "mediaType": "mediaType",
- "configMediaType": "configMediaType",
- "lastUpdateTime": "lastUpdateTime",
- "architecture": "architecture",
- "tags": [
- "tags",
- "tags"
- ]
- }
- ]
- }
- },
- "ManifestAttributes": {
- "required": [
- "manifest"
- ],
- "x-ms-client-name": "ArtifactManifestProperties",
- "description": "Manifest attributes details",
- "properties": {
- "registry": {
- "description": "Registry login server name. This is likely to be similar to {registry-name}.azurecr.io",
- "readOnly": true,
- "type": "string",
- "x-ms-client-name": "registryLoginServer"
- },
- "imageName": {
- "description": "Repository name",
- "type": "string",
- "readOnly": true,
- "x-ms-client-name": "repositoryName"
- },
- "manifest": {
- "x-ms-client-flatten": true,
- "readOnly": true,
- "description": "Manifest attributes",
- "$ref": "#/definitions/ManifestAttributesBase"
- }
- },
- "example": {
- "registry": "acrapi.azurecr-test.io",
- "imageName": "nanoserver",
- "manifest": {
- "digest": "sha256:110d2b6c84592561338aa040b1b14b7ab81c2f9edbd564c2285dd7d70d777086",
- "imageSize": 2401606,
- "createdTime": "2018-09-06T06:17:20.9983915Z",
- "lastUpdateTime": "2018-09-06T06:17:20.9983915Z",
- "architecture": "amd64",
- "os": "windows",
- "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
- "configMediaType": "application/vnd.docker.container.image.v1+json",
- "tags": [
- "4.7.2-20180905-nanoserver-1803"
- ],
- "changeableAttributes": {
- "deleteEnabled": true,
- "writeEnabled": true,
- "readEnabled": true,
- "listEnabled": true
- }
- }
- }
- },
- "ManifestAttributesBase": {
- "required": [
- "digest",
- "createdTime",
- "lastUpdateTime"
- ],
- "type": "object",
- "description": "Manifest details",
- "x-accessibility": "internal",
- "properties": {
- "digest": {
- "type": "string",
- "readOnly": true,
- "description": "Manifest"
- },
- "imageSize": {
- "type": "integer",
- "readOnly": true,
- "format": "int64",
- "description": "Image size",
- "x-ms-client-name": "size"
- },
- "createdTime": {
- "type": "string",
- "readOnly": true,
- "format": "date-time",
- "description": "Created time",
- "x-ms-client-name": "createdOn"
- },
- "lastUpdateTime": {
- "type": "string",
- "readOnly": true,
- "format": "date-time",
- "description": "Last update time",
- "x-ms-client-name": "lastUpdatedOn"
- },
- "architecture": {
- "$ref": "#/definitions/ArtifactArchitecture",
- "description": "CPU architecture",
- "readOnly": true,
- "x-nullable": true
- },
- "os": {
- "$ref": "#/definitions/ArtifactOperatingSystem",
- "description": "Operating system",
- "x-ms-client-name": "operatingSystem",
- "readOnly": true,
- "x-nullable": true
- },
- "references": {
- "type": "array",
- "readOnly": true,
- "description": "List of manifests referenced by this manifest list. List will be empty if this manifest is not a manifest list.",
- "x-ms-client-name": "manifestReferences",
- "items": {
- "$ref": "#/definitions/ManifestAttributes_manifest_references",
- "description": "Manifest attributes details"
- }
- },
- "tags": {
- "type": "array",
- "readOnly": true,
- "description": "List of tags",
- "items": {
- "type": "string",
- "description": "Tag name"
- }
- },
- "changeableAttributes": {
- "$ref": "#/definitions/ManifestChangeableAttributes",
- "description": "Writeable properties of the resource",
- "x-ms-client-flatten": true
- }
- },
- "example": {
- "changeableAttributes": {
- "readEnabled": true,
- "listEnabled": true,
- "deleteEnabled": true,
- "writeEnabled": true
- },
- "os": "os",
- "digest": "digest",
- "imageSize": 2401606,
- "createdTime": "createdTime",
- "mediaType": "mediaType",
- "configMediaType": "configMediaType",
- "lastUpdateTime": "lastUpdateTime",
- "architecture": "architecture",
- "tags": [
- "tags",
- "tags"
- ]
- }
- },
- "RefreshToken": {
- "type": "object",
- "properties": {
- "refresh_token": {
- "description": "The refresh token to be used for generating access tokens",
- "type": "string"
- }
- },
- "x-accessibility": "internal",
- "x-ms-client-name": "AcrRefreshToken"
- },
- "ManifestOrderBy": {
- "type": "string",
- "enum": [
- "none",
- "timedesc",
- "timeasc"
- ],
- "x-ms-enum": {
- "name": "ManifestOrderBy",
- "values": [
- {
- "value": "none",
- "name": "None",
- "description": "Do not provide an orderby value in the request."
- },
- {
- "value": "timedesc",
- "name": "LastUpdatedOnDescending",
- "description": "Order manifests by LastUpdatedOn field, from most recently updated to least recently updated."
- },
- {
- "value": "timeasc",
- "name": "LastUpdatedOnAscending",
- "description": "Order manifest by LastUpdatedOn field, from least recently updated to most recently updated."
- }
- ]
- },
- "default": "none",
- "description": "Sort options for ordering manifests in a collection.",
- "x-accessibility": "public"
- },
- "AccessToken": {
- "type": "object",
- "properties": {
- "access_token": {
- "description": "The access token for performing authenticated requests",
- "type": "string"
- }
- },
- "x-accessibility": "internal",
- "x-ms-client-name": "AcrAccessToken"
- },
- "AcrErrors": {
- "description": "Acr error response describing why the operation failed",
- "properties": {
- "errors": {
- "type": "array",
- "description": "Array of detailed error",
- "items": {
- "$ref": "#/definitions/AcrErrorInfo"
- }
- }
- }
- },
- "RepositoryTags": {
- "description": "Result of the request to list tags of the image",
- "x-accessibility": "internal",
- "properties": {
- "name": {
- "type": "string",
- "description": "Name of the image"
- },
- "tags": {
- "type": "array",
- "description": "List of tags",
- "items": {
- "type": "string",
- "description": "Tag name"
- }
- }
- },
- "example": {
- "name": "name",
- "tags": [
- "tags",
- "tags"
- ]
- }
- },
- "ImageSignature": {
- "description": "Signature of a signed manifest",
- "x-accessibility": "internal",
- "properties": {
- "header": {
- "description": "A JSON web signature",
- "$ref": "#/definitions/JWK"
- },
- "signature": {
- "type": "string",
- "description": "A signature for the image manifest, signed by a libtrust private key"
- },
- "protected": {
- "type": "string",
- "description": "The signed protected header"
- }
- },
- "example": {
- "header": {
- "jwk": {
- "crv": "P-256",
- "kid": "WGXM:EYWQ:DA53:LQUP:BCWG:5RDG:S3ZM:ETH7:VMQS:WWKZ:EWDG:V74Q",
- "kty": "EC",
- "x": "OxZ9k5BVjPZ7jb3BmBD4X0d8MVPJqfF4NeSe8reoqnY",
- "y": "EaCqTe4-vYwhk7qU6Bs2-AeLGOVtCe_-IY2MdE0Vfyc"
- },
- "alg": "ES256"
- },
- "signature": "p73LfotMGD8nNXz2g9YX2XtSllb4GI5-b3vjqP5N0nkv8QXg-r5z_omGiVbOZE2BYG1X_4TIN23l1KSEqsXxOg",
- "protected": "eyJmb3JtYXRMZW5ndGgiOjI5ODYsImZvcm1hdFRhaWwiOiJDbjAiLCJ0aW1lIjoiMjAxOC0wOS0yMFQyMzo0MTo1MloifQ"
- }
- },
- "JWK": {
- "description": "A JSON web signature",
- "x-accessibility": "internal",
- "properties": {
- "jwk": {
- "$ref": "#/definitions/JWKHeader"
- },
- "alg": {
- "type": "string",
- "description": "The algorithm used to sign or encrypt the JWT"
- }
- }
- },
- "JWKHeader": {
- "description": "JSON web key parameter",
- "x-accessibility": "internal",
- "properties": {
- "crv": {
- "type": "string",
- "description": "crv value"
- },
- "kid": {
- "type": "string",
- "description": "kid value"
- },
- "kty": {
- "type": "string",
- "description": "kty value"
- },
- "x": {
- "type": "string",
- "description": "x value"
- },
- "y": {
- "type": "string",
- "description": "y value"
- }
- }
- },
- "History": {
- "description": "A list of unstructured historical data for v1 compatibility",
- "x-accessibility": "internal",
- "properties": {
- "v1Compatibility": {
- "type": "string",
- "description": "The raw v1 compatibility information"
- }
- },
- "example": {
- "v1Compatibility": "v1 compatibility info"
- }
- },
- "Repositories": {
- "description": "List of repositories",
- "properties": {
- "repositories": {
- "type": "array",
- "description": "Repository names",
- "items": {
- "type": "string"
- }
- },
- "link": {
- "type": "string"
- }
- },
- "x-accessibility": "internal",
- "example": {
- "repositories": [
- "production/alpine",
- "testing/alpine"
- ]
- }
- },
- "DeletedRepository": {
- "x-ms-client-name": "DeleteRepositoryResult",
- "description": "Deleted repository",
- "properties": {
- "manifestsDeleted": {
- "type": "array",
- "readOnly": true,
- "description": "SHA of the deleted image",
- "items": {
- "type": "string"
- },
- "x-ms-client-name": "deletedManifests"
- },
- "tagsDeleted": {
- "type": "array",
- "readOnly": true,
- "description": "Tag of the deleted image",
- "items": {
- "type": "string"
- },
- "x-ms-client-name": "deletedTags"
- }
- }
- },
- "AcrErrorInfo": {
- "description": "Error information",
- "properties": {
- "code": {
- "description": "Error code",
- "type": "string"
- },
- "message": {
- "type": "string",
- "description": "Error message"
- },
- "detail": {
- "type": "object",
- "description": "Error details"
- }
- }
- },
- "FsLayer": {
- "description": "Image layer information",
- "x-accessibility": "internal",
- "properties": {
- "blobSum": {
- "type": "string",
- "description": "SHA of an image layer"
- }
- },
- "example": {
- "blobSum": "sha256:1f7d468f830cb0ed4beb8edc9438f18096e8c682e56a35242f60e6c61b718b30"
- }
- },
- "Descriptor": {
- "description": "Docker V2 image layer descriptor including config and layers",
- "x-accessibility": "internal",
- "properties": {
- "mediaType": {
- "type": "string",
- "description": "Layer media type"
- },
- "size": {
- "type": "integer",
- "format": "int64",
- "description": "Layer size"
- },
- "digest": {
- "type": "string",
- "description": "Layer digest"
- },
- "urls": {
- "type": "array",
- "description": "Specifies a list of URIs from which this object may be downloaded.",
- "items": {
- "description": "Must conform to RFC 3986. Entries should use the http and https schemes, as defined in RFC 7230.",
- "type": "string"
- }
- },
- "annotations": {
- "$ref": "#/definitions/Annotations"
- }
- },
- "example": {
- "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
- "size": 2107098,
- "digest": "sha256:5d20c808ce198565ff70b3ed23a991dd49afac45dece63474b27ce6ed036adc6"
- }
- },
- "TagChangeableAttributes": {
- "description": "Changeable attributes",
- "x-ms-client-name": "TagWriteableProperties",
- "x-accessibility": "internal",
- "properties": {
- "deleteEnabled": {
- "type": "boolean",
- "description": "Delete enabled",
- "x-ms-client-name": "canDelete"
- },
- "writeEnabled": {
- "type": "boolean",
- "description": "Write enabled",
- "x-ms-client-name": "canWrite"
- },
- "listEnabled": {
- "type": "boolean",
- "description": "List enabled",
- "x-ms-client-name": "canList"
- },
- "readEnabled": {
- "type": "boolean",
- "description": "Read enabled",
- "x-ms-client-name": "canRead"
- }
- },
- "example": {
- "readEnabled": true,
- "listEnabled": true,
- "deleteEnabled": true,
- "writeEnabled": true
- }
- },
- "TagAttributes_tag": {
- "description": "Tag",
- "properties": {
- "signatureRecord": {
- "description": "SignatureRecord value",
- "type": "string"
- }
- },
- "example": {
- "signatureRecord": "signatureRecord"
- }
- },
- "ManifestAttributes_manifest_references": {
- "required": [
- "digest",
- "architecture",
- "os"
- ],
- "x-ms-client-name": "ArtifactManifestReference",
- "description": "Manifest attributes details",
- "properties": {
- "digest": {
- "type": "string",
- "readOnly": true,
- "description": "Manifest digest"
- },
- "architecture": {
- "$ref": "#/definitions/ArtifactArchitecture",
- "readOnly": true,
- "description": "CPU architecture"
- },
- "os": {
- "$ref": "#/definitions/ArtifactOperatingSystem",
- "readOnly": true,
- "description": "Operating system",
- "x-ms-client-name": "operatingSystem"
- }
- },
- "example": {
- "os": "os",
- "digest": "digest",
- "architecture": "architecture"
- }
- },
- "ManifestAttributes_manifest": {
- "description": "List of manifest attributes",
- "properties": {
- "references": {
- "type": "array",
- "description": "List of manifest attributes details",
- "items": {
- "$ref": "#/definitions/ManifestAttributes_manifest_references",
- "description": "Manifest attributes details"
- }
- },
- "quarantineTag": {
- "type": "string",
- "description": "Quarantine tag name"
- }
- },
- "example": {
- "quarantineTag": "quarantineTag",
- "references": [
- {
- "os": "os",
- "digest": "digest",
- "architecture": "architecture"
- },
- {
- "os": "os",
- "digest": "digest",
- "architecture": "architecture"
- }
- ]
- }
- },
- "ManifestChangeableAttributes": {
- "description": "Changeable attributes",
- "x-ms-client-name": "ManifestWriteableProperties",
- "x-accessibility": "internal",
- "properties": {
- "deleteEnabled": {
- "type": "boolean",
- "description": "Delete enabled",
- "x-ms-client-name": "canDelete"
- },
- "writeEnabled": {
- "type": "boolean",
- "description": "Write enabled",
- "x-ms-client-name": "canWrite"
- },
- "listEnabled": {
- "type": "boolean",
- "description": "List enabled",
- "x-ms-client-name": "canList"
- },
- "readEnabled": {
- "type": "boolean",
- "description": "Read enabled",
- "x-ms-client-name": "canRead"
- },
- "quarantineState": {
- "type": "string",
- "description": "Quarantine state",
- "x-accessibility": "internal"
- },
- "quarantineDetails": {
- "type": "string",
- "description": "Quarantine details",
- "x-accessibility": "internal"
- }
- },
- "example": {
- "quarantineDetails": "quarantineDetails",
- "readEnabled": true,
- "quarantineState": "quarantineState",
- "listEnabled": true,
- "deleteEnabled": true,
- "writeEnabled": true
- }
- },
- "RepositoryChangeableAttributes": {
- "description": "Changeable attributes for Repository",
- "x-ms-client-name": "RepositoryWriteableProperties",
- "x-accessibility": "internal",
- "properties": {
- "deleteEnabled": {
- "type": "boolean",
- "description": "Delete enabled",
- "x-ms-client-name": "canDelete"
- },
- "writeEnabled": {
- "type": "boolean",
- "description": "Write enabled",
- "x-ms-client-name": "canWrite"
- },
- "listEnabled": {
- "type": "boolean",
- "description": "List enabled",
- "x-ms-client-name": "canList"
- },
- "readEnabled": {
- "type": "boolean",
- "description": "Read enabled",
- "x-ms-client-name": "canRead"
- },
- "teleportEnabled": {
- "type": "boolean",
- "description": "Enables Teleport functionality on new images in the repository improving Container startup performance"
- }
- },
- "example": {
- "readEnabled": true,
- "listEnabled": true,
- "deleteEnabled": true,
- "writeEnabled": true,
- "teleportEnabled": true
- }
- },
- "Manifest": {
- "description": "Returns the requested manifest file",
- "x-accessibility": "internal",
- "properties": {
- "schemaVersion": {
- "type": "integer",
- "description": "Schema version"
- }
- }
- },
- "ManifestWrapper": {
- "description": "Returns the requested manifest file",
- "x-accessibility": "internal",
- "properties": {
- "mediaType": {
- "type": "string",
- "description": "Media type for this Manifest"
- },
- "manifests": {
- "type": "array",
- "description": "(ManifestList, OCIIndex) List of V2 image layer information",
- "items": {
- "$ref": "#/definitions/ManifestListAttributes"
- }
- },
- "config": {
- "description": "(V2, OCI) Image config descriptor",
- "$ref": "#/definitions/Descriptor"
- },
- "layers": {
- "type": "array",
- "description": "(V2, OCI) List of V2 image layer information",
- "items": {
- "$ref": "#/definitions/Descriptor"
- }
- },
- "annotations": {
- "description": "(OCI, OCIIndex) Additional metadata",
- "$ref": "#/definitions/Annotations"
- },
- "architecture": {
- "type": "string",
- "description": "(V1) CPU architecture"
- },
- "name": {
- "type": "string",
- "description": "(V1) Image name"
- },
- "tag": {
- "type": "string",
- "description": "(V1) Image tag"
- },
- "fsLayers": {
- "type": "array",
- "description": "(V1) List of layer information",
- "items": {
- "$ref": "#/definitions/FsLayer"
- }
- },
- "history": {
- "type": "array",
- "description": "(V1) Image history",
- "items": {
- "$ref": "#/definitions/History"
- }
- },
- "signatures": {
- "type": "array",
- "description": "(V1) Image signature",
- "items": {
- "$ref": "#/definitions/ImageSignature"
- }
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/Manifest"
- }
- ]
- },
- "ManifestList": {
- "x-ms-discriminator-value": "application/vnd.docker.distribution.manifest.list.v2+json",
- "description": "Returns the requested Docker multi-arch-manifest file",
- "x-accessibility": "internal",
- "properties": {
- "mediaType": {
- "type": "string",
- "description": "Media type for this Manifest"
- },
- "manifests": {
- "type": "array",
- "description": "List of V2 image layer information",
- "items": {
- "$ref": "#/definitions/ManifestListAttributes"
- }
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/Manifest"
- }
- ]
- },
- "ManifestListAttributes": {
- "x-accessibility": "internal",
- "properties": {
- "mediaType": {
- "type": "string",
- "description": "The MIME type of the referenced object. This will generally be application/vnd.docker.image.manifest.v2+json, but it could also be application/vnd.docker.image.manifest.v1+json"
- },
- "size": {
- "type": "integer",
- "format": "int64",
- "description": "The size in bytes of the object"
- },
- "digest": {
- "type": "string",
- "description": "The digest of the content, as defined by the Registry V2 HTTP API Specification"
- },
- "platform": {
- "$ref": "#/definitions/Platform"
- }
- }
- },
- "Platform": {
- "description": "The platform object describes the platform which the image in the manifest runs on. A full list of valid operating system and architecture values are listed in the Go language documentation for $GOOS and $GOARCH",
- "x-accessibility": "internal",
- "properties": {
- "architecture": {
- "type": "string",
- "description": "Specifies the CPU architecture, for example amd64 or ppc64le."
- },
- "os": {
- "type": "string",
- "description": "The os field specifies the operating system, for example linux or windows."
- },
- "os.version": {
- "type": "string",
- "description": "The optional os.version field specifies the operating system version, for example 10.0.10586."
- },
- "os.features": {
- "type": "array",
- "description": "The optional os.features field specifies an array of strings, each listing a required OS feature (for example on Windows win32k",
- "items": {
- "type": "string"
- }
- },
- "variant": {
- "type": "string",
- "description": "The optional variant field specifies a variant of the CPU, for example armv6l to specify a particular CPU variant of the ARM CPU."
- },
- "features": {
- "type": "array",
- "description": "The optional features field specifies an array of strings, each listing a required CPU feature (for example sse4 or aes",
- "items": {
- "type": "string"
- }
- }
- }
- },
- "V2Manifest": {
- "x-ms-discriminator-value": "application/vnd.docker.distribution.manifest.v2+json",
- "x-accessibility": "internal",
- "description": "Returns the requested Docker V2 Manifest file",
- "properties": {
- "mediaType": {
- "type": "string",
- "description": "Media type for this Manifest"
- },
- "config": {
- "description": "V2 image config descriptor",
- "$ref": "#/definitions/Descriptor"
- },
- "layers": {
- "type": "array",
- "description": "List of V2 image layer information",
- "items": {
- "$ref": "#/definitions/Descriptor"
- }
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/Manifest"
- }
- ],
- "example": {
- "schemaVersion": 2,
- "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
- "config": {
- "mediaType": "application/vnd.docker.container.image.v1+json",
- "size": 1512,
- "digest": "sha256:6d1ef012b5674ad8a127ecfa9b5e6f5178d171b90ee462846974177fd9bdd39f"
- },
- "layers": [
- {
- "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
- "size": 2107098,
- "digest": "sha256:5d20c808ce198565ff70b3ed23a991dd49afac45dece63474b27ce6ed036adc6"
- }
- ]
- }
- },
- "OCIManifest": {
- "x-ms-discriminator-value": "application/vnd.oci.image.manifest.v1+json",
- "x-accessibility": "internal",
- "description": "Returns the requested OCI Manifest file",
- "properties": {
- "config": {
- "description": "V2 image config descriptor",
- "$ref": "#/definitions/Descriptor"
- },
- "layers": {
- "type": "array",
- "description": "List of V2 image layer information",
- "items": {
- "$ref": "#/definitions/Descriptor"
- }
- },
- "annotations": {
- "$ref": "#/definitions/Annotations"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/Manifest"
- }
- ]
- },
- "OCIIndex": {
- "x-ms-discriminator-value": "application/vnd.oci.image.index.v1+json",
- "x-accessibility": "internal",
- "description": "Returns the requested OCI index file",
- "properties": {
- "manifests": {
- "type": "array",
- "description": "List of OCI image layer information",
- "items": {
- "$ref": "#/definitions/ManifestListAttributes"
- }
- },
- "annotations": {
- "$ref": "#/definitions/Annotations"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/Manifest"
- }
- ]
- },
- "V1Manifest": {
- "description": "Returns the requested V1 manifest file",
- "x-ms-discriminator-value": "application/vnd.oci.image.manifest.v1+json",
- "x-accessibility": "internal",
- "properties": {
- "architecture": {
- "type": "string",
- "description": "CPU architecture"
- },
- "name": {
- "type": "string",
- "description": "Image name"
- },
- "tag": {
- "type": "string",
- "description": "Image tag"
- },
- "fsLayers": {
- "type": "array",
- "description": "List of layer information",
- "items": {
- "$ref": "#/definitions/FsLayer"
- }
- },
- "history": {
- "type": "array",
- "description": "Image history",
- "items": {
- "$ref": "#/definitions/History"
- }
- },
- "signatures": {
- "type": "array",
- "description": "Image signature",
- "items": {
- "$ref": "#/definitions/ImageSignature"
- }
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/Manifest"
- }
- ]
- },
- "Annotations": {
- "description": "Additional information provided through arbitrary metadata.",
- "x-accessibility": "internal",
- "type": "object",
- "x-nullable": true,
- "additionalProperties": {
- "type": "object"
- },
- "properties": {
- "org.opencontainers.image.created": {
- "description": "Date and time on which the image was built (string, date-time as defined by https://tools.ietf.org/html/rfc3339#section-5.6)",
- "type": "string",
- "format": "date-time",
- "x-ms-client-name": "Created"
- },
- "org.opencontainers.image.authors": {
- "description": "Contact details of the people or organization responsible for the image.",
- "type": "string",
- "x-ms-client-name": "Authors"
- },
- "org.opencontainers.image.url": {
- "description": "URL to find more information on the image.",
- "type": "string",
- "x-ms-client-name": "Url"
- },
- "org.opencontainers.image.documentation": {
- "description": "URL to get documentation on the image.",
- "type": "string",
- "x-ms-client-name": "Documentation"
- },
- "org.opencontainers.image.source": {
- "description": "URL to get source code for building the image.",
- "type": "string",
- "x-ms-client-name": "Source"
- },
- "org.opencontainers.image.version": {
- "description": "Version of the packaged software. The version MAY match a label or tag in the source code repository, may also be Semantic versioning-compatible",
- "type": "string",
- "x-ms-client-name": "Version"
- },
- "org.opencontainers.image.revision": {
- "description": "Source control revision identifier for the packaged software.",
- "type": "string",
- "x-ms-client-name": "Revision"
- },
- "org.opencontainers.image.vendor": {
- "description": "Name of the distributing entity, organization or individual.",
- "type": "string",
- "x-ms-client-name": "Vendor"
- },
- "org.opencontainers.image.licenses": {
- "description": "License(s) under which contained software is distributed as an SPDX License Expression.",
- "type": "string",
- "x-ms-client-name": "Licenses"
- },
- "org.opencontainers.image.ref.name": {
- "description": "Name of the reference for a target.",
- "type": "string",
- "x-ms-client-name": "Name"
- },
- "org.opencontainers.image.title": {
- "description": "Human-readable title of the image",
- "type": "string",
- "x-ms-client-name": "Title"
- },
- "org.opencontainers.image.description": {
- "description": "Human-readable description of the software packaged in the image",
- "type": "string",
- "x-ms-client-name": "Description"
- }
- }
- }
- },
- "parameters": {
- "Url": {
- "name": "url",
- "x-ms-client-name": "loginUri",
- "description": "Registry login URL",
- "required": true,
- "type": "string",
- "in": "path",
- "x-ms-skip-url-encoding": true,
- "x-ms-parameter-location": "client"
- },
- "ImageReference": {
- "name": "reference",
- "in": "path",
- "description": "A tag or a digest, pointing to a specific image",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "ManifestReference": {
- "name": "reference",
- "in": "path",
- "description": "Tag or digest of the target manifest",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "TagReference": {
- "name": "reference",
- "in": "path",
- "description": "Tag name",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "Digest": {
- "name": "digest",
- "in": "path",
- "description": "Digest of a BLOB",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "DigestReference": {
- "name": "reference",
- "in": "path",
- "description": "Digest of a BLOB",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "BlobQueryDigest": {
- "name": "digest",
- "in": "query",
- "description": "Digest of a BLOB",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "RepositoryAttributeValue": {
- "name": "value",
- "in": "body",
- "description": "Repository attribute value",
- "required": false,
- "schema": {
- "$ref": "#/definitions/RepositoryChangeableAttributes"
- },
- "x-ms-parameter-location": "method"
- },
- "TagAttributeValue": {
- "name": "value",
- "in": "body",
- "description": "Tag attribute value",
- "required": false,
- "schema": {
- "$ref": "#/definitions/TagChangeableAttributes"
- },
- "x-ms-parameter-location": "method"
- },
- "ManifestAttributeValue": {
- "name": "value",
- "in": "body",
- "description": "Manifest attribute value",
- "required": false,
- "schema": {
- "$ref": "#/definitions/ManifestChangeableAttributes"
- },
- "x-ms-parameter-location": "method"
- },
- "QueryOrderBy": {
- "name": "orderby",
- "in": "query",
- "description": "orderby query parameter",
- "required": false,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "QueryNum": {
- "name": "n",
- "in": "query",
- "description": "query parameter for max number of items",
- "required": false,
- "type": "integer",
- "x-ms-parameter-location": "method"
- },
- "QueryLast": {
- "name": "last",
- "in": "query",
- "description": "Query parameter for the last item in previous query. Result set will include values lexically after last.",
- "required": false,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "QueryDigest": {
- "name": "digest",
- "in": "query",
- "description": "filter by digest",
- "required": false,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "Grant_type": {
- "name": "grant_type",
- "description": "Can take a value of access_token",
- "type": "string",
- "in": "formData",
- "required": true,
- "enum": [
- "access_token"
- ],
- "x-ms-parameter-location": "method",
- "x-accessibility": "internal"
- },
- "Service": {
- "name": "service",
- "in": "formData",
- "required": true,
- "description": "Indicates the name of your Azure container registry.",
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "Tenant": {
- "name": "tenant",
- "in": "formData",
- "required": false,
- "description": "AAD tenant associated to the AAD credentials.",
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "Scope": {
- "name": "scope",
- "in": "formData",
- "required": true,
- "description": "Which is expected to be a valid scope, and can be specified more than once for multiple scope requests. You can obtain this from the Www-Authenticate response header from the challenge.",
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "RefreshToken": {
- "name": "refresh_token",
- "in": "formData",
- "required": false,
- "description": "AAD refresh token, mandatory when grant_type is access_token_refresh_token or refresh_token",
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "AccessToken": {
- "name": "access_token",
- "x-ms-client-name": "aadAccessToken",
- "in": "formData",
- "required": true,
- "description": "AAD access token, mandatory when grant_type is access_token_refresh_token or access_token.",
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "ImageName": {
- "name": "name",
- "in": "path",
- "description": "Name of the image (including the namespace)",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "ManifestBody": {
- "description": "Manifest body, can take v1 or v2 values depending on accept header",
- "name": "payload",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Manifest"
- },
- "x-ms-parameter-location": "method"
- },
- "RawData": {
- "name": "value",
- "description": "Raw data of blob",
- "in": "body",
- "schema": {
- "type": "object",
- "format": "file"
- },
- "required": true,
- "x-ms-parameter-location": "method"
- },
- "RawDataOptional": {
- "name": "value",
- "description": "Optional raw data of blob",
- "in": "body",
- "schema": {
- "type": "object",
- "format": "file"
- },
- "required": false,
- "x-ms-parameter-location": "method"
- },
- "From": {
- "name": "from",
- "type": "string",
- "in": "query",
- "description": "Name of the source repository.",
- "required": true,
- "x-ms-parameter-location": "method"
- },
- "Mount": {
- "name": "mount",
- "description": "Digest of blob to mount from the source repository.",
- "type": "string",
- "in": "query",
- "required": true,
- "x-ms-parameter-location": "method"
- },
- "Uuid": {
- "name": "uuid",
- "description": "A uuid identifying the upload.",
- "type": "string",
- "in": "path",
- "required": true,
- "x-ms-parameter-location": "method"
- },
- "Content-Range": {
- "name": "Content-Range",
- "in": "header",
- "description": "Range of bytes identifying the desired block of content represented by the body. Start must the end offset retrieved via status check plus one. Note that this is a non-standard use of the `Content-Range` header.",
- "type": "string",
- "required": true,
- "x-ms-parameter-location": "method"
- },
- "Range": {
- "name": "Range",
- "type": "string",
- "description": "Format : bytes=-, HTTP Range header specifying blob chunk.",
- "in": "header",
- "required": true,
- "x-ms-parameter-location": "method"
- },
- "NoUploadCache": {
- "description": "Acquired from NextLink",
- "name": "_nouploadcache",
- "in": "query",
- "type": "boolean",
- "required": false,
- "x-ms-parameter-location": "method"
- },
- "State": {
- "description": "Acquired from NextLink",
- "name": "_state",
- "in": "query",
- "type": "string",
- "required": false,
- "x-ms-parameter-location": "method"
- },
- "NextLink": {
- "name": "nextBlobUuidLink",
- "x-ms-client-name": "location",
- "type": "string",
- "description": "Link acquired from upload start or previous chunk. Note, do not include initial / (must do substring(1) )",
- "in": "path",
- "required": true,
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- }
- }
-}
\ No newline at end of file
diff --git a/sdk/core/azure-core-amqp/CHANGELOG.md b/sdk/core/azure-core-amqp/CHANGELOG.md
index e82bf2c94798..db88e271f4f7 100644
--- a/sdk/core/azure-core-amqp/CHANGELOG.md
+++ b/sdk/core/azure-core-amqp/CHANGELOG.md
@@ -1,5 +1,17 @@
# Release History
+## 2.1.0-beta.1 (Unreleased)
+
+### New Features
+- Exposing CbsAuthorizationType.
+
+### Bug Fixes
+- Fixed a bug where connection and sessions would not be disposed when their endpoint closed.
+
+## 2.0.6 (2021-05-24)
+### Bug Fixes
+- Fixed a bug that caused amqp connection not to retry when network error happened.
+
## 2.0.5 (2021-05-07)
### Dependency Updates
diff --git a/sdk/core/azure-core-amqp/README.md b/sdk/core/azure-core-amqp/README.md
index 605e6b3f3e3e..8551b3b020e4 100644
--- a/sdk/core/azure-core-amqp/README.md
+++ b/sdk/core/azure-core-amqp/README.md
@@ -16,7 +16,7 @@ own AMQP client library that abstracts from the underlying transport library's i
com.azure
azure-core-amqp
- 2.0.5
+ 2.0.6
```
[//]: # ({x-version-update-end})
diff --git a/sdk/core/azure-core-amqp/pom.xml b/sdk/core/azure-core-amqp/pom.xml
index 132013a61b43..801b17b24fa2 100644
--- a/sdk/core/azure-core-amqp/pom.xml
+++ b/sdk/core/azure-core-amqp/pom.xml
@@ -63,12 +63,12 @@
com.microsoft.azure
qpid-proton-j-extensions
- 1.2.3
+ 1.2.4
org.apache.qpid
proton-j
- 0.33.4
+ 0.33.8
@@ -114,9 +114,8 @@
- com.microsoft.azure:qpid-proton-j-extensions:[1.2.3]
-
- org.apache.qpid:proton-j:[0.33.4]
+ com.microsoft.azure:qpid-proton-j-extensions:[1.2.4]
+ org.apache.qpid:proton-j:[0.33.8]
diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/AmqpErrorCondition.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/AmqpErrorCondition.java
index fdf9de731921..13a6e9b40c28 100644
--- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/AmqpErrorCondition.java
+++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/AmqpErrorCondition.java
@@ -104,7 +104,7 @@ public enum AmqpErrorCondition {
*/
PROTON_IO("proton:io"),
/**
- * A connection error occurred.
+ * A connection error occurred. A valid frame header cannot be formed from the incoming byte stream.
*/
CONNECTION_FRAMING_ERROR("amqp:connection:framing-error"),
/**
@@ -139,7 +139,50 @@ public enum AmqpErrorCondition {
/**
* Error condition when a subscription client tries to create a rule with the name of an already existing rule.
*/
- ENTITY_ALREADY_EXISTS("com.microsoft:entity-already-exists");
+ ENTITY_ALREADY_EXISTS("com.microsoft:entity-already-exists"),
+
+ /**
+ * The container is no longer available on the current connection. The peer SHOULD attempt reconnection to the
+ * container using the details provided in the info map.
+ *
+ * The address provided cannot be resolved to a terminus at the current container. The info map MAY contain the
+ * following information to allow the client to locate the attach to the terminus.
+ *
+ * hostname:
+ * the hostname of the container. This is the value that SHOULD be supplied in the hostname field of the open frame,
+ * and during the SASL and TLS negotiation (if used).
+ *
+ * network-host:
+ * the DNS hostname or IP address of the machine hosting the container.
+ *
+ * port:
+ * the port number on the machine hosting the container.
+ */
+ CONNECTION_REDIRECT("amqp:connection:redirect"),
+
+ /**
+ * The address provided cannot be resolved to a terminus at the current container. The info map MAY contain the
+ * following information to allow the client to locate the attach to the terminus.
+ *
+ * hostname:
+ * the hostname of the container hosting the terminus. This is the value that SHOULD be supplied in the hostname
+ * field of the open frame, and during SASL and TLS negotiation (if used).
+ *
+ * network-host:
+ * the DNS hostname or IP address of the machine hosting the container.
+ *
+ * port:
+ * the port number on the machine hosting the container.
+ *
+ * address:
+ * the address of the terminus at the container.
+ */
+ LINK_REDIRECT("amqp:link:redirect"),
+
+ /**
+ * The peer sent more message transfers than currently allowed on the link.
+ */
+ TRANSFER_LIMIT_EXCEEDED("amqp:link:transfer-limit-exceeded");
private static final Map ERROR_CONSTANT_MAP = new HashMap<>();
private final String errorCondition;
@@ -150,6 +193,11 @@ public enum AmqpErrorCondition {
}
}
+ /**
+ * Creates an instance with the error condition header.
+ *
+ * @param errorCondition Error condition header value.
+ */
AmqpErrorCondition(String errorCondition) {
this.errorCondition = errorCondition;
}
diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/AmqpErrorContext.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/AmqpErrorContext.java
index b6336124bdc2..6bc219624af2 100644
--- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/AmqpErrorContext.java
+++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/AmqpErrorContext.java
@@ -8,11 +8,14 @@
import com.azure.core.util.CoreUtils;
import java.io.Serializable;
+import java.util.Collections;
import java.util.Locale;
+import java.util.Map;
+import java.util.Objects;
/**
- * Provides context for an {@link AmqpException} that occurs in an {@link AmqpConnection}, {@link AmqpSession},
- * or {@link AmqpLink}.
+ * Provides context for an {@link AmqpException} that occurs in an {@link AmqpConnection}, {@link AmqpSession}, or
+ * {@link AmqpLink}.
*
* @see AmqpException
* @see SessionErrorContext
@@ -24,11 +27,13 @@ public class AmqpErrorContext implements Serializable {
private static final long serialVersionUID = -2819764407122954922L;
private final String namespace;
+ private final Map errorInfo;
/**
* Creates a new instance with the provided {@code namespace}.
*
* @param namespace The service namespace of the error.
+ *
* @throws IllegalArgumentException when {@code namespace} is {@code null} or empty.
*/
public AmqpErrorContext(String namespace) {
@@ -37,6 +42,24 @@ public AmqpErrorContext(String namespace) {
}
this.namespace = namespace;
+ this.errorInfo = null;
+ }
+
+ /**
+ * Creates a new instance with the provided {@code namespace}.
+ *
+ * @param namespace The service namespace of the error.
+ * @param errorInfo Additional information associated with the error.
+ *
+ * @throws IllegalArgumentException when {@code namespace} is {@code null} or empty.
+ */
+ public AmqpErrorContext(String namespace, Map errorInfo) {
+ if (CoreUtils.isNullOrEmpty(namespace)) {
+ throw new IllegalArgumentException("'namespace' cannot be null or empty");
+ }
+
+ this.namespace = namespace;
+ this.errorInfo = Objects.requireNonNull(errorInfo, "'errorInfo' cannot be null.");
}
/**
@@ -48,6 +71,15 @@ public String getNamespace() {
return namespace;
}
+ /**
+ * Gets the map carrying information about the error condition.
+ *
+ * @return Map carrying additional information about the error.
+ */
+ public Map getErrorInfo() {
+ return errorInfo != null ? Collections.unmodifiableMap(errorInfo) : Collections.emptyMap();
+ }
+
/**
* Creates a string representation of this ErrorContext.
*
@@ -55,6 +87,15 @@ public String getNamespace() {
*/
@Override
public String toString() {
- return String.format(Locale.US, "NAMESPACE: %s", getNamespace());
+ final String formatString = "NAMESPACE: %s. ERROR CONTEXT: %s";
+
+ if (errorInfo == null) {
+ return String.format(Locale.ROOT, formatString, getNamespace(), "N/A");
+ }
+
+ final StringBuilder builder = new StringBuilder();
+ errorInfo.forEach((key, value) -> builder.append(String.format("[%s: %s], ", key, value)));
+
+ return String.format(Locale.ROOT, formatString, getNamespace(), builder.toString());
}
}
diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/AmqpException.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/AmqpException.java
index f240014e1120..d967ff261c99 100644
--- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/AmqpException.java
+++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/AmqpException.java
@@ -12,6 +12,8 @@
* General exception for AMQP related failures.
*
* @see AmqpErrorCondition
+ * @see Amqp
+ * Error
* @see Azure Messaging
* Exceptions
*/
diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/AmqpResponseCode.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/AmqpResponseCode.java
index 44dd950c02cc..0c60672f3070 100644
--- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/AmqpResponseCode.java
+++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/AmqpResponseCode.java
@@ -59,11 +59,11 @@ public enum AmqpResponseCode {
GATEWAY_TIMEOUT(504),
HTTP_VERSION_NOT_SUPPORTED(505);
- private static Map valueMap = new HashMap<>();
+ private static final Map VALUE_MAP = new HashMap<>();
static {
for (AmqpResponseCode code : AmqpResponseCode.values()) {
- valueMap.put(code.value, code);
+ VALUE_MAP.put(code.value, code);
}
}
@@ -81,7 +81,7 @@ public enum AmqpResponseCode {
* is found.
*/
public static AmqpResponseCode fromValue(final int value) {
- return valueMap.get(value);
+ return VALUE_MAP.get(value);
}
/**
diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AmqpChannelProcessor.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AmqpChannelProcessor.java
index 02400669c49d..e8dac4df57b4 100644
--- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AmqpChannelProcessor.java
+++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AmqpChannelProcessor.java
@@ -6,6 +6,7 @@
import com.azure.core.amqp.AmqpEndpointState;
import com.azure.core.amqp.AmqpRetryPolicy;
import com.azure.core.amqp.exception.AmqpException;
+import com.azure.core.util.AsyncCloseable;
import com.azure.core.util.logging.ClientLogger;
import org.reactivestreams.Processor;
import org.reactivestreams.Subscription;
@@ -298,8 +299,8 @@ private void setAndClearChannel() {
}
private void close(T channel) {
- if (channel instanceof AsyncAutoCloseable) {
- ((AsyncAutoCloseable) channel).closeAsync().subscribe();
+ if (channel instanceof AsyncCloseable) {
+ ((AsyncCloseable) channel).closeAsync().subscribe();
} else if (channel instanceof AutoCloseable) {
try {
((AutoCloseable) channel).close();
diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AsyncAutoCloseable.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AsyncAutoCloseable.java
deleted file mode 100644
index 391ed693174c..000000000000
--- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AsyncAutoCloseable.java
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-package com.azure.core.amqp.implementation;
-
-import reactor.core.publisher.Mono;
-
-/**
- * Asynchronous class to close resources.
- */
-public interface AsyncAutoCloseable {
-
- /**
- * Begins the close operation. If one is in progress, will return that existing close operation.
- *
- * @return A mono representing the close operation.
- */
- Mono closeAsync();
-}
diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AzureTokenManagerProvider.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AzureTokenManagerProvider.java
index cef5dc3e8ee9..9641fb0ef688 100644
--- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AzureTokenManagerProvider.java
+++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AzureTokenManagerProvider.java
@@ -4,6 +4,7 @@
package com.azure.core.amqp.implementation;
import com.azure.core.amqp.ClaimsBasedSecurityNode;
+import com.azure.core.amqp.models.CbsAuthorizationType;
import com.azure.core.util.logging.ClientLogger;
import reactor.core.publisher.Mono;
@@ -57,14 +58,13 @@ public TokenManager getTokenManager(Mono cbsNodeMono, S
*/
@Override
public String getScopesFromResource(String resource) {
- switch (authorizationType) {
- case JSON_WEB_TOKEN:
- return activeDirectoryScope;
- case SHARED_ACCESS_SIGNATURE:
- return String.format(Locale.US, TOKEN_AUDIENCE_FORMAT, fullyQualifiedNamespace, resource);
- default:
- throw logger.logExceptionAsError(new IllegalArgumentException(String.format(Locale.US,
- "'%s' is not supported authorization type for token audience.", authorizationType)));
+ if (CbsAuthorizationType.JSON_WEB_TOKEN.equals(authorizationType)) {
+ return activeDirectoryScope;
+ } else if (CbsAuthorizationType.SHARED_ACCESS_SIGNATURE.equals(authorizationType)) {
+ return String.format(Locale.US, TOKEN_AUDIENCE_FORMAT, fullyQualifiedNamespace, resource);
+ } else {
+ throw logger.logExceptionAsError(new IllegalArgumentException(String.format(Locale.US,
+ "'%s' is not supported authorization type for token audience.", authorizationType)));
}
}
}
diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ClaimsBasedSecurityChannel.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ClaimsBasedSecurityChannel.java
index 6e72b5acb2bf..5dee735fa688 100644
--- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ClaimsBasedSecurityChannel.java
+++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ClaimsBasedSecurityChannel.java
@@ -7,6 +7,7 @@
import com.azure.core.amqp.ClaimsBasedSecurityNode;
import com.azure.core.amqp.exception.AmqpException;
import com.azure.core.amqp.exception.AmqpResponseCode;
+import com.azure.core.amqp.models.CbsAuthorizationType;
import com.azure.core.credential.TokenCredential;
import com.azure.core.credential.TokenRequestContext;
import com.azure.core.util.logging.ClientLogger;
@@ -58,7 +59,7 @@ public Mono authorize(String tokenAudience, String scopes) {
final Map properties = new HashMap<>();
properties.put(PUT_TOKEN_OPERATION, PUT_TOKEN_OPERATION_VALUE);
properties.put(PUT_TOKEN_EXPIRY, Date.from(accessToken.getExpiresAt().toInstant()));
- properties.put(PUT_TOKEN_TYPE, authorizationType.getTokenType());
+ properties.put(PUT_TOKEN_TYPE, authorizationType.toString());
properties.put(PUT_TOKEN_AUDIENCE, tokenAudience);
final ApplicationProperties applicationProperties = new ApplicationProperties(properties);
diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ConnectionOptions.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ConnectionOptions.java
index 5e5cb378dfca..5075a6c7529a 100644
--- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ConnectionOptions.java
+++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ConnectionOptions.java
@@ -8,6 +8,7 @@
import com.azure.core.amqp.ProxyOptions;
import com.azure.core.amqp.implementation.handler.ConnectionHandler;
import com.azure.core.amqp.implementation.handler.WebSocketsConnectionHandler;
+import com.azure.core.amqp.models.CbsAuthorizationType;
import com.azure.core.annotation.Immutable;
import com.azure.core.credential.TokenCredential;
import com.azure.core.util.ClientOptions;
diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorConnection.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorConnection.java
index 416286ace200..0c38ed2b5d3c 100644
--- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorConnection.java
+++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorConnection.java
@@ -120,7 +120,7 @@ public ReactorConnection(String connectionId, ConnectionOptions connectionOption
if (isDisposed.getAndSet(true)) {
logger.verbose("connectionId[{}] was already disposed. {}", connectionId, message);
} else {
- dispose(new AmqpShutdownSignal(false, false, message));
+ closeAsync(new AmqpShutdownSignal(false, false, message)).subscribe();
}
});
@@ -133,7 +133,7 @@ public ReactorConnection(String connectionId, ConnectionOptions connectionOption
.onErrorResume(error -> {
if (!isDisposed.getAndSet(true)) {
logger.verbose("connectionId[{}]: Disposing of active sessions due to error.", connectionId);
- return dispose(new AmqpShutdownSignal(false, false,
+ return closeAsync(new AmqpShutdownSignal(false, false,
error.getMessage())).then(Mono.error(error));
} else {
return Mono.error(error);
@@ -144,7 +144,7 @@ public ReactorConnection(String connectionId, ConnectionOptions connectionOption
logger.verbose("connectionId[{}]: Disposing of active sessions due to connection close.",
connectionId);
- dispose(new AmqpShutdownSignal(false, false,
+ closeAsync(new AmqpShutdownSignal(false, false,
"Connection handler closed.")).subscribe();
}
})
@@ -310,7 +310,7 @@ public void dispose() {
// Because the reactor executor schedules the pending close after the timeout, we want to give sufficient time
// for the rest of the tasks to run.
final Duration timeout = operationTimeout.plus(operationTimeout);
- dispose(new AmqpShutdownSignal(false, true, "Disposed by client."))
+ closeAsync(new AmqpShutdownSignal(false, true, "Disposed by client."))
.publishOn(Schedulers.boundedElastic())
.block(timeout);
}
@@ -356,7 +356,7 @@ protected AmqpChannelProcessor createRequestResponseChan
new ClientLogger(RequestResponseChannel.class + ":" + entityPath)));
}
- Mono dispose(AmqpShutdownSignal shutdownSignal) {
+ Mono closeAsync(AmqpShutdownSignal shutdownSignal) {
logger.info("connectionId[{}] signal[{}]: Disposing of ReactorConnection.", connectionId, shutdownSignal);
if (cbsChannelProcessor != null) {
@@ -494,7 +494,7 @@ public void onConnectionError(Throwable exception) {
if (!isDisposed.getAndSet(true)) {
logger.verbose("onReactorError connectionId[{}], hostName[{}]: Disposing.", connectionId,
getFullyQualifiedNamespace());
- dispose(new AmqpShutdownSignal(false, false,
+ closeAsync(new AmqpShutdownSignal(false, false,
"onReactorError: " + exception.toString()))
.subscribe();
}
@@ -508,7 +508,7 @@ void onConnectionShutdown(AmqpShutdownSignal shutdownSignal) {
if (!isDisposed.getAndSet(true)) {
logger.verbose("onConnectionShutdown connectionId[{}], hostName[{}]: disposing.");
- dispose(shutdownSignal).subscribe();
+ closeAsync(shutdownSignal).subscribe();
}
}
}
@@ -533,7 +533,7 @@ private void dispose() {
}
if (session instanceof ReactorSession) {
- ((ReactorSession) session).dispose("Closing session.", null, true)
+ ((ReactorSession) session).closeAsync("Closing session.", null, true)
.subscribe();
} else {
session.dispose();
diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorReceiver.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorReceiver.java
index 17f76c3fafe6..b363954e0877 100644
--- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorReceiver.java
+++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorReceiver.java
@@ -8,6 +8,7 @@
import com.azure.core.amqp.AmqpRetryOptions;
import com.azure.core.amqp.exception.AmqpErrorCondition;
import com.azure.core.amqp.implementation.handler.ReceiveLinkHandler;
+import com.azure.core.util.AsyncCloseable;
import com.azure.core.util.logging.ClientLogger;
import org.apache.qpid.proton.Proton;
import org.apache.qpid.proton.amqp.Symbol;
@@ -37,7 +38,7 @@
/**
* Handles receiving events from Event Hubs service and translating them to proton-j messages.
*/
-public class ReactorReceiver implements AmqpReceiveLink, AsyncAutoCloseable, AutoCloseable {
+public class ReactorReceiver implements AmqpReceiveLink, AsyncCloseable, AutoCloseable {
private final String entityPath;
private final Receiver receiver;
private final ReceiveLinkHandler handler;
diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorSender.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorSender.java
index 2ee4b2eb2dfc..25e0988831e0 100644
--- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorSender.java
+++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorSender.java
@@ -12,6 +12,7 @@
import com.azure.core.amqp.exception.AmqpException;
import com.azure.core.amqp.exception.OperationCancelledException;
import com.azure.core.amqp.implementation.handler.SendLinkHandler;
+import com.azure.core.util.AsyncCloseable;
import com.azure.core.util.logging.ClientLogger;
import org.apache.qpid.proton.Proton;
import org.apache.qpid.proton.amqp.Binary;
@@ -62,7 +63,7 @@
/**
* Handles scheduling and transmitting events through proton-j to Event Hubs service.
*/
-class ReactorSender implements AmqpSendLink, AsyncAutoCloseable, AutoCloseable {
+class ReactorSender implements AmqpSendLink, AsyncCloseable, AutoCloseable {
private final String entityPath;
private final Sender sender;
private final SendLinkHandler handler;
diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorSession.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorSession.java
index 8ec8656e9eee..5d58e2bd7592 100644
--- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorSession.java
+++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorSession.java
@@ -128,7 +128,7 @@ public ReactorSession(AmqpConnection amqpConnection, Session session, SessionHan
connectionSubscriptions = Disposables.composite(
this.endpointStates.subscribe(),
- shutdownSignals.flatMap(signal -> dispose("Shutdown signal received", null, false)).subscribe());
+ shutdownSignals.flatMap(signal -> closeAsync("Shutdown signal received", null, false)).subscribe());
session.open();
}
@@ -152,7 +152,7 @@ public boolean isDisposed() {
*/
@Override
public void dispose() {
- dispose("Dispose called.", null, true)
+ closeAsync("Dispose called.", null, true)
.block(retryOptions.getTryTimeout());
}
@@ -240,7 +240,7 @@ Mono isClosed() {
return isClosedMono.asMono();
}
- Mono dispose(String message, ErrorCondition errorCondition, boolean disposeLinks) {
+ Mono closeAsync(String message, ErrorCondition errorCondition, boolean disposeLinks) {
if (isDisposed.getAndSet(true)) {
return isClosedMono.asMono();
}
@@ -596,7 +596,7 @@ private void handleClose() {
"connectionId[{}] sessionName[{}] Disposing of active send and receive links due to session close.",
sessionHandler.getConnectionId(), sessionName);
- dispose("", null, true);
+ closeAsync("", null, true).subscribe();
}
private void handleError(Throwable error) {
@@ -610,12 +610,12 @@ private void handleError(Throwable error) {
condition = new ErrorCondition(Symbol.getSymbol(errorCondition), exception.getMessage());
- dispose(exception.getMessage(), condition, true);
+ closeAsync(exception.getMessage(), condition, true).subscribe();
} else {
condition = null;
}
- dispose(error.getMessage(), condition, true);
+ closeAsync(error.getMessage(), condition, true).subscribe();
}
/**
diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/RequestResponseChannel.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/RequestResponseChannel.java
index 54704eb86d58..f7bed8c8242d 100644
--- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/RequestResponseChannel.java
+++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/RequestResponseChannel.java
@@ -9,6 +9,7 @@
import com.azure.core.amqp.exception.AmqpErrorContext;
import com.azure.core.amqp.implementation.handler.ReceiveLinkHandler;
import com.azure.core.amqp.implementation.handler.SendLinkHandler;
+import com.azure.core.util.AsyncCloseable;
import com.azure.core.util.logging.ClientLogger;
import org.apache.qpid.proton.Proton;
import org.apache.qpid.proton.amqp.UnsignedLong;
@@ -50,7 +51,7 @@
* Represents a bidirectional link between the message broker and the client. Allows client to send a request to the
* broker and receive the associated response.
*/
-public class RequestResponseChannel implements AsyncAutoCloseable {
+public class RequestResponseChannel implements AsyncCloseable {
private final ConcurrentSkipListMap> unconfirmedSends =
new ConcurrentSkipListMap<>();
private final AtomicBoolean hasError = new AtomicBoolean();
diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/handler/ConnectionHandler.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/handler/ConnectionHandler.java
index ffe6b56d7dee..3e529e475a7d 100644
--- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/handler/ConnectionHandler.java
+++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/handler/ConnectionHandler.java
@@ -42,6 +42,7 @@ public class ConnectionHandler extends Handler {
static final Symbol USER_AGENT = Symbol.valueOf("user-agent");
static final int MAX_FRAME_SIZE = 65536;
+ static final int CONNECTION_IDLE_TIMEOUT = 60_000; // milliseconds
private final Map connectionProperties;
private final ConnectionOptions connectionOptions;
@@ -113,6 +114,11 @@ public int getMaxFrameSize() {
* @param transport Transport to add layers to.
*/
protected void addTransportLayers(Event event, TransportInternal transport) {
+ // default connection idle timeout is 0.
+ // Giving it a idle timeout will enable the client side to know broken connection faster.
+ // Refer to http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-transport-v1.0-os.html#doc-doc-idle-time-out
+ transport.setIdleTimeout(CONNECTION_IDLE_TIMEOUT);
+
final SslDomain sslDomain = Proton.sslDomain();
sslDomain.init(SslDomain.Mode.CLIENT);
diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/CbsAuthorizationType.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/models/CbsAuthorizationType.java
similarity index 55%
rename from sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/CbsAuthorizationType.java
rename to sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/models/CbsAuthorizationType.java
index 92390dd50305..7e6828f43e53 100644
--- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/CbsAuthorizationType.java
+++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/models/CbsAuthorizationType.java
@@ -1,38 +1,27 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-package com.azure.core.amqp.implementation;
+package com.azure.core.amqp.models;
import com.azure.core.amqp.ClaimsBasedSecurityNode;
+import com.azure.core.util.ExpandableStringEnum;
/**
* An enumeration of supported authorization methods with the {@link ClaimsBasedSecurityNode}.
*/
-public enum CbsAuthorizationType {
+public final class CbsAuthorizationType extends ExpandableStringEnum {
/**
* Authorize with CBS through a shared access signature.
*/
- SHARED_ACCESS_SIGNATURE("servicebus.windows.net:sastoken"),
+ public static final CbsAuthorizationType SHARED_ACCESS_SIGNATURE =
+ fromString("servicebus.windows.net:sastoken", CbsAuthorizationType.class);
+
/**
* Authorize with CBS using a JSON web token.
*
* This is used in the case where Azure Active Directory is used for authentication and the authenticated user
* wants to authorize with Azure Event Hubs.
*/
- JSON_WEB_TOKEN("jwt");
-
- private final String scheme;
-
- CbsAuthorizationType(String scheme) {
- this.scheme = scheme;
- }
-
- /**
- * Gets the token type scheme.
- *
- * @return The token type scheme.
- */
- public String getTokenType() {
- return scheme;
- }
+ public static final CbsAuthorizationType JSON_WEB_TOKEN =
+ fromString("jwt", CbsAuthorizationType.class);
}
diff --git a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/exception/AmqpErrorContextTest.java b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/exception/AmqpErrorContextTest.java
index 572656f6c1a8..5362e8d6feb6 100644
--- a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/exception/AmqpErrorContextTest.java
+++ b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/exception/AmqpErrorContextTest.java
@@ -6,6 +6,9 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
+import java.util.HashMap;
+import java.util.Map;
+
import static org.junit.jupiter.api.Assertions.assertThrows;
public class AmqpErrorContextTest {
@@ -22,6 +25,37 @@ public void constructor() {
// Assert
Assertions.assertEquals(namespace, context.getNamespace());
+
+ final Map actual = context.getErrorInfo();
+ Assertions.assertNotNull(actual);
+ Assertions.assertTrue(actual.isEmpty());
+ }
+
+ /**
+ * Verifies properties set correctly.
+ */
+ @Test
+ public void constructorErrorInfo() {
+ // Arrange
+ String namespace = "an-namespace-test";
+ Map expected = new HashMap<>();
+ expected.put("foo", 1);
+ expected.put("bar", 11);
+
+ // Act
+ AmqpErrorContext context = new AmqpErrorContext(namespace, expected);
+
+ // Assert
+ Assertions.assertEquals(namespace, context.getNamespace());
+
+ final Map actual = context.getErrorInfo();
+ Assertions.assertNotNull(actual);
+ Assertions.assertEquals(expected.size(), actual.size());
+
+ expected.forEach((key, value) -> {
+ Assertions.assertTrue(actual.containsKey(key));
+ Assertions.assertEquals(value, actual.get(key));
+ });
}
/**
diff --git a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/AzureTokenManagerProviderTest.java b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/AzureTokenManagerProviderTest.java
index 8f3fb2bd5d5c..7cdfa44fed3f 100644
--- a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/AzureTokenManagerProviderTest.java
+++ b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/AzureTokenManagerProviderTest.java
@@ -4,13 +4,14 @@
package com.azure.core.amqp.implementation;
import com.azure.core.amqp.ClaimsBasedSecurityNode;
+import com.azure.core.amqp.models.CbsAuthorizationType;
import com.azure.core.credential.AccessToken;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
-import org.junit.jupiter.params.provider.EnumSource;
+import org.junit.jupiter.params.provider.MethodSource;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.MockitoAnnotations;
@@ -20,6 +21,7 @@
import java.time.Duration;
import java.time.OffsetDateTime;
import java.util.Locale;
+import java.util.stream.Stream;
import static com.azure.core.amqp.implementation.AzureTokenManagerProvider.TOKEN_AUDIENCE_FORMAT;
import static org.junit.jupiter.api.Assertions.assertThrows;
@@ -62,12 +64,16 @@ void constructorNullScope() {
assertThrows(NullPointerException.class, () -> new AzureTokenManagerProvider(CbsAuthorizationType.JSON_WEB_TOKEN, HOST_NAME, null));
}
+ public static Stream getResourceString() {
+ return Stream.of(CbsAuthorizationType.JSON_WEB_TOKEN, CbsAuthorizationType.SHARED_ACCESS_SIGNATURE);
+ }
+
/**
* Verifies that the correct resource string is returned when we pass in different authorization types.
*/
@ParameterizedTest
- @EnumSource(CbsAuthorizationType.class)
- void getResourceString(CbsAuthorizationType authorizationType) {
+ @MethodSource
+ public void getResourceString(CbsAuthorizationType authorizationType) {
// Arrange
final String scope = "some-scope";
final AzureTokenManagerProvider provider = new AzureTokenManagerProvider(authorizationType, HOST_NAME, scope);
@@ -77,16 +83,13 @@ void getResourceString(CbsAuthorizationType authorizationType) {
final String actual = provider.getScopesFromResource(entityPath);
// Assert
- switch (authorizationType) {
- case SHARED_ACCESS_SIGNATURE:
- final String expected = "amqp://" + HOST_NAME + "/" + entityPath;
- Assertions.assertEquals(expected, actual);
- break;
- case JSON_WEB_TOKEN:
- Assertions.assertEquals(scope, actual);
- break;
- default:
- Assertions.fail("This authorization type is unknown: " + authorizationType);
+ if (CbsAuthorizationType.SHARED_ACCESS_SIGNATURE.equals(authorizationType)) {
+ final String expected = "amqp://" + HOST_NAME + "/" + entityPath;
+ Assertions.assertEquals(expected, actual);
+ } else if (CbsAuthorizationType.JSON_WEB_TOKEN.equals(authorizationType)) {
+ Assertions.assertEquals(scope, actual);
+ } else {
+ Assertions.fail("This authorization type is unknown: " + authorizationType);
}
}
diff --git a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ClaimsBasedSecurityChannelTest.java b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ClaimsBasedSecurityChannelTest.java
index 3cfb11b4d835..436f8faadce0 100644
--- a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ClaimsBasedSecurityChannelTest.java
+++ b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ClaimsBasedSecurityChannelTest.java
@@ -8,6 +8,7 @@
import com.azure.core.amqp.exception.AmqpErrorCondition;
import com.azure.core.amqp.exception.AmqpException;
import com.azure.core.amqp.exception.AmqpResponseCode;
+import com.azure.core.amqp.models.CbsAuthorizationType;
import com.azure.core.credential.AccessToken;
import com.azure.core.credential.TokenCredential;
import org.apache.qpid.proton.Proton;
diff --git a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ConnectionOptionsTest.java b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ConnectionOptionsTest.java
index e4ef8fef13c0..a6426dfa83aa 100644
--- a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ConnectionOptionsTest.java
+++ b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ConnectionOptionsTest.java
@@ -7,6 +7,7 @@
import com.azure.core.amqp.AmqpTransportType;
import com.azure.core.amqp.ProxyOptions;
import com.azure.core.amqp.implementation.handler.ConnectionHandler;
+import com.azure.core.amqp.models.CbsAuthorizationType;
import com.azure.core.credential.TokenCredential;
import com.azure.core.util.ClientOptions;
import org.apache.qpid.proton.engine.SslDomain;
diff --git a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ReactorConnectionTest.java b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ReactorConnectionTest.java
index f865fa579123..e2016cca0998 100644
--- a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ReactorConnectionTest.java
+++ b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ReactorConnectionTest.java
@@ -13,6 +13,7 @@
import com.azure.core.amqp.exception.AmqpException;
import com.azure.core.amqp.implementation.handler.ConnectionHandler;
import com.azure.core.amqp.implementation.handler.SessionHandler;
+import com.azure.core.amqp.models.CbsAuthorizationType;
import com.azure.core.credential.TokenCredential;
import com.azure.core.util.ClientOptions;
import com.azure.core.util.Header;
@@ -32,7 +33,13 @@
import org.apache.qpid.proton.engine.Transport;
import org.apache.qpid.proton.reactor.Reactor;
import org.apache.qpid.proton.reactor.Selectable;
-import org.junit.jupiter.api.*;
+import org.junit.jupiter.api.AfterAll;
+import org.junit.jupiter.api.AfterEach;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.BeforeAll;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.MockitoAnnotations;
@@ -673,12 +680,12 @@ void disposeAsync() throws IOException {
connection2.getReactorConnection().subscribe();
// Act and Assert
- StepVerifier.create(connection2.dispose(signal))
+ StepVerifier.create(connection2.closeAsync(signal))
.verifyComplete();
assertTrue(connection2.isDisposed());
- StepVerifier.create(connection2.dispose(signal))
+ StepVerifier.create(connection2.closeAsync(signal))
.verifyComplete();
}
diff --git a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ReactorHandlerProviderTest.java b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ReactorHandlerProviderTest.java
index 404771c67a35..0c3ad885e5a7 100644
--- a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ReactorHandlerProviderTest.java
+++ b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ReactorHandlerProviderTest.java
@@ -10,6 +10,7 @@
import com.azure.core.amqp.implementation.handler.ConnectionHandler;
import com.azure.core.amqp.implementation.handler.WebSocketsConnectionHandler;
import com.azure.core.amqp.implementation.handler.WebSocketsProxyConnectionHandler;
+import com.azure.core.amqp.models.CbsAuthorizationType;
import com.azure.core.credential.TokenCredential;
import com.azure.core.util.ClientOptions;
import com.azure.core.util.Header;
diff --git a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/handler/ConnectionHandlerTest.java b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/handler/ConnectionHandlerTest.java
index 7f4f6d6d2e9f..763c2e6eca71 100644
--- a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/handler/ConnectionHandlerTest.java
+++ b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/handler/ConnectionHandlerTest.java
@@ -6,9 +6,9 @@
import com.azure.core.amqp.AmqpRetryOptions;
import com.azure.core.amqp.AmqpTransportType;
import com.azure.core.amqp.ProxyOptions;
-import com.azure.core.amqp.implementation.CbsAuthorizationType;
import com.azure.core.amqp.implementation.ClientConstants;
import com.azure.core.amqp.implementation.ConnectionOptions;
+import com.azure.core.amqp.models.CbsAuthorizationType;
import com.azure.core.credential.TokenCredential;
import com.azure.core.util.ClientOptions;
import com.azure.core.util.Header;
diff --git a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/handler/WebSocketsConnectionHandlerTest.java b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/handler/WebSocketsConnectionHandlerTest.java
index 583a123e90a6..af00cfea64dd 100644
--- a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/handler/WebSocketsConnectionHandlerTest.java
+++ b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/handler/WebSocketsConnectionHandlerTest.java
@@ -6,9 +6,9 @@
import com.azure.core.amqp.AmqpRetryOptions;
import com.azure.core.amqp.AmqpTransportType;
import com.azure.core.amqp.ProxyOptions;
-import com.azure.core.amqp.implementation.CbsAuthorizationType;
import com.azure.core.amqp.implementation.ClientConstants;
import com.azure.core.amqp.implementation.ConnectionOptions;
+import com.azure.core.amqp.models.CbsAuthorizationType;
import com.azure.core.credential.TokenCredential;
import com.azure.core.util.ClientOptions;
import org.apache.qpid.proton.Proton;
diff --git a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/handler/WebSocketsProxyConnectionHandlerTest.java b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/handler/WebSocketsProxyConnectionHandlerTest.java
index e5222d49bab5..c11a815e05a4 100644
--- a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/handler/WebSocketsProxyConnectionHandlerTest.java
+++ b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/handler/WebSocketsProxyConnectionHandlerTest.java
@@ -7,8 +7,8 @@
import com.azure.core.amqp.AmqpTransportType;
import com.azure.core.amqp.ProxyAuthenticationType;
import com.azure.core.amqp.ProxyOptions;
-import com.azure.core.amqp.implementation.CbsAuthorizationType;
import com.azure.core.amqp.implementation.ConnectionOptions;
+import com.azure.core.amqp.models.CbsAuthorizationType;
import com.azure.core.credential.TokenCredential;
import com.azure.core.util.ClientOptions;
import com.azure.core.util.Header;
diff --git a/sdk/core/azure-core-management/CHANGELOG.md b/sdk/core/azure-core-management/CHANGELOG.md
index e82eb1258d28..39d373f04efc 100644
--- a/sdk/core/azure-core-management/CHANGELOG.md
+++ b/sdk/core/azure-core-management/CHANGELOG.md
@@ -2,6 +2,7 @@
## 1.3.0-beta.1 (Unreleased)
+- Added Support for Challenge Based Authentication in `ArmChallengeAuthenticationPolicy`.
- Fixed bug in `ManagementErrorDeserializer`.
## 1.2.2 (2021-05-07)
diff --git a/sdk/core/azure-core-management/src/main/java/com/azure/core/management/http/policy/ArmChallengeAuthenticationPolicy.java b/sdk/core/azure-core-management/src/main/java/com/azure/core/management/http/policy/ArmChallengeAuthenticationPolicy.java
new file mode 100644
index 000000000000..3b74abbcd487
--- /dev/null
+++ b/sdk/core/azure-core-management/src/main/java/com/azure/core/management/http/policy/ArmChallengeAuthenticationPolicy.java
@@ -0,0 +1,124 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+package com.azure.core.management.http.policy;
+
+import com.azure.core.credential.TokenCredential;
+import com.azure.core.credential.TokenRequestContext;
+import com.azure.core.http.HttpPipelineCallContext;
+import com.azure.core.http.HttpResponse;
+import com.azure.core.http.policy.BearerTokenAuthenticationPolicy;
+import com.azure.core.management.implementation.http.AuthenticationChallenge;
+import reactor.core.publisher.Mono;
+
+import java.nio.charset.StandardCharsets;
+import java.util.ArrayList;
+import java.util.Base64;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.NoSuchElementException;
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
+
+/**
+ * The pipeline policy that applies a token credential to an HTTP request
+ * with "Bearer" scheme in ARM challenge based authentication scenarios.
+ */
+public class ArmChallengeAuthenticationPolicy extends BearerTokenAuthenticationPolicy {
+ private static final Pattern AUTHENTICATION_CHALLENGE_PATTERN =
+ Pattern.compile("(\\w+) ((?:\\w+=\".*?\"(?:, )?)+)(?:, )?");
+ private static final Pattern AUTHENTICATION_CHALLENGE_PARAMS_PATTERN =
+ Pattern.compile("(?:(\\w+)=\"([^\"\"]*)\")+");
+ private static final String CLAIMS_PARAMETER = "claims";
+ private static final String WWW_AUTHENTICATE = "WWW-Authenticate";
+ private static final String ARM_SCOPES_KEY = "ARMScopes";
+
+ private final String[] scopes;
+
+ /**
+ * Creates ArmChallengeAuthenticationPolicy.
+ *
+ * @param credential the token credential to authenticate the request
+ * @param scopes the scopes used in credential, using default scopes when empty
+ */
+ public ArmChallengeAuthenticationPolicy(TokenCredential credential, String... scopes) {
+ super(credential, scopes);
+ this.scopes = scopes;
+ }
+
+ @Override
+ public Mono authorizeRequest(HttpPipelineCallContext context) {
+ return Mono.defer(() -> {
+ String[] scopes = this.scopes;
+ scopes = getScopes(context, scopes);
+ if (scopes == null) {
+ return Mono.empty();
+ } else {
+ context.setData(ARM_SCOPES_KEY, scopes);
+ return setAuthorizationHeader(context, new TokenRequestContext().addScopes(scopes));
+ }
+ });
+ }
+
+ @Override
+ public Mono authorizeRequestOnChallenge(HttpPipelineCallContext context, HttpResponse response) {
+ return Mono.defer(() -> {
+ String authHeader = response.getHeaderValue(WWW_AUTHENTICATE);
+ if (!(response.getStatusCode() == 401 && authHeader != null)) {
+ return Mono.just(false);
+ } else {
+ List challenges = parseChallenges(authHeader);
+ for (AuthenticationChallenge authenticationChallenge : challenges) {
+ Map extractedChallengeParams =
+ parseChallengeParams(authenticationChallenge.getChallengeParameters());
+ if (extractedChallengeParams.containsKey(CLAIMS_PARAMETER)) {
+ String claims = new String(Base64.getUrlDecoder()
+ .decode(extractedChallengeParams.get(CLAIMS_PARAMETER)), StandardCharsets.UTF_8);
+
+ String[] scopes;
+ // We should've retrieved and configured the scopes in on Before logic,
+ // re-use it here as an optimization.
+ try {
+ scopes = (String[]) context.getData(ARM_SCOPES_KEY).get();
+ } catch (NoSuchElementException e) {
+ scopes = this.scopes;
+ }
+
+ // If scopes wasn't configured in On Before logic or at constructor level,
+ // then this method will retrieve it again.
+ scopes = getScopes(context, scopes);
+ return setAuthorizationHeader(context, new TokenRequestContext()
+ .addScopes(scopes).setClaims(claims))
+ .flatMap(b -> Mono.just(true));
+ }
+ }
+ return Mono.just(false);
+ }
+ });
+ }
+
+ protected String[] getScopes(HttpPipelineCallContext context, String[] scopes) {
+ return scopes;
+ }
+
+ List parseChallenges(String header) {
+ Matcher matcher = AUTHENTICATION_CHALLENGE_PATTERN.matcher(header);
+
+ List challenges = new ArrayList<>();
+ while (matcher.find()) {
+ challenges.add(new AuthenticationChallenge(matcher.group(1), matcher.group(2)));
+ }
+ return challenges;
+ }
+
+ Map parseChallengeParams(String challengeParams) {
+ Matcher matcher = AUTHENTICATION_CHALLENGE_PARAMS_PATTERN.matcher(challengeParams);
+
+ Map challengeParameters = new HashMap<>();
+ while (matcher.find()) {
+ challengeParameters.put(matcher.group(1), matcher.group(2));
+ }
+ return challengeParameters;
+ }
+}
diff --git a/sdk/core/azure-core-management/src/main/java/com/azure/core/management/http/policy/package-info.java b/sdk/core/azure-core-management/src/main/java/com/azure/core/management/http/policy/package-info.java
new file mode 100644
index 000000000000..629116a35264
--- /dev/null
+++ b/sdk/core/azure-core-management/src/main/java/com/azure/core/management/http/policy/package-info.java
@@ -0,0 +1,7 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+/**
+ * Package containing the implementations of HttpPipelinePolicy interface.
+ */
+package com.azure.core.management.http.policy;
diff --git a/sdk/core/azure-core-management/src/main/java/com/azure/core/management/implementation/http/AuthenticationChallenge.java b/sdk/core/azure-core-management/src/main/java/com/azure/core/management/implementation/http/AuthenticationChallenge.java
new file mode 100644
index 000000000000..692ae5e66f80
--- /dev/null
+++ b/sdk/core/azure-core-management/src/main/java/com/azure/core/management/implementation/http/AuthenticationChallenge.java
@@ -0,0 +1,44 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+package com.azure.core.management.implementation.http;
+
+import com.azure.core.annotation.Immutable;
+
+/**
+ * Represents an Authentication Challenge received in a 401 HTTP response.
+ */
+@Immutable
+public class AuthenticationChallenge {
+ private final String scheme;
+ private final String challengeParameters;
+
+ /**
+ * Constructs an instance of the {@link AuthenticationChallenge}
+ * @param scheme the scheme of the challenge response
+ * @param challengeParameters the parameters requested in the challenge.
+ */
+ public AuthenticationChallenge(String scheme, String challengeParameters) {
+ this.scheme = scheme;
+ this.challengeParameters = challengeParameters;
+ }
+
+ /**
+ * Get the challenge parameters.
+ *
+ * @return the challenge parameters.
+ */
+ public String getChallengeParameters() {
+ return challengeParameters;
+ }
+
+ /**
+ * Get the scheme of the challenge.
+ *
+ * @return the scheme of the challenge.
+ */
+ public String getScheme() {
+ return scheme;
+ }
+}
+
diff --git a/sdk/core/azure-core-management/src/main/java/module-info.java b/sdk/core/azure-core-management/src/main/java/module-info.java
index 2c199cb543f2..b741d5a30401 100644
--- a/sdk/core/azure-core-management/src/main/java/module-info.java
+++ b/sdk/core/azure-core-management/src/main/java/module-info.java
@@ -10,6 +10,7 @@
exports com.azure.core.management.exception;
exports com.azure.core.management.profile;
exports com.azure.core.management.provider;
+ exports com.azure.core.management.http.policy;
opens com.azure.core.management to
com.fasterxml.jackson.databind,
diff --git a/sdk/core/azure-core-management/src/test/java/com/azure/core/management/http/policy/AuthenticationChallengeTest.java b/sdk/core/azure-core-management/src/test/java/com/azure/core/management/http/policy/AuthenticationChallengeTest.java
new file mode 100644
index 000000000000..1f1256edf36a
--- /dev/null
+++ b/sdk/core/azure-core-management/src/test/java/com/azure/core/management/http/policy/AuthenticationChallengeTest.java
@@ -0,0 +1,92 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+package com.azure.core.management.http.policy;
+
+import com.azure.core.credential.TokenCredential;
+import com.azure.core.management.implementation.http.AuthenticationChallenge;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Test;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+public class AuthenticationChallengeTest {
+ private static final String DUMMY_SCOPE = "DUMMY_SCOPE";
+ private static final String CAE_INSUFFICIENT_CLAIMS_CHALLENGE = "Bearer realm=\"\""
+ + ", authorization_uri=\"https://login.microsoftonline.com/common/oauth2/authorize\","
+ + " client_id=\"00000003-0000-0000-c000-000000000000\", error=\"insufficient_claims\","
+ + " claims=\"eyJhY2Nlc3NfdG9rZW4iOiB7ImZvbyI6ICJiYXIifX0=\"";
+
+ private static final String CAE_SESSIONS_REVOKED_CLAIMS_CHALLENGE = "Bearer authorization_uri="
+ + "\"https://login.windows-ppe.net/\", error=\"invalid_token\","
+ + " error_description=\"User session has been revoked\","
+ + " claims=\"eyJhY2Nlc3NfdG9rZW4iOnsibmJmIjp7ImVzc2VudGlhbCI6dHJ1ZSwgInZhbHVlIjoiMTYwMzc0MjgwMCJ9fX0=\"";
+
+ private static final String KEY_VAULT_CHALLENGE = "Bearer authorization="
+ + "\"https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\","
+ + " resource=\"https://vault.azure.net\"";
+
+ private static final String ARM_CHALLENGE = "Bearer authorization_uri="
+ + "\"https://login.windows.net/\", error=\"invalid_token\","
+ + " error_description=\"The authentication failed because of missing 'Authorization' header.\"";
+
+
+ private static final Map EXPECTED_CAE_INSUFFICIENT_CLAIMS_CHALLENGE = new HashMap<>();
+ private static final Map EXPECTED_CAE_SESSIONS_REVOKED_CLAIMS_CHALLENGE = new HashMap<>();
+ private static final Map EXPECTED_KEY_VAULT_CHALLENGE = new HashMap<>();
+ private static final Map EXPECTED_ARM_CHALLENGE = new HashMap<>();
+ private static final Map> AUTHENTICATION_CHALLENGE_MAP = new HashMap<>();
+ static {
+ EXPECTED_CAE_INSUFFICIENT_CLAIMS_CHALLENGE.put("realm", "");
+ EXPECTED_CAE_INSUFFICIENT_CLAIMS_CHALLENGE.put("authorization_uri",
+ "https://login.microsoftonline.com/common/oauth2/authorize");
+ EXPECTED_CAE_INSUFFICIENT_CLAIMS_CHALLENGE.put("client_id", "00000003-0000-0000-c000-000000000000");
+ EXPECTED_CAE_INSUFFICIENT_CLAIMS_CHALLENGE.put("error", "insufficient_claims");
+ EXPECTED_CAE_INSUFFICIENT_CLAIMS_CHALLENGE.put("claims", "eyJhY2Nlc3NfdG9rZW4iOiB7ImZvbyI6ICJiYXIifX0=");
+
+
+ EXPECTED_CAE_SESSIONS_REVOKED_CLAIMS_CHALLENGE.put("authorization_uri", "https://login.windows-ppe.net/");
+ EXPECTED_CAE_SESSIONS_REVOKED_CLAIMS_CHALLENGE.put("error", "invalid_token");
+ EXPECTED_CAE_SESSIONS_REVOKED_CLAIMS_CHALLENGE.put("error_description", "User session has been revoked");
+ EXPECTED_CAE_SESSIONS_REVOKED_CLAIMS_CHALLENGE.put("claims",
+ "eyJhY2Nlc3NfdG9rZW4iOnsibmJmIjp7ImVzc2VudGlhbCI6dHJ1ZSwgInZhbHVlIjoiMTYwMzc0MjgwMCJ9fX0=");
+
+ EXPECTED_KEY_VAULT_CHALLENGE.put("authorization",
+ "https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47");
+ EXPECTED_KEY_VAULT_CHALLENGE.put("resource", "https://vault.azure.net");
+
+ EXPECTED_ARM_CHALLENGE.put("authorization_uri", "https://login.windows.net/");
+ EXPECTED_ARM_CHALLENGE.put("error", "invalid_token");
+ EXPECTED_ARM_CHALLENGE.put("error_description",
+ "The authentication failed because of missing 'Authorization' header.");
+
+ AUTHENTICATION_CHALLENGE_MAP.put(CAE_INSUFFICIENT_CLAIMS_CHALLENGE,
+ EXPECTED_CAE_INSUFFICIENT_CLAIMS_CHALLENGE);
+ AUTHENTICATION_CHALLENGE_MAP.put(CAE_SESSIONS_REVOKED_CLAIMS_CHALLENGE,
+ EXPECTED_CAE_SESSIONS_REVOKED_CLAIMS_CHALLENGE);
+ AUTHENTICATION_CHALLENGE_MAP.put(KEY_VAULT_CHALLENGE, EXPECTED_KEY_VAULT_CHALLENGE);
+ AUTHENTICATION_CHALLENGE_MAP.put(ARM_CHALLENGE, EXPECTED_ARM_CHALLENGE);
+ }
+
+ private final TokenCredential mockCredential = request -> null;
+
+ @Test
+ public void bearerTokenAuthenticationChallengeParsingTest() {
+ // Create custom Headers
+ ArmChallengeAuthenticationPolicy armChallengeAuthenticationPolicy =
+ new ArmChallengeAuthenticationPolicy(mockCredential, DUMMY_SCOPE);
+
+ for (String authChallenge : AUTHENTICATION_CHALLENGE_MAP.keySet()) {
+ List authenticationChallenges = armChallengeAuthenticationPolicy
+ .parseChallenges(authChallenge);
+ Assertions.assertEquals(1, authenticationChallenges.size());
+
+ Map parsedChallengeParams = armChallengeAuthenticationPolicy
+ .parseChallengeParams(authenticationChallenges.get(0).getChallengeParameters());
+
+ Assertions.assertEquals(AUTHENTICATION_CHALLENGE_MAP.get(authChallenge), parsedChallengeParams);
+ }
+ }
+}
diff --git a/sdk/core/azure-core/CHANGELOG.md b/sdk/core/azure-core/CHANGELOG.md
index 7f5fa70d1549..0e9031ee19ea 100644
--- a/sdk/core/azure-core/CHANGELOG.md
+++ b/sdk/core/azure-core/CHANGELOG.md
@@ -2,6 +2,9 @@
## 1.17.0-beta.1 (Unreleased)
+### Features Added
+
+- Added `AsyncCloseable`
## 1.16.0 (2021-05-07)
diff --git a/sdk/core/azure-core/src/main/java/com/azure/core/util/AsyncCloseable.java b/sdk/core/azure-core/src/main/java/com/azure/core/util/AsyncCloseable.java
new file mode 100644
index 000000000000..2eede858adb3
--- /dev/null
+++ b/sdk/core/azure-core/src/main/java/com/azure/core/util/AsyncCloseable.java
@@ -0,0 +1,27 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+package com.azure.core.util;
+
+import reactor.core.publisher.Mono;
+
+/**
+ * Interface for close operations that are asynchronous.
+ *
+ * Asynchronously closing a class
+ * In the snippet below, we have a long-lived {@code NetworkResource} class. There are some operations such
+ * as closing {@literal I/O}. Instead of returning a sync {@code close()}, we use {@code closeAsync()} so users'
+ * programs don't block waiting for this operation to complete.
+ *
+ * {@codesnippet com.azure.core.util.AsyncCloseable.closeAsync}
+ */
+public interface AsyncCloseable {
+ /**
+ * Begins the close operation. If one is in progress, will return that existing close operation. If the close
+ * operation is unsuccessful, the Mono completes with an error.
+ *
+ * @return A Mono representing the close operation. If the close operation is unsuccessful, the Mono completes with
+ * an error.
+ */
+ Mono closeAsync();
+}
diff --git a/sdk/core/azure-core/src/samples/java/com/azure/core/util/AsyncCloseableJavaDocCodeSnippet.java b/sdk/core/azure-core/src/samples/java/com/azure/core/util/AsyncCloseableJavaDocCodeSnippet.java
new file mode 100644
index 000000000000..b5f5a21aed64
--- /dev/null
+++ b/sdk/core/azure-core/src/samples/java/com/azure/core/util/AsyncCloseableJavaDocCodeSnippet.java
@@ -0,0 +1,79 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+package com.azure.core.util;
+
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+import reactor.core.publisher.Sinks;
+
+import java.io.IOException;
+import java.nio.ByteBuffer;
+import java.nio.charset.StandardCharsets;
+import java.time.Duration;
+import java.util.concurrent.atomic.AtomicBoolean;
+import java.util.stream.IntStream;
+
+/**
+ * Code snippets for {@link AsyncCloseable}.
+ */
+public class AsyncCloseableJavaDocCodeSnippet {
+ public void asyncResource() throws IOException {
+ // BEGIN: com.azure.core.util.AsyncCloseable.closeAsync
+ NetworkResource resource = new NetworkResource();
+ resource.longRunningDownload("https://longdownload.com")
+ .subscribe(
+ byteBuffer -> System.out.println("Buffer received: " + byteBuffer),
+ error -> System.err.printf("Error occurred while downloading: %s%n", error),
+ () -> System.out.println("Completed download operation."));
+
+ System.out.println("Press enter to stop downloading.");
+ System.in.read();
+
+ // We block here because it is the end of the main Program function. A real-life program may chain this
+ // with some other close operations like save download/program state, etc.
+ resource.closeAsync().block();
+ // END: com.azure.core.util.AsyncCloseable.closeAsync
+ }
+
+ /**
+ * A long lived network resource.
+ */
+ static class NetworkResource implements AsyncCloseable {
+ private final AtomicBoolean isClosed = new AtomicBoolean();
+ private final Sinks.Empty closeMono = Sinks.empty();
+
+ /**
+ * Downloads a resource.
+ *
+ * @param url URL for the download.
+ *
+ * @return A stream of bytes.
+ */
+ Flux longRunningDownload(String url) {
+ final byte[] bytes = url.getBytes(StandardCharsets.UTF_8);
+
+ // Does nothing real but it represents taking from this possibly infinite Flux until
+ // the closeMono emits a signal.
+ return Flux.fromStream(IntStream.range(0, bytes.length)
+ .mapToObj(index -> ByteBuffer.wrap(bytes)))
+ .takeUntilOther(closeMono.asMono());
+ }
+
+ @Override
+ public Mono closeAsync() {
+ // If the close operation has started, then
+ if (isClosed.getAndSet(true)) {
+ return closeMono.asMono();
+ }
+
+ return startAsyncClose().then(closeMono.asMono());
+ }
+
+ private Mono startAsyncClose() {
+ return Mono.delay(Duration.ofSeconds(10)).then()
+ .doOnError(error -> closeMono.emitError(error, Sinks.EmitFailureHandler.FAIL_FAST))
+ .doOnSuccess(unused -> closeMono.emitEmpty(Sinks.EmitFailureHandler.FAIL_FAST));
+ }
+ }
+}
diff --git a/sdk/cosmos/azure-cosmos-encryption/pom.xml b/sdk/cosmos/azure-cosmos-encryption/pom.xml
index a41e316aa2e2..68d7a6ef754a 100644
--- a/sdk/cosmos/azure-cosmos-encryption/pom.xml
+++ b/sdk/cosmos/azure-cosmos-encryption/pom.xml
@@ -32,13 +32,6 @@ Licensed under the MIT License.
HEAD
-
-
- azuresdkmaven
- https://azsdkartifacts.blob.core.windows.net/maven
-
-
-
UTF-8
@@ -185,12 +178,12 @@ Licensed under the MIT License.
com.microsoft.data.encryption
cryptography
- 0.2.1.jre8-preview
+ 0.2.2.jre8-preview
com.microsoft.data.encryption
azure-key-vault-keystoreprovider
- 0.2.1.jre8-preview
+ 0.2.2.jre8-preview
com.microsoft.data.encryption
@@ -252,8 +245,8 @@ Licensed under the MIT License.
com.azure:*
org.bouncycastle:bcprov-jdk15on:[1.68]
- com.microsoft.data.encryption:cryptography:[0.2.1.jre8-preview]
- com.microsoft.data.encryption:azure-key-vault-keystoreprovider:[0.2.1.jre8-preview]
+ com.microsoft.data.encryption:cryptography:[0.2.2.jre8-preview]
+ com.microsoft.data.encryption:azure-key-vault-keystoreprovider:[0.2.2.jre8-preview]
diff --git a/sdk/cosmos/azure-cosmos-spark_3-1_2-12/pom.xml b/sdk/cosmos/azure-cosmos-spark_3-1_2-12/pom.xml
index f8585231555f..70de649c20ab 100644
--- a/sdk/cosmos/azure-cosmos-spark_3-1_2-12/pom.xml
+++ b/sdk/cosmos/azure-cosmos-spark_3-1_2-12/pom.xml
@@ -165,6 +165,7 @@
META-INF/project.properties
META-INF/services/org.apache.spark.sql.sources.DataSourceRegister
+ azure-cosmos-spark.properties
diff --git a/sdk/cosmos/azure-cosmos-spark_3-1_2-12/src/main/resources/azure-cosmos-spark.properties b/sdk/cosmos/azure-cosmos-spark_3-1_2-12/src/main/resources/azure-cosmos-spark.properties
new file mode 100644
index 000000000000..30846653315a
--- /dev/null
+++ b/sdk/cosmos/azure-cosmos-spark_3-1_2-12/src/main/resources/azure-cosmos-spark.properties
@@ -0,0 +1,2 @@
+name=${project.artifactId}
+version=${project.version}
\ No newline at end of file
diff --git a/sdk/cosmos/azure-cosmos-spark_3-1_2-12/src/main/scala/com/azure/cosmos/spark/CosmosConstants.scala b/sdk/cosmos/azure-cosmos-spark_3-1_2-12/src/main/scala/com/azure/cosmos/spark/CosmosConstants.scala
index 72925ba6e7b3..13133254a242 100644
--- a/sdk/cosmos/azure-cosmos-spark_3-1_2-12/src/main/scala/com/azure/cosmos/spark/CosmosConstants.scala
+++ b/sdk/cosmos/azure-cosmos-spark_3-1_2-12/src/main/scala/com/azure/cosmos/spark/CosmosConstants.scala
@@ -8,9 +8,12 @@ import com.azure.cosmos.implementation.HttpConstants
// cosmos db related constants
private object CosmosConstants {
- private[this] val currentVersion =
- CoreUtils.getProperties(HttpConstants.Versions.AZURE_COSMOS_PROPERTIES_FILE_NAME).get("version")
- val userAgentSuffix = s" SparkConnector/$currentVersion"
+ private[this] val propertiesFileName = "azure-cosmos-spark.properties"
+ val currentVersion: String =
+ CoreUtils.getProperties(propertiesFileName).get("version")
+ val currentName: String =
+ CoreUtils.getProperties(propertiesFileName).get("name")
+ val userAgentSuffix = s"SparkConnector/$currentName/$currentVersion"
object Names {
val ItemsDataSourceShortName = "cosmos.oltp"
diff --git a/sdk/cosmos/azure-cosmos-spark_3-1_2-12/src/test/scala/com/azure/cosmos/spark/CosmosConstantsSpec.scala b/sdk/cosmos/azure-cosmos-spark_3-1_2-12/src/test/scala/com/azure/cosmos/spark/CosmosConstantsSpec.scala
new file mode 100644
index 000000000000..38bd042fe06e
--- /dev/null
+++ b/sdk/cosmos/azure-cosmos-spark_3-1_2-12/src/test/scala/com/azure/cosmos/spark/CosmosConstantsSpec.scala
@@ -0,0 +1,20 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+package com.azure.cosmos.spark
+
+class CosmosConstantsSpec extends UnitSpec {
+ "CurrentVersion" should "not be null" in {
+ CosmosConstants.currentVersion == null shouldBe false
+ CosmosConstants.currentVersion.startsWith("4.") shouldBe true
+ }
+
+ "CurrentName" should "not be null" in {
+ CosmosConstants.currentName == null shouldBe false
+ CosmosConstants.currentName.startsWith("azure-cosmos-spark") shouldBe true
+ }
+
+ "UserAgentSuffix" should "combine name and version" in {
+ CosmosConstants.userAgentSuffix shouldBe
+ s"SparkConnector/${CosmosConstants.currentName}/${CosmosConstants.currentVersion}"
+ }
+}
diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/UserAgentContainer.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/UserAgentContainer.java
index 72d0d1b44f41..2d5ccf1c9f7f 100644
--- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/UserAgentContainer.java
+++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/UserAgentContainer.java
@@ -8,7 +8,8 @@
*/
public class UserAgentContainer {
- private static final int MAX_SUFFIX_LENGTH = 64;
+ private static final int MAX_USER_AGENT_LENGTH = 255;
+ private final int maxSuffixLength;
private final String baseUserAgent;
private String suffix;
private String userAgent;
@@ -18,6 +19,7 @@ private UserAgentContainer(String sdkName, String sdkVersion) {
this.baseUserAgent = Utils.getUserAgent(sdkName, sdkVersion);
this.suffix = "";
this.userAgent = baseUserAgent;
+ this.maxSuffixLength = MAX_USER_AGENT_LENGTH - 1 - baseUserAgent.length();
}
public UserAgentContainer() {
@@ -29,8 +31,8 @@ public String getSuffix() {
}
public void setSuffix(String suffix) {
- if (suffix.length() > MAX_SUFFIX_LENGTH) {
- suffix = suffix.substring(0, MAX_SUFFIX_LENGTH);
+ if (suffix.length() > maxSuffixLength) {
+ suffix = suffix.substring(0, maxSuffixLength);
}
this.suffix = suffix;
diff --git a/sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/implementation/UserAgentContainerTest.java b/sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/implementation/UserAgentContainerTest.java
index 0df64c618889..f4a84dd5a381 100644
--- a/sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/implementation/UserAgentContainerTest.java
+++ b/sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/implementation/UserAgentContainerTest.java
@@ -31,10 +31,12 @@ public void userAgentContainerSetSuffix() {
assertThat(userAgentContainer.getUserAgent()).isEqualTo(expectedString);
//With suffix greater than 64 character
- userProvidedSuffix = "greater than 64 characters ###########################################";
+ userProvidedSuffix = "greater than 255 characters in total ################################################" +
+ "##########################################################################################################" +
+ "##########################################################################################################";
userAgentContainer = new UserAgentContainer();
userAgentContainer.setSuffix(userProvidedSuffix);
- expectedString = expectedStringFixedPart + SPACE + userProvidedSuffix.substring(0, 64);
+ expectedString = (expectedStringFixedPart + SPACE + userProvidedSuffix).substring(0, 255);
assertThat(userAgentContainer.getUserAgent()).isEqualTo(expectedString);
}
diff --git a/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/common/TestConstants.java b/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/common/TestConstants.java
index 6ac78bc1668d..8b79513499d8 100644
--- a/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/common/TestConstants.java
+++ b/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/common/TestConstants.java
@@ -10,6 +10,7 @@
public final class TestConstants {
+ public static final String AUTOSCALE_MAX_THROUGHPUT = "4000";
private static final Address ADDRESS_1 = new Address("201107", "Zixing Road", "Shanghai");
private static final Address ADDRESS_2 = new Address("200000", "Xuhui", "Shanghai");
public static final String HOBBY1 = "photography";
diff --git a/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/core/CosmosTemplateIT.java b/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/core/CosmosTemplateIT.java
index 2921769b018f..8be7d42fe414 100644
--- a/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/core/CosmosTemplateIT.java
+++ b/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/core/CosmosTemplateIT.java
@@ -6,8 +6,10 @@
import com.azure.cosmos.CosmosClientBuilder;
import com.azure.cosmos.CosmosException;
import com.azure.cosmos.implementation.ConflictException;
+import com.azure.cosmos.models.CosmosContainerProperties;
import com.azure.cosmos.models.PartitionKey;
import com.azure.cosmos.models.SqlQuerySpec;
+import com.azure.cosmos.models.ThroughputResponse;
import com.azure.spring.data.cosmos.CosmosFactory;
import com.azure.spring.data.cosmos.IntegrationTestCollectionManager;
import com.azure.spring.data.cosmos.common.PageTestUtils;
@@ -23,6 +25,7 @@
import com.azure.spring.data.cosmos.core.query.Criteria;
import com.azure.spring.data.cosmos.core.query.CriteriaType;
import com.azure.spring.data.cosmos.domain.AuditableEntity;
+import com.azure.spring.data.cosmos.domain.AutoScaleSample;
import com.azure.spring.data.cosmos.domain.GenIdEntity;
import com.azure.spring.data.cosmos.domain.Person;
import com.azure.spring.data.cosmos.exception.CosmosAccessException;
@@ -93,6 +96,7 @@ public class CosmosTemplateIT {
@ClassRule
public static final IntegrationTestCollectionManager collectionManager = new IntegrationTestCollectionManager();
+ private static CosmosAsyncClient client;
private static CosmosTemplate cosmosTemplate;
private static CosmosEntityInformation personInfo;
private static String containerName;
@@ -113,7 +117,7 @@ public class CosmosTemplateIT {
@Before
public void setUp() throws ClassNotFoundException {
if (cosmosTemplate == null) {
- CosmosAsyncClient client = CosmosFactory.createCosmosAsyncClient(cosmosClientBuilder);
+ client = CosmosFactory.createCosmosAsyncClient(cosmosClientBuilder);
final CosmosFactory cosmosFactory = new CosmosFactory(client, TestConstants.DB_NAME);
final CosmosMappingContext mappingContext = new CosmosMappingContext();
@@ -609,4 +613,19 @@ public void testSliceQuery() {
assertThat(responseDiagnosticsTestUtils.getCosmosResponseStatistics()).isNotNull();
assertThat(responseDiagnosticsTestUtils.getCosmosResponseStatistics().getRequestCharge()).isGreaterThan(0);
}
+
+ @Test
+ public void createWithAutoscale() throws ClassNotFoundException {
+ final CosmosEntityInformation autoScaleSampleInfo =
+ new CosmosEntityInformation<>(AutoScaleSample.class);
+ CosmosContainerProperties containerProperties = cosmosTemplate.createContainerIfNotExists(autoScaleSampleInfo);
+ assertNotNull(containerProperties);
+ ThroughputResponse throughput = client.getDatabase(TestConstants.DB_NAME)
+ .getContainer(autoScaleSampleInfo.getContainerName())
+ .readThroughput()
+ .block();
+ assertNotNull(throughput);
+ assertEquals(Integer.parseInt(TestConstants.AUTOSCALE_MAX_THROUGHPUT),
+ throughput.getProperties().getAutoscaleMaxThroughput());
+ }
}
diff --git a/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/core/ReactiveCosmosTemplateIT.java b/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/core/ReactiveCosmosTemplateIT.java
index ff7687daf643..cec0b680832a 100644
--- a/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/core/ReactiveCosmosTemplateIT.java
+++ b/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/core/ReactiveCosmosTemplateIT.java
@@ -7,8 +7,11 @@
import com.azure.cosmos.CosmosClientBuilder;
import com.azure.cosmos.CosmosException;
import com.azure.cosmos.implementation.ConflictException;
+import com.azure.cosmos.models.CosmosContainerProperties;
+import com.azure.cosmos.models.CosmosContainerResponse;
import com.azure.cosmos.models.PartitionKey;
import com.azure.cosmos.models.SqlQuerySpec;
+import com.azure.cosmos.models.ThroughputResponse;
import com.azure.spring.data.cosmos.CosmosFactory;
import com.azure.spring.data.cosmos.ReactiveIntegrationTestCollectionManager;
import com.azure.spring.data.cosmos.common.ResponseDiagnosticsTestUtils;
@@ -21,6 +24,7 @@
import com.azure.spring.data.cosmos.core.query.Criteria;
import com.azure.spring.data.cosmos.core.query.CriteriaType;
import com.azure.spring.data.cosmos.domain.AuditableEntity;
+import com.azure.spring.data.cosmos.domain.AutoScaleSample;
import com.azure.spring.data.cosmos.domain.GenIdEntity;
import com.azure.spring.data.cosmos.domain.Person;
import com.azure.spring.data.cosmos.exception.CosmosAccessException;
@@ -59,6 +63,8 @@
import static org.assertj.core.api.Assertions.assertThat;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.is;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.fail;
@RunWith(SpringJUnit4ClassRunner.class)
@@ -92,6 +98,7 @@ public class ReactiveCosmosTemplateIT {
@Value("${cosmos.key}")
private String cosmosDbKey;
+ private static CosmosAsyncClient client;
private static ReactiveCosmosTemplate cosmosTemplate;
private static String containerName;
private static CosmosEntityInformation personInfo;
@@ -115,7 +122,7 @@ public void setUp() throws ClassNotFoundException {
if (cosmosTemplate == null) {
azureKeyCredential = new AzureKeyCredential(cosmosDbKey);
cosmosClientBuilder.credential(azureKeyCredential);
- CosmosAsyncClient client = CosmosFactory.createCosmosAsyncClient(cosmosClientBuilder);
+ client = CosmosFactory.createCosmosAsyncClient(cosmosClientBuilder);
final CosmosFactory dbFactory = new CosmosFactory(client, TestConstants.DB_NAME);
final CosmosMappingContext mappingContext = new CosmosMappingContext();
@@ -501,4 +508,20 @@ public void testRunQueryWithReturnTypeContainingLocalDateTime() {
StepVerifier.create(flux).expectNextCount(1).verifyComplete();
}
+ @Test
+ public void createWithAutoscale() {
+ final CosmosEntityInformation autoScaleSampleInfo =
+ new CosmosEntityInformation<>(AutoScaleSample.class);
+ CosmosContainerResponse containerResponse = cosmosTemplate
+ .createContainerIfNotExists(autoScaleSampleInfo)
+ .block();
+ assertNotNull(containerResponse);
+ ThroughputResponse throughput = client.getDatabase(TestConstants.DB_NAME)
+ .getContainer(autoScaleSampleInfo.getContainerName())
+ .readThroughput()
+ .block();
+ assertNotNull(throughput);
+ assertEquals(Integer.parseInt(TestConstants.AUTOSCALE_MAX_THROUGHPUT),
+ throughput.getProperties().getAutoscaleMaxThroughput());
+ }
}
diff --git a/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/domain/AutoScaleSample.java b/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/domain/AutoScaleSample.java
new file mode 100644
index 000000000000..67936ab567f9
--- /dev/null
+++ b/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/domain/AutoScaleSample.java
@@ -0,0 +1,27 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+package com.azure.spring.data.cosmos.domain;
+
+import com.azure.spring.data.cosmos.common.TestConstants;
+import com.azure.spring.data.cosmos.core.mapping.Container;
+
+@Container(ru = TestConstants.AUTOSCALE_MAX_THROUGHPUT, autoScale = true)
+public class AutoScaleSample {
+ private String id;
+
+ public AutoScaleSample() {
+ }
+
+ public AutoScaleSample(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+}
diff --git a/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/repository/integration/AnnotatedQueryIT.java b/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/repository/integration/AnnotatedQueryIT.java
index a343c5e2f8eb..2c62255b0acb 100644
--- a/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/repository/integration/AnnotatedQueryIT.java
+++ b/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/repository/integration/AnnotatedQueryIT.java
@@ -11,6 +11,7 @@
import com.azure.spring.data.cosmos.repository.TestRepositoryConfig;
import com.azure.spring.data.cosmos.repository.repository.AddressRepository;
import com.azure.spring.data.cosmos.repository.repository.AuditableRepository;
+import com.fasterxml.jackson.databind.JsonNode;
import org.junit.Before;
import org.junit.ClassRule;
import org.junit.Test;
@@ -25,6 +26,7 @@
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
+import java.util.stream.Collectors;
import static com.azure.spring.data.cosmos.common.PageTestUtils.validateLastPage;
import static com.azure.spring.data.cosmos.common.PageTestUtils.validateNonLastPage;
@@ -111,6 +113,50 @@ public void testAnnotatedQueryWithSort() {
assertAddressOrder(resultsDesc, Address.TEST_ADDRESS2_PARTITION1, Address.TEST_ADDRESS1_PARTITION1);
}
+ @Test
+ public void testAnnotatedQueryWithValueAsPage() {
+ final List addresses = Arrays.asList(Address.TEST_ADDRESS1_PARTITION1, Address.TEST_ADDRESS2_PARTITION1);
+ addressRepository.saveAll(addresses);
+
+ final PageRequest cosmosPageRequest = CosmosPageRequest.of(0, 10);
+ final Page postalCodes = addressRepository.annotatedFindPostalCodeValuesByCity(TestConstants.CITY,
+ cosmosPageRequest);
+
+ assertAddressPostalCodes(postalCodes.getContent(), addresses);
+ }
+
+ @Test
+ public void testAnnotatedQueryWithValueAsList() {
+ final List addresses = Arrays.asList(Address.TEST_ADDRESS1_PARTITION1, Address.TEST_ADDRESS2_PARTITION1);
+ addressRepository.saveAll(addresses);
+
+ final List postalCodes = addressRepository.annotatedFindPostalCodeValuesByCity(TestConstants.CITY);
+
+ assertAddressPostalCodes(postalCodes, addresses);
+ }
+
+ @Test
+ public void testAnnotatedQueryWithJsonNodeAsPage() {
+ final List addresses = Arrays.asList(Address.TEST_ADDRESS1_PARTITION1, Address.TEST_ADDRESS2_PARTITION1);
+ addressRepository.saveAll(addresses);
+
+ final PageRequest cosmosPageRequest = CosmosPageRequest.of(0, 10);
+ final Page postalCodes = addressRepository.annotatedFindPostalCodesByCity(TestConstants.CITY,
+ cosmosPageRequest);
+ final List actualPostalCodes = postalCodes.getContent()
+ .stream()
+ .map(jsonNode -> jsonNode.get("postalCode").asText())
+ .collect(Collectors.toList());
+ assertAddressPostalCodes(actualPostalCodes, addresses);
+ }
+
+ private void assertAddressPostalCodes(List postalCodes, List expectedResults) {
+ List expectedPostalCodes = expectedResults.stream()
+ .map(Address::getPostalCode)
+ .collect(Collectors.toList());
+ assertThat(postalCodes).isEqualTo(expectedPostalCodes);
+ }
+
private void assertAddressOrder(List actualResults, Address ... expectedResults) {
assertThat(actualResults.size()).isEqualTo(expectedResults.length);
for (int i = 0; i < expectedResults.length; i++) {
diff --git a/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/repository/integration/ContactRepositoryIT.java b/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/repository/integration/ContactRepositoryIT.java
index 67fd40e5234b..bef63c503ffb 100644
--- a/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/repository/integration/ContactRepositoryIT.java
+++ b/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/repository/integration/ContactRepositoryIT.java
@@ -34,11 +34,14 @@
@ContextConfiguration(classes = TestRepositoryConfig.class)
public class ContactRepositoryIT {
- private static final Contact TEST_CONTACT1 = new Contact("testId", "faketitle", 25, true);
- private static final Contact TEST_CONTACT2 = new Contact("testId2", "faketitle2", 32, false);
- private static final Contact TEST_CONTACT3 = new Contact("testId3", "faketitle3", 25, false);
- private static final Contact TEST_CONTACT4 = new Contact("testId4", "faketitle4", 43, true);
- private static final Contact TEST_CONTACT5 = new Contact("testId5", "faketitle3", 43, true);
+ private static final Integer INT_VALUE_1 = 25;
+ private static final Integer INT_VALUE_2 = 32;
+ private static final Integer INT_VALUE_3 = 43;
+ private static final Contact TEST_CONTACT1 = new Contact("testId", "faketitle", INT_VALUE_1, true);
+ private static final Contact TEST_CONTACT2 = new Contact("testId2", "faketitle2", INT_VALUE_2, false);
+ private static final Contact TEST_CONTACT3 = new Contact("testId3", "faketitle3", INT_VALUE_1, false);
+ private static final Contact TEST_CONTACT4 = new Contact("testId4", "faketitle4", INT_VALUE_3, true);
+ private static final Contact TEST_CONTACT5 = new Contact("testId5", "faketitle3", INT_VALUE_3, true);
@ClassRule
public static final IntegrationTestCollectionManager collectionManager = new IntegrationTestCollectionManager();
@@ -245,4 +248,16 @@ public void testAnnotatedQueries() {
List groupByContacts = repository.selectGroupBy();
Assert.assertEquals(3, groupByContacts.size());
}
+
+ @Test
+ public void testAnnotatedQueriesDistinctIntValue() {
+ List valueContacts = repository.findDistinctIntValueValues();
+ assertThat(valueContacts).isEqualTo(Arrays.asList(INT_VALUE_1, INT_VALUE_2, INT_VALUE_3));
+ }
+
+ @Test
+ public void testAnnotatedQueriesDistinctStatus() {
+ List statusContacts = repository.findDistinctStatusValues();
+ assertThat(statusContacts).isEqualTo(Arrays.asList(Boolean.TRUE, Boolean.FALSE));
+ }
}
diff --git a/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/repository/repository/AddressRepository.java b/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/repository/repository/AddressRepository.java
index 6e5824a70de2..f4054e5d8198 100644
--- a/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/repository/repository/AddressRepository.java
+++ b/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/repository/repository/AddressRepository.java
@@ -5,6 +5,7 @@
import com.azure.spring.data.cosmos.domain.Address;
import com.azure.spring.data.cosmos.repository.CosmosRepository;
import com.azure.spring.data.cosmos.repository.Query;
+import com.fasterxml.jackson.databind.JsonNode;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
@@ -36,4 +37,12 @@ public interface AddressRepository extends CosmosRepository {
@Query("select * from a where a.city = @city")
List annotatedFindByCity(@Param("city") String city, Sort pageable);
+ @Query("select DISTINCT value a.postalCode from a where a.city = @city")
+ Page annotatedFindPostalCodeValuesByCity(@Param("city") String city, Pageable pageable);
+
+ @Query("select DISTINCT a.postalCode from a where a.city = @city")
+ Page annotatedFindPostalCodesByCity(@Param("city") String city, Pageable pageable);
+
+ @Query("select DISTINCT value a.postalCode from a where a.city = @city")
+ List annotatedFindPostalCodeValuesByCity(@Param("city") String city);
}
diff --git a/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/repository/repository/ContactRepository.java b/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/repository/repository/ContactRepository.java
index 1e4bfda3cd50..fb8a8afaa7c8 100644
--- a/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/repository/repository/ContactRepository.java
+++ b/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/repository/repository/ContactRepository.java
@@ -44,4 +44,10 @@ public interface ContactRepository extends CosmosRepository {
@Query(value = "SELECT count(c.id) as id_count, c.intValue FROM c group by c.intValue")
List selectGroupBy();
+ @Query(value = "Select DISTINCT value c.intValue from c")
+ List findDistinctIntValueValues();
+
+ @Query(value = "Select DISTINCT value c.active from c")
+ List findDistinctStatusValues();
+
}
diff --git a/sdk/cosmos/azure-spring-data-cosmos/README.md b/sdk/cosmos/azure-spring-data-cosmos/README.md
index 15e4277b374d..2bb7677dbc3f 100644
--- a/sdk/cosmos/azure-spring-data-cosmos/README.md
+++ b/sdk/cosmos/azure-spring-data-cosmos/README.md
@@ -244,9 +244,13 @@ public class User {
- Annotation `@Container(containerName="myContainer")` specifies container name in Azure Cosmos DB.
- Annotation `@PartitionKey` on `lastName` field specifies this field as partition key in Azure Cosmos DB.
+
+#### Creating Containers with autoscale throughput
+- Annotation `autoScale` field specifies container to be created with autoscale throughput if set to true. Default is false, which means containers are created with manual throughput.
+- Read more about autoscale throughput [here][autoscale-throughput]
```java
-@Container(containerName = "myContainer")
+@Container(containerName = "myContainer", autoScale = true, ru = "4000")
public class UserSample {
@Id
private String emailAddress;
@@ -935,5 +939,6 @@ or contact [opencode@microsoft.com][coc_contact] with any additional questions o
[spring_data_custom_query]: https://docs.spring.io/spring-data/commons/docs/current/reference/html/#repositories.query-methods.details
[sql_queries_in_cosmos]: https://docs.microsoft.com/azure/cosmos-db/tutorial-query-sql-api
[sql_queries_getting_started]: https://docs.microsoft.com/azure/cosmos-db/sql-query-getting-started
+[autoscale-throughput]: https://docs.microsoft.com/azure/cosmos-db/provision-throughput-autoscale

diff --git a/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/Constants.java b/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/Constants.java
index 8b03ad2f938b..2fb853f948db 100644
--- a/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/Constants.java
+++ b/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/Constants.java
@@ -15,6 +15,7 @@ public final class Constants {
public static final String DEFAULT_REPOSITORY_IMPLEMENT_POSTFIX = "Impl";
public static final int DEFAULT_TIME_TO_LIVE = -1; // Indicates never expire
public static final boolean DEFAULT_AUTO_CREATE_CONTAINER = true;
+ public static final boolean DEFAULT_AUTO_SCALE = false;
public static final String ID_PROPERTY_NAME = "id";
public static final String ETAG_PROPERTY_DEFAULT_NAME = "_etag";
diff --git a/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/core/CosmosTemplate.java b/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/core/CosmosTemplate.java
index 1df1bd7ee32b..5889ec1ef145 100644
--- a/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/core/CosmosTemplate.java
+++ b/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/core/CosmosTemplate.java
@@ -474,8 +474,9 @@ public CosmosContainerProperties createContainerIfNotExists(CosmosEntityInformat
cosmosContainerResponseMono =
cosmosAsyncDatabase.createContainerIfNotExists(cosmosContainerProperties);
} else {
- ThroughputProperties throughputProperties =
- ThroughputProperties.createManualThroughput(information.getRequestUnit());
+ ThroughputProperties throughputProperties = information.isAutoScale()
+ ? ThroughputProperties.createAutoscaledThroughput(information.getRequestUnit())
+ : ThroughputProperties.createManualThroughput(information.getRequestUnit());
cosmosContainerResponseMono =
cosmosAsyncDatabase.createContainerIfNotExists(cosmosContainerProperties,
throughputProperties);
diff --git a/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/core/ReactiveCosmosTemplate.java b/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/core/ReactiveCosmosTemplate.java
index 256020e327a4..2bcd7727dd9e 100644
--- a/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/core/ReactiveCosmosTemplate.java
+++ b/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/core/ReactiveCosmosTemplate.java
@@ -158,8 +158,9 @@ public Mono createContainerIfNotExists(CosmosEntityInfo
cosmosContainerResponseMono =
database.createContainerIfNotExists(cosmosContainerProperties);
} else {
- ThroughputProperties throughputProperties =
- ThroughputProperties.createManualThroughput(information.getRequestUnit());
+ ThroughputProperties throughputProperties = information.isAutoScale()
+ ? ThroughputProperties.createAutoscaledThroughput(information.getRequestUnit())
+ : ThroughputProperties.createManualThroughput(information.getRequestUnit());
cosmosContainerResponseMono =
database.createContainerIfNotExists(cosmosContainerProperties,
throughputProperties);
diff --git a/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/core/convert/MappingCosmosConverter.java b/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/core/convert/MappingCosmosConverter.java
index 6c8a7f4472ca..556a79f7ea43 100644
--- a/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/core/convert/MappingCosmosConverter.java
+++ b/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/core/convert/MappingCosmosConverter.java
@@ -62,7 +62,6 @@ public MappingCosmosConverter(
public R read(Class type, JsonNode jsonNode) {
final CosmosPersistentEntity> entity = mappingContext.getPersistentEntity(type);
- Assert.notNull(entity, "Entity is null.");
return readInternal(entity, type, jsonNode);
}
@@ -74,8 +73,13 @@ public void write(Object source, JsonNode sink) {
private R readInternal(final CosmosPersistentEntity> entity, Class type,
final JsonNode jsonNode) {
- final ObjectNode objectNode = jsonNode.deepCopy();
try {
+ if (jsonNode.isValueNode()) {
+ return objectMapper.treeToValue(jsonNode, type);
+ }
+
+ Assert.notNull(entity, "Entity is null.");
+ final ObjectNode objectNode = jsonNode.deepCopy();
final CosmosPersistentProperty idProperty = entity.getIdProperty();
final JsonNode idValue = jsonNode.get("id");
if (idProperty != null) {
@@ -90,7 +94,7 @@ private R readInternal(final CosmosPersistentEntity> entity, Class type
return objectMapper.treeToValue(objectNode, type);
} catch (JsonProcessingException e) {
throw new IllegalStateException("Failed to read the source document "
- + objectNode.toPrettyString()
+ + jsonNode.toPrettyString()
+ " to target type "
+ type, e);
}
diff --git a/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/core/mapping/Container.java b/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/core/mapping/Container.java
index 23b30ee871ef..fd1187d1dcc8 100644
--- a/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/core/mapping/Container.java
+++ b/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/core/mapping/Container.java
@@ -53,4 +53,10 @@
* @return partition key path
*/
String partitionKeyPath() default "";
+
+ /**
+ * To enable auto scale for container RU limit
+ * @return default as false
+ */
+ boolean autoScale() default Constants.DEFAULT_AUTO_SCALE;
}
diff --git a/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/repository/support/CosmosEntityInformation.java b/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/repository/support/CosmosEntityInformation.java
index aa685fa173f3..947e8e36f2ac 100644
--- a/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/repository/support/CosmosEntityInformation.java
+++ b/sdk/cosmos/azure-spring-data-cosmos/src/main/java/com/azure/spring/data/cosmos/repository/support/CosmosEntityInformation.java
@@ -65,6 +65,7 @@ public class CosmosEntityInformation extends AbstractEntityInformation