├── .clang-format
├── .config
└── 1espt
│ └── PipelineAutobaseliningConfig.yml
├── .github
├── CODEOWNERS
├── CODEOWNERS_baseline_errors.txt
├── ISSUE_TEMPLATE
│ ├── bug_report.md
│ ├── feature_request.md
│ └── question-query-template.md
├── event-processor.config
├── pull_request_template.md
└── workflows
│ ├── event-processor.yml
│ ├── event.yml
│ ├── post-apiview.yml
│ └── scheduled-event-processor.yml
├── .gitignore
├── .vscode
└── cspell.json
├── CMakeLists.txt
├── CMakePresets.json
├── CMakeSettings.json
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── Cargo.lock
├── Cargo.toml
├── LICENSE.txt
├── README.md
├── SECURITY.md
├── SUPPORT.md
├── cmake-modules
├── AddGoogleTest.cmake
├── AzureBuildTargetForCI.cmake
├── AzureCodeCoverage.cmake
├── AzureConfigRTTI.cmake
├── AzureDoxygen.cmake
├── AzureGlobalCompileOptions.cmake
├── AzureTransportAdapters.cmake
├── AzureVcpkg.cmake
├── AzureVersion.cmake
├── CreateMapFile.cmake
├── DownloadJsonTestData.cmake
├── FolderList.cmake
├── PerfTest.cmake
├── TSPCompile.cmake
└── TestProxyPrep.cmake
├── doc
├── DistributedTracing.md
├── HttpTransportAdapter.md
├── LibcurlTransportAdapter.md
├── Operation.md
├── PerformanceTesting.md
├── SnippetGeneration.md
├── StressTest.md
└── TestProxy.md
├── eng
├── CredScanSuppression.json
├── common
│ ├── README.md
│ ├── TestResources
│ │ ├── New-TestResources.cmd
│ │ ├── New-TestResources.ps1
│ │ ├── New-TestResources.ps1.md
│ │ ├── README.md
│ │ ├── Remove-TestResources.cmd
│ │ ├── Remove-TestResources.ps1
│ │ ├── Remove-TestResources.ps1.md
│ │ ├── SubConfig-Helpers.ps1
│ │ ├── TestResources-Helpers.ps1
│ │ ├── Update-TestResources.cmd
│ │ ├── Update-TestResources.ps1
│ │ ├── Update-TestResources.ps1.md
│ │ ├── build-test-resource-config.yml
│ │ ├── clouds
│ │ │ ├── AzureChinaCloud.json
│ │ │ ├── AzureCloud.json
│ │ │ └── AzureUSGovernment.json
│ │ ├── deploy-test-resources.yml
│ │ ├── remove-test-resources.yml
│ │ └── setup-environments.yml
│ ├── docgeneration
│ │ ├── Generate-DocIndex.ps1
│ │ ├── assets
│ │ │ └── logo.svg
│ │ ├── docfx.json
│ │ └── templates
│ │ │ └── matthews
│ │ │ ├── partials
│ │ │ ├── affix.tmpl.partial
│ │ │ ├── class.header.tmpl.partial
│ │ │ ├── class.tmpl.partial
│ │ │ ├── enum.tmpl.partial
│ │ │ ├── head.tmpl.partial
│ │ │ └── namespace.tmpl.partial
│ │ │ └── styles
│ │ │ ├── main.css
│ │ │ └── main.js
│ ├── mcp
│ │ ├── README.md
│ │ └── azure-sdk-mcp.ps1
│ ├── pipelines
│ │ ├── codeowners-linter.yml
│ │ └── templates
│ │ │ ├── archetype-typespec-emitter.yml
│ │ │ ├── jobs
│ │ │ ├── archetype-sdk-tests-generate.yml
│ │ │ ├── docindex.yml
│ │ │ ├── generate-job-matrix.yml
│ │ │ ├── npm-publish.yml
│ │ │ ├── perf.yml
│ │ │ └── prepare-pipelines.yml
│ │ │ ├── stages
│ │ │ └── archetype-sdk-tool-pwsh.yml
│ │ │ └── steps
│ │ │ ├── bypass-local-dns.yml
│ │ │ ├── cache-ps-modules.yml
│ │ │ ├── check-spelling.yml
│ │ │ ├── cosmos-emulator.yml
│ │ │ ├── create-apireview.yml
│ │ │ ├── create-authenticated-npmrc.yml
│ │ │ ├── create-pull-request.yml
│ │ │ ├── create-tags-and-git-release.yml
│ │ │ ├── credscan.yml
│ │ │ ├── daily-dev-build-variable.yml
│ │ │ ├── detect-api-changes.yml
│ │ │ ├── devops-variables-clear.yml
│ │ │ ├── devops-variables-set.yml
│ │ │ ├── docsms-ensure-validation.yml
│ │ │ ├── emit-rate-limit-metrics.yml
│ │ │ ├── enable-long-path-support.yml
│ │ │ ├── eng-common-workflow-enforcer.yml
│ │ │ ├── git-push-changes.yml
│ │ │ ├── install-pipeline-generation.yml
│ │ │ ├── mashup-doc-index.yml
│ │ │ ├── policheck.yml
│ │ │ ├── publish-1es-artifact.yml
│ │ │ ├── publish-artifact.yml
│ │ │ ├── publish-blobs.yml
│ │ │ ├── replace-relative-links.yml
│ │ │ ├── retain-run.yml
│ │ │ ├── run-pester-tests.yml
│ │ │ ├── save-package-properties.yml
│ │ │ ├── set-daily-docs-branch-name.yml
│ │ │ ├── set-default-branch.yml
│ │ │ ├── set-test-pipeline-version.yml
│ │ │ ├── sparse-checkout.yml
│ │ │ ├── update-docsms-metadata.yml
│ │ │ ├── validate-all-packages.yml
│ │ │ ├── validate-filename.yml
│ │ │ ├── verify-agent-os.yml
│ │ │ ├── verify-changelog.yml
│ │ │ ├── verify-changelogs.yml
│ │ │ ├── verify-links.yml
│ │ │ ├── verify-path-length.yml
│ │ │ ├── verify-readme.yml
│ │ │ ├── verify-readmes.yml
│ │ │ ├── verify-restapi-spec-location.yml
│ │ │ ├── verify-samples.yml
│ │ │ └── write-filesystemmetrics.yml
│ ├── scripts
│ │ ├── Add-IssueComment.ps1
│ │ ├── Add-IssueLabels.ps1
│ │ ├── Add-RetentionLease.ps1
│ │ ├── ChangeLog-Operations.ps1
│ │ ├── Cosmos-Emulator.ps1
│ │ ├── Create-APIReview.ps1
│ │ ├── Delete-RemoteBranches.ps1
│ │ ├── Delete-RemoteTag.ps1
│ │ ├── Detect-Api-Changes.ps1
│ │ ├── Generate-PR-Diff.ps1
│ │ ├── Get-BuildSourceDescription.ps1
│ │ ├── Get-PullRequestCreator.ps1
│ │ ├── Helpers
│ │ │ ├── ApiView-Helpers.ps1
│ │ │ ├── AzSdkTool-Helpers.ps1
│ │ │ ├── CommandInvocation-Helpers.ps1
│ │ │ ├── DevOps-WorkItem-Helpers.ps1
│ │ │ ├── Metadata-Helpers.ps1
│ │ │ ├── PSModule-Helpers.ps1
│ │ │ ├── Package-Helpers.ps1
│ │ │ ├── Resource-Helpers.ps1
│ │ │ ├── Service-Level-Readme-Automation-Helpers.ps1
│ │ │ ├── git-helpers.ps1
│ │ │ └── git-helpers.tests.ps1
│ │ ├── Import-AzModules.ps1
│ │ ├── Invoke-DevOpsAPI.ps1
│ │ ├── Invoke-GitHubAPI.ps1
│ │ ├── New-RegenerateMatrix.ps1
│ │ ├── New-ReleaseAsset.ps1
│ │ ├── Package-Properties.ps1
│ │ ├── Prepare-Release.ps1
│ │ ├── Queue-Pipeline.ps1
│ │ ├── Remove-IssueLabel.ps1
│ │ ├── Save-Package-Properties.ps1
│ │ ├── SemVer.ps1
│ │ ├── Service-Level-Readme-Automation.ps1
│ │ ├── SetTestPipelineVersion.ps1
│ │ ├── Submit-PullRequest.ps1
│ │ ├── Test-SampleMetadata.ps1
│ │ ├── TypeSpec-Project-Generate.ps1
│ │ ├── TypeSpec-Project-Process.ps1
│ │ ├── TypeSpec-Project-Sync.ps1
│ │ ├── Update-ChangeLog.ps1
│ │ ├── Update-DevOps-Release-WorkItem.ps1
│ │ ├── Update-DocsMsMetadata.ps1
│ │ ├── Update-DocsMsPackageMonikers.ps1
│ │ ├── Update-DocsMsPackages.ps1
│ │ ├── Update-DocsMsToc.ps1
│ │ ├── Update-GeneratedSdks.ps1
│ │ ├── Validate-All-Packages.ps1
│ │ ├── Validate-Package.ps1
│ │ ├── Verify-AgentOS.ps1
│ │ ├── Verify-ChangeLog.ps1
│ │ ├── Verify-ChangeLogs.ps1
│ │ ├── Verify-Links.ps1
│ │ ├── Verify-Readme.ps1
│ │ ├── Verify-RequiredDocsJsonMembers.ps1
│ │ ├── Verify-Resource-Ref.ps1
│ │ ├── Verify-RestApiSpecLocation.ps1
│ │ ├── Write-FileSystemMetrics.ps1
│ │ ├── X509Certificate2
│ │ │ ├── README.md
│ │ │ └── X509Certificate2.psm1
│ │ ├── artifact-metadata-parsing.ps1
│ │ ├── check-for-git-changes.ps1
│ │ ├── check-spelling-in-changed-files.ps1
│ │ ├── common.ps1
│ │ ├── copy-docs-to-blobstorage.ps1
│ │ ├── create-tags-and-git-release.ps1
│ │ ├── get-changedfiles.ps1
│ │ ├── get-markdown-files-from-changed-files.ps1
│ │ ├── git-branch-push.ps1
│ │ ├── job-matrix
│ │ │ ├── Create-JobMatrix.ps1
│ │ │ ├── Create-PrJobMatrix.ps1
│ │ │ ├── README.md
│ │ │ ├── job-matrix-functions.ps1
│ │ │ └── pullrequest-faq.md
│ │ ├── logging.ps1
│ │ ├── stress-testing
│ │ │ ├── deploy-stress-tests.ps1
│ │ │ ├── find-all-stress-packages.ps1
│ │ │ ├── generate-scenario-matrix.ps1
│ │ │ └── stress-test-deployment-lib.ps1
│ │ ├── trust-proxy-certificate.ps1
│ │ └── typespec
│ │ │ ├── New-EmitterPackageJson.ps1
│ │ │ └── New-EmitterPackageLock.ps1
│ ├── spelling
│ │ ├── Invoke-Cspell.ps1
│ │ ├── package-lock.json
│ │ └── package.json
│ └── testproxy
│ │ ├── apply-dev-cert.sh
│ │ ├── docker-start-proxy.ps1
│ │ ├── dotnet-devcert.crt
│ │ ├── dotnet-devcert.pfx
│ │ ├── install-test-proxy.ps1
│ │ ├── localhost.conf
│ │ ├── onboarding
│ │ ├── README.md
│ │ ├── common-asset-functions.ps1
│ │ └── generate-assets-json.ps1
│ │ ├── publish-proxy-logs.yml
│ │ ├── scripts
│ │ ├── override-proxy-version.ps1
│ │ ├── resolve-asset-conflict
│ │ │ ├── README.md
│ │ │ └── resolve-asset-conflict.ps1
│ │ └── tag-merge
│ │ │ ├── README.md
│ │ │ └── merge-proxy-tags.ps1
│ │ ├── target_version.txt
│ │ ├── test-proxy-standalone-tool.yml
│ │ ├── test-proxy-tool-shutdown.yml
│ │ └── test-proxy-tool.yml
├── docs
│ └── api
│ │ └── assets
│ │ ├── DoxygenLayout.xml
│ │ ├── README.md
│ │ ├── footer.html
│ │ ├── header.html
│ │ └── style.css
├── ignore-links.txt
├── pipelines
│ ├── daily-verification.yml
│ ├── docindex.yml
│ ├── prepare-pipelines.yml
│ └── templates
│ │ ├── jobs
│ │ ├── archetype-sdk-client.yml
│ │ ├── ci.tests.yml
│ │ ├── cmake-generate-jobs.yml
│ │ ├── cmake-generate.tests.yml
│ │ ├── live.tests.yml
│ │ └── perf.yml
│ │ ├── stages
│ │ ├── archetype-cpp-release.yml
│ │ ├── archetype-sdk-client.yml
│ │ ├── archetype-sdk-tests.yml
│ │ ├── platform-matrix-cmakegenerate.json
│ │ ├── platform-matrix-cmakesourcegenerate.json
│ │ ├── platform-matrix-live.json
│ │ ├── platform-matrix-quick.json
│ │ └── platform-matrix.json
│ │ ├── steps
│ │ ├── cmake-build.yml
│ │ ├── cmake-generate.yml
│ │ ├── fix-1es-image-apt-azure-sources.yml
│ │ ├── generate-and-publish-sbom.yml
│ │ ├── generate-daily-branch-name.yml
│ │ ├── show-failure-logs.yml
│ │ ├── vcpkg-clone.yml
│ │ ├── vcpkg-publish.yml
│ │ └── vcpkg.yml
│ │ └── variables
│ │ ├── globals.yml
│ │ └── image.yml
└── scripts
│ ├── Collect-Changelogs.ps1
│ ├── Generate-APIReview-Token-Files.ps1
│ ├── Generate-Snippets.ps1
│ ├── Generate-Unified-Header.ps1
│ ├── Get-BinarySizes.ps1
│ ├── Get-PkgVersion.ps1
│ ├── Get-TriggeringUserGitHubAlias.ps1
│ ├── Initialize-VcpkgRelease.ps1
│ ├── Install-WSL.ps1
│ ├── Language-Settings.ps1
│ ├── New-DocsMsArtifact.ps1
│ ├── Set-VcpkgWriteModeCache.ps1
│ ├── Show-FailureLogs.ps1
│ ├── Start-TestProxy.ps1
│ ├── Stop-TestProxy.ps1
│ ├── Test-ShouldReleaseToVcpkg.ps1
│ ├── Update-PkgVersion.ps1
│ ├── Update-VcpkgBeta.ps1
│ ├── Update-VcpkgPort.ps1
│ └── typespec
│ ├── Build-Codegen.ps1
│ ├── Generate-Code.ps1
│ └── Run-Tsp-Update.ps1
├── samples
├── README.md
├── helpers
│ ├── get-env
│ │ ├── CMakeLists.txt
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── inc
│ │ │ └── get_env.hpp
│ │ └── src
│ │ │ └── get_env.cpp
│ └── service
│ │ ├── CMakeLists.txt
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── inc
│ │ └── azure
│ │ │ └── service
│ │ │ └── client.hpp
│ │ └── src
│ │ └── client.cpp
└── integration
│ ├── beta-packages-vcpkg
│ └── README.md
│ ├── cmake-fetch-content
│ ├── CMakeLists.txt
│ ├── LICENSE
│ ├── README.md
│ └── src
│ │ └── main.cpp
│ ├── cmake-vcpkg
│ ├── .gitignore
│ ├── CMakeLists.txt
│ ├── CMakeUserPresets.example.json
│ ├── README.md
│ ├── main.cpp
│ ├── vcpkg-configuration.json
│ └── vcpkg.json
│ └── vcpkg-all-smoke
│ ├── CMakeLists.txt
│ ├── LICENSE
│ ├── README.md
│ └── src
│ └── main.cpp
├── sdk
├── appconfiguration
│ ├── CMakeLists.txt
│ ├── azure-data-appconfiguration
│ │ ├── CHANGELOG.md
│ │ ├── CMakeLists.txt
│ │ ├── NOTICE.txt
│ │ ├── README.md
│ │ ├── cgmanifest.json
│ │ ├── inc
│ │ │ ├── ApiViewSettings.json
│ │ │ └── azure
│ │ │ │ └── data
│ │ │ │ ├── appconfiguration.hpp
│ │ │ │ └── appconfiguration
│ │ │ │ ├── configuration_client.hpp
│ │ │ │ ├── configuration_client_models.hpp
│ │ │ │ ├── configuration_client_options.hpp
│ │ │ │ ├── configuration_client_paged_responses.hpp
│ │ │ │ ├── dll_import_export.hpp
│ │ │ │ └── rtti.hpp
│ │ ├── samples
│ │ │ ├── CMakeLists.txt
│ │ │ └── appconfig_basic_operation.cpp
│ │ ├── src
│ │ │ ├── configuration_client.cpp
│ │ │ └── private
│ │ │ │ └── package_version.hpp
│ │ ├── test
│ │ │ └── ut
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── configuration_test.cpp
│ │ │ │ └── macro_guard.cpp
│ │ ├── vcpkg.json
│ │ └── vcpkg
│ │ │ ├── Config.cmake.in
│ │ │ ├── portfile.cmake
│ │ │ └── vcpkg.json
│ └── ci.yml
├── attestation
│ ├── CMakeLists.txt
│ ├── assets.json
│ ├── azure-security-attestation
│ │ ├── CHANGELOG.md
│ │ ├── CMakeLists.txt
│ │ ├── NOTICE.txt
│ │ ├── README.md
│ │ ├── cgmanifest.json
│ │ ├── cspell.json
│ │ ├── inc
│ │ │ ├── ApiViewSettings.json
│ │ │ └── azure
│ │ │ │ ├── attestation.hpp
│ │ │ │ └── attestation
│ │ │ │ ├── attestation_administration_client.hpp
│ │ │ │ ├── attestation_client.hpp
│ │ │ │ ├── attestation_client_models.hpp
│ │ │ │ ├── attestation_client_options.hpp
│ │ │ │ ├── dll_import_export.hpp
│ │ │ │ └── rtti.hpp
│ │ ├── samples
│ │ │ ├── CMakeLists.txt
│ │ │ ├── README.md
│ │ │ ├── attestation
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── README.md
│ │ │ │ ├── attest_openenclave_shared.cpp
│ │ │ │ ├── attest_openenclave_with_draft_policy.cpp
│ │ │ │ ├── attest_sgxenclave.cpp
│ │ │ │ ├── attest_sgxenclave_with_runtime_binary.cpp
│ │ │ │ ├── attest_sgxenclave_with_runtime_json.cpp
│ │ │ │ ├── attestation_collateral.cpp
│ │ │ │ └── attestation_collateral.hpp
│ │ │ ├── basic-operations
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── README.md
│ │ │ │ ├── create_admin_client.cpp
│ │ │ │ ├── create_client.cpp
│ │ │ │ ├── get_open-id_metadata.cpp
│ │ │ │ └── get_signing_certificates.cpp
│ │ │ ├── policy-certificates
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── README.md
│ │ │ │ ├── add_policy_certificate.cpp
│ │ │ │ ├── cryptohelpers.hpp
│ │ │ │ └── get_policy_certificates.cpp
│ │ │ └── policy
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── README.md
│ │ │ │ ├── cryptohelpers.hpp
│ │ │ │ ├── get_policy.cpp
│ │ │ │ ├── reset_policy.cpp
│ │ │ │ ├── reset_sealed_policy.cpp
│ │ │ │ ├── set_policy.cpp
│ │ │ │ └── set_sealed_policy.cpp
│ │ ├── src
│ │ │ ├── attestation_administration_client.cpp
│ │ │ ├── attestation_client.cpp
│ │ │ ├── attestation_client_options.cpp
│ │ │ └── private
│ │ │ │ ├── attestation_client_models_private.hpp
│ │ │ │ ├── attestation_client_private.cpp
│ │ │ │ ├── attestation_client_private.hpp
│ │ │ │ ├── attestation_common_request.cpp
│ │ │ │ ├── attestation_common_request.hpp
│ │ │ │ ├── attestation_deserializers_private.cpp
│ │ │ │ ├── attestation_deserializers_private.hpp
│ │ │ │ ├── crypto
│ │ │ │ ├── inc
│ │ │ │ │ └── crypto.hpp
│ │ │ │ └── openssl
│ │ │ │ │ ├── openssl_helpers.hpp
│ │ │ │ │ ├── opensslcert.cpp
│ │ │ │ │ ├── opensslcert.hpp
│ │ │ │ │ ├── opensslcrypto.cpp
│ │ │ │ │ ├── opensslkeys.cpp
│ │ │ │ │ └── opensslkeys.hpp
│ │ │ │ ├── jsonhelpers.cpp
│ │ │ │ ├── jsonhelpers_private.hpp
│ │ │ │ └── package_version.hpp
│ │ ├── test
│ │ │ └── ut
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── attestation_collateral.cpp
│ │ │ │ ├── attestation_collateral.hpp
│ │ │ │ ├── attestation_metadata.cpp
│ │ │ │ ├── attestation_test.cpp
│ │ │ │ ├── crypto_test.cpp
│ │ │ │ ├── crypto_test_collateral.cpp
│ │ │ │ ├── crypto_test_collateral.hpp
│ │ │ │ ├── macro_guard.cpp
│ │ │ │ ├── policycertmgmt_test.cpp
│ │ │ │ ├── policygetset_test.cpp
│ │ │ │ ├── token_test.cpp
│ │ │ │ └── tpmattestation_test.cpp
│ │ ├── vcpkg.json
│ │ └── vcpkg
│ │ │ ├── Config.cmake.in
│ │ │ ├── portfile.cmake
│ │ │ └── vcpkg.json
│ ├── ci.yml
│ ├── test-resources-pre.ps1
│ └── test-resources.json
├── core
│ ├── CMakeLists.txt
│ ├── azure-core-amqp
│ │ ├── CHANGELOG.md
│ │ ├── CMakeLists.txt
│ │ ├── NOTICE.txt
│ │ ├── README.md
│ │ ├── Test-Cleanup.ps1
│ │ ├── Test-Setup.ps1
│ │ ├── cgmanifest.json
│ │ ├── cspell.json
│ │ ├── inc
│ │ │ ├── ApiViewSettings.json
│ │ │ └── azure
│ │ │ │ └── core
│ │ │ │ ├── amqp.hpp
│ │ │ │ └── amqp
│ │ │ │ ├── dll_import_export.hpp
│ │ │ │ ├── internal
│ │ │ │ ├── amqp_settle_mode.hpp
│ │ │ │ ├── cancellable.hpp
│ │ │ │ ├── claims_based_security.hpp
│ │ │ │ ├── common
│ │ │ │ │ ├── async_operation_queue.hpp
│ │ │ │ │ ├── completion_operation.hpp
│ │ │ │ │ ├── global_state.hpp
│ │ │ │ │ └── runtime_context.hpp
│ │ │ │ ├── connection.hpp
│ │ │ │ ├── connection_string_credential.hpp
│ │ │ │ ├── doxygen_pragma.hpp
│ │ │ │ ├── endpoint.hpp
│ │ │ │ ├── link.hpp
│ │ │ │ ├── management.hpp
│ │ │ │ ├── message_receiver.hpp
│ │ │ │ ├── message_sender.hpp
│ │ │ │ ├── models
│ │ │ │ │ ├── amqp_error.hpp
│ │ │ │ │ ├── amqp_protocol.hpp
│ │ │ │ │ ├── message_source.hpp
│ │ │ │ │ ├── message_target.hpp
│ │ │ │ │ ├── messaging_values.hpp
│ │ │ │ │ └── performatives
│ │ │ │ │ │ ├── amqp_detach.hpp
│ │ │ │ │ │ └── amqp_transfer.hpp
│ │ │ │ ├── network
│ │ │ │ │ ├── amqp_header_detect_transport.hpp
│ │ │ │ │ ├── sasl_transport.hpp
│ │ │ │ │ ├── socket_listener.hpp
│ │ │ │ │ ├── socket_transport.hpp
│ │ │ │ │ ├── tls_transport.hpp
│ │ │ │ │ └── transport.hpp
│ │ │ │ └── session.hpp
│ │ │ │ ├── models
│ │ │ │ ├── amqp_header.hpp
│ │ │ │ ├── amqp_message.hpp
│ │ │ │ ├── amqp_properties.hpp
│ │ │ │ └── amqp_value.hpp
│ │ │ │ └── rtti.hpp
│ │ ├── samples
│ │ │ ├── CMakeLists.txt
│ │ │ ├── README.md
│ │ │ ├── internal
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── eventhub_async_writer_sample
│ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ └── eventhub_async_writer_sample.cpp
│ │ │ │ ├── eventhub_get_properties_sample
│ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ └── eventhub_get_eventhub_properties_sample.cpp
│ │ │ │ ├── eventhub_reader_sample
│ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ └── eventhub_reader_sample.cpp
│ │ │ │ ├── eventhub_sas_reader_sample
│ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ └── eventhub_sas_reader_sample.cpp
│ │ │ │ ├── eventhub_sas_writer_sample
│ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ └── eventhub_sas_writer_sample.cpp
│ │ │ │ ├── eventhub_token_reader_sample
│ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ └── eventhub_token_reader_sample.cpp
│ │ │ │ ├── eventhub_token_writer_sample
│ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ └── eventhub_token_writer_sample.cpp
│ │ │ │ ├── eventhub_writer_sample
│ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ └── eventhub_writer_sample.cpp
│ │ │ │ ├── local_client_async_sample
│ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ └── local_client_async_sample.cpp
│ │ │ │ ├── local_client_sample
│ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ └── local_client_sample.cpp
│ │ │ │ └── local_server_sample
│ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ └── local_server_sample.cpp
│ │ │ └── test-resources.json
│ │ ├── src
│ │ │ ├── amqp
│ │ │ │ ├── claim_based_security.cpp
│ │ │ │ ├── connection.cpp
│ │ │ │ ├── connection_string_credential.cpp
│ │ │ │ ├── link.cpp
│ │ │ │ ├── management.cpp
│ │ │ │ ├── message_receiver.cpp
│ │ │ │ ├── message_sender.cpp
│ │ │ │ ├── private
│ │ │ │ │ └── unique_handle.hpp
│ │ │ │ └── session.cpp
│ │ │ ├── common
│ │ │ │ └── global_state.cpp
│ │ │ ├── impl
│ │ │ │ ├── rust_amqp
│ │ │ │ │ ├── amqp
│ │ │ │ │ │ ├── claim_based_security.cpp
│ │ │ │ │ │ ├── connection.cpp
│ │ │ │ │ │ ├── connection_string_credential.cpp
│ │ │ │ │ │ ├── management.cpp
│ │ │ │ │ │ ├── message_receiver.cpp
│ │ │ │ │ │ ├── message_sender.cpp
│ │ │ │ │ │ ├── private
│ │ │ │ │ │ │ ├── claims_based_security_impl.hpp
│ │ │ │ │ │ │ ├── connection_impl.hpp
│ │ │ │ │ │ │ ├── management_impl.hpp
│ │ │ │ │ │ │ ├── message_receiver_impl.hpp
│ │ │ │ │ │ │ ├── message_sender_impl.hpp
│ │ │ │ │ │ │ ├── session_impl.hpp
│ │ │ │ │ │ │ └── unique_handle.hpp
│ │ │ │ │ │ └── session.cpp
│ │ │ │ │ └── rust_amqp
│ │ │ │ │ │ ├── azure_core_amqp
│ │ │ │ │ │ ├── Cargo.toml
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── Test-Cleanup.ps1
│ │ │ │ │ │ ├── Test-Setup.ps1
│ │ │ │ │ │ ├── examples
│ │ │ │ │ │ │ └── connection.rs
│ │ │ │ │ │ └── src
│ │ │ │ │ │ │ ├── cbs.rs
│ │ │ │ │ │ │ ├── connection.rs
│ │ │ │ │ │ │ ├── error.rs
│ │ │ │ │ │ │ ├── fe2o3
│ │ │ │ │ │ │ ├── cbs.rs
│ │ │ │ │ │ │ ├── connection.rs
│ │ │ │ │ │ │ ├── error.rs
│ │ │ │ │ │ │ ├── management.rs
│ │ │ │ │ │ │ ├── messaging
│ │ │ │ │ │ │ │ ├── message_fields.rs
│ │ │ │ │ │ │ │ ├── message_source.rs
│ │ │ │ │ │ │ │ ├── message_target.rs
│ │ │ │ │ │ │ │ ├── messaging_types.rs
│ │ │ │ │ │ │ │ └── mod.rs
│ │ │ │ │ │ │ ├── mod.rs
│ │ │ │ │ │ │ ├── receiver.rs
│ │ │ │ │ │ │ ├── sender.rs
│ │ │ │ │ │ │ ├── session.rs
│ │ │ │ │ │ │ └── value.rs
│ │ │ │ │ │ │ ├── lib.rs
│ │ │ │ │ │ │ ├── management.rs
│ │ │ │ │ │ │ ├── messaging.rs
│ │ │ │ │ │ │ ├── noop.rs
│ │ │ │ │ │ │ ├── receiver.rs
│ │ │ │ │ │ │ ├── sender.rs
│ │ │ │ │ │ │ ├── session.rs
│ │ │ │ │ │ │ └── value.rs
│ │ │ │ │ │ └── rust_wrapper
│ │ │ │ │ │ ├── Cargo.toml
│ │ │ │ │ │ ├── build.rs
│ │ │ │ │ │ └── src
│ │ │ │ │ │ ├── amqp
│ │ │ │ │ │ ├── cbs.rs
│ │ │ │ │ │ ├── connection.rs
│ │ │ │ │ │ ├── management.rs
│ │ │ │ │ │ ├── message_receiver.rs
│ │ │ │ │ │ ├── message_sender.rs
│ │ │ │ │ │ ├── mod.rs
│ │ │ │ │ │ └── session.rs
│ │ │ │ │ │ ├── call_context.rs
│ │ │ │ │ │ ├── lib.rs
│ │ │ │ │ │ ├── model
│ │ │ │ │ │ ├── header.rs
│ │ │ │ │ │ ├── message.rs
│ │ │ │ │ │ ├── message_fields.rs
│ │ │ │ │ │ ├── mod.rs
│ │ │ │ │ │ ├── properties.rs
│ │ │ │ │ │ ├── source.rs
│ │ │ │ │ │ ├── target.rs
│ │ │ │ │ │ └── value.rs
│ │ │ │ │ │ ├── runtime_context.rs
│ │ │ │ │ │ └── tracing.rs
│ │ │ │ └── uamqp
│ │ │ │ │ ├── amqp
│ │ │ │ │ ├── cancellable.cpp
│ │ │ │ │ ├── claim_based_security.cpp
│ │ │ │ │ ├── connection.cpp
│ │ │ │ │ ├── connection_string_credential.cpp
│ │ │ │ │ ├── link.cpp
│ │ │ │ │ ├── management.cpp
│ │ │ │ │ ├── message_receiver.cpp
│ │ │ │ │ ├── message_sender.cpp
│ │ │ │ │ ├── private
│ │ │ │ │ │ ├── claims_based_security_impl.hpp
│ │ │ │ │ │ ├── connection_impl.hpp
│ │ │ │ │ │ ├── link_impl.hpp
│ │ │ │ │ │ ├── management_impl.hpp
│ │ │ │ │ │ ├── message_receiver_impl.hpp
│ │ │ │ │ │ ├── message_sender_impl.hpp
│ │ │ │ │ │ └── session_impl.hpp
│ │ │ │ │ └── session.cpp
│ │ │ │ │ ├── network
│ │ │ │ │ ├── amqp_header_transport.cpp
│ │ │ │ │ ├── private
│ │ │ │ │ │ └── transport_impl.hpp
│ │ │ │ │ ├── sasl_transport.cpp
│ │ │ │ │ ├── socket_listener.cpp
│ │ │ │ │ ├── socket_transport.cpp
│ │ │ │ │ ├── tls_transport.cpp
│ │ │ │ │ └── transport.cpp
│ │ │ │ │ └── vendor
│ │ │ │ │ └── azure-uamqp-c
│ │ │ │ │ ├── .gitattributes
│ │ │ │ │ ├── .gitignore
│ │ │ │ │ ├── .gitmodules
│ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── SECURITY.MD
│ │ │ │ │ ├── build_all
│ │ │ │ │ ├── packaging
│ │ │ │ │ │ ├── linux
│ │ │ │ │ │ │ └── debian
│ │ │ │ │ │ │ │ ├── azure-uamqp-c-dev.dirs
│ │ │ │ │ │ │ │ ├── azure-uamqp-c-dev.install
│ │ │ │ │ │ │ │ ├── azure-uamqp-c-lib.dirs
│ │ │ │ │ │ │ │ ├── azure-uamqp-c-lib.install
│ │ │ │ │ │ │ │ ├── changelog-trusty
│ │ │ │ │ │ │ │ ├── changelog-vivid
│ │ │ │ │ │ │ │ ├── changelog-wily
│ │ │ │ │ │ │ │ ├── changelog-xenial
│ │ │ │ │ │ │ │ ├── compat
│ │ │ │ │ │ │ │ ├── control
│ │ │ │ │ │ │ │ ├── copyright
│ │ │ │ │ │ │ │ ├── docs
│ │ │ │ │ │ │ │ ├── rules
│ │ │ │ │ │ │ │ └── source
│ │ │ │ │ │ │ │ └── format
│ │ │ │ │ │ └── windows
│ │ │ │ │ │ │ ├── Microsoft.Azure.uamqp.nuspec
│ │ │ │ │ │ │ ├── Microsoft.Azure.uamqp.targets
│ │ │ │ │ │ │ ├── Microsoft.Azure.uamqp_thirdpartynotice.txt
│ │ │ │ │ │ │ └── rebuild_nugets.cmd
│ │ │ │ │ └── windows
│ │ │ │ │ │ └── build.cmd
│ │ │ │ │ ├── configs
│ │ │ │ │ └── uamqpConfig.cmake
│ │ │ │ │ ├── contribute.md
│ │ │ │ │ ├── dependencies-test.cmake
│ │ │ │ │ ├── design
│ │ │ │ │ └── AMQPLib.vsdx
│ │ │ │ │ ├── devdoc
│ │ │ │ │ ├── amqp_frame_codec_requirements.md
│ │ │ │ │ ├── amqp_management_requirements.md
│ │ │ │ │ ├── amqpvalue_requirements.md
│ │ │ │ │ ├── async_operation_requirements.md
│ │ │ │ │ ├── cbs_requirements.md
│ │ │ │ │ ├── connection_requirements.md
│ │ │ │ │ ├── frame_codec_requirements.md
│ │ │ │ │ ├── header_detect_io_requirements.md
│ │ │ │ │ ├── message_requirements.md
│ │ │ │ │ ├── sasl_anonymous_requirements.md
│ │ │ │ │ ├── sasl_frame_codec_requirements.md
│ │ │ │ │ ├── sasl_mechanism_requirements.md
│ │ │ │ │ ├── sasl_plain_requirements.md
│ │ │ │ │ ├── sasl_server_io_requirements.md
│ │ │ │ │ ├── sasl_server_mechanism_requirements.md
│ │ │ │ │ ├── saslclientio_requirements.md
│ │ │ │ │ └── session_requirements.md
│ │ │ │ │ ├── inc
│ │ │ │ │ └── azure_uamqp_c
│ │ │ │ │ │ ├── amqp_definitions.h
│ │ │ │ │ │ ├── amqp_definitions_accepted.h
│ │ │ │ │ │ ├── amqp_definitions_address_string.h
│ │ │ │ │ │ ├── amqp_definitions_amqp_error.h
│ │ │ │ │ │ ├── amqp_definitions_amqp_sequence.h
│ │ │ │ │ │ ├── amqp_definitions_amqp_value.h
│ │ │ │ │ │ ├── amqp_definitions_annotations.h
│ │ │ │ │ │ ├── amqp_definitions_application_properties.h
│ │ │ │ │ │ ├── amqp_definitions_attach.h
│ │ │ │ │ │ ├── amqp_definitions_begin.h
│ │ │ │ │ │ ├── amqp_definitions_close.h
│ │ │ │ │ │ ├── amqp_definitions_connection_error.h
│ │ │ │ │ │ ├── amqp_definitions_data.h
│ │ │ │ │ │ ├── amqp_definitions_delivery_annotations.h
│ │ │ │ │ │ ├── amqp_definitions_delivery_number.h
│ │ │ │ │ │ ├── amqp_definitions_delivery_tag.h
│ │ │ │ │ │ ├── amqp_definitions_detach.h
│ │ │ │ │ │ ├── amqp_definitions_disposition.h
│ │ │ │ │ │ ├── amqp_definitions_end.h
│ │ │ │ │ │ ├── amqp_definitions_error.h
│ │ │ │ │ │ ├── amqp_definitions_fields.h
│ │ │ │ │ │ ├── amqp_definitions_filter_set.h
│ │ │ │ │ │ ├── amqp_definitions_flow.h
│ │ │ │ │ │ ├── amqp_definitions_footer.h
│ │ │ │ │ │ ├── amqp_definitions_handle.h
│ │ │ │ │ │ ├── amqp_definitions_header.h
│ │ │ │ │ │ ├── amqp_definitions_ietf_language_tag.h
│ │ │ │ │ │ ├── amqp_definitions_link_error.h
│ │ │ │ │ │ ├── amqp_definitions_message_annotations.h
│ │ │ │ │ │ ├── amqp_definitions_message_format.h
│ │ │ │ │ │ ├── amqp_definitions_message_id_binary.h
│ │ │ │ │ │ ├── amqp_definitions_message_id_string.h
│ │ │ │ │ │ ├── amqp_definitions_message_id_ulong.h
│ │ │ │ │ │ ├── amqp_definitions_message_id_uuid.h
│ │ │ │ │ │ ├── amqp_definitions_milliseconds.h
│ │ │ │ │ │ ├── amqp_definitions_modified.h
│ │ │ │ │ │ ├── amqp_definitions_node_properties.h
│ │ │ │ │ │ ├── amqp_definitions_open.h
│ │ │ │ │ │ ├── amqp_definitions_properties.h
│ │ │ │ │ │ ├── amqp_definitions_received.h
│ │ │ │ │ │ ├── amqp_definitions_receiver_settle_mode.h
│ │ │ │ │ │ ├── amqp_definitions_rejected.h
│ │ │ │ │ │ ├── amqp_definitions_released.h
│ │ │ │ │ │ ├── amqp_definitions_role.h
│ │ │ │ │ │ ├── amqp_definitions_sasl_challenge.h
│ │ │ │ │ │ ├── amqp_definitions_sasl_code.h
│ │ │ │ │ │ ├── amqp_definitions_sasl_init.h
│ │ │ │ │ │ ├── amqp_definitions_sasl_mechanisms.h
│ │ │ │ │ │ ├── amqp_definitions_sasl_outcome.h
│ │ │ │ │ │ ├── amqp_definitions_sasl_response.h
│ │ │ │ │ │ ├── amqp_definitions_seconds.h
│ │ │ │ │ │ ├── amqp_definitions_sender_settle_mode.h
│ │ │ │ │ │ ├── amqp_definitions_sequence_no.h
│ │ │ │ │ │ ├── amqp_definitions_session_error.h
│ │ │ │ │ │ ├── amqp_definitions_source.h
│ │ │ │ │ │ ├── amqp_definitions_target.h
│ │ │ │ │ │ ├── amqp_definitions_terminus_durability.h
│ │ │ │ │ │ ├── amqp_definitions_terminus_expiry_policy.h
│ │ │ │ │ │ ├── amqp_definitions_transfer.h
│ │ │ │ │ │ ├── amqp_definitions_transfer_number.h
│ │ │ │ │ │ ├── amqp_frame_codec.h
│ │ │ │ │ │ ├── amqp_management.h
│ │ │ │ │ │ ├── amqp_types.h
│ │ │ │ │ │ ├── amqpvalue.h
│ │ │ │ │ │ ├── amqpvalue_to_string.h
│ │ │ │ │ │ ├── async_operation.h
│ │ │ │ │ │ ├── cbs.h
│ │ │ │ │ │ ├── connection.h
│ │ │ │ │ │ ├── frame_codec.h
│ │ │ │ │ │ ├── header_detect_io.h
│ │ │ │ │ │ ├── link.h
│ │ │ │ │ │ ├── message.h
│ │ │ │ │ │ ├── message_receiver.h
│ │ │ │ │ │ ├── message_sender.h
│ │ │ │ │ │ ├── messaging.h
│ │ │ │ │ │ ├── sasl_anonymous.h
│ │ │ │ │ │ ├── sasl_frame_codec.h
│ │ │ │ │ │ ├── sasl_mechanism.h
│ │ │ │ │ │ ├── sasl_mssbcbs.h
│ │ │ │ │ │ ├── sasl_plain.h
│ │ │ │ │ │ ├── sasl_server_io.h
│ │ │ │ │ │ ├── sasl_server_mechanism.h
│ │ │ │ │ │ ├── saslclientio.h
│ │ │ │ │ │ ├── server_protocol_io.h
│ │ │ │ │ │ ├── session.h
│ │ │ │ │ │ ├── socket_listener.h
│ │ │ │ │ │ └── uamqp.h
│ │ │ │ │ ├── jenkins
│ │ │ │ │ ├── debian_c.sh
│ │ │ │ │ ├── linux_c.sh
│ │ │ │ │ ├── linux_c_option_test.sh
│ │ │ │ │ ├── linux_install_deps.sh
│ │ │ │ │ ├── linux_wolfssl.sh
│ │ │ │ │ ├── osx_gcc_openssl.sh
│ │ │ │ │ ├── osx_xcode_native.sh
│ │ │ │ │ ├── raspberrypi_c.sh
│ │ │ │ │ ├── raspberrypi_c_buster.sh
│ │ │ │ │ ├── ubuntu_c.sh
│ │ │ │ │ ├── ubuntu_clang.sh
│ │ │ │ │ ├── windows_c.cmd
│ │ │ │ │ ├── windows_c_VsDevCmd.cmd
│ │ │ │ │ ├── windows_c_build_as_dynamic.cmd
│ │ │ │ │ └── windows_vs2008_c.cmd
│ │ │ │ │ ├── readme.md
│ │ │ │ │ ├── samples
│ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ ├── eh_sender_with_sas_token_sample
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ └── main.c
│ │ │ │ │ ├── local_client_sample
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ └── main.c
│ │ │ │ │ ├── local_server_sample
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ └── main.c
│ │ │ │ │ ├── local_server_tls_sample
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ ├── main.c
│ │ │ │ │ │ ├── tls_server_io.h
│ │ │ │ │ │ └── tls_server_io_schannel.c
│ │ │ │ │ ├── message_receiver_sample
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ └── main.c
│ │ │ │ │ ├── message_sender_sample
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ └── main.c
│ │ │ │ │ ├── mssbcbs_sample
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ └── main.c
│ │ │ │ │ └── websockets_sample
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ ├── iothub_certs.c
│ │ │ │ │ │ ├── iothub_certs.h
│ │ │ │ │ │ └── main.c
│ │ │ │ │ ├── src
│ │ │ │ │ ├── amqp_definitions.c
│ │ │ │ │ ├── amqp_frame_codec.c
│ │ │ │ │ ├── amqp_management.c
│ │ │ │ │ ├── amqpvalue.c
│ │ │ │ │ ├── amqpvalue_to_string.c
│ │ │ │ │ ├── async_operation.c
│ │ │ │ │ ├── cbs.c
│ │ │ │ │ ├── connection.c
│ │ │ │ │ ├── frame_codec.c
│ │ │ │ │ ├── header_detect_io.c
│ │ │ │ │ ├── link.c
│ │ │ │ │ ├── message.c
│ │ │ │ │ ├── message_receiver.c
│ │ │ │ │ ├── message_sender.c
│ │ │ │ │ ├── messaging.c
│ │ │ │ │ ├── sasl_anonymous.c
│ │ │ │ │ ├── sasl_frame_codec.c
│ │ │ │ │ ├── sasl_mechanism.c
│ │ │ │ │ ├── sasl_mssbcbs.c
│ │ │ │ │ ├── sasl_plain.c
│ │ │ │ │ ├── sasl_server_mechanism.c
│ │ │ │ │ ├── saslclientio.c
│ │ │ │ │ ├── session.c
│ │ │ │ │ ├── socket_listener_berkeley.c
│ │ │ │ │ └── socket_listener_win32.c
│ │ │ │ │ ├── tests
│ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ ├── amqp_frame_codec_ut
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ ├── amqp_frame_codec_ut.c
│ │ │ │ │ │ └── main.c
│ │ │ │ │ ├── amqp_management_ut
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ ├── amqp_management_ut.c
│ │ │ │ │ │ └── main.c
│ │ │ │ │ ├── amqpvalue_ut
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ ├── amqpvalue_ut.c
│ │ │ │ │ │ └── main.c
│ │ │ │ │ ├── async_operation_ut
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ ├── async_operation_ut.c
│ │ │ │ │ │ └── main.c
│ │ │ │ │ ├── cbs_ut
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ ├── cbs_ut.c
│ │ │ │ │ │ └── main.c
│ │ │ │ │ ├── connection_ut
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ ├── connection_ut.c
│ │ │ │ │ │ └── main.c
│ │ │ │ │ ├── frame_codec_ut
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ ├── frame_codec_ut.c
│ │ │ │ │ │ └── main.c
│ │ │ │ │ ├── header_detect_io_ut
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ ├── header_detect_io_ut.c
│ │ │ │ │ │ └── main.c
│ │ │ │ │ ├── iothub_e2e
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ ├── iothub_e2e.c
│ │ │ │ │ │ └── main.c
│ │ │ │ │ ├── local_client_server_tcp_e2e
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ ├── local_client_server_tcp_e2e.c
│ │ │ │ │ │ └── main.c
│ │ │ │ │ ├── local_client_server_tcp_perf
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ └── local_client_server_tcp_perf.c
│ │ │ │ │ ├── message_ut
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ ├── main.c
│ │ │ │ │ │ └── message_ut.c
│ │ │ │ │ ├── sasl_anonymous_ut
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ ├── main.c
│ │ │ │ │ │ └── sasl_anonymous_ut.c
│ │ │ │ │ ├── sasl_frame_codec_ut
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ ├── main.c
│ │ │ │ │ │ └── sasl_frame_codec_ut.c
│ │ │ │ │ ├── sasl_mechanism_ut
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ ├── main.c
│ │ │ │ │ │ └── sasl_mechanism_ut.c
│ │ │ │ │ ├── sasl_plain_ut
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ ├── main.c
│ │ │ │ │ │ └── sasl_plain_ut.c
│ │ │ │ │ ├── sasl_server_mechanism_ut
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ ├── main.c
│ │ │ │ │ │ └── sasl_server_mechanism_ut.c
│ │ │ │ │ ├── saslclientio_ut
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ ├── main.c
│ │ │ │ │ │ └── saslclientio_ut.c
│ │ │ │ │ ├── session_ut
│ │ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ │ ├── main.c
│ │ │ │ │ │ └── session_ut.c
│ │ │ │ │ └── valgrind_suppressions.supp
│ │ │ │ │ ├── tools
│ │ │ │ │ └── release_github.cmd
│ │ │ │ │ ├── uamqp_generator
│ │ │ │ │ ├── Program.cs
│ │ │ │ │ ├── Properties
│ │ │ │ │ │ └── AssemblyInfo.cs
│ │ │ │ │ ├── amqp_definitions.cs
│ │ │ │ │ ├── amqp_definitions.dtd
│ │ │ │ │ ├── amqp_definitions.xml
│ │ │ │ │ ├── amqp_definitions.xsd
│ │ │ │ │ ├── amqp_definitions_c.cs
│ │ │ │ │ ├── amqp_definitions_c.tt
│ │ │ │ │ ├── amqp_definitions_h.cs
│ │ │ │ │ ├── amqp_definitions_h.tt
│ │ │ │ │ ├── amqp_definitions_type_h.cs
│ │ │ │ │ ├── amqp_definitions_type_h.tt
│ │ │ │ │ ├── uamqp_generator.csproj
│ │ │ │ │ └── uamqp_generator.sln
│ │ │ │ │ └── version.txt
│ │ │ ├── models
│ │ │ │ ├── amqp_detach.cpp
│ │ │ │ ├── amqp_error.cpp
│ │ │ │ ├── amqp_header.cpp
│ │ │ │ ├── amqp_message.cpp
│ │ │ │ ├── amqp_properties.cpp
│ │ │ │ ├── amqp_transfer.cpp
│ │ │ │ ├── amqp_value.cpp
│ │ │ │ ├── message_source.cpp
│ │ │ │ ├── message_target.cpp
│ │ │ │ ├── messaging_values.cpp
│ │ │ │ └── private
│ │ │ │ │ ├── error_impl.hpp
│ │ │ │ │ ├── header_impl.hpp
│ │ │ │ │ ├── message_impl.hpp
│ │ │ │ │ ├── performatives
│ │ │ │ │ ├── detach_impl.hpp
│ │ │ │ │ └── transfer_impl.hpp
│ │ │ │ │ ├── properties_impl.hpp
│ │ │ │ │ ├── source_impl.hpp
│ │ │ │ │ ├── target_impl.hpp
│ │ │ │ │ └── value_impl.hpp
│ │ │ └── private
│ │ │ │ └── package_version.hpp
│ │ ├── test
│ │ │ ├── CMakeLists.txt
│ │ │ ├── ut
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── amqp_header_tests.cpp
│ │ │ │ ├── amqp_message_tests.cpp
│ │ │ │ ├── amqp_performative_tests.cpp
│ │ │ │ ├── amqp_properties_tests.cpp
│ │ │ │ ├── amqp_value_tests.cpp
│ │ │ │ ├── async_operation_queue_tests.cpp
│ │ │ │ ├── azure_core_amqp_tests.cpp
│ │ │ │ ├── claim_based_security_tests.cpp
│ │ │ │ ├── connection_string_tests.cpp
│ │ │ │ ├── connection_tests.cpp
│ │ │ │ ├── link_tests.cpp
│ │ │ │ ├── management_tests.cpp
│ │ │ │ ├── message_sender_receiver.cpp
│ │ │ │ ├── message_source_target.cpp
│ │ │ │ ├── mock_amqp_server.hpp
│ │ │ │ ├── session_tests.cpp
│ │ │ │ └── transport_tests.cpp
│ │ │ └── ut_uamqp
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── uamqp_error_tests.cpp
│ │ │ │ ├── uamqp_header_tests.cpp
│ │ │ │ ├── uamqp_insertion_tests.cpp
│ │ │ │ ├── uamqp_message_tests.cpp
│ │ │ │ ├── uamqp_performatives_tests.cpp
│ │ │ │ ├── uamqp_properties_tests.cpp
│ │ │ │ └── uamqp_value_tests.cpp
│ │ ├── vcpkg.json
│ │ └── vcpkg
│ │ │ ├── Config.cmake.in
│ │ │ ├── portfile.cmake
│ │ │ └── vcpkg.json
│ ├── azure-core-test
│ │ ├── CMakeLists.txt
│ │ ├── NOTICE.txt
│ │ ├── README.md
│ │ ├── cgmanifest.json
│ │ ├── inc
│ │ │ └── azure
│ │ │ │ └── core
│ │ │ │ └── test
│ │ │ │ ├── network_models.hpp
│ │ │ │ ├── test_base.hpp
│ │ │ │ ├── test_context_manager.hpp
│ │ │ │ ├── test_proxy_manager.hpp
│ │ │ │ └── test_proxy_policy.hpp
│ │ └── src
│ │ │ ├── private
│ │ │ └── package_version.hpp
│ │ │ ├── test_base.cpp
│ │ │ ├── test_proxy_manager.cpp
│ │ │ └── test_proxy_policy.cpp
│ ├── azure-core-tracing-opentelemetry
│ │ ├── CHANGELOG.md
│ │ ├── CMakeLists.txt
│ │ ├── NOTICE.txt
│ │ ├── README.md
│ │ ├── cgmanifest.json
│ │ ├── inc
│ │ │ ├── ApiViewSettings.json
│ │ │ └── azure
│ │ │ │ └── core
│ │ │ │ └── tracing
│ │ │ │ └── opentelemetry
│ │ │ │ ├── dll_import_export.hpp
│ │ │ │ ├── internal
│ │ │ │ └── apiview.hpp
│ │ │ │ ├── opentelemetry.hpp
│ │ │ │ └── rtti.hpp
│ │ ├── src
│ │ │ ├── opentelemetry.cpp
│ │ │ ├── opentelemetry_private.hpp
│ │ │ └── private
│ │ │ │ └── package_version.hpp
│ │ ├── test
│ │ │ └── ut
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── azure_core_otel_test.cpp
│ │ │ │ ├── azure_core_test.cpp
│ │ │ │ ├── service_support_test.cpp
│ │ │ │ └── test_exporter.hpp
│ │ ├── vcpkg.json
│ │ └── vcpkg
│ │ │ ├── Config.cmake.in
│ │ │ ├── portfile.cmake
│ │ │ └── vcpkg.json
│ ├── azure-core
│ │ ├── CHANGELOG.md
│ │ ├── CMakeLists.txt
│ │ ├── NOTICE.txt
│ │ ├── README.md
│ │ ├── cgmanifest.json
│ │ ├── inc
│ │ │ ├── ApiViewSettings.json
│ │ │ └── azure
│ │ │ │ ├── core.hpp
│ │ │ │ └── core
│ │ │ │ ├── azure_assert.hpp
│ │ │ │ ├── base64.hpp
│ │ │ │ ├── case_insensitive_containers.hpp
│ │ │ │ ├── context.hpp
│ │ │ │ ├── credentials
│ │ │ │ ├── credentials.hpp
│ │ │ │ └── token_credential_options.hpp
│ │ │ │ ├── cryptography
│ │ │ │ └── hash.hpp
│ │ │ │ ├── datetime.hpp
│ │ │ │ ├── diagnostics
│ │ │ │ └── logger.hpp
│ │ │ │ ├── dll_import_export.hpp
│ │ │ │ ├── etag.hpp
│ │ │ │ ├── exception.hpp
│ │ │ │ ├── http
│ │ │ │ ├── curl_transport.hpp
│ │ │ │ ├── http.hpp
│ │ │ │ ├── http_status_code.hpp
│ │ │ │ ├── policies
│ │ │ │ │ └── policy.hpp
│ │ │ │ ├── raw_response.hpp
│ │ │ │ ├── transport.hpp
│ │ │ │ └── win_http_transport.hpp
│ │ │ │ ├── internal
│ │ │ │ ├── client_options.hpp
│ │ │ │ ├── contract.hpp
│ │ │ │ ├── credentials
│ │ │ │ │ └── authorization_challenge_parser.hpp
│ │ │ │ ├── cryptography
│ │ │ │ │ └── sha_hash.hpp
│ │ │ │ ├── diagnostics
│ │ │ │ │ ├── global_exception.hpp
│ │ │ │ │ └── log.hpp
│ │ │ │ ├── environment.hpp
│ │ │ │ ├── extendable_enumeration.hpp
│ │ │ │ ├── http
│ │ │ │ │ ├── http_sanitizer.hpp
│ │ │ │ │ └── pipeline.hpp
│ │ │ │ ├── io
│ │ │ │ │ └── null_body_stream.hpp
│ │ │ │ ├── json
│ │ │ │ │ ├── json.hpp
│ │ │ │ │ ├── json_optional.hpp
│ │ │ │ │ └── json_serializable.hpp
│ │ │ │ ├── strings.hpp
│ │ │ │ ├── tracing
│ │ │ │ │ ├── service_tracing.hpp
│ │ │ │ │ └── tracing_impl.hpp
│ │ │ │ └── unique_handle.hpp
│ │ │ │ ├── io
│ │ │ │ └── body_stream.hpp
│ │ │ │ ├── match_conditions.hpp
│ │ │ │ ├── modified_conditions.hpp
│ │ │ │ ├── nullable.hpp
│ │ │ │ ├── operation.hpp
│ │ │ │ ├── operation_status.hpp
│ │ │ │ ├── paged_response.hpp
│ │ │ │ ├── platform.hpp
│ │ │ │ ├── resource_identifier.hpp
│ │ │ │ ├── response.hpp
│ │ │ │ ├── rtti.hpp
│ │ │ │ ├── tracing
│ │ │ │ └── tracing.hpp
│ │ │ │ ├── url.hpp
│ │ │ │ └── uuid.hpp
│ │ ├── src
│ │ │ ├── azure_assert.cpp
│ │ │ ├── base64.cpp
│ │ │ ├── context.cpp
│ │ │ ├── credentials
│ │ │ │ └── authorization_challenge_parser.cpp
│ │ │ ├── cryptography
│ │ │ │ ├── md5.cpp
│ │ │ │ └── sha_hash.cpp
│ │ │ ├── datetime.cpp
│ │ │ ├── environment.cpp
│ │ │ ├── environment_log_level_listener.cpp
│ │ │ ├── etag.cpp
│ │ │ ├── exception.cpp
│ │ │ ├── http
│ │ │ │ ├── bearer_token_authentication_policy.cpp
│ │ │ │ ├── curl
│ │ │ │ │ ├── curl.cpp
│ │ │ │ │ ├── curl_connection_pool_private.hpp
│ │ │ │ │ ├── curl_connection_private.hpp
│ │ │ │ │ └── curl_session_private.hpp
│ │ │ │ ├── http.cpp
│ │ │ │ ├── http_sanitizer.cpp
│ │ │ │ ├── log_policy.cpp
│ │ │ │ ├── policy.cpp
│ │ │ │ ├── raw_response.cpp
│ │ │ │ ├── request.cpp
│ │ │ │ ├── request_activity_policy.cpp
│ │ │ │ ├── retry_policy.cpp
│ │ │ │ ├── telemetry_policy.cpp
│ │ │ │ ├── transport_policy.cpp
│ │ │ │ ├── url.cpp
│ │ │ │ ├── user_agent.cpp
│ │ │ │ └── winhttp
│ │ │ │ │ ├── private
│ │ │ │ │ └── win_http_transport_impl.hpp
│ │ │ │ │ ├── win_http_request.hpp
│ │ │ │ │ └── win_http_transport.cpp
│ │ │ ├── io
│ │ │ │ ├── body_stream.cpp
│ │ │ │ └── random_access_file_body_stream.cpp
│ │ │ ├── logger.cpp
│ │ │ ├── operation_status.cpp
│ │ │ ├── private
│ │ │ │ ├── environment_log_level_listener.hpp
│ │ │ │ └── package_version.hpp
│ │ │ ├── resource_identifier.cpp
│ │ │ ├── tracing
│ │ │ │ └── tracing.cpp
│ │ │ └── uuid.cpp
│ │ ├── test
│ │ │ ├── fault-injector
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── fault_injector_test.cpp
│ │ │ ├── libcurl-stress-test
│ │ │ │ ├── .helmignore
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── Chart.yaml
│ │ │ │ ├── Dockerfile
│ │ │ │ ├── README.md
│ │ │ │ ├── deploy.ps1
│ │ │ │ ├── generatedValues.yaml
│ │ │ │ ├── libcurl_stress_test.cpp
│ │ │ │ ├── scenarios-matrix.yaml
│ │ │ │ ├── stress-test-resources.bicep
│ │ │ │ └── templates
│ │ │ │ │ └── deploy-job.yaml
│ │ │ ├── nlohmann-json-test
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── src
│ │ │ │ │ ├── make_test_data_available.hpp
│ │ │ │ │ ├── unit-algorithms.cpp
│ │ │ │ │ ├── unit-allocator.cpp
│ │ │ │ │ ├── unit-alt-string.cpp
│ │ │ │ │ ├── unit-capacity.cpp
│ │ │ │ │ ├── unit-class_const_iterator.cpp
│ │ │ │ │ ├── unit-class_iterator.cpp
│ │ │ │ │ ├── unit-class_lexer.cpp
│ │ │ │ │ ├── unit-comparison.cpp
│ │ │ │ │ ├── unit-concepts.cpp
│ │ │ │ │ ├── unit-constructor1.cpp
│ │ │ │ │ ├── unit-constructor2.cpp
│ │ │ │ │ ├── unit-conversions.cpp
│ │ │ │ │ ├── unit-custom-base-class.cpp
│ │ │ │ │ ├── unit-deserialization.cpp
│ │ │ │ │ ├── unit-diagnostics.cpp
│ │ │ │ │ ├── unit-disabled_exceptions.cpp
│ │ │ │ │ ├── unit-element_access1.cpp
│ │ │ │ │ ├── unit-element_access2.cpp
│ │ │ │ │ ├── unit-hash.cpp
│ │ │ │ │ ├── unit-items.cpp
│ │ │ │ │ ├── unit-iterators1.cpp
│ │ │ │ │ ├── unit-iterators2.cpp
│ │ │ │ │ ├── unit-large_json.cpp
│ │ │ │ │ ├── unit-modifiers.cpp
│ │ │ │ │ ├── unit-no-mem-leak-on-adl-serialize.cpp
│ │ │ │ │ ├── unit-noexcept.cpp
│ │ │ │ │ ├── unit-ordered_json.cpp
│ │ │ │ │ ├── unit-ordered_map.cpp
│ │ │ │ │ ├── unit-pointer_access.cpp
│ │ │ │ │ ├── unit-readme.cpp
│ │ │ │ │ ├── unit-reference_access.cpp
│ │ │ │ │ ├── unit-serialization.cpp
│ │ │ │ │ ├── unit-testsuites.cpp
│ │ │ │ │ ├── unit-to_chars.cpp
│ │ │ │ │ ├── unit-type_traits.cpp
│ │ │ │ │ ├── unit-udl.cpp
│ │ │ │ │ ├── unit-udt.cpp
│ │ │ │ │ ├── unit-user_defined_input.cpp
│ │ │ │ │ ├── unit-windows_h.cpp
│ │ │ │ │ ├── unit-wstring.cpp
│ │ │ │ │ └── unit.cpp
│ │ │ │ └── thirdparty
│ │ │ │ │ └── doctest
│ │ │ │ │ ├── LICENSE.txt
│ │ │ │ │ ├── doctest.h
│ │ │ │ │ └── doctest_compatibility.h
│ │ │ ├── perf
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── inc
│ │ │ │ │ └── azure
│ │ │ │ │ │ └── core
│ │ │ │ │ │ └── test
│ │ │ │ │ │ ├── delay_test.hpp
│ │ │ │ │ │ ├── exception_test.hpp
│ │ │ │ │ │ ├── extended_options_test.hpp
│ │ │ │ │ │ ├── http_transport_test.hpp
│ │ │ │ │ │ ├── json_test.hpp
│ │ │ │ │ │ ├── no_op_test.hpp
│ │ │ │ │ │ ├── nullable_test.hpp
│ │ │ │ │ │ ├── pipeline_test.hpp
│ │ │ │ │ │ └── uuid_test.hpp
│ │ │ │ └── src
│ │ │ │ │ └── azure_core_perf_test.cpp
│ │ │ └── ut
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── Start-WebSocketServer.ps1
│ │ │ │ ├── assert_test.cpp
│ │ │ │ ├── authorization_challenge_parser_test.cpp
│ │ │ │ ├── azure_core_test.cpp
│ │ │ │ ├── azure_libcurl_core_main_test.cpp
│ │ │ │ ├── base64_test.cpp
│ │ │ │ ├── bearer_token_authentication_policy_test.cpp
│ │ │ │ ├── bodystream_test.cpp
│ │ │ │ ├── case_insensitive_containers_test.cpp
│ │ │ │ ├── client_options_test.cpp
│ │ │ │ ├── context_test.cpp
│ │ │ │ ├── curl_connection_pool_test.cpp
│ │ │ │ ├── curl_options_test.cpp
│ │ │ │ ├── curl_session_test.hpp
│ │ │ │ ├── curl_session_test_test.cpp
│ │ │ │ ├── datetime_test.cpp
│ │ │ │ ├── environment_log_level_listener_test.cpp
│ │ │ │ ├── etag_test.cpp
│ │ │ │ ├── exception_test.cpp
│ │ │ │ ├── extendable_enumeration_test.cpp
│ │ │ │ ├── global_context_test.cpp
│ │ │ │ ├── http_method_test.cpp
│ │ │ │ ├── http_test.cpp
│ │ │ │ ├── http_test.hpp
│ │ │ │ ├── json_test.cpp
│ │ │ │ ├── log_policy_test.cpp
│ │ │ │ ├── logging_test.cpp
│ │ │ │ ├── macro_guard_test.cpp
│ │ │ │ ├── match_conditions_test.cpp
│ │ │ │ ├── md5_test.cpp
│ │ │ │ ├── modified_conditions_test.cpp
│ │ │ │ ├── nullable_test.cpp
│ │ │ │ ├── operation_status_test.cpp
│ │ │ │ ├── operation_test.cpp
│ │ │ │ ├── operation_test.hpp
│ │ │ │ ├── pipeline_test.cpp
│ │ │ │ ├── policy_test.cpp
│ │ │ │ ├── proxy_tests
│ │ │ │ ├── builddocker.ps1
│ │ │ │ ├── localproxy.passwd
│ │ │ │ │ ├── Dockerfile
│ │ │ │ │ ├── proxypasswd
│ │ │ │ │ └── squid.conf
│ │ │ │ ├── localproxy
│ │ │ │ │ ├── Dockerfile
│ │ │ │ │ └── squid.conf
│ │ │ │ ├── readme.md
│ │ │ │ ├── remoteproxy.passwd
│ │ │ │ │ ├── Dockerfile
│ │ │ │ │ ├── proxypasswd
│ │ │ │ │ └── squid.conf
│ │ │ │ ├── remoteproxy
│ │ │ │ │ ├── Dockerfile
│ │ │ │ │ └── squid.conf
│ │ │ │ ├── run_wsl_proxy.ps1
│ │ │ │ ├── runproxy.ps1
│ │ │ │ └── verify_proxy.ps1
│ │ │ │ ├── request_activity_policy_test.cpp
│ │ │ │ ├── request_id_policy_test.cpp
│ │ │ │ ├── requirements.txt
│ │ │ │ ├── resource_identifier_test.cpp
│ │ │ │ ├── response_t_test.cpp
│ │ │ │ ├── retry_policy_test.cpp
│ │ │ │ ├── service_tracing_test.cpp
│ │ │ │ ├── sha_test.cpp
│ │ │ │ ├── simplified_header_test.cpp
│ │ │ │ ├── string_test.cpp
│ │ │ │ ├── telemetry_policy_test.cpp
│ │ │ │ ├── test_traits.hpp
│ │ │ │ ├── transport_adapter_base_test.cpp
│ │ │ │ ├── transport_adapter_base_test.hpp
│ │ │ │ ├── transport_adapter_implementation_test.cpp
│ │ │ │ ├── transport_policy_options.cpp
│ │ │ │ ├── url_test.cpp
│ │ │ │ └── uuid_test.cpp
│ │ ├── vcpkg.json
│ │ └── vcpkg
│ │ │ ├── Config.cmake.in
│ │ │ ├── portfile.cmake
│ │ │ └── vcpkg.json
│ ├── ci.yml
│ ├── perf-tests.yml
│ ├── perf.yml
│ └── perf
│ │ ├── CMakeLists.txt
│ │ ├── NOTICE.txt
│ │ ├── README.md
│ │ ├── cgmanifest.json
│ │ ├── inc
│ │ └── azure
│ │ │ ├── perf.hpp
│ │ │ └── perf
│ │ │ ├── argagg.hpp
│ │ │ ├── base_test.hpp
│ │ │ ├── dynamic_test_options.hpp
│ │ │ ├── options.hpp
│ │ │ ├── program.hpp
│ │ │ ├── random_stream.hpp
│ │ │ ├── test.hpp
│ │ │ ├── test_metadata.hpp
│ │ │ └── test_options.hpp
│ │ ├── src
│ │ ├── arg_parser.cpp
│ │ ├── base_test.cpp
│ │ ├── options.cpp
│ │ ├── program.cpp
│ │ └── random_stream.cpp
│ │ └── test
│ │ ├── CMakeLists.txt
│ │ └── src
│ │ └── random_stream_test.cpp
├── eventhubs
│ ├── CMakeLists.txt
│ ├── assets.json
│ ├── azure-messaging-eventhubs-checkpointstore-blob
│ │ ├── CHANGELOG.md
│ │ ├── CMakeLists.txt
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── cgmanifest.json
│ │ ├── inc
│ │ │ ├── ApiViewSettings.json
│ │ │ └── azure
│ │ │ │ └── messaging
│ │ │ │ └── eventhubs
│ │ │ │ └── checkpointstore_blob
│ │ │ │ ├── blob_checkpoint_store.hpp
│ │ │ │ ├── dll_import_export.hpp
│ │ │ │ └── rtti.hpp
│ │ ├── src
│ │ │ ├── blob_checkpoint_store.cpp
│ │ │ └── private
│ │ │ │ └── package_version.hpp
│ │ ├── test
│ │ │ ├── CMakeLists.txt
│ │ │ └── ut
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── blob_checkpoint_store_test.cpp
│ │ │ │ └── eventhubs_test_base.hpp
│ │ ├── vcpkg.json
│ │ └── vcpkg
│ │ │ ├── Config.cmake.in
│ │ │ ├── portfile.cmake
│ │ │ └── vcpkg.json
│ ├── azure-messaging-eventhubs
│ │ ├── CHANGELOG.md
│ │ ├── CMakeLists.txt
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── cgmanifest.json
│ │ ├── inc
│ │ │ ├── ApiViewSettings.json
│ │ │ └── azure
│ │ │ │ └── messaging
│ │ │ │ ├── eventhubs.hpp
│ │ │ │ └── eventhubs
│ │ │ │ ├── checkpoint_store.hpp
│ │ │ │ ├── consumer_client.hpp
│ │ │ │ ├── dll_import_export.hpp
│ │ │ │ ├── event_data_batch.hpp
│ │ │ │ ├── eventhubs_exception.hpp
│ │ │ │ ├── models
│ │ │ │ ├── checkpoint_store_models.hpp
│ │ │ │ ├── consumer_client_models.hpp
│ │ │ │ ├── event_data.hpp
│ │ │ │ ├── management_models.hpp
│ │ │ │ ├── partition_client_models.hpp
│ │ │ │ ├── processor_load_balancer_models.hpp
│ │ │ │ └── processor_models.hpp
│ │ │ │ ├── partition_client.hpp
│ │ │ │ ├── processor.hpp
│ │ │ │ ├── processor_partition_client.hpp
│ │ │ │ ├── producer_client.hpp
│ │ │ │ └── rtti.hpp
│ │ ├── samples
│ │ │ ├── CMakeLists.txt
│ │ │ ├── README.md
│ │ │ ├── basic-operations
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── create_consumer_aad.cpp
│ │ │ │ └── create_producer_aad.cpp
│ │ │ ├── consume-events
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── consume_events_aad.cpp
│ │ │ └── produce-events
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── produce_events_aad.cpp
│ │ ├── src
│ │ │ ├── checkpoint_store.cpp
│ │ │ ├── consumer_client.cpp
│ │ │ ├── event_data.cpp
│ │ │ ├── event_data_batch.cpp
│ │ │ ├── eventhubs_utilities.cpp
│ │ │ ├── partition_client.cpp
│ │ │ ├── partition_client_models.cpp
│ │ │ ├── private
│ │ │ │ ├── eventhubs_constants.hpp
│ │ │ │ ├── eventhubs_utilities.hpp
│ │ │ │ ├── package_version.hpp
│ │ │ │ ├── processor_load_balancer.hpp
│ │ │ │ └── retry_operation.hpp
│ │ │ ├── processor.cpp
│ │ │ ├── processor_load_balancer.cpp
│ │ │ ├── processor_partition_client.cpp
│ │ │ ├── producer_client.cpp
│ │ │ └── retry_operation.cpp
│ │ ├── test-resources-post.ps1
│ │ ├── test-resources.json
│ │ ├── test
│ │ │ ├── CMakeLists.txt
│ │ │ ├── eventhubs-stress-test
│ │ │ │ ├── .dockerignore
│ │ │ │ ├── .helmignore
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── Chart.yaml
│ │ │ │ ├── Dockerfile
│ │ │ │ ├── README.md
│ │ │ │ ├── deploy.ps1
│ │ │ │ ├── scenarios-matrix.yaml
│ │ │ │ ├── src
│ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ ├── eventhubs_stress_test.cpp
│ │ │ │ │ ├── inc
│ │ │ │ │ │ ├── argagg.hpp
│ │ │ │ │ │ └── eventhubs_stress_scenarios.hpp
│ │ │ │ │ └── scenarios
│ │ │ │ │ │ ├── inc
│ │ │ │ │ │ ├── batch_stress_tests.hpp
│ │ │ │ │ │ ├── scope_guard.hpp
│ │ │ │ │ │ └── shared_functions.hpp
│ │ │ │ │ │ └── src
│ │ │ │ │ │ ├── batch_stress_tests.cpp
│ │ │ │ │ │ └── shared_functions.cpp
│ │ │ │ ├── stress-test-resources.bicep
│ │ │ │ └── templates
│ │ │ │ │ └── deploy-job.yaml
│ │ │ ├── perf
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── inc
│ │ │ │ │ └── azure
│ │ │ │ │ │ └── messaging
│ │ │ │ │ │ └── eventhubs
│ │ │ │ │ │ └── test
│ │ │ │ │ │ └── eventhubs_batch_perf_test.hpp
│ │ │ │ └── src
│ │ │ │ │ └── azure_eventhubs_perf_test.cpp
│ │ │ └── ut
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── azure_messaging_eventhubs_test.cpp
│ │ │ │ ├── checkpoint_store_test.cpp
│ │ │ │ ├── consumer_client_test.cpp
│ │ │ │ ├── event_data_test.cpp
│ │ │ │ ├── eventhubs_admin_client.cpp
│ │ │ │ ├── eventhubs_admin_client.hpp
│ │ │ │ ├── eventhubs_admin_client_test.cpp
│ │ │ │ ├── eventhubs_test_base.hpp
│ │ │ │ ├── processor_load_balancer_test.cpp
│ │ │ │ ├── processor_test.cpp
│ │ │ │ ├── producer_client_test.cpp
│ │ │ │ ├── retry_operation_test.cpp
│ │ │ │ ├── round_trip_test.cpp
│ │ │ │ └── test_checkpoint_store.hpp
│ │ ├── vcpkg.json
│ │ └── vcpkg
│ │ │ ├── Config.cmake.in
│ │ │ ├── portfile.cmake
│ │ │ └── vcpkg.json
│ └── ci.yml
├── identity
│ ├── CMakeLists.txt
│ ├── assets.json
│ ├── azure-identity
│ │ ├── CHANGELOG.md
│ │ ├── CMakeLists.txt
│ │ ├── NOTICE.txt
│ │ ├── README.md
│ │ ├── TROUBLESHOOTING.md
│ │ ├── cgmanifest.json
│ │ ├── inc
│ │ │ ├── ApiViewSettings.json
│ │ │ └── azure
│ │ │ │ ├── identity.hpp
│ │ │ │ └── identity
│ │ │ │ ├── azure_cli_credential.hpp
│ │ │ │ ├── azure_pipelines_credential.hpp
│ │ │ │ ├── chained_token_credential.hpp
│ │ │ │ ├── client_assertion_credential.hpp
│ │ │ │ ├── client_certificate_credential.hpp
│ │ │ │ ├── client_secret_credential.hpp
│ │ │ │ ├── default_azure_credential.hpp
│ │ │ │ ├── detail
│ │ │ │ ├── client_credential_core.hpp
│ │ │ │ └── token_cache.hpp
│ │ │ │ ├── dll_import_export.hpp
│ │ │ │ ├── environment_credential.hpp
│ │ │ │ ├── managed_identity_credential.hpp
│ │ │ │ ├── rtti.hpp
│ │ │ │ └── workload_identity_credential.hpp
│ │ ├── perf-resources.json
│ │ ├── perf-tests.yml
│ │ ├── perf.yml
│ │ ├── samples
│ │ │ ├── CMakeLists.txt
│ │ │ ├── azure_cli_credential.cpp
│ │ │ ├── chained_token_credential.cpp
│ │ │ ├── client_certificate_credential.cpp
│ │ │ ├── client_secret_credential.cpp
│ │ │ ├── default_azure_credential.cpp
│ │ │ ├── environment_credential.cpp
│ │ │ ├── managed_identity_credential.cpp
│ │ │ └── workload_identity_credential.cpp
│ │ ├── src
│ │ │ ├── azure_cli_credential.cpp
│ │ │ ├── azure_pipelines_credential.cpp
│ │ │ ├── chained_token_credential.cpp
│ │ │ ├── client_assertion_credential.cpp
│ │ │ ├── client_certificate_credential.cpp
│ │ │ ├── client_credential_core.cpp
│ │ │ ├── client_secret_credential.cpp
│ │ │ ├── default_azure_credential.cpp
│ │ │ ├── environment_credential.cpp
│ │ │ ├── managed_identity_credential.cpp
│ │ │ ├── managed_identity_source.cpp
│ │ │ ├── private
│ │ │ │ ├── chained_token_credential_impl.hpp
│ │ │ │ ├── client_assertion_credential_impl.hpp
│ │ │ │ ├── identity_log.hpp
│ │ │ │ ├── managed_identity_source.hpp
│ │ │ │ ├── package_version.hpp
│ │ │ │ ├── tenant_id_resolver.hpp
│ │ │ │ └── token_credential_impl.hpp
│ │ │ ├── tenant_id_resolver.cpp
│ │ │ ├── token_cache.cpp
│ │ │ ├── token_credential_impl.cpp
│ │ │ └── workload_identity_credential.cpp
│ │ ├── test
│ │ │ ├── e2e
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── azure_identity_e2e_test.cpp
│ │ │ ├── perf
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── inc
│ │ │ │ │ └── azure
│ │ │ │ │ │ └── identity
│ │ │ │ │ │ └── test
│ │ │ │ │ │ ├── client_certificate_credential_test.hpp
│ │ │ │ │ │ ├── environment_credential_test.hpp
│ │ │ │ │ │ ├── externals
│ │ │ │ │ │ └── perf.combo.pem
│ │ │ │ │ │ └── secret_credential_test.hpp
│ │ │ │ └── src
│ │ │ │ │ └── azure_identity_perf_test.cpp
│ │ │ └── ut
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── azure_cli_credential_test.cpp
│ │ │ │ ├── azure_pipelines_credential_test.cpp
│ │ │ │ ├── chained_token_credential_test.cpp
│ │ │ │ ├── client_assertion_credential_test.cpp
│ │ │ │ ├── client_certificate_credential_test.cpp
│ │ │ │ ├── client_secret_credential_test.cpp
│ │ │ │ ├── credential_test_helper.cpp
│ │ │ │ ├── credential_test_helper.hpp
│ │ │ │ ├── default_azure_credential_test.cpp
│ │ │ │ ├── environment_credential_test.cpp
│ │ │ │ ├── macro_guard_test.cpp
│ │ │ │ ├── managed_identity_credential_test.cpp
│ │ │ │ ├── simplified_header_test.cpp
│ │ │ │ ├── tenant_id_resolver_test.cpp
│ │ │ │ ├── token_cache_test.cpp
│ │ │ │ ├── token_credential_impl_test.cpp
│ │ │ │ ├── token_credential_test.cpp
│ │ │ │ └── workload_identity_credential_test.cpp
│ │ ├── vcpkg.json
│ │ └── vcpkg
│ │ │ ├── Config.cmake.in
│ │ │ ├── portfile.cmake
│ │ │ └── vcpkg.json
│ ├── ci.yml
│ ├── test-resources-pre.ps1
│ └── test-resources.json
├── keyvault
│ ├── CMakeLists.txt
│ ├── README.md
│ ├── TROUBLESHOOTING.md
│ ├── assets.json
│ ├── azure-security-keyvault-administration
│ │ ├── CHANGELOG.md
│ │ ├── CMakeLists.txt
│ │ ├── NOTICE.txt
│ │ ├── README.md
│ │ ├── TROUBLESHOOTING.md
│ │ ├── cgmanifest.json
│ │ ├── inc
│ │ │ ├── ApiViewSettings.json
│ │ │ └── azure
│ │ │ │ └── keyvault
│ │ │ │ ├── administration.hpp
│ │ │ │ └── administration
│ │ │ │ ├── backup_client.hpp
│ │ │ │ ├── backup_operation.hpp
│ │ │ │ ├── dll_import_export.hpp
│ │ │ │ ├── rest_client_models.hpp
│ │ │ │ ├── rtti.hpp
│ │ │ │ ├── settings_client.hpp
│ │ │ │ └── settings_client_options.hpp
│ │ ├── samples
│ │ │ ├── CMakeLists.txt
│ │ │ ├── README.md
│ │ │ ├── sample1-basic-operations
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── sample1_administration.cpp
│ │ │ ├── sample1_administration.md
│ │ │ ├── sample2-full-backup-restore
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── sample2_full_backup_restore.cpp
│ │ │ ├── sample2_full_backup_restore.md
│ │ │ ├── sample3-backup-selective-restore
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── sample3_backup_selective_restore.cpp
│ │ │ └── sample3_backup_selective_restore.md
│ │ ├── src
│ │ │ ├── backup_client.cpp
│ │ │ ├── backup_operation.cpp
│ │ │ ├── keyvault_settings_common_request.cpp
│ │ │ ├── private
│ │ │ │ ├── administration_constants.hpp
│ │ │ │ ├── keyvault_settings_common_request.hpp
│ │ │ │ └── package_version.hpp
│ │ │ └── settings_client.cpp
│ │ ├── test
│ │ │ └── ut
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── backup_restore_client_base_test.hpp
│ │ │ │ ├── backup_restore_client_test.cpp
│ │ │ │ ├── macro_guard.cpp
│ │ │ │ ├── settings_client_base_test.hpp
│ │ │ │ └── settings_client_test.cpp
│ │ ├── vcpkg.json
│ │ └── vcpkg
│ │ │ ├── Config.cmake.in
│ │ │ ├── portfile.cmake
│ │ │ └── vcpkg.json
│ ├── azure-security-keyvault-certificates
│ │ ├── CHANGELOG.md
│ │ ├── CMakeLists.txt
│ │ ├── NOTICE.txt
│ │ ├── README.md
│ │ ├── TROUBLESHOOTING.md
│ │ ├── cgmanifest.json
│ │ ├── inc
│ │ │ ├── ApiViewSettings.json
│ │ │ └── azure
│ │ │ │ └── keyvault
│ │ │ │ ├── certificates.hpp
│ │ │ │ └── certificates
│ │ │ │ ├── certificate_client.hpp
│ │ │ │ ├── certificate_client_models.hpp
│ │ │ │ ├── certificate_client_operations.hpp
│ │ │ │ ├── certificate_client_options.hpp
│ │ │ │ ├── dll_import_export.hpp
│ │ │ │ └── rtti.hpp
│ │ ├── perf-resources.json
│ │ ├── perf-tests.yml
│ │ ├── perf.yml
│ │ ├── samples
│ │ │ ├── CMakeLists.txt
│ │ │ ├── README.md
│ │ │ ├── certificate-basic-operations
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── certificate_basic_operations.cpp
│ │ │ ├── certificate-get-certificates
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── certificate_get_certificates.cpp
│ │ │ ├── certificate-import-certificate
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── certificate_import_certificate.cpp
│ │ │ ├── certificate_basic_operations.md
│ │ │ ├── certificate_get_certificates.md
│ │ │ └── certificate_import_certificate.md
│ │ ├── src
│ │ │ ├── certificate_client.cpp
│ │ │ ├── certificate_client_models.cpp
│ │ │ ├── certificate_client_operations.cpp
│ │ │ ├── certificate_client_paged_response.cpp
│ │ │ ├── generated
│ │ │ │ ├── certificates.cpp
│ │ │ │ ├── certificates_models.hpp
│ │ │ │ ├── get_certificate_issuers_paged_response.cpp
│ │ │ │ ├── get_certificate_versions_paged_response.cpp
│ │ │ │ ├── get_certificates_paged_response.cpp
│ │ │ │ ├── get_deleted_certificates_paged_response.cpp
│ │ │ │ ├── key_vault_client.cpp
│ │ │ │ ├── key_vault_client.hpp
│ │ │ │ ├── key_vault_client_options.hpp
│ │ │ │ └── key_vault_client_paged_responses.hpp
│ │ │ └── private
│ │ │ │ ├── certificate_constants.hpp
│ │ │ │ ├── certificate_serializers.hpp
│ │ │ │ └── package_version.hpp
│ │ ├── test
│ │ │ ├── perf
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── inc
│ │ │ │ │ └── azure
│ │ │ │ │ │ └── keyvault
│ │ │ │ │ │ └── certificates
│ │ │ │ │ │ └── test
│ │ │ │ │ │ └── get_certificate_test.hpp
│ │ │ │ └── src
│ │ │ │ │ └── azure_security_keyvault_certificates_perf_test.cpp
│ │ │ └── ut
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── certificate_client_base_test.hpp
│ │ │ │ ├── certificate_client_test.cpp
│ │ │ │ └── macro_guard.cpp
│ │ ├── tsp-location.yaml
│ │ ├── tspconfig.yaml
│ │ ├── vcpkg.json
│ │ └── vcpkg
│ │ │ ├── Config.cmake.in
│ │ │ ├── portfile.cmake
│ │ │ └── vcpkg.json
│ ├── azure-security-keyvault-keys
│ │ ├── CHANGELOG.md
│ │ ├── CMakeLists.txt
│ │ ├── NOTICE.txt
│ │ ├── README.md
│ │ ├── TROUBLESHOOTING.md
│ │ ├── cgmanifest.json
│ │ ├── inc
│ │ │ ├── ApiViewSettings.json
│ │ │ └── azure
│ │ │ │ └── keyvault
│ │ │ │ ├── keys.hpp
│ │ │ │ ├── keys
│ │ │ │ ├── cryptography
│ │ │ │ │ ├── cryptography_client.hpp
│ │ │ │ │ ├── cryptography_client_models.hpp
│ │ │ │ │ └── cryptography_client_options.hpp
│ │ │ │ ├── dll_import_export.hpp
│ │ │ │ ├── key_client.hpp
│ │ │ │ ├── key_client_models.hpp
│ │ │ │ ├── key_client_options.hpp
│ │ │ │ └── rtti.hpp
│ │ │ │ └── keyvault_keys.hpp
│ │ ├── perf-resources.json
│ │ ├── perf-tests.yml
│ │ ├── perf.yml
│ │ ├── samples
│ │ │ ├── CMakeLists.txt
│ │ │ ├── README.md
│ │ │ ├── sample1-hello-world
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── sample1_hello_world.cpp
│ │ │ ├── sample1_hello_world.md
│ │ │ ├── sample2-backup-and-restore
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── sample2_backup_and_restore.cpp
│ │ │ ├── sample2_backup_and_restore.md
│ │ │ ├── sample3-get-keys
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── sample3_get_keys.cpp
│ │ │ ├── sample3_get_keys.md
│ │ │ ├── sample4-encrypt-decrypt
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── sample4_encrypt_decrypt.cpp
│ │ │ ├── sample4_encrypt_decrypt.md
│ │ │ ├── sample5-sign-verify
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── sample5_sign_verify.cpp
│ │ │ ├── sample5_sign_verify.md
│ │ │ ├── sample6-wrap-unwrap
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── sample6_wrap_unwrap.cpp
│ │ │ ├── sample6_wrap_unwrap.md
│ │ │ ├── sample7-key-rotation
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── sample7_key_rotation.cpp
│ │ │ └── sample7_key_rotation.md
│ │ ├── src
│ │ │ ├── cryptography
│ │ │ │ ├── cryptography_client.cpp
│ │ │ │ ├── decrypt_parameters.cpp
│ │ │ │ ├── decrypt_result.cpp
│ │ │ │ ├── encrypt_parameters.cpp
│ │ │ │ ├── encrypt_result.cpp
│ │ │ │ ├── encryption_algorithm.cpp
│ │ │ │ ├── key_sign_parameters.cpp
│ │ │ │ ├── key_verify_parameters.cpp
│ │ │ │ ├── key_wrap_algorithm.cpp
│ │ │ │ ├── key_wrap_parameters.cpp
│ │ │ │ ├── sign_result.cpp
│ │ │ │ ├── signature_algorithm.cpp
│ │ │ │ ├── unwrap_result.cpp
│ │ │ │ ├── verify_result.cpp
│ │ │ │ └── wrap_result.cpp
│ │ │ ├── delete_key_operation.cpp
│ │ │ ├── generated
│ │ │ │ ├── get_deleted_keys_paged_response.cpp
│ │ │ │ ├── get_key_versions_paged_response.cpp
│ │ │ │ ├── get_keys_paged_response.cpp
│ │ │ │ ├── key_vault_client.cpp
│ │ │ │ ├── key_vault_client.hpp
│ │ │ │ ├── key_vault_client_options.hpp
│ │ │ │ ├── key_vault_client_paged_responses.hpp
│ │ │ │ ├── keys.cpp
│ │ │ │ └── keys_models.hpp
│ │ │ ├── key_client.cpp
│ │ │ ├── key_client_models.cpp
│ │ │ ├── key_client_options.cpp
│ │ │ ├── key_client_paged_responses.cpp
│ │ │ ├── key_curve_name.cpp
│ │ │ ├── key_encryption_algorithm.cpp
│ │ │ ├── key_operation.cpp
│ │ │ ├── key_type.cpp
│ │ │ ├── keyvault_protocol.cpp
│ │ │ ├── private
│ │ │ │ ├── cryptography_internal_access.hpp
│ │ │ │ ├── cryptography_serializers.hpp
│ │ │ │ ├── key_constants.hpp
│ │ │ │ ├── key_serializers.hpp
│ │ │ │ ├── key_sign_parameters.hpp
│ │ │ │ ├── key_verify_parameters.hpp
│ │ │ │ ├── key_wrap_parameters.hpp
│ │ │ │ ├── keyvault_constants.hpp
│ │ │ │ ├── keyvault_protocol.hpp
│ │ │ │ └── package_version.hpp
│ │ │ └── recover_deleted_key_operation.cpp
│ │ ├── test
│ │ │ ├── macros-build
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── macros_build.cpp
│ │ │ │ └── macros_build.hpp
│ │ │ ├── perf
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── inc
│ │ │ │ │ └── azure
│ │ │ │ │ │ └── keyvault
│ │ │ │ │ │ └── keys
│ │ │ │ │ │ └── test
│ │ │ │ │ │ └── get_key_test.hpp
│ │ │ │ └── src
│ │ │ │ │ └── azure_security_keyvault_keys_perf_test.cpp
│ │ │ ├── ut-hsm
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── key_client_test_hsm_live.cpp
│ │ │ │ └── key_client_test_hsm_live.hpp
│ │ │ └── ut
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── key_client_backup_test_live.cpp
│ │ │ │ ├── key_client_base_test.hpp
│ │ │ │ ├── key_client_create_test_live.cpp
│ │ │ │ ├── key_client_delete_test_live.cpp
│ │ │ │ ├── key_client_get_test_live.cpp
│ │ │ │ ├── key_client_import_test_live.cpp
│ │ │ │ ├── key_client_test.cpp
│ │ │ │ ├── key_client_update_test_live.cpp
│ │ │ │ ├── key_cryptographic_client_test_live.cpp
│ │ │ │ ├── key_rotation_policy_test_live.cpp
│ │ │ │ └── macro_guard.cpp
│ │ ├── tsp-location.yaml
│ │ ├── tspconfig.yaml
│ │ ├── vcpkg.json
│ │ └── vcpkg
│ │ │ ├── Config.cmake.in
│ │ │ ├── portfile.cmake
│ │ │ └── vcpkg.json
│ ├── azure-security-keyvault-secrets
│ │ ├── CHANGELOG.md
│ │ ├── CMakeLists.txt
│ │ ├── NOTICE.txt
│ │ ├── README.md
│ │ ├── TROUBLESHOOTING.md
│ │ ├── cgmanifest.json
│ │ ├── inc
│ │ │ ├── ApiViewSettings.json
│ │ │ └── azure
│ │ │ │ └── keyvault
│ │ │ │ ├── secrets.hpp
│ │ │ │ └── secrets
│ │ │ │ ├── dll_import_export.hpp
│ │ │ │ ├── keyvault_backup_secret.hpp
│ │ │ │ ├── keyvault_deleted_secret.hpp
│ │ │ │ ├── keyvault_operations.hpp
│ │ │ │ ├── keyvault_options.hpp
│ │ │ │ ├── keyvault_secret.hpp
│ │ │ │ ├── keyvault_secret_paged_response.hpp
│ │ │ │ ├── keyvault_secret_properties.hpp
│ │ │ │ ├── rtti.hpp
│ │ │ │ └── secret_client.hpp
│ │ ├── perf-resources.json
│ │ ├── perf-tests.yml
│ │ ├── perf.yml
│ │ ├── samples
│ │ │ ├── CMakeLists.txt
│ │ │ ├── README.md
│ │ │ ├── sample1-basic-operations
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── sample1_basic_operations.cpp
│ │ │ ├── sample1_basic_operations.md
│ │ │ ├── sample2-backup-restore
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── sample2_backup_restore.cpp
│ │ │ ├── sample2_backup_restore.md
│ │ │ ├── sample3-delete-recover
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── sample3_delete_recover.cpp
│ │ │ ├── sample3_delete_recover.md
│ │ │ ├── sample4-get-secrets-deleted
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── sample4_get_secrets_deleted.cpp
│ │ │ └── sample4_get_secrets_deleted.md
│ │ ├── src
│ │ │ ├── generated
│ │ │ │ ├── get_deleted_secrets_paged_response.cpp
│ │ │ │ ├── get_secret_versions_paged_response.cpp
│ │ │ │ ├── get_secrets_paged_response.cpp
│ │ │ │ ├── key_vault_client.cpp
│ │ │ │ ├── key_vault_client.hpp
│ │ │ │ ├── key_vault_client_options.hpp
│ │ │ │ ├── key_vault_client_paged_responses.hpp
│ │ │ │ ├── secrets.cpp
│ │ │ │ └── secrets_models.hpp
│ │ │ ├── keyvault_deleted_secret.cpp
│ │ │ ├── keyvault_operations.cpp
│ │ │ ├── keyvault_protocol.cpp
│ │ │ ├── keyvault_secret.cpp
│ │ │ ├── keyvault_secret_paged_response.cpp
│ │ │ ├── keyvault_secret_properties.cpp
│ │ │ ├── private
│ │ │ │ ├── keyvault_protocol.hpp
│ │ │ │ ├── package_version.hpp
│ │ │ │ ├── secret_constants.hpp
│ │ │ │ └── secret_serializers.hpp
│ │ │ └── secret_client.cpp
│ │ ├── test
│ │ │ ├── perf
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── inc
│ │ │ │ │ └── azure
│ │ │ │ │ │ └── keyvault
│ │ │ │ │ │ └── secrets
│ │ │ │ │ │ └── test
│ │ │ │ │ │ └── get_secret_test.hpp
│ │ │ │ └── src
│ │ │ │ │ └── azure_security_keyvault_secrets_perf_test.cpp
│ │ │ ├── test-app
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── macro_guard.cpp
│ │ │ │ └── test_app.cpp
│ │ │ └── ut
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── challenge_based_authentication_policy_test.cpp
│ │ │ │ ├── macro_guard.cpp
│ │ │ │ ├── secret_client_base_test.hpp
│ │ │ │ └── secret_client_test.cpp
│ │ ├── tsp-location.yaml
│ │ ├── tspconfig.yaml
│ │ ├── vcpkg.json
│ │ └── vcpkg
│ │ │ ├── Config.cmake.in
│ │ │ ├── portfile.cmake
│ │ │ └── vcpkg.json
│ ├── azure-security-keyvault-shared
│ │ └── inc
│ │ │ └── azure
│ │ │ └── keyvault
│ │ │ └── shared
│ │ │ ├── keyvault_challenge_based_auth.hpp
│ │ │ ├── keyvault_challenge_based_authentication_policy.hpp
│ │ │ └── keyvault_shared.hpp
│ ├── ci.yml
│ ├── test-resources-post.ps1
│ ├── test-resources.json
│ └── tools
│ │ └── cleanup
│ │ ├── CMakeLists.txt
│ │ ├── LICENSE
│ │ ├── README.md
│ │ └── src
│ │ └── cleanup.cpp
├── storage
│ ├── CMakeLists.txt
│ ├── MigrationGuide.md
│ ├── README.md
│ ├── TestingGuide.md
│ ├── assets.json
│ ├── azure-storage-blobs
│ │ ├── CHANGELOG.md
│ │ ├── CMakeLists.txt
│ │ ├── NOTICE.txt
│ │ ├── README.md
│ │ ├── cgmanifest.json
│ │ ├── inc
│ │ │ ├── ApiViewSettings.json
│ │ │ └── azure
│ │ │ │ └── storage
│ │ │ │ ├── blobs.hpp
│ │ │ │ └── blobs
│ │ │ │ ├── append_blob_client.hpp
│ │ │ │ ├── blob_batch.hpp
│ │ │ │ ├── blob_client.hpp
│ │ │ │ ├── blob_container_client.hpp
│ │ │ │ ├── blob_lease_client.hpp
│ │ │ │ ├── blob_options.hpp
│ │ │ │ ├── blob_responses.hpp
│ │ │ │ ├── blob_sas_builder.hpp
│ │ │ │ ├── blob_service_client.hpp
│ │ │ │ ├── block_blob_client.hpp
│ │ │ │ ├── deferred_response.hpp
│ │ │ │ ├── dll_import_export.hpp
│ │ │ │ ├── page_blob_client.hpp
│ │ │ │ ├── rest_client.hpp
│ │ │ │ └── rtti.hpp
│ │ ├── perf-resources.bicep
│ │ ├── perf-tests.yml
│ │ ├── perf.yml
│ │ ├── samples
│ │ │ ├── CMakeLists.txt
│ │ │ ├── blob_getting_started.cpp
│ │ │ ├── blob_list_operation.cpp
│ │ │ ├── blob_list_operation_with_timeout.cpp
│ │ │ ├── blob_query.cpp
│ │ │ ├── blob_sas.cpp
│ │ │ └── transactional_checksum.cpp
│ │ ├── src
│ │ │ ├── append_blob_client.cpp
│ │ │ ├── blob_batch.cpp
│ │ │ ├── blob_client.cpp
│ │ │ ├── blob_container_client.cpp
│ │ │ ├── blob_lease_client.cpp
│ │ │ ├── blob_options.cpp
│ │ │ ├── blob_responses.cpp
│ │ │ ├── blob_sas_builder.cpp
│ │ │ ├── blob_service_client.cpp
│ │ │ ├── block_blob_client.cpp
│ │ │ ├── page_blob_client.cpp
│ │ │ ├── private
│ │ │ │ ├── avro_parser.cpp
│ │ │ │ ├── avro_parser.hpp
│ │ │ │ └── package_version.hpp
│ │ │ └── rest_client.cpp
│ │ ├── swagger
│ │ │ └── README.md
│ │ ├── test
│ │ │ ├── fault-injector
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ └── azure_storage_blobs_fault_injector_test.cpp
│ │ │ ├── perf
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── inc
│ │ │ │ │ └── azure
│ │ │ │ │ │ └── storage
│ │ │ │ │ │ └── blobs
│ │ │ │ │ │ └── test
│ │ │ │ │ │ ├── blob_base_test.hpp
│ │ │ │ │ │ ├── download_blob_from_sas.hpp
│ │ │ │ │ │ ├── download_blob_pipeline_only.hpp
│ │ │ │ │ │ ├── download_blob_test.hpp
│ │ │ │ │ │ ├── download_blob_transport_only.hpp
│ │ │ │ │ │ ├── list_blob_test.hpp
│ │ │ │ │ │ └── upload_blob_test.hpp
│ │ │ │ └── src
│ │ │ │ │ └── azure_storage_blobs_perf_test.cpp
│ │ │ └── ut
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── append_blob_client_test.cpp
│ │ │ │ ├── append_blob_client_test.hpp
│ │ │ │ ├── bearer_token_test.cpp
│ │ │ │ ├── blob_batch_client_test.cpp
│ │ │ │ ├── blob_container_client_test.cpp
│ │ │ │ ├── blob_container_client_test.hpp
│ │ │ │ ├── blob_query_test.cpp
│ │ │ │ ├── blob_sas_test.cpp
│ │ │ │ ├── blob_service_client_test.cpp
│ │ │ │ ├── blob_service_client_test.hpp
│ │ │ │ ├── block_blob_client_test.cpp
│ │ │ │ ├── block_blob_client_test.hpp
│ │ │ │ ├── connection_reuse_test.cpp
│ │ │ │ ├── macro_guard.cpp
│ │ │ │ ├── page_blob_client_test.cpp
│ │ │ │ ├── page_blob_client_test.hpp
│ │ │ │ ├── simplified_header_test.cpp
│ │ │ │ ├── storage_retry_policy_test.cpp
│ │ │ │ └── storage_timeout_test.cpp
│ │ ├── vcpkg.json
│ │ └── vcpkg
│ │ │ ├── Config.cmake.in
│ │ │ ├── portfile.cmake
│ │ │ └── vcpkg.json
│ ├── azure-storage-common
│ │ ├── CHANGELOG.md
│ │ ├── CMakeLists.txt
│ │ ├── NOTICE.txt
│ │ ├── README.md
│ │ ├── cgmanifest.json
│ │ ├── inc
│ │ │ ├── ApiViewSettings.json
│ │ │ └── azure
│ │ │ │ └── storage
│ │ │ │ └── common
│ │ │ │ ├── access_conditions.hpp
│ │ │ │ ├── account_sas_builder.hpp
│ │ │ │ ├── crypt.hpp
│ │ │ │ ├── dll_import_export.hpp
│ │ │ │ ├── internal
│ │ │ │ ├── concurrent_transfer.hpp
│ │ │ │ ├── constants.hpp
│ │ │ │ ├── file_io.hpp
│ │ │ │ ├── reliable_stream.hpp
│ │ │ │ ├── shared_key_policy.hpp
│ │ │ │ ├── storage_bearer_token_auth.hpp
│ │ │ │ ├── storage_bearer_token_authentication_policy.hpp
│ │ │ │ ├── storage_per_retry_policy.hpp
│ │ │ │ ├── storage_service_version_policy.hpp
│ │ │ │ ├── storage_switch_to_secondary_policy.hpp
│ │ │ │ └── xml_wrapper.hpp
│ │ │ │ ├── rtti.hpp
│ │ │ │ ├── storage_common.hpp
│ │ │ │ ├── storage_credential.hpp
│ │ │ │ └── storage_exception.hpp
│ │ ├── src
│ │ │ ├── account_sas_builder.cpp
│ │ │ ├── crypt.cpp
│ │ │ ├── file_io.cpp
│ │ │ ├── private
│ │ │ │ └── package_version.hpp
│ │ │ ├── reliable_stream.cpp
│ │ │ ├── shared_key_policy.cpp
│ │ │ ├── storage_bearer_token_authentication_policy.cpp
│ │ │ ├── storage_credential.cpp
│ │ │ ├── storage_exception.cpp
│ │ │ ├── storage_per_retry_policy.cpp
│ │ │ ├── storage_switch_to_secondary_policy.cpp
│ │ │ └── xml_wrapper.cpp
│ │ ├── test
│ │ │ └── ut
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── crypt_functions_test.cpp
│ │ │ │ ├── metadata_test.cpp
│ │ │ │ ├── storage_credential_test.cpp
│ │ │ │ ├── test_base.cpp
│ │ │ │ └── test_base.hpp
│ │ ├── vcpkg.json
│ │ └── vcpkg
│ │ │ ├── Config.cmake.in
│ │ │ ├── portfile.cmake
│ │ │ └── vcpkg.json
│ ├── azure-storage-files-datalake
│ │ ├── CHANGELOG.md
│ │ ├── CMakeLists.txt
│ │ ├── NOTICE.txt
│ │ ├── README.md
│ │ ├── cgmanifest.json
│ │ ├── inc
│ │ │ ├── ApiViewSettings.json
│ │ │ └── azure
│ │ │ │ └── storage
│ │ │ │ └── files
│ │ │ │ ├── datalake.hpp
│ │ │ │ └── datalake
│ │ │ │ ├── datalake_directory_client.hpp
│ │ │ │ ├── datalake_file_client.hpp
│ │ │ │ ├── datalake_file_system_client.hpp
│ │ │ │ ├── datalake_lease_client.hpp
│ │ │ │ ├── datalake_options.hpp
│ │ │ │ ├── datalake_path_client.hpp
│ │ │ │ ├── datalake_responses.hpp
│ │ │ │ ├── datalake_sas_builder.hpp
│ │ │ │ ├── datalake_service_client.hpp
│ │ │ │ ├── dll_import_export.hpp
│ │ │ │ ├── rest_client.hpp
│ │ │ │ └── rtti.hpp
│ │ ├── samples
│ │ │ ├── CMakeLists.txt
│ │ │ └── datalake_getting_started.cpp
│ │ ├── src
│ │ │ ├── datalake_directory_client.cpp
│ │ │ ├── datalake_file_client.cpp
│ │ │ ├── datalake_file_system_client.cpp
│ │ │ ├── datalake_lease_client.cpp
│ │ │ ├── datalake_options.cpp
│ │ │ ├── datalake_path_client.cpp
│ │ │ ├── datalake_responses.cpp
│ │ │ ├── datalake_sas_builder.cpp
│ │ │ ├── datalake_service_client.cpp
│ │ │ ├── datalake_utilities.cpp
│ │ │ ├── private
│ │ │ │ ├── datalake_constants.hpp
│ │ │ │ ├── datalake_utilities.hpp
│ │ │ │ └── package_version.hpp
│ │ │ └── rest_client.cpp
│ │ ├── swagger
│ │ │ └── README.md
│ │ ├── test
│ │ │ └── ut
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── datalake_directory_client_test.cpp
│ │ │ │ ├── datalake_directory_client_test.hpp
│ │ │ │ ├── datalake_file_client_test.cpp
│ │ │ │ ├── datalake_file_client_test.hpp
│ │ │ │ ├── datalake_file_query_test.cpp
│ │ │ │ ├── datalake_file_system_client_test.cpp
│ │ │ │ ├── datalake_file_system_client_test.hpp
│ │ │ │ ├── datalake_path_client_test.cpp
│ │ │ │ ├── datalake_path_client_test.hpp
│ │ │ │ ├── datalake_sas_test.cpp
│ │ │ │ ├── datalake_service_client_test.cpp
│ │ │ │ ├── datalake_service_client_test.hpp
│ │ │ │ ├── macro_guard.cpp
│ │ │ │ └── simplified_header_test.cpp
│ │ ├── vcpkg.json
│ │ └── vcpkg
│ │ │ ├── Config.cmake.in
│ │ │ ├── portfile.cmake
│ │ │ └── vcpkg.json
│ ├── azure-storage-files-shares
│ │ ├── CHANGELOG.md
│ │ ├── CMakeLists.txt
│ │ ├── NOTICE.txt
│ │ ├── README.md
│ │ ├── cgmanifest.json
│ │ ├── inc
│ │ │ ├── ApiViewSettings.json
│ │ │ └── azure
│ │ │ │ └── storage
│ │ │ │ └── files
│ │ │ │ ├── shares.hpp
│ │ │ │ └── shares
│ │ │ │ ├── dll_import_export.hpp
│ │ │ │ ├── rest_client.hpp
│ │ │ │ ├── rtti.hpp
│ │ │ │ ├── share_client.hpp
│ │ │ │ ├── share_constants.hpp
│ │ │ │ ├── share_directory_client.hpp
│ │ │ │ ├── share_file_client.hpp
│ │ │ │ ├── share_lease_client.hpp
│ │ │ │ ├── share_options.hpp
│ │ │ │ ├── share_responses.hpp
│ │ │ │ ├── share_sas_builder.hpp
│ │ │ │ └── share_service_client.hpp
│ │ ├── samples
│ │ │ ├── CMakeLists.txt
│ │ │ └── file_share_getting_started.cpp
│ │ ├── src
│ │ │ ├── private
│ │ │ │ └── package_version.hpp
│ │ │ ├── rest_client.cpp
│ │ │ ├── share_client.cpp
│ │ │ ├── share_directory_client.cpp
│ │ │ ├── share_file_client.cpp
│ │ │ ├── share_lease_client.cpp
│ │ │ ├── share_options.cpp
│ │ │ ├── share_responses.cpp
│ │ │ ├── share_sas_builder.cpp
│ │ │ └── share_service_client.cpp
│ │ ├── swagger
│ │ │ └── README.md
│ │ ├── test
│ │ │ └── ut
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── macro_guard.cpp
│ │ │ │ ├── share_client_test.cpp
│ │ │ │ ├── share_client_test.hpp
│ │ │ │ ├── share_directory_client_test.cpp
│ │ │ │ ├── share_directory_client_test.hpp
│ │ │ │ ├── share_file_attributes_test.cpp
│ │ │ │ ├── share_file_client_test.cpp
│ │ │ │ ├── share_file_client_test.hpp
│ │ │ │ ├── share_sas_test.cpp
│ │ │ │ ├── share_service_client_test.cpp
│ │ │ │ ├── share_service_client_test.hpp
│ │ │ │ ├── share_utility_test.cpp
│ │ │ │ └── simplified_header_test.cpp
│ │ ├── vcpkg.json
│ │ └── vcpkg
│ │ │ ├── Config.cmake.in
│ │ │ ├── portfile.cmake
│ │ │ └── vcpkg.json
│ ├── azure-storage-queues
│ │ ├── CHANGELOG.md
│ │ ├── CMakeLists.txt
│ │ ├── NOTICE.txt
│ │ ├── README.md
│ │ ├── cgmanifest.json
│ │ ├── inc
│ │ │ ├── ApiViewSettings.json
│ │ │ └── azure
│ │ │ │ └── storage
│ │ │ │ ├── queues.hpp
│ │ │ │ └── queues
│ │ │ │ ├── dll_import_export.hpp
│ │ │ │ ├── queue_client.hpp
│ │ │ │ ├── queue_options.hpp
│ │ │ │ ├── queue_responses.hpp
│ │ │ │ ├── queue_sas_builder.hpp
│ │ │ │ ├── queue_service_client.hpp
│ │ │ │ ├── rest_client.hpp
│ │ │ │ └── rtti.hpp
│ │ ├── samples
│ │ │ ├── CMakeLists.txt
│ │ │ ├── queue_encode_message.cpp
│ │ │ └── queue_getting_started.cpp
│ │ ├── src
│ │ │ ├── private
│ │ │ │ └── package_version.hpp
│ │ │ ├── queue_client.cpp
│ │ │ ├── queue_options.cpp
│ │ │ ├── queue_responses.cpp
│ │ │ ├── queue_sas_builder.cpp
│ │ │ ├── queue_service_client.cpp
│ │ │ └── rest_client.cpp
│ │ ├── swagger
│ │ │ └── README.md
│ │ ├── test
│ │ │ └── ut
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── macro_guard.cpp
│ │ │ │ ├── queue_client_messages_test.cpp
│ │ │ │ ├── queue_client_test.cpp
│ │ │ │ ├── queue_client_test.hpp
│ │ │ │ ├── queue_sas_test.cpp
│ │ │ │ ├── queue_service_client_test.cpp
│ │ │ │ ├── queue_service_client_test.hpp
│ │ │ │ └── simplified_header_test.cpp
│ │ ├── vcpkg.json
│ │ └── vcpkg
│ │ │ ├── Config.cmake.in
│ │ │ ├── portfile.cmake
│ │ │ └── vcpkg.json
│ ├── ci.yml
│ ├── faq.md
│ ├── test-resources-post.ps1
│ └── test-resources.json
├── tables
│ ├── CMakeLists.txt
│ ├── assets.json
│ ├── azure-data-tables
│ │ ├── CHANGELOG.md
│ │ ├── CMakeLists.txt
│ │ ├── NOTICE.txt
│ │ ├── README.md
│ │ ├── cgmanifest.json
│ │ ├── inc
│ │ │ ├── ApiViewSettings.json
│ │ │ └── azure
│ │ │ │ └── data
│ │ │ │ ├── tables.hpp
│ │ │ │ └── tables
│ │ │ │ ├── dll_import_export.hpp
│ │ │ │ ├── models.hpp
│ │ │ │ ├── rtti.hpp
│ │ │ │ ├── table_audience.hpp
│ │ │ │ ├── table_client.hpp
│ │ │ │ └── table_service_client.hpp
│ │ ├── samples
│ │ │ ├── CMakeLists.txt
│ │ │ ├── README.md
│ │ │ ├── tables_entity_operations.cpp
│ │ │ ├── tables_getting_started.cpp
│ │ │ ├── tables_service_operations.cpp
│ │ │ ├── tables_transactions_fail.cpp
│ │ │ └── tables_transactions_ok.cpp
│ │ ├── src
│ │ │ ├── models.cpp
│ │ │ ├── policies
│ │ │ │ ├── tenant_bearer_token_policy.cpp
│ │ │ │ └── timeout_policy.cpp
│ │ │ ├── private
│ │ │ │ ├── package_version.hpp
│ │ │ │ ├── policies
│ │ │ │ │ ├── service_version_policy.hpp
│ │ │ │ │ ├── tenant_bearer_token_policy.hpp
│ │ │ │ │ └── timeout_policy.hpp
│ │ │ │ ├── serializers.hpp
│ │ │ │ ├── tables_constants.hpp
│ │ │ │ ├── url_encode.hpp
│ │ │ │ └── xml_wrapper.hpp
│ │ │ ├── serializers.cpp
│ │ │ ├── table_clients.cpp
│ │ │ └── xml_wrapper.cpp
│ │ ├── test
│ │ │ ├── stress
│ │ │ │ ├── .helmignore
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── Chart.yaml
│ │ │ │ ├── Dockerfile
│ │ │ │ ├── README.md
│ │ │ │ ├── deploy.ps1
│ │ │ │ ├── scenarios-matrix.yaml
│ │ │ │ ├── tables_stress_test.cpp
│ │ │ │ └── templates
│ │ │ │ │ └── deploy-job.yaml
│ │ │ └── ut
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── macro_guard.cpp
│ │ │ │ ├── serializers_test.cpp
│ │ │ │ ├── serializers_test.hpp
│ │ │ │ ├── table_client_test.cpp
│ │ │ │ ├── table_client_test.hpp
│ │ │ │ ├── transactions_test.cpp
│ │ │ │ └── transactions_test.hpp
│ │ ├── vcpkg.json
│ │ └── vcpkg
│ │ │ ├── Config.cmake.in
│ │ │ ├── portfile.cmake
│ │ │ └── vcpkg.json
│ ├── ci.yml
│ ├── test-resources-post.ps1
│ └── test-resources.json
└── template
│ ├── CMakeLists.txt
│ ├── azure-template
│ ├── CHANGELOG.md
│ ├── CMakeLists.txt
│ ├── NOTICE.txt
│ ├── README.md
│ ├── cgmanifest.json
│ ├── inc
│ │ ├── ApiViewSettings.json
│ │ └── azure
│ │ │ ├── template.hpp
│ │ │ └── template
│ │ │ ├── dll_import_export.hpp
│ │ │ ├── rtti.hpp
│ │ │ └── template_client.hpp
│ ├── src
│ │ ├── private
│ │ │ └── package_version.hpp
│ │ └── template_client.cpp
│ ├── test
│ │ ├── CMakeLists.txt
│ │ └── ut
│ │ │ ├── macro_guard.cpp
│ │ │ └── template_test.cpp
│ ├── vcpkg.json
│ └── vcpkg
│ │ ├── Config.cmake.in
│ │ ├── portfile.cmake
│ │ └── vcpkg.json
│ └── ci.yml
├── tools
└── AzureVcpkg.cmake
├── vcpkg-custom-ports
└── openssl
│ ├── install-pc-files.cmake
│ ├── openssl.pc.in
│ ├── portfile.cmake
│ ├── unix
│ ├── CMakeLists.txt
│ ├── portfile.cmake
│ └── remove-deps.cmake
│ ├── usage
│ ├── uwp
│ ├── EnableUWPSupport.patch
│ ├── make-openssl.bat
│ └── portfile.cmake
│ ├── vcpkg-cmake-wrapper.cmake.in
│ ├── vcpkg.json
│ └── windows
│ └── portfile.cmake
└── vcpkg.json
/.config/1espt/PipelineAutobaseliningConfig.yml:
--------------------------------------------------------------------------------
1 | ## DO NOT MODIFY THIS FILE MANUALLY. This is part of auto-baselining from 1ES Pipeline Templates. Go to [https://aka.ms/1espt-autobaselining] for more details.
2 |
3 | pipelines:
4 | '*':
5 | mainPipelineId: 1615
6 | retail:
7 | source:
8 | credscan:
9 | lastModifiedDate: 2024-09-18
10 | psscriptanalyzer:
11 | lastModifiedDate: 2024-09-18
12 | armory:
13 | lastModifiedDate: 2024-09-18
14 |
--------------------------------------------------------------------------------
/.github/CODEOWNERS_baseline_errors.txt:
--------------------------------------------------------------------------------
1 | anilba06 is not a public member of Azure.
2 |
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Microsoft Open Source Code of Conduct
2 |
3 | This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
4 |
5 | Resources:
6 |
7 | - [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
8 | - [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
9 | - Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns
10 |
--------------------------------------------------------------------------------
/cmake-modules/PerfTest.cmake:
--------------------------------------------------------------------------------
1 | macro(SetPerfDeps PACKAGE VAR_RESULT)
2 | string(TOUPPER ${PACKAGE} SUFFIX)
3 | string(CONCAT VAR_TRIGGER "VCPKG-" ${SUFFIX})
4 | message(STATUS "trigger name ${VAR_TRIGGER}")
5 | if(DEFINED ENV{${VAR_TRIGGER}})
6 | find_package(${PACKAGE} $ENV{${VAR_TRIGGER}} EXACT)
7 | add_compile_definitions(${VAR_RESULT}="$ENV{${VAR_TRIGGER}}")
8 | else()
9 | add_compile_definitions(${VAR_RESULT}="source")
10 | endif()
11 | endmacro()
12 |
--------------------------------------------------------------------------------
/cmake-modules/TestProxyPrep.cmake:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 | #
4 |
5 | macro(SetUpTestProxy subDir)
6 | # assets.json dir
7 | add_compile_definitions(AZURE_TEST_ASSETS_DIR="${AZ_ROOT_DIR}/${subDir}/")
8 | #copy start stop scripts to the bin folder
9 | file(COPY ${AZ_ROOT_DIR}/eng/scripts/Start-TestProxy.ps1
10 | DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
11 | file(COPY ${AZ_ROOT_DIR}/eng/scripts/Stop-TestProxy.ps1
12 | DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
13 | endmacro()
14 |
--------------------------------------------------------------------------------
/eng/common/README.md:
--------------------------------------------------------------------------------
1 | # Common Engineering System
2 |
3 | Updates under this directory should only be made in the `azure-sdk-tools` repo as any changes under this directory outside of that repo will end up getting overwritten with future updates. For information about making updates see [common engineering system docs](https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md)
4 |
--------------------------------------------------------------------------------
/eng/common/TestResources/New-TestResources.cmd:
--------------------------------------------------------------------------------
1 | @echo off
2 |
3 | REM Copyright (c) Microsoft Corporation. All rights reserved.
4 | REM Licensed under the MIT License.
5 |
6 | setlocal
7 |
8 | for /f "usebackq delims=" %%i in (`where pwsh 2^>nul`) do (
9 | set _cmd=%%i
10 | )
11 |
12 | if "%_cmd%"=="" (
13 | echo Error: PowerShell not found. Please visit https://github.com/powershell/powershell for install instructions.
14 | exit /b 2
15 | )
16 |
17 | call "%_cmd%" -NoLogo -NoProfile -File "%~dpn0.ps1" %*
18 |
--------------------------------------------------------------------------------
/eng/common/TestResources/Remove-TestResources.cmd:
--------------------------------------------------------------------------------
1 | @echo off
2 |
3 | REM Copyright (c) Microsoft Corporation. All rights reserved.
4 | REM Licensed under the MIT License.
5 |
6 | setlocal
7 |
8 | for /f "usebackq delims=" %%i in (`where pwsh 2^>nul`) do (
9 | set _cmd=%%i
10 | )
11 |
12 | if "%_cmd%"=="" (
13 | echo Error: PowerShell not found. Please visit https://github.com/powershell/powershell for install instructions.
14 | exit /b 2
15 | )
16 |
17 | call "%_cmd%" -NoLogo -NoProfile -File "%~dpn0.ps1" %*
18 |
--------------------------------------------------------------------------------
/eng/common/TestResources/Update-TestResources.cmd:
--------------------------------------------------------------------------------
1 | @echo off
2 |
3 | REM Copyright (c) Microsoft Corporation. All rights reserved.
4 | REM Licensed under the MIT License.
5 |
6 | setlocal
7 |
8 | for /f "usebackq delims=" %%i in (`where pwsh 2^>nul`) do (
9 | set _cmd=%%i
10 | )
11 |
12 | if "%_cmd%"=="" (
13 | echo Error: PowerShell not found. Please visit https://github.com/powershell/powershell for install instructions.
14 | exit /b 2
15 | )
16 |
17 | call "%_cmd%" -NoLogo -NoProfile -File "%~dpn0.ps1" %*
18 |
--------------------------------------------------------------------------------
/eng/common/TestResources/clouds/AzureChinaCloud.json:
--------------------------------------------------------------------------------
1 | {
2 | "azConfigEndpointSuffix": ".azconfig.azure.cn",
3 | "azureAuthorityHost": "https://login.chinacloudapi.cn/",
4 | "cognitiveServicesEndpointSuffix": ".cognitiveservices.azure.cn",
5 | "containerRegistryEndpointSuffix": ".azurecr.cn",
6 | "cosmosEndpointSuffix": "cosmos.azure.cn",
7 | "enableStorageVersioning": false,
8 | "keyVaultDomainSuffix": ".vault.azure.cn",
9 | "keyVaultEndpointSuffix": ".vault.azure.cn",
10 | "keyVaultSku": "standard",
11 | "searchEndpointSuffix": "search.azure.cn",
12 | "serviceBusEndpointSuffix": ".servicebus.chinacloudapi.cn",
13 | "storageEndpointSuffix": "core.chinacloudapi.cn",
14 | "textAnalyticsSku": "S"
15 | }
16 |
--------------------------------------------------------------------------------
/eng/common/TestResources/clouds/AzureCloud.json:
--------------------------------------------------------------------------------
1 | {
2 | "azureAuthorityHost": "https://login.microsoftonline.com/",
3 | "cognitiveServicesEndpointSuffix": ".cognitiveservices.azure.com",
4 | "communicationServicesEndpointSuffix": ".communication.azure.com",
5 | "cosmosEndpointSuffix": "cosmos.azure.com",
6 | "keyVaultDomainSuffix": ".vault.azure.net",
7 | "keyVaultEndpointSuffix": ".vault.azure.net",
8 | "storageEndpointSuffix": "core.windows.net"
9 | }
10 |
--------------------------------------------------------------------------------
/eng/common/TestResources/clouds/AzureUSGovernment.json:
--------------------------------------------------------------------------------
1 | {
2 | "azConfigEndpointSuffix": ".azconfig.azure.us",
3 | "azureAuthorityHost": "https://login.microsoftonline.us/",
4 | "cognitiveServicesEndpointSuffix": ".cognitiveservices.azure.us",
5 | "containerRegistryEndpointSuffix": ".azurecr.us",
6 | "cosmosEndpointSuffix": "cosmos.azure.us",
7 | "enableStorageVersioning": false,
8 | "formRecognizerLocation": "usgovvirginia",
9 | "keyVaultDomainSuffix": ".vault.usgovcloudapi.net",
10 | "keyVaultEndpointSuffix": ".vault.usgovcloudapi.net",
11 | "keyVaultSku": "premium",
12 | "searchEndpointSuffix": "search.azure.us",
13 | "serviceBusEndpointSuffix": ".servicebus.usgovcloudapi.net",
14 | "storageEndpointSuffix": "core.usgovcloudapi.net"
15 | }
16 |
--------------------------------------------------------------------------------
/eng/common/docgeneration/templates/matthews/partials/affix.tmpl.partial:
--------------------------------------------------------------------------------
1 | {{^_disableContribution}}
2 |
3 | {{#docurl}}
4 |
5 | {{/docurl}}
6 | {{#sourceurl}}
7 |
8 | {{/sourceurl}}
9 |
10 | {{/_disableContribution}}
11 |
12 |
18 |
--------------------------------------------------------------------------------
/eng/common/docgeneration/templates/matthews/partials/namespace.tmpl.partial:
--------------------------------------------------------------------------------
1 | {{>partials/title}}
2 | {{{summary}}}
3 | {{{conceptual}}}
4 |
5 | {{#children}}
6 | {{>partials/namespaceSubtitle}}
7 |
8 | {{#children}}
9 |
10 |
11 |
12 | {{{summary}}}
13 | |
14 |
15 | {{/children}}
16 |
17 | {{/children}}
18 |
--------------------------------------------------------------------------------
/eng/common/pipelines/templates/steps/bypass-local-dns.yml:
--------------------------------------------------------------------------------
1 |
2 | steps:
3 | # https://github.com/actions/virtual-environments/issues/798
4 | - script: sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
5 | displayName: Bypass local DNS server to workaround issue resolving cognitiveservices names
6 | condition: |
7 | and(
8 | succeededOrFailed(),
9 | or(contains(variables['OSVmImage'], 'ubuntu'),contains(variables['OSVmImage'], 'linux')),
10 | eq(variables['Container'], '')
11 | )
12 |
--------------------------------------------------------------------------------
/eng/common/pipelines/templates/steps/cosmos-emulator.yml:
--------------------------------------------------------------------------------
1 | parameters:
2 | EmulatorInstallPath: "$(Agent.HomeDirectory)/../../Program Files/Azure Cosmos DB Emulator/Microsoft.Azure.Cosmos.Emulator.exe"
3 | EmulatorMsiUrl: "https://aka.ms/cosmosdb-emulator"
4 | StartParameters: ''
5 |
6 | steps:
7 | - task: Powershell@2
8 | inputs:
9 | filePath: $(Build.SourcesDirectory)/eng/common/scripts/Cosmos-Emulator.ps1
10 | arguments: >
11 | -EmulatorMsiUrl "${{ parameters.EmulatorMsiUrl }}"
12 | -StartParameters "${{ parameters.StartParameters }}"
13 | -Emulator "${{ parameters.EmulatorInstallPath }}"
14 | -Stage "Launch"
15 | pwsh: true
16 | displayName: Launch Public Cosmos DB Emulator
17 |
--------------------------------------------------------------------------------
/eng/common/pipelines/templates/steps/devops-variables-clear.yml:
--------------------------------------------------------------------------------
1 | parameters:
2 | - name: Variables
3 | type: object
4 | default: []
5 | - name: ContinueOnError
6 | type: boolean
7 | default: false
8 |
9 | steps:
10 | - pwsh: |
11 | $rawVariables = @"
12 | ${{ convertToJson(parameters.Variables) }}
13 | "@
14 | $variables = ConvertFrom-Json $rawVariables -AsHashtable
15 | foreach ($key in $variables.Keys) {
16 | Write-Host "Clearing: $key"
17 | Write-Host "##vso[task.setvariable variable=$key]"
18 | }
19 | continueOnError: ${{ parameters.ContinueOnError }}
20 | displayName: Clear DevOps Variables
--------------------------------------------------------------------------------
/eng/common/pipelines/templates/steps/devops-variables-set.yml:
--------------------------------------------------------------------------------
1 | parameters:
2 | - name: Variables
3 | type: object
4 | default: []
5 | - name: ContinueOnError
6 | type: boolean
7 | default: false
8 |
9 | steps:
10 | - pwsh: |
11 | $rawVariables = @"
12 | ${{ convertToJson(parameters.Variables) }}
13 | "@
14 | $variables = ConvertFrom-Json $rawVariables -AsHashtable
15 | foreach ($key in $variables.Keys) {
16 | $value = $variables[$key]
17 | Write-Host "Setting: $key = $value"
18 | Write-Host "##vso[task.setvariable variable=$key]$value"
19 | }
20 | continueOnError: ${{ parameters.ContinueOnError }}
21 | displayName: Set DevOps Variables
--------------------------------------------------------------------------------
/eng/common/pipelines/templates/steps/docsms-ensure-validation.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | # Fail the build if any of the packages failed validation. Valid values are
3 | # "true" or "false". This step will skip if $(DocsMsPackagesAllValid) is not set
4 | - pwsh: |
5 | if ('$(DocsMsPackagesAllValid)' -eq 'true') {
6 | Write-Host "All packages passed validation."
7 | } else {
8 | Write-Error "Some packages failed validation."
9 | exit 1
10 | }
11 | displayName: Check package validation results
12 | condition: and(succeeded(), ne(variables['DocsMsPackagesAllValid'], ''))
13 |
--------------------------------------------------------------------------------
/eng/common/pipelines/templates/steps/enable-long-path-support.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - pwsh: |
3 | if ($IsWindows) {
4 | REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem /f /v LongPathsEnabled /t REG_DWORD /d 1
5 | git config --system core.longpaths true
6 | }
7 | else {
8 | Write-Host "This script is not executing on Windows, skipping registry modification."
9 | }
10 | displayName: Enable long path support if necessary
11 |
--------------------------------------------------------------------------------
/eng/common/pipelines/templates/steps/install-pipeline-generation.yml:
--------------------------------------------------------------------------------
1 | parameters:
2 | ToolPath: $(Pipeline.Workspace)/pipeline-generator
3 |
4 | steps:
5 | - script: >
6 | mkdir pipeline-generator
7 | workingDirectory: $(Pipeline.Workspace)
8 | displayName: Setup working directory for pipeline generator.
9 | - script: >
10 | dotnet tool install
11 | Azure.Sdk.Tools.PipelineGenerator
12 | --version 1.1.0-dev.20250206.1
13 | --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json
14 | --tool-path ${{parameters.ToolPath}}
15 | workingDirectory: $(Pipeline.Workspace)/pipeline-generator
16 | displayName: 'Install pipeline generator tool'
17 |
--------------------------------------------------------------------------------
/eng/common/pipelines/templates/steps/retain-run.yml:
--------------------------------------------------------------------------------
1 | parameters:
2 | - name: DaysValid
3 | default: 731
4 | type: number
5 |
6 | steps:
7 | - task: PowerShell@2
8 | displayName: Retain pipeline run
9 | env:
10 | SYSTEM_ACCESSTOKEN: $(System.AccessToken)
11 | inputs:
12 | pwsh: true
13 | filePath: $(Build.SourcesDirectory)/eng/common/scripts/Add-RetentionLease.ps1
14 | arguments: >
15 | -Organization azure-sdk
16 | -Project $(System.TeamProject)
17 | -DefinitionId $(System.DefinitionId)
18 | -RunId $(Build.BuildId)
19 | -DaysValid ${{ parameters.DaysValid }}
20 | -AccessToken $env:SYSTEM_ACCESSTOKEN
21 | -Debug
--------------------------------------------------------------------------------
/eng/common/pipelines/templates/steps/set-daily-docs-branch-name.yml:
--------------------------------------------------------------------------------
1 | parameters:
2 | - name: DailyBranchVariableName
3 | type: string
4 | default: TargetBranchName
5 |
6 | steps:
7 | - pwsh: |
8 | $branchName = $env:DAILYDOCSBRANCHNAMEOVERRIDE
9 | if (!$branchName) {
10 | $branchName = "daily/$(Get-Date -Format 'yyyy-MM-dd')-ignore-build"
11 | }
12 | Write-Host "Daily Branch Name: $branchName"
13 | Write-Host "##vso[task.setvariable variable=${{ parameters.DailyBranchVariableName }};]$branchName"
14 | displayName: Set daily docs branch name in $(${{ parameters.DailyBranchVariableName }})
15 |
--------------------------------------------------------------------------------
/eng/common/pipelines/templates/steps/validate-filename.yml:
--------------------------------------------------------------------------------
1 | parameters:
2 | WorkingDirectory: '$(System.DefaultWorkingDirectory)'
3 | steps:
4 | - pwsh: |
5 | $differByCaseFiles = git ls-files | Group-Object | Where-Object { $_.Count -gt 1 }
6 |
7 | if ($differByCaseFiles)
8 | {
9 | foreach ($fileGroup in $differByCaseFiles) {
10 | Write-Host "Duplicated Files: "
11 | Write-Host "[ $($fileGroup.Group) ]"
12 | }
13 | Write-Host "Do NOT name the files which only differ in case. Please check above files."
14 | exit 1
15 | }
16 | Write-Host "There are no file names that only differ in case."
17 | displayName: Check file case duplicates
18 | workingDirectory: ${{ parameters.WorkingDirectory }}
--------------------------------------------------------------------------------
/eng/common/pipelines/templates/steps/verify-agent-os.yml:
--------------------------------------------------------------------------------
1 | parameters:
2 | - name: ScriptDirectory
3 | type: string
4 | default: 'eng/common/scripts'
5 | - name: AgentImage
6 | type: string
7 |
8 | steps:
9 | - task: PowerShell@2
10 | displayName: Verify agent OS
11 | inputs:
12 | pwsh: true
13 | workingDirectory: $(System.DefaultWorkingDirectory)
14 | filePath: ${{ parameters.ScriptDirectory }}/Verify-AgentOS.ps1
15 | arguments: >
16 | -AgentImage "${{ parameters.AgentImage }}"
17 |
18 | - template: /eng/common/pipelines/templates/steps/bypass-local-dns.yml
19 |
--------------------------------------------------------------------------------
/eng/common/pipelines/templates/steps/verify-changelogs.yml:
--------------------------------------------------------------------------------
1 | parameters:
2 | - name: PackagePropertiesFolder
3 | type: string
4 | - name: Condition
5 | type: string
6 | default: succeeded()
7 |
8 | steps:
9 | - task: Powershell@2
10 | inputs:
11 | filePath: $(Build.SourcesDirectory)/eng/common/scripts/Verify-ChangeLogs.ps1
12 | arguments: >
13 | -PackagePropertiesFolder '${{ parameters.PackagePropertiesFolder }}'
14 | pwsh: true
15 | displayName: Verify ChangeLogEntries
16 | condition: ${{ parameters.Condition }}
17 |
--------------------------------------------------------------------------------
/eng/common/pipelines/templates/steps/write-filesystemmetrics.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - task: Powershell@2
3 | inputs:
4 | filePath: $(Build.SourcesDirectory)/eng/common/scripts/Write-FileSystemMetrics.ps1
5 | pwsh: true
6 | displayName: Write filesystem metrics
7 | continueOnError: true
8 |
--------------------------------------------------------------------------------
/eng/common/scripts/Add-IssueComment.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding(SupportsShouldProcess = $true)]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [string]$RepoOwner,
5 |
6 | [Parameter(Mandatory = $true)]
7 | [string]$RepoName,
8 |
9 | [Parameter(Mandatory = $true)]
10 | [string]$IssueNumber,
11 |
12 | [Parameter(Mandatory = $true)]
13 | [string]$Comment,
14 |
15 | [Parameter(Mandatory = $true)]
16 | [string]$AuthToken
17 | )
18 |
19 | . (Join-Path $PSScriptRoot common.ps1)
20 |
21 | try {
22 | Add-GithubIssueComment -RepoOwner $RepoOwner -RepoName $RepoName `
23 | -IssueNumber $IssueNumber -Comment $Comment -AuthToken $AuthToken
24 | }
25 | catch {
26 | LogError "Add-GithubIssueComment failed with exception:`n$_"
27 | exit 1
28 | }
--------------------------------------------------------------------------------
/eng/common/scripts/Add-IssueLabels.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding(SupportsShouldProcess = $true)]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [string]$RepoOwner,
5 |
6 | [Parameter(Mandatory = $true)]
7 | [string]$RepoName,
8 |
9 | [Parameter(Mandatory = $true)]
10 | [string]$IssueNumber,
11 |
12 | [Parameter(Mandatory = $true)]
13 | [string]$Labels,
14 |
15 | [Parameter(Mandatory = $true)]
16 | [string]$AuthToken
17 | )
18 |
19 | . (Join-Path $PSScriptRoot common.ps1)
20 |
21 | try {
22 | Add-GithubIssueLabels -RepoOwner $RepoOwner -RepoName $RepoName `
23 | -IssueNumber $IssueNumber -Labels $Labels -AuthToken $AuthToken
24 | }
25 | catch {
26 | LogError "Add-GithubIssueLabels failed with exception:`n$_"
27 | exit 1
28 | }
--------------------------------------------------------------------------------
/eng/common/scripts/Get-PullRequestCreator.ps1:
--------------------------------------------------------------------------------
1 | param (
2 | [Parameter(Mandatory = $true)]
3 | [string]$RepoOwner,
4 |
5 | [Parameter(Mandatory = $true)]
6 | [string]$RepoName,
7 |
8 | [Parameter(Mandatory = $true)]
9 | $PullRequestNumber,
10 |
11 | [Parameter(Mandatory = $true)]
12 | [string]$AuthToken
13 | )
14 |
15 | . (Join-Path $PSScriptRoot common.ps1)
16 |
17 | try
18 | {
19 | $pullRequest = Get-GithubPullRequest -RepoOwner $RepoOwner -RepoName $RepoName `
20 | -PullRequestNumber $PullRequestNumber -AuthToken $AuthToken
21 | Write-Host "##vso[task.setvariable variable=System.PullRequest.Creator;]$($pullRequest.user.login)"
22 | }
23 | catch
24 | {
25 | Write-Error "Get-PullRequest failed with exception:`n$_"
26 | exit 1
27 | }
28 |
29 |
--------------------------------------------------------------------------------
/eng/common/scripts/Import-AzModules.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param (
3 | [string]$AzModuleVersion = "5.7.0" # Current version cached on agents
4 | )
5 |
6 | . (Join-Path $PSScriptRoot Helpers PSModule-Helpers.ps1)
7 |
8 | Install-ModuleIfNotInstalled "Az" $AzModuleVersion | Import-Module
9 |
--------------------------------------------------------------------------------
/eng/common/scripts/Update-GeneratedSdks.ps1:
--------------------------------------------------------------------------------
1 | [CmdLetBinding()]
2 | param(
3 | [Parameter(Mandatory)]
4 | [string]$PackageDirectoriesFile
5 | )
6 |
7 | . $PSScriptRoot/common.ps1
8 | . $PSScriptRoot/Helpers/CommandInvocation-Helpers.ps1
9 |
10 | $ErrorActionPreference = 'Stop'
11 |
12 | if (Test-Path "Function:$UpdateGeneratedSdksFn") {
13 | &$UpdateGeneratedSdksFn $PackageDirectoriesFile
14 | } else {
15 | Write-Error "Function $UpdateGeneratedSdksFn not implemented in Language-Settings.ps1"
16 | }
17 |
--------------------------------------------------------------------------------
/eng/common/scripts/check-for-git-changes.ps1:
--------------------------------------------------------------------------------
1 | echo "git add -A"
2 | git add -A
3 |
4 | echo "git diff --name-status --cached --exit-code"
5 | git diff --name-status --cached --exit-code
6 |
7 | if ($LastExitCode -ne 0) {
8 | echo "##vso[task.setvariable variable=HasChanges]$true"
9 | echo "Changes detected so setting HasChanges=true"
10 | }
11 | else {
12 | echo "##vso[task.setvariable variable=HasChanges]$false"
13 | echo "No changes so skipping code push"
14 | }
15 |
--------------------------------------------------------------------------------
/eng/common/scripts/get-markdown-files-from-changed-files.ps1:
--------------------------------------------------------------------------------
1 | # cSpell:ignore Committish
2 | # cSpell:ignore PULLREQUEST
3 | # cSpell:ignore TARGETBRANCH
4 | param (
5 | # The root repo we scanned with.
6 | [string] $RootRepo = '$PSScriptRoot/../../..',
7 | # The target branch to compare with.
8 | [string] $targetBranch = ("origin/${env:SYSTEM_PULLREQUEST_TARGETBRANCH}" -replace "/refs/heads/")
9 | )
10 |
11 | . (Join-Path $PSScriptRoot common.ps1)
12 |
13 | return Get-ChangedFiles -TargetCommittish $targetBranch -DiffPath '*.md'
14 |
--------------------------------------------------------------------------------
/eng/common/scripts/job-matrix/README.md:
--------------------------------------------------------------------------------
1 | # Azure Pipelines Matrix Generator
2 |
3 | The documentation for Azure Pipelines Matrix Generator can be found at
4 |
5 | [`azure-sdk-tools/doc/common/matrix_generator.md`](https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/matrix_generator.md)
6 |
--------------------------------------------------------------------------------
/eng/common/scripts/trust-proxy-certificate.ps1:
--------------------------------------------------------------------------------
1 | . $PSScriptRoot/common.ps1
2 |
3 | if ($TestProxyTrustCertFn -and (Test-Path "Function:$TestProxyTrustCertFn"))
4 | {
5 | &$TestProxyTrustCertFn
6 | }
7 | else
8 | {
9 | Write-Host "No implementation of Import-Dev-Cert- provided in eng/scripts/Language-Settings.ps1."
10 | }
--------------------------------------------------------------------------------
/eng/common/spelling/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "cspell-version-pin",
3 | "version": "0.1.1",
4 | "dependencies": {
5 | "@cspell/cspell-bundled-dicts": "^6.12.0",
6 | "@cspell/cspell-types": "^6.12.0",
7 | "cspell": "^6.12.0",
8 | "cspell-lib": "^6.12.0"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/eng/common/testproxy/dotnet-devcert.pfx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Azure/azure-sdk-for-cpp/ef5c3cfc45e4158ab14441d75eda8b0713b4f590/eng/common/testproxy/dotnet-devcert.pfx
--------------------------------------------------------------------------------
/eng/common/testproxy/target_version.txt:
--------------------------------------------------------------------------------
1 | 1.0.0-dev.20250501.1
2 |
--------------------------------------------------------------------------------
/eng/common/testproxy/test-proxy-tool-shutdown.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - pwsh: |
3 | Stop-Process -Id $(PROXY_PID)
4 | displayName: 'Shut down the testproxy - windows'
5 | condition: and(succeeded(), eq(variables['Agent.OS'],'Windows_NT'))
6 |
7 | - bash: |
8 | kill -9 $(PROXY_PID)
9 | displayName: "Shut down the testproxy - linux/mac"
10 | condition: and(succeeded(), ne(variables['Agent.OS'],'Windows_NT'))
11 |
--------------------------------------------------------------------------------
/eng/ignore-links.txt:
--------------------------------------------------------------------------------
1 | https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/testproxy/transition-scripts/generate-assets-json.ps1
2 |
--------------------------------------------------------------------------------
/eng/pipelines/docindex.yml:
--------------------------------------------------------------------------------
1 | trigger: none
2 |
3 | jobs:
4 | - template: /eng/common/pipelines/templates/jobs/docindex.yml
5 |
--------------------------------------------------------------------------------
/eng/pipelines/prepare-pipelines.yml:
--------------------------------------------------------------------------------
1 | trigger: none
2 |
3 | variables:
4 | - template: /eng/pipelines/templates/variables/image.yml
5 |
6 | extends:
7 | template: /eng/common/pipelines/templates/jobs/prepare-pipelines.yml
8 | parameters:
9 | Repository: Azure/azure-sdk-for-cpp
10 |
--------------------------------------------------------------------------------
/eng/pipelines/templates/stages/platform-matrix-cmakegenerate.json:
--------------------------------------------------------------------------------
1 | {
2 | "matrix": {
3 | "CmakeEnvArg": "",
4 | "OSConfig": {
5 | "Linux": {
6 | "Pool": "env:LINUXPOOL",
7 | "OSVmImage": "env:LINUXVMIMAGE",
8 | "AptDependencies": "libcurl4-openssl-dev",
9 | "VCPKG_DEFAULT_TRIPLET": "x64-linux"
10 | },
11 | "Windows": {
12 | "Pool": "env:WINDOWSPOOL",
13 | "OSVmImage": "env:WINDOWSVMIMAGE",
14 | "VCPKG_DEFAULT_TRIPLET": "x64-windows"
15 | },
16 | "Mac": {
17 | "Pool": "env:MACPOOL",
18 | "OSVmImage": "env:MACVMIMAGE",
19 | "VCPKG_DEFAULT_TRIPLET": "x64-osx"
20 | }
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/eng/pipelines/templates/stages/platform-matrix-cmakesourcegenerate.json:
--------------------------------------------------------------------------------
1 | {
2 | "matrix": {
3 | "OSConfig": {
4 | "Windows": {
5 | "Pool": "env:WINDOWSPOOL",
6 | "OSVmImage": "env:WINDOWSVMIMAGE",
7 | "CmakeEnvArg": ""
8 | },
9 | "Linux": {
10 | "Pool": "env:LINUXPOOL",
11 | "OSVmImage": "env:LINUXVMIMAGE",
12 | "CmakeEnvArg": "",
13 | "AptDependencies": "libcurl4-openssl-dev"
14 | },
15 | "Mac": {
16 | "Pool": "env:MACPOOL",
17 | "OSVmImage": "env:MACVMIMAGE",
18 | "CmakeEnvArg": "OPENSSL_ROOT_DIR=/usr/local/opt/openssl@3 OPENSSL_INCLUDE_DIR=/usr/local/opt/openssl@3/include ",
19 | "BrewDependencies": "openssl"
20 | }
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/eng/pipelines/templates/stages/platform-matrix-quick.json:
--------------------------------------------------------------------------------
1 | {
2 | "displayNames": {
3 | "_": ""
4 | },
5 | "include": [
6 | {
7 | "StaticConfigs": {
8 | "Ubuntu22": {
9 | "OSVmImage": "env:LINUXVMIMAGE",
10 | "Pool": "env:LINUXPOOL",
11 | "VCPKG_DEFAULT_TRIPLET": "x64-linux",
12 | "BuildArgs": "-j 10",
13 | "RunProxyTests": true
14 | }
15 | },
16 |
17 | "BuildSettings": {
18 | "included": {}
19 | }
20 | }
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/eng/pipelines/templates/steps/fix-1es-image-apt-azure-sources.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - pwsh: |
3 | if ((lsb_release --release --short) -eq "22.04") {
4 | Write-Host "Release is 22.04, modifying apt configuration"
5 |
6 | Write-Host "sudo rm -f /etc/apt/sources.list.d/azure.list"
7 | # Use -f to suppress error if file is not present
8 | sudo rm -f /etc/apt/sources.list.d/azure.list
9 | } else {
10 | Write-Host "Release does not need modification"
11 | }
12 | displayName: Modify Linux configurations
13 | condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
14 |
--------------------------------------------------------------------------------
/eng/pipelines/templates/steps/generate-daily-branch-name.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - pwsh: |
3 | $branchName = $env:DAILYBRANCHOVERRIDE
4 | if (!$branchName) {
5 | $formattedDate = Get-Date -Format 'yyyy-MM-dd'
6 | $branchName = "release/daily-$formattedDate"
7 | }
8 | Write-Host "##vso[task.setvariable variable=DailyBranchName]$branchName"
9 | displayName: Set branch name in fork repo
10 |
--------------------------------------------------------------------------------
/eng/pipelines/templates/steps/show-failure-logs.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - task: PowerShell@2
3 | condition: failed()
4 | displayName: Show build failure logs
5 | inputs:
6 | filePath: eng/scripts/Show-FailureLogs.ps1
7 |
--------------------------------------------------------------------------------
/eng/pipelines/templates/variables/globals.yml:
--------------------------------------------------------------------------------
1 | variables:
2 | # True if 'Enable system diagnostics' is checked when running a pipeline manually
3 | IsDebug: $[coalesce(variables['System.Debug'], 'false')]
4 |
5 | ${{ if and(eq(variables['Build.Reason'],'PullRequest'), eq(variables['System.PullRequest.IsFork'], 'True')) }}:
6 | # Disable warning for tools that are disabled for forked builds
7 | GDN_SUPPRESS_FORKED_BUILD_WARNING: true
8 |
--------------------------------------------------------------------------------
/eng/scripts/Get-TriggeringUserGitHubAlias.ps1:
--------------------------------------------------------------------------------
1 | param(
2 | [string] $EmailAddress = $env:BUILD_REQUESTEDFOREMAIL,
3 | [string] $OpenApiToken,
4 | [string] $Fallback
5 | )
6 |
7 | . "$PSScriptRoot/../common/scripts/Helpers/Metadata-Helpers.ps1"
8 |
9 | $allUsers = GetAllGitHubUsers -Token $OpenApiToken
10 |
11 | if (!$allUsers) {
12 | Write-Host "Failed to get all GitHub users"
13 | return $Fallback
14 | }
15 |
16 | $targetUser = $allUsers.Where({ $_.aad.userPrincipalName -eq $EmailAddress -and $_.github.login }, 'First')
17 |
18 | if (!$targetUser) {
19 | Write-Host "Failed to find GitHub user for triggering user"
20 | return $Fallback
21 | }
22 |
23 | return "@$($targetUser.github.login)"
24 |
--------------------------------------------------------------------------------
/eng/scripts/New-DocsMsArtifact.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | Param (
3 | [ValidateNotNullOrEmpty()]
4 | [string] $RepoRoot = "${PSScriptRoot}/../..",
5 | [Parameter(Mandatory=$True)]
6 | [string] $ServiceDirectory,
7 | [Parameter(Mandatory=$True)]
8 | [string] $PackageName,
9 | [string] $TargetFolder = "$RepoRoot/build/sdk/$ServiceDirectory/$PackageName/docs/docs.ms"
10 | )
11 |
12 | npm install -g moxygen
13 |
14 | $docsPath = "$RepoRoot/build/sdk/$ServiceDirectory/$PackageName/docs"
15 | New-Item -ItemType directory -Path $TargetFolder -Force
16 | moxygen --anchors --output "$TargetFolder/api-docs.md" "$docsPath/xml"
17 |
--------------------------------------------------------------------------------
/eng/scripts/Stop-TestProxy.ps1:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation. All rights reserved.
2 | # SPDX-License-Identifier: MIT
3 |
4 | Stop-Process -Name "test-proxy"
5 |
--------------------------------------------------------------------------------
/eng/scripts/typespec/Run-Tsp-Update.ps1:
--------------------------------------------------------------------------------
1 | npm install -g @microsoft/rush typescript autorest @typespec/compiler @azure-tools/typespec-client-generator-cli @azure-tools/typespec-azure-rulesets
2 |
3 | tsp-client update --save-inputs
4 |
--------------------------------------------------------------------------------
/samples/helpers/get-env/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.12)
5 | project(get-env-helper LANGUAGES CXX)
6 |
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED True)
9 | set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
10 |
11 | add_library(
12 | get-env-helper
13 | OBJECT
14 | inc/get_env.hpp
15 | src/get_env.cpp
16 | )
17 |
18 | target_compile_definitions(get-env-helper PRIVATE _azure_BUILDING_SAMPLES)
19 |
20 | target_include_directories(get-env-helper PUBLIC inc)
21 |
--------------------------------------------------------------------------------
/samples/helpers/get-env/README.md:
--------------------------------------------------------------------------------
1 | # Get Environment Variable for Samples
2 |
3 | This is a helper library for samples that deals with getting environment variables.
4 |
5 | Since `getenv()` may generate warnings on MSVC, and is not available on UWP, sample code gets cluttered with minor platform-specific nuances. This library hides all that, so that `std::getenv()` compiles and works the same on Linux, macOS, Win32, and UWP.
6 |
--------------------------------------------------------------------------------
/samples/helpers/service/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.12)
5 | project(service LANGUAGES CXX)
6 |
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED True)
9 | set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
10 |
11 | add_library(
12 | service
13 | OBJECT
14 | inc/azure/service/client.hpp
15 | src/client.cpp
16 | )
17 |
18 | target_link_libraries(service PUBLIC azure-core)
19 |
20 | target_compile_definitions(service PRIVATE _azure_BUILDING_SAMPLES)
21 |
22 | target_include_directories(service PUBLIC inc)
23 |
--------------------------------------------------------------------------------
/samples/helpers/service/README.md:
--------------------------------------------------------------------------------
1 | # Generic Service for Samples
2 |
3 | This is a helper library for samples that provides a generic service client library.
4 |
--------------------------------------------------------------------------------
/samples/integration/beta-packages-vcpkg/README.md:
--------------------------------------------------------------------------------
1 |
2 | # Getting Beta Releases in Vcpkg
3 |
4 | Official vcpkg registry may have beta versions of Azure SDK client libraries, up until a given library gets released as stable. After that, we don't publish post-first-stable beta releases of that library in the official registry.
5 |
6 | If you are interested in both stable releases and post-first-stable beta releases, see [Azure SDK Beta Vcpkg Registry](https://github.com/Azure/azure-sdk-vcpkg-betas/). You can update the `AzureVcpkg.cmake` module to use the beta registry.
--------------------------------------------------------------------------------
/samples/integration/cmake-vcpkg/.gitignore:
--------------------------------------------------------------------------------
1 | build
2 | CMakeUserPresets.json
3 |
--------------------------------------------------------------------------------
/samples/integration/cmake-vcpkg/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required(VERSION 3.30.0)
2 |
3 | # Remember to replace the path below with the path where you cloned vcpkg
4 | # set(CMAKE_TOOLCHAIN_FILE "path/to/vcpkg/root/scripts/buildsystems/vcpkg.cmake")
5 |
6 | project(azure_sample VERSION 0.1.0 LANGUAGES C CXX)
7 |
8 | find_package(azure-identity-cpp CONFIG REQUIRED)
9 | find_package(azure-security-keyvault-secrets-cpp CONFIG REQUIRED)
10 |
11 | add_executable(azure_sample main.cpp)
12 |
13 | target_link_libraries(azure_sample PRIVATE
14 | Azure::azure-identity
15 | Azure::azure-security-keyvault-secrets
16 | )
17 |
--------------------------------------------------------------------------------
/samples/integration/cmake-vcpkg/CMakeUserPresets.example.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": 3,
3 | "cmakeMinimumRequired": {
4 | "major": 3,
5 | "minor": 30,
6 | "patch": 0
7 | },
8 | "configurePresets": [
9 | {
10 | "name": "default",
11 | "displayName": "Default Config",
12 | "description": "Default build using Ninja generator",
13 | "binaryDir": "${sourceDir}/build/",
14 | "cacheVariables": {
15 | "CMAKE_BUILD_TYPE": "Debug",
16 | "CMAKE_TOOLCHAIN_FILE": "path/to/vcpkg/root/scripts/buildsystems/vcpkg.cmake"
17 | }
18 | }
19 | ],
20 | "buildPresets": [
21 | {
22 | "name": "default",
23 | "configurePreset": "default"
24 | }
25 | ]
26 | }
27 |
--------------------------------------------------------------------------------
/samples/integration/cmake-vcpkg/vcpkg-configuration.json:
--------------------------------------------------------------------------------
1 | {
2 | "default-registry": {
3 | "kind": "git",
4 | "baseline": "6af584dd59aa5bdba75dae6781ec74614e03e5b9",
5 | "repository": "https://github.com/microsoft/vcpkg"
6 | },
7 | "registries": [
8 | {
9 | "kind": "artifact",
10 | "location": "https://github.com/microsoft/vcpkg-ce-catalog/archive/refs/heads/main.zip",
11 | "name": "microsoft"
12 | }
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/samples/integration/cmake-vcpkg/vcpkg.json:
--------------------------------------------------------------------------------
1 | {
2 | "dependencies": [
3 | "azure-identity-cpp",
4 | "azure-security-keyvault-secrets-cpp"
5 | ]
6 | }
7 |
--------------------------------------------------------------------------------
/sdk/appconfiguration/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (azure-data-appconfiguration LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED ON)
9 | set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
10 |
11 | add_subdirectory(azure-data-appconfiguration)
12 |
--------------------------------------------------------------------------------
/sdk/appconfiguration/azure-data-appconfiguration/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Release History
2 |
3 | ## 1.0.0-beta.1 (Unreleased)
4 |
5 | ### Features Added
6 |
7 | - Initial release.
8 |
9 | ### Breaking Changes
10 |
11 | ### Bugs Fixed
12 |
13 | ### Other Changes
14 |
--------------------------------------------------------------------------------
/sdk/appconfiguration/azure-data-appconfiguration/inc/ApiViewSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFilesToProcess": null,
3 | "sourceFilesToSkip": [
4 | ],
5 | "additionalIncludeDirectories": [
6 | "../../../core/azure-core/inc"
7 | ],
8 | "additionalCompilerSwitches": [
9 | "-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH"
10 | ],
11 | "allowInternal": false,
12 | "includeDetail": false,
13 | "includePrivate": false,
14 | "filterNamespace": "Azure::Data::AppConfiguration",
15 | "reviewName": "Azure Data AppConfiguration Review",
16 | "serviceName": "Azure App Configuration",
17 | "packageName": "azure-data-appconfiguration-cpp"
18 | }
19 |
--------------------------------------------------------------------------------
/sdk/appconfiguration/azure-data-appconfiguration/inc/azure/data/appconfiguration.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | /**
5 | * @brief Includes all public headers from Azure App Configuration SDK library.
6 | *
7 | */
8 |
9 | #pragma once
10 |
11 | #include "azure/data/appconfiguration/configuration_client.hpp"
12 | #include "azure/data/appconfiguration/configuration_client_models.hpp"
13 | #include "azure/data/appconfiguration/configuration_client_options.hpp"
14 | #include "azure/data/appconfiguration/configuration_client_paged_responses.hpp"
15 | #include "azure/data/appconfiguration/dll_import_export.hpp"
16 | #include "azure/data/appconfiguration/rtti.hpp"
17 |
--------------------------------------------------------------------------------
/sdk/appconfiguration/azure-data-appconfiguration/test/ut/configuration_test.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #include
5 | #include
6 |
7 | #include
8 |
9 | using namespace Azure::Data::AppConfiguration;
10 |
11 | TEST(ConfigurationClient, Basic)
12 | {
13 | auto credential = std::make_shared();
14 | ConfigurationClient configurationClient("serviceUrl", credential);
15 | EXPECT_EQ(configurationClient.GetUrl(), "serviceUrl");
16 | }
17 |
--------------------------------------------------------------------------------
/sdk/appconfiguration/azure-data-appconfiguration/test/ut/macro_guard.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | // Define `min` and `max` as function-like macros before including all public
5 | // headers to ensure that uses of those identifiers are defended against
6 | // expansion as function-like macros. Define `small` as an object-like macro to
7 | // ensure that identifier isn't used at all. Windows.h is badly behaved and
8 | // defines similar macros with these names and we want to ensure the SDK headers
9 | // function even when a naive user includes Windows.h first.
10 | //
11 | #define small FAIL>
16 |
--------------------------------------------------------------------------------
/sdk/appconfiguration/azure-data-appconfiguration/vcpkg.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "azure-data-appconfiguration-cpp",
3 | "version-string": "1.0.0-beta.1",
4 | "description": [
5 | "Microsoft Azure App Configuration SDK for C++",
6 | "This library provides Azure App Configuration SDK."
7 | ],
8 | "license": "MIT",
9 | "dependencies": [
10 | {
11 | "name": "azure-core-cpp"
12 | },
13 | {
14 | "name": "vcpkg-cmake",
15 | "host": true
16 | },
17 | {
18 | "name": "vcpkg-cmake-config",
19 | "host": true
20 | }
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/sdk/appconfiguration/azure-data-appconfiguration/vcpkg/Config.cmake.in:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | @PACKAGE_INIT@
5 |
6 | include(CMakeFindDependencyMacro)
7 | find_dependency(azure-core-cpp)
8 |
9 | include("${CMAKE_CURRENT_LIST_DIR}/azure-data-appconfiguration-cppTargets.cmake")
10 |
11 | check_required_components("azure-data-appconfiguration-cpp")
12 |
--------------------------------------------------------------------------------
/sdk/attestation/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (azure-security-attestation LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED ON)
9 | set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
10 |
11 | add_subdirectory(azure-security-attestation)
12 |
--------------------------------------------------------------------------------
/sdk/attestation/assets.json:
--------------------------------------------------------------------------------
1 | {
2 | "AssetsRepo": "Azure/azure-sdk-assets",
3 | "AssetsRepoPrefixPath": "cpp",
4 | "TagPrefix": "cpp/attestation",
5 | "Tag": "cpp/attestation_f34b6b4684"
6 | }
7 |
--------------------------------------------------------------------------------
/sdk/attestation/azure-security-attestation/cspell.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "0.2",
3 | "language": "en",
4 | "languageId": "cpp",
5 | "dictionaries": [
6 | "powershell",
7 | "cpp"
8 | ],
9 | "ignorePaths": [
10 | "**/test/ut/recordings/*.json"
11 | ],
12 | "words": [
13 | "ECDS",
14 | "jwks",
15 | "jwk",
16 | "mrenclave",
17 | "mrsigner",
18 | "shareduks",
19 | "attestsgxenclave",
20 | "attestsgxenclavewithruntimejson",
21 | "attestsgxenclavewithruntimebinary",
22 | "getopenidmetadata"
23 |
24 | ]
25 | }
26 |
--------------------------------------------------------------------------------
/sdk/attestation/azure-security-attestation/inc/ApiViewSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFilesToProcess": [ "azure\\attestation.hpp" ],
3 | "additionalIncludeDirectories": [
4 | "../../../core/azure-core/inc"
5 | ],
6 | "sourceFilesToSkip": [
7 | ],
8 | "additionalCompilerSwitches": [
9 | "-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH"
10 | ],
11 | "allowInternal": false,
12 | "includeDetail": false,
13 | "includePrivate": false,
14 | "filterNamespace": "Azure::Security::Attestation",
15 | "reviewName": "Azure Attestation API Review",
16 | "serviceName": "Microsoft Azure Attestation",
17 | "packageName": "azure-security-attestation-cpp"
18 | }
19 |
--------------------------------------------------------------------------------
/sdk/attestation/azure-security-attestation/inc/azure/attestation.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | /**
5 | * @brief Includes all public headers from Azure Attestation SDK library.
6 | *
7 | */
8 |
9 | #pragma once
10 |
11 | #include "attestation/attestation_administration_client.hpp"
12 | #include "attestation/attestation_client.hpp"
13 | #include "attestation/attestation_client_models.hpp"
14 | #include "attestation/attestation_client_options.hpp"
15 | #include "attestation/dll_import_export.hpp"
16 | #include "attestation/rtti.hpp"
17 |
--------------------------------------------------------------------------------
/sdk/attestation/azure-security-attestation/samples/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | add_subdirectory(basic-operations)
7 | add_subdirectory(attestation)
8 | add_subdirectory(policy)
9 | add_subdirectory(policy-certificates)
10 |
--------------------------------------------------------------------------------
/sdk/attestation/azure-security-attestation/src/attestation_client_options.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #include "azure/attestation/attestation_client_options.hpp"
5 |
6 | namespace Azure { namespace Security { namespace Attestation {
7 |
8 | const AttestationDataType AttestationDataType::Binary("Binary");
9 | const AttestationDataType AttestationDataType::Json("JSON");
10 |
11 | }}} // namespace Azure::Security::Attestation
12 |
--------------------------------------------------------------------------------
/sdk/attestation/azure-security-attestation/test/ut/attestation_collateral.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 | #pragma once
4 |
5 | #include
6 |
7 | namespace Azure { namespace Security { namespace Attestation { namespace Test {
8 |
9 | class AttestationCollateral {
10 | public:
11 | static std::vector OpenEnclaveReport();
12 | static std::vector SgxQuote();
13 | static std::vector RunTimeData();
14 |
15 | static std::string GetMinimalPolicy();
16 | };
17 | }}}} // namespace Azure::Security::Attestation::Test
18 |
--------------------------------------------------------------------------------
/sdk/attestation/azure-security-attestation/test/ut/crypto_test_collateral.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 | #pragma once
4 |
5 | #include
6 |
7 | namespace Azure { namespace Security { namespace Attestation { namespace Test {
8 |
9 | class CryptoTestCollateral {
10 | public:
11 | static std::string TestEcdsPrivateKey();
12 | static std::string TestEcdsPublicKey();
13 | static std::string TestRsaPrivateKey();
14 | static std::string TestRsaPublicKey();
15 | };
16 | }}}} // namespace Azure::Security::Attestation::Test
17 |
--------------------------------------------------------------------------------
/sdk/attestation/azure-security-attestation/test/ut/macro_guard.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | // Define `min` and `max` as function-like macros before including all public
5 | // headers to ensure that uses of those identifiers are defended against
6 | // expansion as function-like macros. Define `small` as an object-like macro to
7 | // ensure that identifier isn't used at all. Windows.h is badly behaved and
8 | // defines similar macros with these names and we want to ensure the SDK headers
9 | // function even when a naive user includes Windows.h first.
10 | //
11 | #define small FAIL>
16 |
--------------------------------------------------------------------------------
/sdk/attestation/azure-security-attestation/vcpkg.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "azure-security-attestation-cpp",
3 | "version": "1.0.0-beta.3",
4 | "dependencies": [
5 | {
6 | "name": "azure-core-cpp"
7 | },
8 | {
9 | "name": "vcpkg-cmake"
10 | },
11 | {
12 | "name": "vcpkg-cmake-config"
13 | },
14 | {
15 | "name": "openssl"
16 | }
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/sdk/attestation/azure-security-attestation/vcpkg/Config.cmake.in:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | @PACKAGE_INIT@
5 |
6 | include(CMakeFindDependencyMacro)
7 | find_dependency(azure-core-cpp)
8 | find_dependency(OpenSSL)
9 |
10 | include("${CMAKE_CURRENT_LIST_DIR}/azure-security-attestation-cppTargets.cmake")
11 |
12 | check_required_components("azure-security-attestation-cpp")
13 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/Test-Cleanup.ps1:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation. All rights reserved.
2 | # Licensed under the MIT License.
3 | # cspell: ignore JOBID
4 |
5 | . "$PSScriptRoot\..\..\..\eng\common\scripts\common.ps1"
6 |
7 | Write-Host "Test Broker output:"
8 | Receive-Job -Id $env:TEST_BROKER_JOBID
9 |
10 | # Check if the test broker job is still running
11 | $job = Get-Job -Id $env:TEST_BROKER_JOBID
12 | if ($job.State -ne "Running") {
13 | Write-Host "Test broker terminated unexpectedly."
14 | exit 1
15 | }
16 |
17 | # Stop the test broker job started in Test-Setup.ps1
18 | Write-Host "Stopping test broker"
19 | Stop-Job -Id $env:TEST_BROKER_JOBID
20 | Remove-Job -Id $env:TEST_BROKER_JOBID
21 | Write-Host "Test broker stopped."
22 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/cspell.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "0.2",
3 | "language": "en",
4 | "languageId": "cpp",
5 | "dictionaries": [
6 | "powershell",
7 | "cpp"
8 | ],
9 | "ignorePaths": [
10 | "**/test/ut/recordings/*.json"
11 | ],
12 | "words": [
13 | "blang",
14 | "dowork",
15 | "performatives",
16 | "SASLCLIENTIO",
17 | "socketio",
18 | "stringized",
19 | "tlsio",
20 | "umock",
21 | "yoiks"
22 | ]
23 | }
24 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/inc/azure/core/amqp.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 | #pragma once
4 |
5 | #include "azure/core/amqp/dll_import_export.hpp"
6 | #include "azure/core/amqp/models/amqp_header.hpp"
7 | #include "azure/core/amqp/models/amqp_message.hpp"
8 | #include "azure/core/amqp/models/amqp_properties.hpp"
9 | #include "azure/core/amqp/models/amqp_value.hpp"
10 | #include "azure/core/amqp/rtti.hpp"
11 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/inc/azure/core/amqp/internal/amqp_settle_mode.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #pragma once
5 |
6 | #include
7 |
8 | namespace Azure { namespace Core { namespace Amqp { namespace _internal {
9 |
10 | enum class SenderSettleMode
11 | {
12 | Unsettled,
13 | Settled,
14 | Mixed,
15 | };
16 |
17 | std::ostream& operator<<(std::ostream& os, SenderSettleMode mode);
18 |
19 | enum class ReceiverSettleMode
20 | {
21 | First,
22 | Second,
23 | };
24 | std::ostream& operator<<(std::ostream& os, ReceiverSettleMode mode);
25 |
26 | }}}} // namespace Azure::Core::Amqp::_internal
27 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/samples/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | # CMakeList.txt : Top-level CMake project file, do global configuration
5 | # and include sub-projects here.
6 | #
7 | cmake_minimum_required (VERSION 3.13)
8 |
9 | # Include sub-projects.
10 | add_subdirectory ("internal")
11 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/samples/internal/eventhub_async_writer_sample/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required(VERSION 3.13)
5 |
6 | set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
7 |
8 | project(eventhub_writer_async_sample)
9 |
10 | add_executable(eventhub_writer_async_sample
11 | eventhub_async_writer_sample.cpp
12 | )
13 |
14 | target_compile_definitions(eventhub_writer_async_sample PRIVATE _azure_BUILDING_SAMPLES)
15 |
16 | add_dependencies(eventhub_writer_async_sample Azure::azure-core-amqp)
17 |
18 | # Link test executable against the prototype.
19 | target_link_libraries(eventhub_writer_async_sample PRIVATE Azure::azure-core-amqp get-env-helper)
20 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/samples/internal/eventhub_reader_sample/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required(VERSION 3.13)
5 |
6 | set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
7 |
8 | project(eventhub_reader_sample)
9 |
10 | # Samples
11 | add_executable(eventhub_reader_sample
12 | eventhub_reader_sample.cpp
13 | )
14 |
15 | target_compile_definitions(eventhub_reader_sample PRIVATE _azure_BUILDING_SAMPLES)
16 |
17 | add_dependencies(eventhub_reader_sample Azure::azure-core-amqp)
18 |
19 | # Link test executable against the prototype.
20 | target_link_libraries(eventhub_reader_sample PRIVATE Azure::azure-core-amqp)
21 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/samples/internal/eventhub_sas_reader_sample/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required(VERSION 3.13)
5 |
6 | set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
7 |
8 | if(MSVC)
9 | add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
10 | endif()
11 |
12 | project(eventhub_sas_reader_sample)
13 |
14 | add_executable(eventhub_sas_reader_sample
15 | eventhub_sas_reader_sample.cpp
16 | )
17 |
18 | target_compile_definitions(eventhub_sas_reader_sample PRIVATE _azure_BUILDING_SAMPLES)
19 |
20 | add_dependencies(eventhub_sas_reader_sample Azure::azure-core-amqp)
21 |
22 | target_link_libraries(eventhub_sas_reader_sample PRIVATE Azure::azure-core-amqp get-env-helper)
23 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/samples/internal/eventhub_sas_writer_sample/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required(VERSION 3.13)
5 |
6 | set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
7 |
8 | if(MSVC)
9 | add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
10 | endif()
11 |
12 | project(eventhub_sas_writer_sample)
13 |
14 | add_executable(eventhub_sas_writer_sample
15 | eventhub_sas_writer_sample.cpp
16 | )
17 |
18 | target_compile_definitions(eventhub_sas_writer_sample PRIVATE _azure_BUILDING_SAMPLES)
19 |
20 | add_dependencies(eventhub_sas_writer_sample Azure::azure-core-amqp)
21 |
22 | target_link_libraries(eventhub_sas_writer_sample PRIVATE Azure::azure-core-amqp get-env-helper)
23 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/samples/internal/eventhub_token_reader_sample/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required(VERSION 3.13)
5 |
6 | set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
7 |
8 | if(MSVC)
9 | add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
10 | endif()
11 |
12 | project(eventhub_token_reader_sample)
13 |
14 | add_executable(eventhub_token_reader_sample
15 | eventhub_token_reader_sample.cpp
16 | )
17 |
18 | target_compile_definitions(eventhub_token_reader_sample PRIVATE _azure_BUILDING_SAMPLES)
19 |
20 | add_dependencies(eventhub_token_reader_sample azure-core-amqp)
21 |
22 | target_link_libraries(eventhub_token_reader_sample PRIVATE azure-core-amqp Azure::azure-identity get-env-helper)
23 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/samples/internal/eventhub_writer_sample/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required(VERSION 3.13)
5 |
6 | set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
7 |
8 | project(eventhub_writer_sample)
9 |
10 | add_executable(eventhub_writer_sample
11 | eventhub_writer_sample.cpp
12 | )
13 |
14 | target_compile_definitions(eventhub_writer_sample PRIVATE _azure_BUILDING_SAMPLES)
15 |
16 | add_dependencies(eventhub_writer_sample Azure::azure-core-amqp)
17 |
18 | target_link_libraries(eventhub_writer_sample PRIVATE Azure::azure-core-amqp)
19 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/samples/internal/local_client_async_sample/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required(VERSION 3.13)
5 |
6 | set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
7 |
8 | project(local_client_async_sample)
9 |
10 | add_executable(local_client_async_sample
11 | local_client_async_sample.cpp
12 | )
13 |
14 | target_compile_definitions(local_client_async_sample PRIVATE _azure_BUILDING_SAMPLES)
15 |
16 | add_dependencies(local_client_async_sample Azure::azure-core-amqp)
17 |
18 | target_link_libraries(local_client_async_sample PRIVATE Azure::azure-core-amqp)
19 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/samples/internal/local_client_sample/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required(VERSION 3.13)
5 |
6 | set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
7 |
8 | project(local_client_sample)
9 |
10 | add_executable(local_client_sample
11 | local_client_sample.cpp
12 | )
13 |
14 | target_compile_definitions(local_client_sample PRIVATE _azure_BUILDING_SAMPLES)
15 |
16 | add_dependencies(local_client_sample Azure::azure-core-amqp)
17 |
18 | target_link_libraries(local_client_sample PRIVATE Azure::azure-core-amqp)
19 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/samples/internal/local_server_sample/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required(VERSION 3.13)
5 |
6 | set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
7 |
8 | project(local_server_sample)
9 |
10 | add_executable(local_server_sample
11 | local_server_sample.cpp
12 | )
13 |
14 | target_compile_definitions(local_server_sample PRIVATE _azure_BUILDING_SAMPLES)
15 |
16 | add_dependencies(local_server_sample Azure::azure-core-amqp)
17 |
18 | target_link_libraries(local_server_sample PRIVATE Azure::azure-core-amqp)
19 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/amqp/private/unique_handle.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #pragma once
5 |
6 | #include
7 |
8 | namespace Azure { namespace Core { namespace Amqp { namespace _detail {
9 |
10 | template struct UniqueHandleHelper;
11 |
12 | template using UniqueHandle = Core::_internal::UniqueHandle;
13 |
14 | }}}} // namespace Azure::Core::Amqp::_detail
15 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/rust_amqp/amqp/private/unique_handle.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #pragma once
5 |
6 | #include
7 |
8 | namespace Azure { namespace Core { namespace Amqp { namespace _detail {
9 |
10 | template struct UniqueHandleHelper;
11 |
12 | template using UniqueHandle = Core::_internal::UniqueHandle;
13 |
14 | }}}} // namespace Azure::Core::Amqp::_detail
15 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/rust_amqp/rust_amqp/azure_core_amqp/src/fe2o3/messaging/message_target.rs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All Rights reserved
2 | // Licensed under the MIT license.
3 | // cspell: words amqp servicebus eventhub mgmt
4 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/rust_amqp/rust_amqp/azure_core_amqp/src/fe2o3/mod.rs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All Rights reserved
2 | // Licensed under the MIT license.
3 | pub mod cbs;
4 | pub mod connection;
5 | pub mod error;
6 | pub mod management;
7 | pub mod messaging;
8 | pub mod receiver;
9 | pub mod sender;
10 | pub mod session;
11 | pub mod value;
12 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/rust_amqp/rust_amqp/rust_wrapper/src/amqp/mod.rs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All Rights Reserved.
2 | // Licensed under the MIT License.
3 |
4 | pub mod cbs;
5 | pub mod connection;
6 | pub mod management;
7 | pub mod message_receiver;
8 | pub mod message_sender;
9 | pub mod session;
10 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/rust_amqp/rust_amqp/rust_wrapper/src/model/mod.rs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All Rights Reserved.
2 | // Licensed under the MIT License.
3 |
4 | pub mod header;
5 | pub mod message;
6 | pub mod message_fields;
7 | pub mod properties;
8 | pub mod source;
9 | pub mod target;
10 | pub mod value;
11 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/rust_amqp/rust_amqp/rust_wrapper/src/tracing.rs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corp. All Rights Reserved
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | /*
5 | cspell: words reqwest repr staticlib dylib brotli gzip
6 | */
7 |
8 |
9 | #[no_mangle]
10 | pub extern "C" fn enable_tracing_integration() {
11 | tracing_subscriber::fmt::init();
12 | }
13 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/amqp/cancellable.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #include "azure/core/amqp/internal/cancellable.hpp"
5 |
6 | #include
7 |
8 | #include
9 | #if 0
10 | namespace Azure { namespace Core { namespace Amqp { namespace _internal {
11 | Cancellable::~Cancellable()
12 | {
13 | if (m_operation)
14 | {
15 | async_operation_destroy(m_operation);
16 | m_operation = nullptr;
17 | }
18 | }
19 |
20 | void Cancellable::Cancel()
21 | {
22 | if (m_operation)
23 | {
24 | async_operation_cancel(m_operation);
25 | }
26 | }
27 |
28 | }}}} // namespace Azure::Core::Amqp::_internal
29 | #endif
30 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/.gitignore:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # This .gitignore file was automatically created by Microsoft(R) Visual Studio.
3 | ################################################################################
4 |
5 | **/bin/*
6 | **/obj/*
7 | *.lastbuildstate
8 | *.log
9 | *.opensdf
10 | *.sdf
11 | *.suo
12 | *.~vsdx
13 | *.lib
14 | *.pdb
15 | *.idb
16 | *.obj
17 | *.tlog
18 | *.cache
19 | *.exe
20 | *.ilk
21 | *.TMP
22 | *.zip
23 | *.ipch
24 | *.pch
25 | *.user
26 | *.codeanalysis
27 | *.codeanalysisast
28 | *.lastcodeanalysissucceeded
29 | *.dll
30 | *.config
31 | *.coverage
32 | *.exp
33 | *.i
34 | /cmake*
35 | /build
36 |
37 | /.vscode/*
38 | /**/.vs/*
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "deps/azure-c-shared-utility"]
2 | path = deps/azure-c-shared-utility
3 | url = https://github.com/Azure/azure-c-shared-utility
4 | [submodule "deps/azure-ctest"]
5 | path = deps/azure-ctest
6 | url = https://github.com/Azure/azure-ctest
7 | [submodule "deps/umock-c"]
8 | path = deps/umock-c
9 | url = https://github.com/Azure/umock-c
10 | [submodule "deps/azure-c-testrunnerswitcher"]
11 | path = deps/azure-c-testrunnerswitcher
12 | url = https://github.com/Azure/azure-c-testrunnerswitcher
13 | [submodule "deps/azure-macro-utils-c"]
14 | path = deps/azure-macro-utils-c
15 | url = https://github.com/Azure/azure-macro-utils-c.git
16 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/build_all/packaging/linux/debian/azure-uamqp-c-dev.dirs:
--------------------------------------------------------------------------------
1 | usr/lib
2 | usr/include
3 | usr/include/azureiot
4 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/build_all/packaging/linux/debian/azure-uamqp-c-dev.install:
--------------------------------------------------------------------------------
1 | usr/include/azureiot/*
2 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/build_all/packaging/linux/debian/azure-uamqp-c-lib.dirs:
--------------------------------------------------------------------------------
1 | usr/lib
2 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/build_all/packaging/linux/debian/azure-uamqp-c-lib.install:
--------------------------------------------------------------------------------
1 | usr/lib/lib*.a
2 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/build_all/packaging/linux/debian/changelog-trusty:
--------------------------------------------------------------------------------
1 | azure-uamqp-c (0.2.0-1trusty) trusty; urgency=low
2 |
3 | * See https://github.com/Azure/azure-iot-sdk-c/releases for details of the release
4 |
5 | -- AzureIoT User Tue, 27 Sep 2016 11:00:00 +0000
6 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/build_all/packaging/linux/debian/changelog-vivid:
--------------------------------------------------------------------------------
1 | azure-uamqp-c (0.1.0-65vivid) vivid; urgency=low
2 |
3 | * See https://github.com/Azure/azure-iot-sdk-c/releases for details of the release
4 |
5 | -- AzureIoT User Tue, 27 Sep 2016 11:00:00 +0000
6 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/build_all/packaging/linux/debian/changelog-wily:
--------------------------------------------------------------------------------
1 | azure-uamqp-c (undefined) wily; urgency=low
2 |
3 | * See https://github.com/Azure/azure-iot-sdk-c/releases for details of the release
4 |
5 | -- AzureIoT User Tue, 27 Sep 2016 11:00:00 +0000
6 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/build_all/packaging/linux/debian/changelog-xenial:
--------------------------------------------------------------------------------
1 | azure-uamqp-c (0.2.0.0-1xenial) xenial; urgency=low
2 |
3 | * See https://github.com/Azure/azure-iot-sdk-c/releases for details of the release
4 |
5 | -- AzureIoT User Tue, 29 Sep 2016 11:00:00 +0000
6 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/build_all/packaging/linux/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/build_all/packaging/linux/debian/docs:
--------------------------------------------------------------------------------
1 | readme.md
2 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/build_all/packaging/linux/debian/source/format:
--------------------------------------------------------------------------------
1 | 3.0 (native)
2 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/build_all/packaging/windows/Microsoft.Azure.uamqp_thirdpartynotice.txt:
--------------------------------------------------------------------------------
1 | Third Party Notices for Azure Amqp library project
2 |
3 | This project incorporates material from the project(s) listed below (collectively, "Third Party Code").
4 | Microsoft Corporation is not the original author of the Third Party Code.
5 | The original copyright notice and license, under which Microsoft Corporation received such Third Party Code,
6 | are set out below. This Third Party Code is licensed to you under their original license terms set forth below.
7 | Microsoft Corporation reserves all other rights not expressly granted, whether by implication, estoppel or otherwise.
8 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/configs/uamqpConfig.cmake:
--------------------------------------------------------------------------------
1 | #Copyright (c) Microsoft. All rights reserved.
2 | #Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | include("${CMAKE_CURRENT_LIST_DIR}/uamqpTargets.cmake")
5 |
6 | get_target_property(UAMQP_INCLUDES uamqp INTERFACE_INCLUDE_DIRECTORIES)
7 |
8 | set(UAMQP_INCLUDES ${UAMQP_INCLUDES} CACHE INTERNAL "")
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/dependencies-test.cmake:
--------------------------------------------------------------------------------
1 | #Copyright (c) Microsoft. All rights reserved.
2 | #Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | if(${use_installed_dependencies})
5 | #These need to be set for the functions included by azure-c-shared-utility
6 | set(SHARED_UTIL_SRC_FOLDER "${CMAKE_CURRENT_LIST_DIR}/deps/azure-c-shared-utility/src")
7 | set(SHARED_UTIL_FOLDER "${CMAKE_CURRENT_LIST_DIR}/deps/azure-c-shared-utility")
8 | set(SHARED_UTIL_ADAPTER_FOLDER "${CMAKE_CURRENT_LIST_DIR}/deps/azure-c-shared-utility/adapters")
9 | set_platform_files("${CMAKE_CURRENT_LIST_DIR}/deps/azure-c-shared-utility")
10 | find_package(umock_c REQUIRED CONFIG)
11 | endif()
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/design/AMQPLib.vsdx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Azure/azure-sdk-for-cpp/ef5c3cfc45e4158ab14441d75eda8b0713b4f590/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/design/AMQPLib.vsdx
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/inc/azure_uamqp_c/amqpvalue_to_string.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft. All rights reserved.
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | #ifndef AMQPVALUE_TO_STRING_H
5 |
6 | #include "azure_uamqp_c/amqpvalue.h"
7 | #include "umock_c/umock_c_prod.h"
8 |
9 | #ifdef __cplusplus
10 | extern "C" {
11 | #endif /* __cplusplus */
12 |
13 | MOCKABLE_FUNCTION(, char*, amqpvalue_to_string, AMQP_VALUE, amqp_value);
14 |
15 | #ifdef __cplusplus
16 | }
17 | #endif /* __cplusplus */
18 |
19 | #endif /* AMQPVALUE_TO_STRING_H */
20 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/inc/azure_uamqp_c/sasl_anonymous.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft. All rights reserved.
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | #ifndef SASL_ANONYMOUS_H
5 | #define SASL_ANONYMOUS_H
6 |
7 | #include "azure_uamqp_c/sasl_mechanism.h"
8 |
9 | #ifdef __cplusplus
10 | extern "C" {
11 | #endif /* __cplusplus */
12 |
13 | #include "umock_c/umock_c_prod.h"
14 |
15 | MOCKABLE_FUNCTION(, const SASL_MECHANISM_INTERFACE_DESCRIPTION*, saslanonymous_get_interface);
16 |
17 | #ifdef __cplusplus
18 | }
19 | #endif /* __cplusplus */
20 |
21 | #endif /* SASL_ANONYMOUS_H */
22 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/jenkins/linux_c.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # Copyright (c) Microsoft. All rights reserved.
3 | # Licensed under the MIT license. See LICENSE file in the project root for full license information.
4 |
5 | build_root=$(cd "$(dirname "$0")/.." && pwd)
6 | cd $build_root
7 |
8 | # -- C --
9 | ./build_all/linux/build.sh --run-unittests "$@" #-x
10 | [ $? -eq 0 ] || exit $?
11 |
12 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/jenkins/osx_gcc_openssl.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # Copyright (c) Microsoft. All rights reserved.
3 | # Licensed under the MIT license. See LICENSE file in the project root for full license information.
4 | #
5 |
6 | set -e
7 |
8 | script_dir=$(cd "$(dirname "$0")" && pwd)
9 | build_root=$(cd "${script_dir}/.." && pwd)
10 | build_folder=$build_root"/cmake"
11 |
12 | CORES=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || sysctl -n hw.ncpu)
13 |
14 | rm -r -f $build_folder
15 | mkdir -p $build_folder
16 | pushd $build_folder
17 | cmake .. -DOPENSSL_ROOT_DIR:PATH=/usr/local/opt/openssl -Duse_openssl:bool=ON -Drun_unittests:bool=ON -Drun_e2e_tests:bool=ON
18 | cmake --build . -- --jobs=$CORES
19 | ctest -C "debug" -V
20 | popd
21 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/jenkins/osx_xcode_native.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # Copyright (c) Microsoft. All rights reserved.
3 | # Licensed under the MIT license. See LICENSE file in the project root for full license information.
4 | #
5 |
6 | set -e
7 |
8 | script_dir=$(cd "$(dirname "$0")" && pwd)
9 | build_root=$(cd "${script_dir}/.." && pwd)
10 | build_folder=$build_root"/cmake"
11 |
12 | CORES=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || sysctl -n hw.ncpu)
13 |
14 | rm -r -f $build_folder
15 | mkdir -p $build_folder
16 | pushd $build_folder
17 | cmake .. -Drun_unittests:bool=ON -Drun_e2e_tests:bool=ON -G Xcode
18 | cmake --build . -- --jobs=$CORES
19 | ctest -C "debug" -V
20 | popd
21 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/jenkins/windows_c.cmd:
--------------------------------------------------------------------------------
1 | @REM Copyright (c) Microsoft. All rights reserved.
2 | @REM Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | setlocal
5 |
6 | set build-root=%~dp0..
7 | rem // resolve to fully qualified path
8 | for %%i in ("%build-root%") do set build-root=%%~fi
9 |
10 | REM -- C --
11 | cd %build-root%\build_all\windows
12 |
13 | call build.cmd %*
14 | if errorlevel 1 goto :eof
15 | cd %build-root%
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/samples/websockets_sample/iothub_certs.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft. All rights reserved.
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | #ifndef IOTHUB_CERTS_H
5 | #define IOTHUB_CERTS_H
6 |
7 | extern const char iothub_certs[];
8 |
9 | #endif /* IOTHUB_CERTS_H */
10 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/amqp_frame_codec_ut/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | #Copyright (c) Microsoft. All rights reserved.
2 | #Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | set(theseTestsName amqp_frame_codec_ut)
5 |
6 | set(${theseTestsName}_test_files
7 | ${theseTestsName}.c
8 | )
9 |
10 | set(${theseTestsName}_c_files
11 | ../../src/amqp_frame_codec.c
12 | )
13 |
14 | set(${theseTestsName}_h_files
15 | )
16 |
17 | build_c_test_artifacts(${theseTestsName} ON "tests/uamqp_tests")
18 |
19 | compile_c_test_artifacts_as(${theseTestsName} C99)
20 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/amqp_frame_codec_ut/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft. All rights reserved.
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | #include "testrunnerswitcher.h"
5 |
6 | int main(void)
7 | {
8 | size_t failedTestCount = 0;
9 | RUN_TEST_SUITE(amqp_frame_codec_ut, failedTestCount);
10 | return (int)failedTestCount;
11 | }
12 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/amqp_management_ut/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | #Copyright (c) Microsoft. All rights reserved.
2 | #Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | set(theseTestsName amqp_management_ut)
5 | set(${theseTestsName}_test_files
6 | ${theseTestsName}.c
7 | )
8 |
9 | set(${theseTestsName}_c_files
10 | ../../src/amqp_management.c
11 | )
12 |
13 | set(${theseTestsName}_h_files
14 | )
15 |
16 | build_c_test_artifacts(${theseTestsName} ON "tests/uamqp_tests")
17 |
18 | compile_c_test_artifacts_as(${theseTestsName} C99)
19 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/amqp_management_ut/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft. All rights reserved.
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | #include "testrunnerswitcher.h"
5 |
6 | int main(void)
7 | {
8 | size_t failedTestCount = 0;
9 | RUN_TEST_SUITE(amqp_management_ut, failedTestCount);
10 | return (int)failedTestCount;
11 | }
12 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/amqpvalue_ut/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | #Copyright (c) Microsoft. All rights reserved.
2 | #Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | set(theseTestsName amqpvalue_ut)
5 | set(${theseTestsName}_test_files
6 | ${theseTestsName}.c
7 | )
8 |
9 | set(${theseTestsName}_c_files
10 | ../../src/amqpvalue.c
11 | )
12 |
13 | set(${theseTestsName}_h_files
14 | )
15 |
16 | build_c_test_artifacts(${theseTestsName} ON "tests/uamqp_tests")
17 |
18 | compile_c_test_artifacts_as(${theseTestsName} C99)
19 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/amqpvalue_ut/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft. All rights reserved.
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | #include "testrunnerswitcher.h"
5 |
6 | int main(void)
7 | {
8 | size_t failedTestCount = 0;
9 | RUN_TEST_SUITE(amqpvalue_ut, failedTestCount);
10 | return (int)failedTestCount;
11 | }
12 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/async_operation_ut/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | #Copyright (c) Microsoft. All rights reserved.
2 | #Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | set(theseTestsName async_operation_ut)
5 | set(${theseTestsName}_test_files
6 | ${theseTestsName}.c
7 | )
8 |
9 | set(${theseTestsName}_c_files
10 | ../../src/async_operation.c
11 | )
12 |
13 | set(${theseTestsName}_h_files
14 | )
15 |
16 | build_c_test_artifacts(${theseTestsName} ON "tests/uamqp_tests")
17 |
18 | compile_c_test_artifacts_as(${theseTestsName} C99)
19 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/async_operation_ut/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft. All rights reserved.
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | #include "testrunnerswitcher.h"
5 |
6 | int main(void)
7 | {
8 | size_t failedTestCount = 0;
9 | RUN_TEST_SUITE(async_operation_ut, failedTestCount);
10 | return (int)failedTestCount;
11 | }
12 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/cbs_ut/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | #Copyright (c) Microsoft. All rights reserved.
2 | #Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | set(theseTestsName cbs_ut)
5 | set(${theseTestsName}_test_files
6 | ${theseTestsName}.c
7 | )
8 |
9 | set(${theseTestsName}_c_files
10 | ../../src/cbs.c
11 | )
12 |
13 | set(${theseTestsName}_h_files
14 | )
15 |
16 | build_c_test_artifacts(${theseTestsName} ON "tests/uamqp_tests")
17 |
18 | compile_c_test_artifacts_as(${theseTestsName} C99)
19 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/cbs_ut/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft. All rights reserved.
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | #include "testrunnerswitcher.h"
5 |
6 | int main(void)
7 | {
8 | size_t failedTestCount = 0;
9 | RUN_TEST_SUITE(cbs_ut, failedTestCount);
10 | return (int)failedTestCount;
11 | }
12 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/connection_ut/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | #Copyright (c) Microsoft. All rights reserved.
2 | #Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | set(theseTestsName connection_ut)
5 | set(${theseTestsName}_test_files
6 | ${theseTestsName}.c
7 | )
8 |
9 | set(${theseTestsName}_c_files
10 | ../../src/connection.c
11 | )
12 |
13 | set(${theseTestsName}_h_files
14 | )
15 |
16 | build_c_test_artifacts(${theseTestsName} ON "tests/uamqp_tests")
17 |
18 | compile_c_test_artifacts_as(${theseTestsName} C99)
19 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/connection_ut/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft. All rights reserved.
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | #include "testrunnerswitcher.h"
5 |
6 | int main(void)
7 | {
8 | size_t failedTestCount = 0;
9 | RUN_TEST_SUITE(connection_ut, failedTestCount);
10 | return (int)failedTestCount;
11 | }
12 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/frame_codec_ut/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | #Copyright (c) Microsoft. All rights reserved.
2 | #Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | set(theseTestsName frame_codec_ut)
5 | set(${theseTestsName}_test_files
6 | ${theseTestsName}.c
7 | )
8 |
9 | set(${theseTestsName}_c_files
10 | ../../src/frame_codec.c
11 | )
12 |
13 | set(${theseTestsName}_h_files
14 | )
15 |
16 | build_c_test_artifacts(${theseTestsName} ON "tests/uamqp_tests")
17 |
18 | compile_c_test_artifacts_as(${theseTestsName} C99)
19 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/frame_codec_ut/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft. All rights reserved.
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | #include "testrunnerswitcher.h"
5 |
6 | int main(void)
7 | {
8 | size_t failedTestCount = 0;
9 | RUN_TEST_SUITE(frame_codec_ut, failedTestCount);
10 | return (int)failedTestCount;
11 | }
12 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/header_detect_io_ut/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | #Copyright (c) Microsoft. All rights reserved.
2 | #Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | set(theseTestsName header_detect_io_ut)
5 |
6 | set(${theseTestsName}_test_files
7 | ${theseTestsName}.c
8 | )
9 |
10 | set(${theseTestsName}_c_files
11 | ../../src/header_detect_io.c
12 | )
13 |
14 | set(${theseTestsName}_h_files
15 | )
16 |
17 | build_c_test_artifacts(${theseTestsName} ON "tests/uamqp_tests")
18 |
19 | compile_c_test_artifacts_as(${theseTestsName} C99)
20 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/header_detect_io_ut/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft. All rights reserved.
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | #include "testrunnerswitcher.h"
5 |
6 | int main(void)
7 | {
8 | size_t failedTestCount = 0;
9 | RUN_TEST_SUITE(header_detect_io_ut, failedTestCount);
10 | return (int)failedTestCount;
11 | }
12 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/iothub_e2e/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | #Copyright (c) Microsoft. All rights reserved.
2 | #Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | set(theseTestsName iothub_e2e)
5 | set(${theseTestsName}_test_files
6 | ${theseTestsName}.c
7 | )
8 |
9 | set(${theseTestsName}_c_files
10 | )
11 |
12 | set(${theseTestsName}_h_files
13 | )
14 |
15 | file(COPY ../valgrind_suppressions.supp DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
16 | build_c_test_artifacts(${theseTestsName} ON "tests/uamqp_tests"
17 | ADDITIONAL_LIBS
18 | uamqp
19 | VALGRIND_SUPPRESSIONS_FILE
20 | valgrind_suppressions.supp
21 | )
22 |
23 | compile_c_test_artifacts_as(${theseTestsName} C99)
24 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/iothub_e2e/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft. All rights reserved.
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | #include "testrunnerswitcher.h"
5 |
6 | int main(void)
7 | {
8 | size_t failedTestCount = 0;
9 | RUN_TEST_SUITE(iothub_e2e, failedTestCount);
10 | return (int)failedTestCount;
11 | }
12 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/local_client_server_tcp_e2e/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft. All rights reserved.
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | #include "testrunnerswitcher.h"
5 |
6 | int main(void)
7 | {
8 | size_t failedTestCount = 0;
9 | RUN_TEST_SUITE(local_client_server_tcp_e2e, failedTestCount);
10 | return (int)failedTestCount;
11 | }
12 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/message_ut/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | #Copyright (c) Microsoft. All rights reserved.
2 | #Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | set(theseTestsName message_ut)
5 | set(${theseTestsName}_test_files
6 | ${theseTestsName}.c
7 | )
8 |
9 | set(${theseTestsName}_c_files
10 | ../../src/message.c
11 | )
12 |
13 | set(${theseTestsName}_h_files
14 | )
15 |
16 | build_c_test_artifacts(${theseTestsName} ON "tests/uamqp_tests")
17 |
18 | compile_c_test_artifacts_as(${theseTestsName} C99)
19 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/message_ut/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft. All rights reserved.
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | #include "testrunnerswitcher.h"
5 |
6 | int main(void)
7 | {
8 | size_t failedTestCount = 0;
9 | RUN_TEST_SUITE(message_ut, failedTestCount);
10 | return (int)failedTestCount;
11 | }
12 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/sasl_anonymous_ut/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | #Copyright (c) Microsoft. All rights reserved.
2 | #Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | set(theseTestsName sasl_anonymous_ut)
5 |
6 | set(${theseTestsName}_test_files
7 | ${theseTestsName}.c
8 | )
9 |
10 | set(${theseTestsName}_c_files
11 | ../../src/sasl_anonymous.c
12 | )
13 |
14 | set(${theseTestsName}_h_files
15 | )
16 |
17 | build_c_test_artifacts(${theseTestsName} ON "tests/uamqp_tests")
18 |
19 | compile_c_test_artifacts_as(${theseTestsName} C99)
20 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/sasl_anonymous_ut/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft. All rights reserved.
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | #include "testrunnerswitcher.h"
5 |
6 | int main(void)
7 | {
8 | size_t failedTestCount = 0;
9 | RUN_TEST_SUITE(sasl_anonymous_ut, failedTestCount);
10 | return (int)failedTestCount;
11 | }
12 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/sasl_frame_codec_ut/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | #Copyright (c) Microsoft. All rights reserved.
2 | #Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | set(theseTestsName sasl_frame_codec_ut)
5 |
6 | set(${theseTestsName}_test_files
7 | ${theseTestsName}.c
8 | )
9 |
10 | set(${theseTestsName}_c_files
11 | ../../src/sasl_frame_codec.c
12 | )
13 |
14 | set(${theseTestsName}_h_files
15 | )
16 |
17 | build_c_test_artifacts(${theseTestsName} ON "tests/uamqp_tests")
18 |
19 | compile_c_test_artifacts_as(${theseTestsName} C99)
20 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/sasl_frame_codec_ut/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft. All rights reserved.
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | #include "testrunnerswitcher.h"
5 |
6 | int main(void)
7 | {
8 | size_t failedTestCount = 0;
9 | RUN_TEST_SUITE(sasl_frame_codec_ut, failedTestCount);
10 | return (int)failedTestCount;
11 | }
12 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/sasl_mechanism_ut/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | #Copyright (c) Microsoft. All rights reserved.
2 | #Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | set(theseTestsName sasl_mechanism_ut)
5 |
6 | set(${theseTestsName}_test_files
7 | ${theseTestsName}.c
8 | )
9 |
10 | set(${theseTestsName}_c_files
11 | ../../src/sasl_mechanism.c
12 | )
13 |
14 | set(${theseTestsName}_h_files
15 | )
16 |
17 | build_c_test_artifacts(${theseTestsName} ON "tests/uamqp_tests")
18 |
19 | compile_c_test_artifacts_as(${theseTestsName} C99)
20 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/sasl_mechanism_ut/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft. All rights reserved.
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | #include "testrunnerswitcher.h"
5 |
6 | int main(void)
7 | {
8 | size_t failedTestCount = 0;
9 | RUN_TEST_SUITE(sasl_mechanism_ut, failedTestCount);
10 | return (int)failedTestCount;
11 | }
12 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/sasl_plain_ut/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | #Copyright (c) Microsoft. All rights reserved.
2 | #Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | set(theseTestsName sasl_plain_ut)
5 |
6 | set(${theseTestsName}_test_files
7 | ${theseTestsName}.c
8 | )
9 |
10 | set(${theseTestsName}_c_files
11 | ../../src/sasl_plain.c
12 | )
13 |
14 | set(${theseTestsName}_h_files
15 | )
16 |
17 | build_c_test_artifacts(${theseTestsName} ON "tests/uamqp_tests")
18 |
19 | compile_c_test_artifacts_as(${theseTestsName} C99)
20 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/sasl_plain_ut/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft. All rights reserved.
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | #include "testrunnerswitcher.h"
5 |
6 | int main(void)
7 | {
8 | size_t failedTestCount = 0;
9 | RUN_TEST_SUITE(sasl_plain_ut, failedTestCount);
10 | return (int)failedTestCount;
11 | }
12 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/sasl_server_mechanism_ut/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | #Copyright (c) Microsoft. All rights reserved.
2 | #Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | set(theseTestsName sasl_server_mechanism_ut)
5 |
6 | set(${theseTestsName}_test_files
7 | ${theseTestsName}.c
8 | )
9 |
10 | set(${theseTestsName}_c_files
11 | ../../src/sasl_server_mechanism.c
12 | )
13 |
14 | set(${theseTestsName}_h_files
15 | )
16 |
17 | build_c_test_artifacts(${theseTestsName} ON "tests/uamqp_tests")
18 |
19 | compile_c_test_artifacts_as(${theseTestsName} C99)
20 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/sasl_server_mechanism_ut/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft. All rights reserved.
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | #include "testrunnerswitcher.h"
5 |
6 | int main(void)
7 | {
8 | size_t failedTestCount = 0;
9 | RUN_TEST_SUITE(sasl_server_mechanism_ut, failedTestCount);
10 | return (int)failedTestCount;
11 | }
12 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/saslclientio_ut/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | #Copyright (c) Microsoft. All rights reserved.
2 | #Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | set(theseTestsName saslclientio_ut)
5 |
6 | set(${theseTestsName}_test_files
7 | ${theseTestsName}.c
8 | )
9 |
10 | set(${theseTestsName}_c_files
11 | ../../src/saslclientio.c
12 | )
13 |
14 | set(${theseTestsName}_h_files
15 | )
16 |
17 | build_c_test_artifacts(${theseTestsName} ON "tests/uamqp_tests")
18 |
19 | compile_c_test_artifacts_as(${theseTestsName} C99)
20 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/saslclientio_ut/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft. All rights reserved.
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | #include "testrunnerswitcher.h"
5 |
6 | int main(void)
7 | {
8 | size_t failedTestCount = 0;
9 | RUN_TEST_SUITE(saslclientio_ut, failedTestCount);
10 | return (int)failedTestCount;
11 | }
12 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/session_ut/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | #Copyright (c) Microsoft. All rights reserved.
2 | #Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | set(theseTestsName session_ut)
5 | set(${theseTestsName}_test_files
6 | ${theseTestsName}.c
7 | )
8 |
9 | set(${theseTestsName}_c_files
10 | ../../src/session.c
11 | )
12 |
13 | set(${theseTestsName}_h_files
14 | )
15 |
16 | build_c_test_artifacts(${theseTestsName} ON "tests/uamqp_tests")
17 |
18 | compile_c_test_artifacts_as(${theseTestsName} C99)
19 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/tests/session_ut/main.c:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft. All rights reserved.
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3 |
4 | #include "testrunnerswitcher.h"
5 |
6 | int main(void)
7 | {
8 | size_t failedTestCount = 0;
9 | RUN_TEST_SUITE(session_ut, failedTestCount);
10 | return (int)failedTestCount;
11 | }
12 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/src/impl/uamqp/vendor/azure-uamqp-c/version.txt:
--------------------------------------------------------------------------------
1 | 1.2.12
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | # CMakeList.txt : Top-level CMake project file, do global configuration
5 | # and include sub-projects here.
6 | #
7 | cmake_minimum_required (VERSION 3.13)
8 |
9 | # Include sub-projects.
10 |
11 | # General AMQP Unit tests.
12 | add_subdirectory ("ut")
13 |
14 | if (USE_UAMQP)
15 | # Unit tests which require using the uamqp library.
16 | add_subdirectory ("ut_uamqp")
17 | endif()
18 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/test/ut/amqp_performative_tests.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #include "azure/core/amqp/internal/models/performatives/amqp_detach.hpp"
5 | #include "azure/core/amqp/internal/models/performatives/amqp_transfer.hpp"
6 |
7 | #include
8 |
9 | using namespace Azure::Core::Amqp::Models::_internal;
10 |
11 | class TestPerformatives : public testing::Test {
12 | protected:
13 | void SetUp() override {}
14 | void TearDown() override {}
15 | };
16 |
17 | TEST_F(TestPerformatives, SimpleCreate)
18 | {
19 | {
20 | Performatives::AmqpDetach detach;
21 | Performatives::AmqpTransfer transfer;
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/vcpkg.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "azure-core-amqp",
3 | "version-string": "1.0.0-beta.1",
4 | "supports": "!uwp",
5 | "dependencies": [
6 | "azure-core-cpp",
7 | {
8 | "name": "vcpkg-cmake",
9 | "host": true
10 | },
11 | {
12 | "name": "vcpkg-cmake-config",
13 | "host": true
14 | },
15 | {
16 | "name": "azure-identity-cpp"
17 | },
18 | {
19 | "name": "gtest"
20 | },
21 | {
22 | "name": "azure-c-shared-utility",
23 | "platform": "!uwp"
24 | },
25 | {
26 | "name": "azure-macro-utils-c",
27 | "platform": "!uwp"
28 | },
29 | {
30 | "name": "umock-c",
31 | "platform": "!uwp"
32 | }
33 | ]
34 | }
35 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-amqp/vcpkg/Config.cmake.in:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | @PACKAGE_INIT@
5 |
6 | include(CMakeFindDependencyMacro)
7 | find_dependency(azure-core-cpp)
8 |
9 | find_dependency(umock_c)
10 | find_dependency(azure_macro_utils_c)
11 | find_dependency(azure_c_shared_utility)
12 |
13 | include("${CMAKE_CURRENT_LIST_DIR}/azure-core-amqp-cppTargets.cmake")
14 |
15 | check_required_components("azure-core-amqp-cpp")
16 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-test/inc/azure/core/test/network_models.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | /**
5 | * @brief Defines the network models for recording HTTP requests from the network.
6 | *
7 | */
8 |
9 | #pragma once
10 |
11 | namespace Azure { namespace Core { namespace Test {
12 |
13 | /**
14 | * @brief The mode how the tests cases wil behave.
15 | *
16 | */
17 | enum class TestMode
18 | {
19 | PLAYBACK,
20 | RECORD,
21 | LIVE,
22 | };
23 |
24 | }}} // namespace Azure::Core::Test
25 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-test/src/test_base.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #include "azure/core/test/test_base.hpp"
5 |
6 | #include
7 |
8 | #include
9 | #include
10 |
11 | using namespace Azure::Core::Json::_internal;
12 |
13 | void Azure::Core::Test::TestBase::TearDown()
14 | {
15 | if (m_wasSkipped || m_testContext.IsLiveMode())
16 | {
17 | return;
18 | }
19 | if (m_testProxy)
20 | {
21 | if (m_testProxy->IsRecordMode())
22 | {
23 | m_testProxy->StopPlaybackRecord(TestMode::RECORD);
24 | }
25 | if (m_testProxy->IsPlaybackMode())
26 | {
27 | m_testProxy->StopPlaybackRecord(TestMode::PLAYBACK);
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-tracing-opentelemetry/cgmanifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/component-detection-manifest.json",
3 | "Registrations": [
4 | {
5 | "Component": {
6 | "Type": "git",
7 | "git": {
8 | "RepositoryUrl": "https://github.com/open-telemetry/opentelemetry-cpp",
9 | "CommitHash": "da2911cf4458c7068f967c17c65d07eeba449a08"
10 | }
11 | }
12 | },
13 | {
14 | "Component": {
15 | "Type": "git",
16 | "git": {
17 | "RepositoryUrl": "https://github.com/google/googletest",
18 | "CommitHash": "703bd9caab50b139428cea1aaff9974ebee5742e"
19 | }
20 | },
21 | "DevelopmentDependency": true
22 | }
23 | ]
24 | }
25 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-tracing-opentelemetry/inc/ApiViewSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFilesToProcess": null,
3 | "sourceFilesToSkip": [
4 | ],
5 | "additionalIncludeDirectories": [
6 | "../../azure-core/inc"
7 | ],
8 | "additionalCompilerSwitches": [
9 | "-D_azure_APIVIEW",
10 | "-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH"
11 | ],
12 | "allowInternal": true,
13 | "includeDetail": false,
14 | "includePrivate": false,
15 | "filterNamespace": "Azure::",
16 | "reviewName": "Azure Core Tracing Open-Telemetry API Review",
17 | "serviceName": null,
18 | "packageName": "azure-core-tracing-opentelemetry-cpp"
19 | }
20 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-tracing-opentelemetry/inc/azure/core/tracing/opentelemetry/internal/apiview.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #pragma once
5 |
6 | // This file is supposed to be included only when generating files for ApiView.
7 | // All the declarations here are only sufficient for the ApiView generation to not fail.
8 |
9 | namespace opentelemetry {
10 | namespace nostd {
11 | template struct shared_ptr
12 | {
13 | };
14 | } // namespace nostd
15 | namespace trace {
16 | struct TracerProvider;
17 | struct Provider
18 | {
19 | static nostd::shared_ptr GetTracerProvider();
20 | };
21 | } // namespace trace
22 | } // namespace opentelemetry
23 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-tracing-opentelemetry/vcpkg.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "azure-core-tracing-opentelemetry-cpp",
3 | "version-string": "1.0.0-beta.1",
4 | "supports": "!(windows & !static)",
5 | "dependencies": [
6 | "azure-core-cpp",
7 | "opentelemetry-cpp",
8 | {
9 | "name": "vcpkg-cmake",
10 | "host": true
11 | },
12 | {
13 | "name": "vcpkg-cmake-config",
14 | "host": true
15 | }
16 | ]
17 | }
18 |
--------------------------------------------------------------------------------
/sdk/core/azure-core-tracing-opentelemetry/vcpkg/Config.cmake.in:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | @PACKAGE_INIT@
5 |
6 | include(CMakeFindDependencyMacro)
7 | find_dependency(azure-core-cpp)
8 | find_dependency(Threads)
9 |
10 | find_dependency(opentelemetry-cpp)
11 |
12 | include("${CMAKE_CURRENT_LIST_DIR}/azure-core-tracing-opentelemetry-cppTargets.cmake")
13 |
14 | check_required_components("azure-core-tracing-opentelemetry-cpp")
15 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/inc/ApiViewSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFilesToProcess": null,
3 | "sourceFilesToSkip": [
4 | "azure/core/internal/json/json.hpp",
5 | "azure/core/internal/json/json_optional.hpp"
6 | ],
7 | "additionalIncludeDirectories": [
8 | ],
9 | "additionalCompilerSwitches": [
10 | "-DBUILD_CURL_HTTP_TRANSPORT_ADAPTER",
11 | "-DBUILD_TRANSPORT_WINHTTP_ADAPTER",
12 | "-DCURL_STATICLIB",
13 | "-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH"
14 | ],
15 | "allowInternal": true,
16 | "includeDetail": false,
17 | "includePrivate": false,
18 | "filterNamespace": "Azure::",
19 | "reviewName": "Azure Core API Review",
20 | "serviceName": null,
21 | "packageName": "azure-core-cpp"
22 | }
23 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/inc/azure/core/credentials/token_credential_options.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | /**
5 | * @file
6 | * @brief Client options for #Azure::Core::Credentials::TokenCredential.
7 | */
8 |
9 | #pragma once
10 |
11 | #include "azure/core/internal/client_options.hpp"
12 |
13 | namespace Azure { namespace Core { namespace Credentials {
14 | /**
15 | * @brief Client options for #Azure::Core::Credentials::TokenCredential.
16 | *
17 | */
18 | struct TokenCredentialOptions : public Azure::Core::_internal::ClientOptions
19 | {
20 | };
21 | }}} // namespace Azure::Core::Credentials
22 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/inc/azure/core/internal/contract.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #pragma once
5 |
6 | #if defined(NO_CONTRACTS_CHECKING)
7 | #define AZ_CONTRACT(condition, error)
8 | #define AZ_CONTRACT_ARG_NOT_NULL(arg)
9 | #else
10 | #define AZ_CONTRACT(condition, error) \
11 | do \
12 | { \
13 | if (!(condition)) \
14 | { \
15 | return error; \
16 | } \
17 | } while (0)
18 |
19 | #define AZ_CONTRACT_ARG_NOT_NULL(arg) AZ_CONTRACT((arg) != NULL, 1)
20 |
21 | #endif
22 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/inc/azure/core/internal/environment.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #pragma once
5 |
6 | #include
7 |
8 | namespace Azure { namespace Core { namespace _internal {
9 | class Environment final {
10 | private:
11 | Environment() = delete;
12 | ~Environment() = delete;
13 |
14 | public:
15 | static std::string GetVariable(const char* name);
16 | static void SetVariable(const char* name, const char* value);
17 | };
18 | }}} // namespace Azure::Core::_internal
19 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/src/azure_assert.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #include "azure/core/azure_assert.hpp"
5 |
6 | // Calling this function would terminate program, therefore this function can't be covered in tests.
7 | [[noreturn]] void Azure::Core::_internal::AzureNoReturnPath(std::string const& msg)
8 | {
9 | // void msg for Release build where Assert is ignored
10 | (void)msg;
11 | AZURE_ASSERT_MSG(false, msg);
12 | std::abort();
13 | }
14 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/src/etag.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #include "azure/core/etag.hpp"
5 |
6 | using Azure::ETag;
7 |
8 | const ETag& ETag::Any()
9 | {
10 | static ETag any = ETag("*");
11 | return any;
12 | }
13 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/src/operation_status.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #include "azure/core/operation_status.hpp"
5 |
6 | namespace Azure { namespace Core {
7 |
8 | const OperationStatus OperationStatus::NotStarted("NotStarted");
9 | const OperationStatus OperationStatus::Running{"Running"};
10 | const OperationStatus OperationStatus::Succeeded{"Succeeded"};
11 | const OperationStatus OperationStatus::Failed{"Failed"};
12 | const OperationStatus OperationStatus::Cancelled{"Cancelled"};
13 |
14 | }} // namespace Azure::Core
15 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/test/fault-injector/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | set(azure-core-test-fault-injector)
7 |
8 | project (azure-core-test-fault-injector LANGUAGES CXX)
9 | set(CMAKE_CXX_STANDARD 14)
10 | set(CMAKE_CXX_STANDARD_REQUIRED True)
11 |
12 | add_executable (
13 | azure-core-test-fault-injector
14 | fault_injector_test.cpp
15 | )
16 |
17 | target_link_libraries(azure-core-test-fault-injector PRIVATE azure-core)
18 |
19 | target_compile_definitions(azure-core-test-fault-injector PRIVATE _azure_BUILDING_TESTS)
20 |
21 | create_map_file(azure-core-test-fault-injector azure-core-test-fault-injector.map)
22 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/test/libcurl-stress-test/.helmignore:
--------------------------------------------------------------------------------
1 | Dockerfile
2 | *.go
3 | *.bat
4 | *.txt
5 | *.ps1
6 | *.cpp
7 | *.md
8 | azure-core-libcurl-stress-test
9 | [Bb]in/
10 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/test/libcurl-stress-test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required(VERSION 3.13)
5 |
6 | project(azure-core-libcurl-stress-test LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED True)
9 |
10 | add_executable(
11 | azure-core-libcurl-stress-test
12 | libcurl_stress_test.cpp
13 | )
14 |
15 | target_link_libraries(azure-core-libcurl-stress-test PRIVATE azure-core)
16 |
17 | target_compile_definitions(azure-core-libcurl-stress-test PRIVATE _azure_BUILDING_TESTS)
18 |
19 | create_map_file(azure-core-libcurl-stress-test azure-core-libcurl-stress-test.map)
20 | file(COPY ${CMAKE_CURRENT_BINARY_DIR}
21 | DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/bin)
22 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/test/libcurl-stress-test/Chart.yaml:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | apiVersion: v2
5 | name: libcurl-stress-test
6 | description: An example of c++ stress test
7 | version: 0.0.2
8 | appVersion: v0.1
9 | annotations:
10 | stressTest: 'true' # enable auto-discovery of this test via `find-all-stress-packages.ps1`
11 | namespace: 'azuresdkforcpp'
12 |
13 | dependencies:
14 | - name: stress-test-addons
15 | version: ~0.2.0
16 | repository: https://stresstestcharts.blob.core.windows.net/helm/
17 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/test/libcurl-stress-test/deploy.ps1:
--------------------------------------------------------------------------------
1 | Set-Location $PSScriptRoot
2 | pwsh "../../../../../eng/common/scripts/stress-testing/deploy-stress-tests.ps1"
3 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/test/libcurl-stress-test/generatedValues.yaml:
--------------------------------------------------------------------------------
1 | scenarios:
2 | - image: Dockerfile
3 | Scenario: cpp-constantDetach
4 | imageBuildDir: ./
5 | memory: 1.5Gi
6 | testTarget: azure-core-libcurl-stress-test
7 | imageTag: stresspgs7b6dif73rup6.azurecr.io/gearama/libcurl-stress-test/dockerfile:gearama
8 |
9 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/test/libcurl-stress-test/scenarios-matrix.yaml:
--------------------------------------------------------------------------------
1 | displayNames:
2 | # this makes it so these don't show up in the scenario names,
3 | # since they're just clutter.
4 | 1.5Gi": ""
5 | 4Gi": ""
6 | image: ""
7 | matrix:
8 | images:
9 | cpp:
10 | image: Dockerfile
11 | imageBuildDir: "../../../../../"
12 | scenarios:
13 | constantDetach:
14 | testTarget: azure-core-libcurl-stress-test
15 | memory: "1.5Gi"
16 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/test/nlohmann-json-test/src/unit-windows_h.cpp:
--------------------------------------------------------------------------------
1 | // __ _____ _____ _____
2 | // __| | __| | | | JSON for Modern C++ (supporting code)
3 | // | | |__ | | | | | | version 3.11.3
4 | // |_____|_____|_____|_|___| https://github.com/nlohmann/json
5 | //
6 | // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann
7 | // SPDX-License-Identifier: MIT
8 |
9 | #include "doctest_compatibility.h"
10 | #undef WIN32_LEAN_AND_MEAN
11 | #undef NOMINMAX
12 |
13 | #ifdef _WIN32
14 | #include
15 | #endif
16 |
17 | #include
18 | using Azure::Core::Json::_internal::json;
19 |
20 | TEST_CASE("include windows.h") { CHECK(true); }
21 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/test/nlohmann-json-test/src/unit.cpp:
--------------------------------------------------------------------------------
1 | // __ _____ _____ _____
2 | // __| | __| | | | JSON for Modern C++ (supporting code)
3 | // | | |__ | | | | | | version 3.11.3
4 | // |_____|_____|_____|_|___| https://github.com/nlohmann/json
5 | //
6 | // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann
7 | // SPDX-License-Identifier: MIT
8 |
9 | #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
10 | #include "doctest_compatibility.h"
11 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/test/ut/Start-WebSocketServer.ps1:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 | param(
4 | [string] $LogFileLocation = "$($env:BUILD_SOURCESDIRECTORY)/WebSocketServer.log"
5 | )
6 |
7 | if ($IsWindows) {
8 | Start-Process 'python.exe' `
9 | -ArgumentList 'websocket_server.py' `
10 | -NoNewWindow -PassThru -RedirectStandardOutput $LogFileLocation
11 | } else {
12 | Start-Process nohup 'python3 websocket_server.py' -RedirectStandardOutput $LogFileLocation
13 | }
14 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/test/ut/assert_test.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #include
5 |
6 | #include
7 | #include
8 | #include
9 |
10 | #include
11 |
12 | TEST(TestAssert, AssertTest) { EXPECT_DEATH(AZURE_ASSERT(false), ".*"); }
13 |
14 | TEST(TestAssert, NoReturnPathTest)
15 | {
16 | EXPECT_DEATH(Azure::Core::_internal::AzureNoReturnPath("Test"), ".*");
17 | }
--------------------------------------------------------------------------------
/sdk/core/azure-core/test/ut/http_test.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | /**
5 | * @file
6 | * @brief The base class for the HTTP test cases.
7 | *
8 | */
9 |
10 | #include
11 |
12 | #include
13 |
14 | namespace Azure { namespace Core { namespace Test {
15 |
16 | class TestHttp : public ::testing::Test {
17 | };
18 |
19 | }}} // namespace Azure::Core::Test
20 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/test/ut/macro_guard_test.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | // Define `min` and `max` as function-like macros before including all public
5 | // headers to ensure that uses of those identifiers are defended against
6 | // expansion as function-like macros. Define `small` as an object-like macro to
7 | // ensure that identifier isn't used at all. Windows.h is badly behaved and
8 | // defines similar macros with these names and we want to ensure the SDK headers
9 | // function even when a naive user includes Windows.h first.
10 | //
11 | #define small FAIL>
16 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/test/ut/match_conditions_test.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #include
5 | #include
6 |
7 | #include
8 |
9 | #include
10 |
11 | using namespace Azure;
12 |
13 | TEST(MatchConditions, Basic)
14 | {
15 | MatchConditions match;
16 | match.IfMatch = ETag("IfMatch");
17 | match.IfNoneMatch = ETag("IfNoneMatch");
18 |
19 | EXPECT_EQ(match.IfMatch.ToString(), "IfMatch");
20 | EXPECT_EQ(match.IfNoneMatch.ToString(), "IfNoneMatch");
21 | }
22 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/test/ut/proxy_tests/builddocker.ps1:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | pushd .\localproxy
5 | docker build -t squid-local .
6 | popd
7 |
8 | pushd .\localproxy.passwd
9 | docker build -t squid-local.passwd .
10 | popd
11 |
12 | pushd .\remoteproxy
13 | docker build -t squid-remote .
14 | popd
15 |
16 | pushd .\remoteproxy.passwd
17 | docker build -t squid-remote.passwd .
18 | popd
19 |
20 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/test/ut/proxy_tests/localproxy.passwd/proxypasswd:
--------------------------------------------------------------------------------
1 | user:$apr1$z0tE.mEW$6OXoAgyTD5vBkM5ON3R9h/
2 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/test/ut/proxy_tests/remoteproxy.passwd/proxypasswd:
--------------------------------------------------------------------------------
1 | user:$apr1$z0tE.mEW$6OXoAgyTD5vBkM5ON3R9h/
2 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/test/ut/proxy_tests/runproxy.ps1:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | docker run --rm -d -p 3128:3128 squid-local
5 | docker run --rm -d -p 3129:3129 squid-local.passwd
6 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/test/ut/requirements.txt:
--------------------------------------------------------------------------------
1 | websockets
2 |
--------------------------------------------------------------------------------
/sdk/core/azure-core/vcpkg/Config.cmake.in:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | @PACKAGE_INIT@
5 |
6 | include(CMakeFindDependencyMacro)
7 | find_dependency(Threads)
8 |
9 | if(@BUILD_TRANSPORT_CURL@)
10 | find_dependency(CURL)
11 | endif()
12 |
13 | if(@BUILD_TRANSPORT_WINHTTP@)
14 | find_dependency(wil)
15 | endif()
16 |
17 | if (NOT WIN32)
18 | find_dependency(OpenSSL)
19 | endif()
20 |
21 | include("${CMAKE_CURRENT_LIST_DIR}/azure-core-cppTargets.cmake")
22 |
23 | check_required_components("azure-core-cpp")
24 |
--------------------------------------------------------------------------------
/sdk/core/perf/cgmanifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/component-detection-manifest.json",
3 | "Registrations": [
4 | {
5 | "Component": {
6 | "Type": "git",
7 | "git": {
8 | "RepositoryUrl": "https://github.com/vietjtnguyen/argagg",
9 | "CommitHash": "b259b76c51751e5b4dbd070968e60dce108bbc88"
10 | }
11 | },
12 | "DevelopmentDependency": true
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/sdk/core/perf/inc/azure/perf.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | /**
5 | * @file
6 | * @brief Convenience top level header to include all the performance framework functionality.
7 | *
8 | */
9 |
10 | #pragma once
11 |
12 | #include "azure/perf/argagg.hpp"
13 | #include "azure/perf/base_test.hpp"
14 | #include "azure/perf/dynamic_test_options.hpp"
15 | #include "azure/perf/options.hpp"
16 | #include "azure/perf/program.hpp"
17 | #include "azure/perf/test.hpp"
18 | #include "azure/perf/test_metadata.hpp"
19 | #include "azure/perf/test_options.hpp"
20 |
--------------------------------------------------------------------------------
/sdk/eventhubs/assets.json:
--------------------------------------------------------------------------------
1 | {
2 | "AssetsRepo": "Azure/azure-sdk-assets",
3 | "AssetsRepoPrefixPath": "cpp",
4 | "TagPrefix": "cpp/eventhubs",
5 | "Tag": "cpp/eventhubs_54bfb9d8e7"
6 | }
7 |
--------------------------------------------------------------------------------
/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Release History
2 |
3 | ## 1.0.0-beta.2 (Unreleased)
4 |
5 | ### Features Added
6 |
7 | ### Breaking Changes
8 |
9 | ### Bugs Fixed
10 |
11 | ### Other Changes
12 |
13 | ## 1.0.0-beta.1 (2023-10-10)
14 |
15 | ### Features Added
16 |
17 | - Initial release. Split from the `azure-messaging-eventubs-cpp` package.
18 |
19 |
--------------------------------------------------------------------------------
/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/inc/ApiViewSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFilesToProcess": null,
3 | "sourceFilesToSkip": [
4 | ],
5 | "additionalIncludeDirectories": [
6 | "../../../core/azure-core/inc",
7 | "../../azure-messaging-eventhubs/inc",
8 | "../../../storage/azure-storage-common/inc",
9 | "../../../storage/azure-storage-blobs/inc"
10 | ],
11 | "additionalCompilerSwitches": [
12 | ],
13 | "allowInternal": false,
14 | "includeDetail": false,
15 | "includePrivate": false,
16 | "filterNamespace": "Azure::Messaging",
17 | "reviewName": "Azure Messaging EventHubs Blob Checkpoint Store API Review",
18 | "serviceName": null,
19 | "packageName": "azure-messaging-eventhubs-checkpointstore-blob-cpp"
20 | }
21 |
--------------------------------------------------------------------------------
/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | # CMakeList.txt : Top-level CMake project file, do global configuration
5 | # and include sub-projects here.
6 | #
7 | cmake_minimum_required (VERSION 3.13)
8 |
9 | # Include sub-projects.
10 |
11 | # General AMQP Unit tests.
12 | add_subdirectory ("ut")
13 |
--------------------------------------------------------------------------------
/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/vcpkg.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "azure-messaging-eventhubs-checkpointstore-cpp",
3 | "version-string": "1.0.0",
4 | "dependencies": [
5 | "azure-core-cpp",
6 | "azure-core-amqp-cpp",
7 | "azure-messaging-eventhubs-cpp",
8 | "azure-storage-blobs-cpp"
9 | ]
10 | }
11 |
--------------------------------------------------------------------------------
/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/vcpkg/Config.cmake.in:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | @PACKAGE_INIT@
5 |
6 | include(CMakeFindDependencyMacro)
7 | find_dependency(azure-core-amqp-cpp)
8 | find_dependency(azure-messaging-eventhubs-cpp)
9 | find_dependency(azure-storage-blobs-cpp)
10 |
11 | include("${CMAKE_CURRENT_LIST_DIR}/azure-messaging-eventhubs-checkpointstore-blob-cppTargets.cmake")
12 |
13 | check_required_components("azure-messaging-eventhubs-checkpointstore-blob-cpp")
14 |
--------------------------------------------------------------------------------
/sdk/eventhubs/azure-messaging-eventhubs/inc/ApiViewSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFilesToProcess": null,
3 | "sourceFilesToSkip": [
4 | ],
5 | "additionalIncludeDirectories": [
6 | "../../../core/azure-core/inc",
7 | "../../../core/azure-core-amqp/inc"
8 | ],
9 | "additionalCompilerSwitches": [
10 | "-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH"
11 | ],
12 | "allowInternal": false,
13 | "includeDetail": false,
14 | "includePrivate": false,
15 | "filterNamespace": "Azure::Messaging",
16 | "reviewName": "Azure Messaging EventHubs API Review",
17 | "serviceName": null,
18 | "packageName": "azure-messaging-eventhubs-cpp"
19 | }
20 |
--------------------------------------------------------------------------------
/sdk/eventhubs/azure-messaging-eventhubs/samples/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | if(MSVC)
7 | add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
8 | endif()
9 |
10 | add_subdirectory(basic-operations)
11 | add_subdirectory(produce-events)
12 | add_subdirectory(consume-events)
13 |
--------------------------------------------------------------------------------
/sdk/eventhubs/azure-messaging-eventhubs/test-resources-post.ps1:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation. All rights reserved.
2 | # Licensed under the MIT License.
3 |
4 | # The purpose of this script is to add a small delay between the creation of the live test resources
5 | # and the execution of the live tests. This allows RBAC to replicate and avoids flakiness in the first set
6 | # of live tests that might otherwise start running before RBAC has replicated.
7 |
8 | param (
9 | [hashtable] $DeploymentOutputs,
10 | [string] $TenantId,
11 | [string] $TestApplicationId
12 | )
13 |
14 | Write-Verbose "Sleeping for 60 seconds to let RBAC replicate"
15 | Start-Sleep -s 60
16 |
--------------------------------------------------------------------------------
/sdk/eventhubs/azure-messaging-eventhubs/test/eventhubs-stress-test/.dockerignore:
--------------------------------------------------------------------------------
1 | out/*
2 |
3 |
--------------------------------------------------------------------------------
/sdk/eventhubs/azure-messaging-eventhubs/test/eventhubs-stress-test/.helmignore:
--------------------------------------------------------------------------------
1 | Dockerfile
2 | .dockerignore
3 | *.go
4 | *.bat
5 | *.txt
6 | *.ps1
7 | *.cpp
8 | *.md
9 | azure-messaging-eventhubs-stress-test
10 | [Bb]in/
11 |
--------------------------------------------------------------------------------
/sdk/eventhubs/azure-messaging-eventhubs/test/eventhubs-stress-test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | # CMakeList.txt : Top-level CMake project file, do global configuration
5 | # and include sub-projects here.
6 | #
7 | cmake_minimum_required (VERSION 3.13)
8 |
9 | # Include sub-projects.
10 | if (BUILD_TESTING)
11 | # stress tests are categorized as normal tests.
12 | add_subdirectory ("src")
13 | endif()
14 |
--------------------------------------------------------------------------------
/sdk/eventhubs/azure-messaging-eventhubs/test/eventhubs-stress-test/Chart.yaml:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | apiVersion: v2
5 | name: eventhubs-stress-test
6 | description: C++ Stress Test for Azure Event Hubs.
7 | version: 0.0.2
8 | appVersion: v0.1
9 | annotations:
10 | stressTest: 'true' # enable auto-discovery of this test via `find-all-stress-packages.ps1`
11 | namespace: 'azuresdkforcpp'
12 |
13 | dependencies:
14 | - name: stress-test-addons
15 | version: ~0.2.0
16 | repository: https://stresstestcharts.blob.core.windows.net/helm/
17 |
--------------------------------------------------------------------------------
/sdk/eventhubs/azure-messaging-eventhubs/test/eventhubs-stress-test/deploy.ps1:
--------------------------------------------------------------------------------
1 | Set-Location $PSScriptRoot
2 | pwsh "../../../../../eng/common/scripts/stress-testing/deploy-stress-tests.ps1"
3 |
--------------------------------------------------------------------------------
/sdk/eventhubs/azure-messaging-eventhubs/test/eventhubs-stress-test/scenarios-matrix.yaml:
--------------------------------------------------------------------------------
1 | displayNames:
2 | # this makes it so these don't show up in the scenario names,
3 | # since they're just clutter.
4 | 1.5Gi": ""
5 | 4Gi": ""
6 | image: ""
7 | matrix:
8 | images:
9 | cpp:
10 | image: Dockerfile
11 | imageBuildDir: "../../../../../"
12 | scenarios:
13 | produceConsumeEvents:
14 | testTarget: azure-messaging-eventhubs-stress-test
15 | memory: "1.5Gi"
16 |
17 |
--------------------------------------------------------------------------------
/sdk/eventhubs/azure-messaging-eventhubs/test/perf/src/azure_eventhubs_perf_test.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #include "azure/messaging/eventhubs/test/eventhubs_batch_perf_test.hpp"
5 |
6 | #include
7 |
8 | int main(int argc, char** argv)
9 | {
10 |
11 | // Create the test list
12 | std::vector tests{
13 | Azure::Messaging::EventHubs::PerfTest::Batch::BatchTest::GetTestMetadata()};
14 |
15 | Azure::Perf::Program::Run(Azure::Core::Context{}, tests, argc, argv);
16 |
17 | return 0;
18 | }
19 |
--------------------------------------------------------------------------------
/sdk/eventhubs/azure-messaging-eventhubs/vcpkg.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "azure-messaging-eventhubs",
3 | "version-string": "1.0.0",
4 | "dependencies": [
5 | "azure-core-cpp",
6 | "azure-core-amqp-cpp",
7 | {
8 | "name": "opentelemetry-cpp",
9 | "features": [ "otlp-http" ]
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/sdk/eventhubs/azure-messaging-eventhubs/vcpkg/Config.cmake.in:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | @PACKAGE_INIT@
5 |
6 | include(CMakeFindDependencyMacro)
7 | find_dependency(azure-core-amqp-cpp)
8 |
9 | include("${CMAKE_CURRENT_LIST_DIR}/azure-messaging-eventhubs-cppTargets.cmake")
10 |
11 | check_required_components("azure-messaging-eventhubs-cpp")
12 |
--------------------------------------------------------------------------------
/sdk/identity/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (azure-identity LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED ON)
9 | set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
10 |
11 | add_subdirectory(azure-identity)
12 |
--------------------------------------------------------------------------------
/sdk/identity/assets.json:
--------------------------------------------------------------------------------
1 | {
2 | "AssetsRepo": "Azure/azure-sdk-assets",
3 | "AssetsRepoPrefixPath": "cpp",
4 | "TagPrefix": "cpp/identity",
5 | "Tag": "cpp/identity_d490230e88"
6 | }
7 |
--------------------------------------------------------------------------------
/sdk/identity/azure-identity/cgmanifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/component-detection-manifest.json",
3 | "Registrations": []
4 | }
5 |
--------------------------------------------------------------------------------
/sdk/identity/azure-identity/inc/ApiViewSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFilesToProcess": null,
3 | "additionalIncludeDirectories": [
4 | "../../../core/azure-core/inc"
5 | ],
6 | "additionalCompilerSwitches": [
7 | "-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH"
8 | ],
9 | "allowInternal": false,
10 | "includeDetail": false,
11 | "includePrivate": false,
12 | "filterNamespace": "Azure::Identity",
13 | "reviewName": "Azure Identity",
14 | "serviceName": "Azure Identity",
15 | "packageName": "azure-identity-cpp"
16 | }
17 |
--------------------------------------------------------------------------------
/sdk/identity/azure-identity/perf-tests.yml:
--------------------------------------------------------------------------------
1 | Service: identity
2 |
3 | Project: azure-identity-perf
4 |
5 | PrimaryPackage: azure-identity-cpp
6 |
7 | PackageVersions:
8 | - azure-identity-cpp: 1.6.0
9 | - azure-identity-cpp: source
10 |
11 | Tests:
12 | - Test: EnvironmentCredential
13 | Class: EnvironmentCredential
14 | Arguments:
15 | - --cache 0 --test-proxies http://127.0.0.1:5000
16 | - --cache 1 --test-proxies http://127.0.0.1:5000
17 |
18 | - Test: SecretCredential
19 | Class: SecretCredential
20 | Arguments:
21 | - --cache 0 --test-proxies http://127.0.0.1:5000
22 | - --cache 1 --test-proxies http://127.0.0.1:5000
23 |
--------------------------------------------------------------------------------
/sdk/identity/azure-identity/test/e2e/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (azure-identity-e2e-test LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED True)
9 |
10 | add_executable (
11 | azure-identity-e2e-test
12 | azure_identity_e2e_test.cpp
13 | )
14 | create_per_service_target_build(identity azure-identity-e2e-test)
15 |
16 | target_compile_definitions(azure-identity-e2e-test PRIVATE _azure_BUILDING_TESTS)
17 |
18 | create_map_file(azure-identity-e2e-test azure-identity-e2e-test.map)
19 | target_link_libraries(azure-identity-e2e-test PRIVATE azure-identity)
20 |
--------------------------------------------------------------------------------
/sdk/identity/azure-identity/test/ut/macro_guard_test.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | // Define `min` and `max` as function-like macros before including all public
5 | // headers to ensure that uses of those identifiers are defended against
6 | // expansion as function-like macros. Define `small` as an object-like macro to
7 | // ensure that identifier isn't used at all. Windows.h is badly behaved and
8 | // defines similar macros with these names and we want to ensure the SDK headers
9 | // function even when a naive user includes Windows.h first.
10 | //
11 | #define small FAIL>
16 |
--------------------------------------------------------------------------------
/sdk/identity/azure-identity/vcpkg.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "azure-identity-cpp",
3 | "version-string": "1.0.0",
4 | "dependencies": [
5 | "azure-core-cpp",
6 | {
7 | "name": "openssl",
8 | "platform": "!windows & !uwp"
9 | },
10 | {
11 | "name": "wil",
12 | "platform": "windows & !uwp"
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/sdk/identity/azure-identity/vcpkg/Config.cmake.in:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | @PACKAGE_INIT@
5 |
6 | include(CMakeFindDependencyMacro)
7 | find_dependency(azure-core-cpp)
8 |
9 | if(WIN32 AND NOT (CMAKE_SYSTEM_NAME STREQUAL "WindowsStore" AND CMAKE_SYSTEM_VERSION STREQUAL "10.0"))
10 | find_dependency(wil)
11 | else()
12 | find_dependency(OpenSSL)
13 | endif()
14 |
15 | include("${CMAKE_CURRENT_LIST_DIR}/azure-identity-cppTargets.cmake")
16 |
17 | check_required_components("azure-identity-cpp")
18 |
--------------------------------------------------------------------------------
/sdk/keyvault/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (azure-security-keyvault LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED ON)
9 |
10 | if(BUILD_TESTING)
11 | # define a symbol that enables some test hooks in code
12 | add_compile_definitions(_azure_TESTING_BUILD)
13 | endif()
14 |
15 | add_subdirectory(azure-security-keyvault-keys)
16 | add_subdirectory(azure-security-keyvault-secrets)
17 | add_subdirectory(azure-security-keyvault-certificates)
18 | add_subdirectory(azure-security-keyvault-administration)
19 |
--------------------------------------------------------------------------------
/sdk/keyvault/README.md:
--------------------------------------------------------------------------------
1 | # Azure Key Vault Client Librares for C++
2 |
3 | The Azure Key Vault Client Libraries for C++ allows you to build applications against Microsoft Azure Key Vault services like Keys, Certificates and Secrets. For an overview of Azure Key Vault, see [Introduction to Microsoft Azure Key Vault](https://learn.microsoft.com/azure/key-vault).
4 |
5 | ## Latest release
6 |
7 | Find the latest Key Vault client for C++ releases [here](https://azure.github.io/azure-sdk/releases/latest/cpp.html).
8 |
--------------------------------------------------------------------------------
/sdk/keyvault/assets.json:
--------------------------------------------------------------------------------
1 | {
2 | "AssetsRepo": "Azure/azure-sdk-assets",
3 | "AssetsRepoPrefixPath": "cpp",
4 | "TagPrefix": "cpp/keyvault",
5 | "Tag": "cpp/keyvault_b73050ec79"
6 | }
7 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-administration/TROUBLESHOOTING.md:
--------------------------------------------------------------------------------
1 | # Troubleshooting Azure Key Vault Administration SDK Issues
2 |
3 | See our [Azure Key Vault SDK Troubleshooting Guide](https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/keyvault/TROUBLESHOOTING.md)
4 | to troubleshoot issues common to the Azure Key Vault SDKs for C++.
5 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-administration/inc/ApiViewSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFilesToProcess": null,
3 | "additionalIncludeDirectories": [
4 | "../../../core/azure-core/inc",
5 | "../../azure-security-keyvault-shared/inc"
6 | ],
7 | "sourceFilesToSkip": [
8 | ],
9 | "additionalCompilerSwitches": [
10 | "-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH"
11 | ],
12 | "allowInternal": false,
13 | "includeDetail": false,
14 | "includePrivate": false,
15 | "filterNamespace": "Azure::Security::KeyVault::Administration",
16 | "reviewName": "KeyVault Administration Settings Review",
17 | "serviceName": "Azure Security Keyvault Administration",
18 | "packageName": "azure-security-keyvault-administration-cpp"
19 | }
20 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-administration/inc/azure/keyvault/administration.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | /**
5 | * @brief Includes all public headers from Azure Security KeyVault Administration SDK library.
6 | *
7 | */
8 |
9 | #pragma once
10 |
11 | #include "azure/keyvault/administration/backup_client.hpp"
12 | #include "azure/keyvault/administration/backup_operation.hpp"
13 | #include "azure/keyvault/administration/dll_import_export.hpp"
14 | #include "azure/keyvault/administration/rest_client_models.hpp"
15 | #include "azure/keyvault/administration/rtti.hpp"
16 | #include "azure/keyvault/administration/settings_client.hpp"
17 | #include "azure/keyvault/administration/settings_client_options.hpp"
18 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-administration/samples/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | add_subdirectory(sample1-basic-operations)
7 | add_subdirectory(sample2-full-backup-restore)
8 | add_subdirectory(sample3-backup-selective-restore)
9 |
10 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-administration/samples/README.md:
--------------------------------------------------------------------------------
1 | ---
2 | page_type: sample
3 | languages:
4 | - c++ 14
5 | products:
6 | - azure
7 | - azure-key-vault
8 | name: Azure Security KeyVault Administration samples for C++
9 | description: Samples for the azure-security-keyVault-administration client library.
10 | ---
11 |
12 | # Azure.Security.KeyVault.Secrets Samples
13 |
14 | - Get Settings, Get Setting , Update setting value
15 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-administration/samples/sample1-basic-operations/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (sample1-administration LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED True)
9 |
10 | add_executable (
11 | sample1-administration
12 | sample1_administration.cpp
13 | )
14 |
15 | target_compile_definitions(sample1-administration PRIVATE _azure_BUILDING_SAMPLES)
16 |
17 | create_per_service_target_build_for_sample(keyvault sample1-administration DISABLE_RUN)
18 |
19 | target_link_libraries(sample1-administration PRIVATE azure-security-keyvault-administration azure-identity get-env-helper)
20 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-administration/samples/sample2-full-backup-restore/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (sample2-full-backup-restore LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED True)
9 |
10 | add_executable (
11 | sample2-full-backup-restore
12 | sample2_full_backup_restore.cpp
13 | )
14 | create_per_service_target_build_for_sample(keyvault sample2-full-backup-restore DISABLE_RUN)
15 |
16 | target_link_libraries(sample2-full-backup-restore PRIVATE azure-security-keyvault-administration azure-identity get-env-helper)
17 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-administration/samples/sample3-backup-selective-restore/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (sample3-backup-selective-restore LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED True)
9 |
10 | add_executable (
11 | sample3-backup-selective-restore
12 | sample3_backup_selective_restore.cpp
13 | )
14 | create_per_service_target_build_for_sample(keyvault sample3-backup-selective-restore DISABLE_RUN)
15 |
16 | target_link_libraries(sample3-backup-selective-restore PRIVATE azure-security-keyvault-administration azure-identity get-env-helper)
17 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-administration/vcpkg.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "azure-security-keyvault-administration",
3 | "version-string": "1.0.0",
4 | "dependencies": [
5 | "azure-core-cpp"
6 | ]
7 | }
8 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-administration/vcpkg/Config.cmake.in:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | @PACKAGE_INIT@
5 |
6 | include(CMakeFindDependencyMacro)
7 | find_dependency(azure-core-cpp)
8 |
9 | include("${CMAKE_CURRENT_LIST_DIR}/azure-security-keyvault-administration-cppTargets.cmake")
10 |
11 | check_required_components("azure-security-keyvault-administration-cpp")
12 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-certificates/inc/ApiViewSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFilesToProcess": null,
3 | "additionalIncludeDirectories": [
4 | "../../../core/azure-core/inc",
5 | "../../azure-security-keyvault-shared/inc"
6 | ],
7 | "sourceFilesToSkip": [
8 | ],
9 | "additionalCompilerSwitches": [
10 | "-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH"
11 | ],
12 | "allowInternal": false,
13 | "includeDetail": false,
14 | "includePrivate": false,
15 | "filterNamespace": "Azure::Security::KeyVault::Certificates",
16 | "reviewName": "KeyVault Certificates Review",
17 | "serviceName": "Azure Security Keyvault Certificates",
18 | "packageName": "azure-security-keyvault-certificates-cpp"
19 | }
20 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-certificates/inc/azure/keyvault/certificates.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | /**
5 | * @brief Includes all public headers from Azure Key Vault Certificates SDK library.
6 | *
7 | */
8 |
9 | #pragma once
10 |
11 | #include "azure/keyvault/certificates/certificate_client.hpp"
12 | #include "azure/keyvault/certificates/certificate_client_models.hpp"
13 | #include "azure/keyvault/certificates/certificate_client_operations.hpp"
14 | #include "azure/keyvault/certificates/certificate_client_options.hpp"
15 | #include "azure/keyvault/certificates/dll_import_export.hpp"
16 | #include "azure/keyvault/certificates/rtti.hpp"
17 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-certificates/perf-tests.yml:
--------------------------------------------------------------------------------
1 | Service: keyvault-certificates
2 |
3 | Project: azure-security-keyvault-certificates-perf
4 |
5 | PrimaryPackage: azure-security-keyvault-certificates-cpp
6 |
7 | PackageVersions:
8 | - azure-security-keyvault-certificates-cpp: 4.1.0
9 | azure-core-cpp: 1.7.1
10 | - azure-security-keyvault-certificates-cpp: source
11 | azure-core-cpp: source
12 |
13 | Tests:
14 | - Test: get-certificate
15 | Class: GetCertificate
16 | Arguments:
17 | - --parallel 4
18 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-certificates/samples/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | if(MSVC)
7 | add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
8 | endif()
9 |
10 | add_subdirectory(certificate-basic-operations)
11 | add_subdirectory(certificate-get-certificates)
12 | add_subdirectory(certificate-import-certificate)
13 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-certificates/samples/README.md:
--------------------------------------------------------------------------------
1 | ---
2 | page_type: sample
3 | languages:
4 | - c++ 14
5 | products:
6 | - azure
7 | - azure-key-vault
8 | name: Azure Security KeyVault Certificates samples for C++
9 | description: Samples for the azure-security-keyVault-certificates client library.
10 | ---
11 |
12 | # Azure.Security.KeyVault.Certificates Samples
13 |
14 | - Creating, getting, updating, and deleting Certificates
15 | - Get Certificates
16 | - Import Certificates
17 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-certificates/test/perf/src/azure_security_keyvault_certificates_perf_test.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #include "azure/keyvault/certificates/test/get_certificate_test.hpp"
5 |
6 | #include
7 |
8 | int main(int argc, char** argv)
9 | {
10 |
11 | // Create the test list
12 | std::vector tests{
13 | Azure::Security::KeyVault::Certificates::Test::GetCertificate::GetTestMetadata()};
14 |
15 | Azure::Perf::Program::Run(Azure::Core::Context{}, tests, argc, argv);
16 |
17 | return 0;
18 | }
19 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-certificates/tsp-location.yaml:
--------------------------------------------------------------------------------
1 | directory: specification/keyvault/Security.KeyVault.Certificates
2 | commit: bc18a6a035dbab575177a5548c936621e47d1124
3 | repo: Azure/azure-rest-api-specs
4 | additionalDirectories:
5 | - specification/keyvault/Security.KeyVault.Common/
6 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-certificates/vcpkg.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "azure-security-keyvault-certificates",
3 | "version-string": "1.0.0",
4 | "dependencies": [
5 | "azure-core-cpp"
6 | ]
7 | }
8 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-certificates/vcpkg/Config.cmake.in:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | @PACKAGE_INIT@
5 |
6 | include(CMakeFindDependencyMacro)
7 | find_dependency(azure-core-cpp)
8 |
9 | include("${CMAKE_CURRENT_LIST_DIR}/azure-security-keyvault-certificates-cppTargets.cmake")
10 |
11 | check_required_components("azure-security-keyvault-certificates-cpp")
12 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/inc/ApiViewSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFilesToProcess": null,
3 | "additionalIncludeDirectories": [
4 | "../../../core/azure-core/inc",
5 | "../../azure-security-keyvault-shared/inc"
6 | ],
7 | "sourceFilesToSkip": [
8 | ],
9 | "additionalCompilerSwitches": [
10 | "-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH"
11 | ],
12 | "allowInternal": false,
13 | "includeDetail": false,
14 | "includePrivate": false,
15 | "filterNamespace": "Azure::Security::KeyVault::Keys",
16 | "reviewName": "KeyVault Keys Review",
17 | "serviceName": "Azure Security Keyvault Keys",
18 | "packageName": "azure-security-keyvault-keys-cpp"
19 | }
20 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | /**
5 | * @brief Includes all public headers from Azure Key Vault Keys SDK library.
6 | *
7 | */
8 |
9 | #pragma once
10 |
11 | #include "azure/keyvault/keys/cryptography/cryptography_client.hpp"
12 | #include "azure/keyvault/keys/cryptography/cryptography_client_models.hpp"
13 | #include "azure/keyvault/keys/cryptography/cryptography_client_options.hpp"
14 | #include "azure/keyvault/keys/dll_import_export.hpp"
15 | #include "azure/keyvault/keys/key_client.hpp"
16 | #include "azure/keyvault/keys/key_client_models.hpp"
17 | #include "azure/keyvault/keys/key_client_options.hpp"
18 | #include "azure/keyvault/keys/rtti.hpp"
19 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keyvault_keys.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | /**
5 | * @brief Includes all public headers from Azure Key Vault Keys SDK library.
6 | *
7 | * @remark This header file does exist for compatibility with prior stable releases.
8 | * It is recommended to use `keys.hpp` instead.
9 | *
10 | */
11 |
12 | #pragma once
13 |
14 | #include "azure/keyvault/keys.hpp"
15 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/perf-tests.yml:
--------------------------------------------------------------------------------
1 | Service: keyvault-keys
2 |
3 | Project: azure-security-keyvault-keys-perf
4 |
5 | PrimaryPackage: azure-security-keyvault-keys-cpp
6 |
7 | PackageVersions:
8 | - azure-security-keyvault-keys-cpp: 4.3.0
9 | azure-core-cpp: 1.7.1
10 | - azure-security-keyvault-keys-cpp: source
11 | azure-core-cpp: source
12 |
13 | Tests:
14 | - Test: get-key
15 | Class: GetKey
16 | Arguments:
17 | - --parallel 4
18 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/samples/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | if(MSVC)
7 | add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
8 | endif()
9 |
10 | add_subdirectory(sample1-hello-world)
11 | add_subdirectory(sample2-backup-and-restore)
12 | add_subdirectory(sample3-get-keys)
13 | add_subdirectory(sample4-encrypt-decrypt)
14 | add_subdirectory(sample5-sign-verify)
15 | add_subdirectory(sample6-wrap-unwrap)
16 | add_subdirectory(sample7-key-rotation)
17 |
18 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/samples/README.md:
--------------------------------------------------------------------------------
1 | ---
2 | page_type: sample
3 | languages:
4 | - c++ 14
5 | products:
6 | - azure
7 | - azure-key-vault
8 | name: Azure Security KeyVault Keys samples for C++
9 | description: Samples for the azure-security-keyVault-keys client library.
10 | ---
11 |
12 | # Azure.Security.KeyVault.Keys Samples
13 |
14 | - Creating, getting, updating, and deleting keys
15 | - Back up and restore a key
16 | - Listing keys, key versions, and deleted keys
17 | - Encrypting and decrypt keys
18 | - Signing and verifying keys
19 | - Wrapping and unwrap a key
20 | - Rotating a key
21 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/samples/sample1-hello-world/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (sample1-hello-world LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED True)
9 |
10 | add_executable (
11 | sample1-hello-world
12 | sample1_hello_world.cpp
13 | )
14 |
15 | target_compile_definitions(sample1-hello-world PRIVATE _azure_BUILDING_SAMPLES)
16 |
17 | create_per_service_target_build_for_sample(keyvault sample1-hello-world)
18 |
19 | target_link_libraries(sample1-hello-world PRIVATE azure-security-keyvault-keys azure-identity get-env-helper)
20 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/samples/sample2-backup-and-restore/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (sample2-backup-and-restore LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED True)
9 |
10 | add_executable (
11 | sample2-backup-and-restore
12 | sample2_backup_and_restore.cpp
13 | )
14 |
15 | target_compile_definitions(sample2-backup-and-restore PRIVATE _azure_BUILDING_SAMPLES)
16 |
17 | create_per_service_target_build_for_sample(keyvault sample2-backup-and-restore)
18 |
19 | target_link_libraries(sample2-backup-and-restore PRIVATE azure-security-keyvault-keys azure-identity get-env-helper)
20 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/samples/sample3-get-keys/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (sample3-get-keys LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED True)
9 |
10 | add_executable (
11 | sample3-get-keys
12 | sample3_get_keys.cpp
13 | )
14 |
15 | target_compile_definitions(sample3-get-keys PRIVATE _azure_BUILDING_SAMPLES)
16 |
17 | create_per_service_target_build_for_sample(keyvault sample3-get-keys)
18 |
19 | target_link_libraries(sample3-get-keys PRIVATE azure-security-keyvault-keys azure-identity get-env-helper)
20 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/samples/sample4-encrypt-decrypt/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (sample4-encrypt-decrypt LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED True)
9 |
10 | add_executable (
11 | sample4-encrypt-decrypt
12 | sample4_encrypt_decrypt.cpp
13 | )
14 |
15 | target_compile_definitions(sample4-encrypt-decrypt PRIVATE _azure_BUILDING_SAMPLES)
16 |
17 | create_per_service_target_build_for_sample(keyvault sample4-encrypt-decrypt)
18 |
19 | target_link_libraries(sample4-encrypt-decrypt PRIVATE azure-security-keyvault-keys azure-identity get-env-helper)
20 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/samples/sample5-sign-verify/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (sample5-sign-verify LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED True)
9 |
10 | add_executable (
11 | sample5-sign-verify
12 | sample5_sign_verify.cpp
13 | )
14 |
15 | target_compile_definitions(sample5-sign-verify PRIVATE _azure_BUILDING_SAMPLES)
16 |
17 | create_per_service_target_build_for_sample(keyvault sample5-sign-verify)
18 |
19 | target_link_libraries(sample5-sign-verify PRIVATE azure-security-keyvault-keys azure-identity get-env-helper)
20 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/samples/sample6-wrap-unwrap/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (sample6-wrap-unwrap LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED True)
9 |
10 | add_executable (
11 | sample6-wrap-unwrap
12 | sample6_wrap_unwrap.cpp
13 | )
14 |
15 | target_compile_definitions(sample6-wrap-unwrap PRIVATE _azure_BUILDING_SAMPLES)
16 |
17 | create_per_service_target_build_for_sample(keyvault sample6-wrap-unwrap)
18 |
19 | target_link_libraries(sample6-wrap-unwrap PRIVATE azure-security-keyvault-keys azure-identity get-env-helper)
20 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/samples/sample7-key-rotation/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (sample7-key-rotation LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED True)
9 |
10 | add_executable (
11 | sample7-key-rotation
12 | sample7_key_rotation.cpp
13 | )
14 |
15 | target_compile_definitions(sample7-key-rotation PRIVATE _azure_BUILDING_SAMPLES)
16 |
17 | create_per_service_target_build_for_sample(keyvault sample7-key-rotation)
18 |
19 | target_link_libraries(sample7-key-rotation PRIVATE azure-security-keyvault-keys azure-identity get-env-helper)
20 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/src/key_curve_name.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #include "azure/keyvault/keys/key_client_models.hpp"
5 | #include "private/key_constants.hpp"
6 |
7 | namespace Azure { namespace Security { namespace KeyVault { namespace Keys {
8 |
9 | const KeyCurveName KeyCurveName::P256(_detail::P256Value);
10 |
11 | const KeyCurveName KeyCurveName::P256K(_detail::P256KValue);
12 |
13 | const KeyCurveName KeyCurveName::P384(_detail::P384Value);
14 |
15 | const KeyCurveName KeyCurveName::P521(_detail::P521Value);
16 |
17 | }}}} // namespace Azure::Security::KeyVault::Keys
18 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/src/key_type.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #include "azure/keyvault/keys/key_client_models.hpp"
5 | #include "private/key_constants.hpp"
6 |
7 | using namespace Azure::Security::KeyVault::Keys;
8 |
9 | const KeyVaultKeyType KeyVaultKeyType::Ec(_detail::EcValue);
10 | const KeyVaultKeyType KeyVaultKeyType::EcHsm(_detail::EcHsmValue);
11 | const KeyVaultKeyType KeyVaultKeyType::Rsa(_detail::RsaValue);
12 | const KeyVaultKeyType KeyVaultKeyType::RsaHsm(_detail::RsaHsmValue);
13 | const KeyVaultKeyType KeyVaultKeyType::Oct(_detail::OctValue);
14 | const KeyVaultKeyType KeyVaultKeyType::OctHsm(_detail::OctHsmValue);
15 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/src/private/keyvault_constants.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | /**
5 | * @brief Provide string constants used for all the Key Vault services.
6 | *
7 | */
8 |
9 | #pragma once
10 |
11 | namespace Azure { namespace Security { namespace KeyVault { namespace _detail {
12 |
13 | /**************** KeyVault QueryParameters *********/
14 | static constexpr char const ApiVersion[] = "api-version";
15 | }}}} // namespace Azure::Security::KeyVault::_detail
16 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/test/macros-build/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (macros-test LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED True)
9 |
10 | add_executable (
11 | macros-build
12 | macros_build.cpp
13 | macros_build.hpp)
14 |
15 | target_compile_definitions(macros-build PRIVATE _azure_BUILDING_TESTS)
16 |
17 | create_per_service_target_build_for_sample(keyvault macros-build)
18 |
19 | target_link_libraries(macros-build PRIVATE azure-security-keyvault-keys)
20 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/test/macros-build/macros_build.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #define CKM_RSA_AES_KEY_WRAP 1
5 | #define RSA_AES_KEY_WRAP_256 2
6 | #define RSA_AES_KEY_WRAP_384 3
7 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/test/perf/src/azure_security_keyvault_keys_perf_test.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #include "azure/keyvault/keys/test/get_key_test.hpp"
5 |
6 | #include
7 |
8 | int main(int argc, char** argv)
9 | {
10 |
11 | // Create the test list
12 | std::vector tests{
13 | Azure::Security::KeyVault::Keys::Test::GetKey::GetTestMetadata()};
14 |
15 | Azure::Perf::Program::Run(Azure::Core::Context{}, tests, argc, argv);
16 |
17 | return 0;
18 | }
19 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/test/ut/macro_guard.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | // Define `min` and `max` as function-like macros before including all public
5 | // headers to ensure that uses of those identifiers are defended against
6 | // expansion as function-like macros. Define `small` as an object-like macro to
7 | // ensure that identifier isn't used at all. Windows.h is badly behaved and
8 | // defines similar macros with these names and we want to ensure the SDK headers
9 | // function even when a naive user includes Windows.h first.
10 | //
11 | #define small FAIL>
16 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/tsp-location.yaml:
--------------------------------------------------------------------------------
1 | directory: specification/keyvault/Security.KeyVault.Keys
2 | commit: bc18a6a035dbab575177a5548c936621e47d1124
3 | repo: Azure/azure-rest-api-specs
4 | additionalDirectories:
5 | - specification/keyvault/Security.KeyVault.Common/
6 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/vcpkg.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "azure-security-keyvault-keys",
3 | "version-string": "1.0.0",
4 | "dependencies": [
5 | "azure-core-cpp"
6 | ]
7 | }
8 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-keys/vcpkg/Config.cmake.in:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | @PACKAGE_INIT@
5 |
6 | include(CMakeFindDependencyMacro)
7 | find_dependency(azure-core-cpp)
8 |
9 | include("${CMAKE_CURRENT_LIST_DIR}/azure-security-keyvault-keys-cppTargets.cmake")
10 |
11 | check_required_components("azure-security-keyvault-keys-cpp")
12 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-secrets/TROUBLESHOOTING.md:
--------------------------------------------------------------------------------
1 | # Troubleshooting Azure Key Vault Secrets SDK Issues
2 |
3 | See our [Azure Key Vault SDK Troubleshooting Guide](https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/keyvault/TROUBLESHOOTING.md)
4 | to troubleshoot issues common to the Azure Key Vault SDKs for C++.
5 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-secrets/inc/ApiViewSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFilesToProcess": null,
3 | "additionalIncludeDirectories": [
4 | "../../../core/azure-core/inc",
5 | "../../azure-security-keyvault-shared/inc"
6 | ],
7 | "sourceFilesToSkip": [
8 | ],
9 | "additionalCompilerSwitches": [
10 | "-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH"
11 | ],
12 | "allowInternal": false,
13 | "includeDetail": false,
14 | "includePrivate": false,
15 | "filterNamespace": "Azure::Security::KeyVault::Secrets",
16 | "reviewName": "KeyVault Secrets API Review",
17 | "serviceName": "Azure Security Keyvault Secrets",
18 | "packageName": "azure-security-keyvault-secrets-cpp"
19 | }
20 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-secrets/inc/azure/keyvault/secrets/keyvault_backup_secret.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | /**
5 | * @file
6 | * @brief Keyvault BackupSecretData definition
7 | */
8 | #pragma once
9 | #include
10 | #include
11 |
12 | namespace Azure { namespace Security { namespace KeyVault { namespace Secrets {
13 | /**
14 | * @brief Represents a backed up secret.
15 | *
16 | */
17 | struct BackupSecretResult final
18 | {
19 | /**
20 | * @brief The backed up secret.
21 | *
22 | */
23 | std::vector Secret;
24 | };
25 | }}}} // namespace Azure::Security::KeyVault::Secrets
26 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-secrets/perf-tests.yml:
--------------------------------------------------------------------------------
1 | Service: keyvault-secrets
2 |
3 | Project: azure-security-keyvault-secrets-perf
4 |
5 | PrimaryPackage: azure-security-keyvault-secrets-cpp
6 |
7 | PackageVersions:
8 | - azure-security-keyvault-secrets-cpp: 4.1.0
9 | azure-core-cpp: 1.7.1
10 | - azure-security-keyvault-secrets-cpp: source
11 | azure-core-cpp: source
12 |
13 | Tests:
14 | - Test: get-secret
15 | Class: GetSecret
16 | Arguments:
17 | - --parallel 4
18 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-secrets/samples/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | if(MSVC)
7 | add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
8 | endif()
9 |
10 | add_subdirectory(sample1-basic-operations)
11 | add_subdirectory(sample2-backup-restore)
12 | add_subdirectory(sample3-delete-recover)
13 | add_subdirectory(sample4-get-secrets-deleted)
14 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-secrets/samples/README.md:
--------------------------------------------------------------------------------
1 | ---
2 | page_type: sample
3 | languages:
4 | - c++ 14
5 | products:
6 | - azure
7 | - azure-key-vault
8 | name: Azure Security KeyVault Secrets samples for C++
9 | description: Samples for the azure-security-keyVault-secrets client library.
10 | ---
11 |
12 | # Azure.Security.KeyVault.Secrets Samples
13 |
14 | - Creating, getting, updating, and deleting secrets
15 | - Back up and restore a secret
16 | - Delete and recover secret
17 | - Get deleted secrets
18 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-secrets/samples/sample1-basic-operations/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (sample1-basic-operations LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED True)
9 |
10 | add_executable (
11 | sample1-basic-operations
12 | sample1_basic_operations.cpp
13 | )
14 |
15 | target_compile_definitions(sample1-basic-operations PRIVATE _azure_BUILDING_SAMPLES)
16 |
17 | create_per_service_target_build_for_sample(keyvault sample1-basic-operations)
18 |
19 | target_link_libraries(sample1-basic-operations PRIVATE azure-security-keyvault-secrets azure-identity get-env-helper)
20 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-secrets/samples/sample2-backup-restore/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (sample2-backup-restore LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED True)
9 |
10 | add_executable (
11 | sample2-backup-restore
12 | sample2_backup_restore.cpp
13 | )
14 |
15 | target_compile_definitions(sample2-backup-restore PRIVATE _azure_BUILDING_SAMPLES)
16 |
17 | create_per_service_target_build_for_sample(keyvault sample2-backup-restore)
18 |
19 | target_link_libraries(sample2-backup-restore PRIVATE azure-security-keyvault-secrets azure-identity get-env-helper)
20 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-secrets/samples/sample3-delete-recover/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (sample3-delete-recover LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED True)
9 |
10 | add_executable (
11 | sample3-delete-recover
12 | sample3_delete_recover.cpp
13 | )
14 |
15 | target_compile_definitions(sample3-delete-recover PRIVATE _azure_BUILDING_SAMPLES)
16 |
17 | create_per_service_target_build_for_sample(keyvault sample3-delete-recover)
18 |
19 | target_link_libraries(sample3-delete-recover PRIVATE azure-security-keyvault-secrets azure-identity get-env-helper)
20 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-secrets/samples/sample4-get-secrets-deleted/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (sample4-get-secrets-deleted LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED True)
9 |
10 | add_executable (
11 | sample4-get-secrets-deleted
12 | sample4_get_secrets_deleted.cpp
13 | )
14 |
15 | target_compile_definitions(sample4-get-secrets-deleted PRIVATE _azure_BUILDING_SAMPLES)
16 |
17 | create_per_service_target_build_for_sample(keyvault sample4-get-secrets-deleted)
18 |
19 | target_link_libraries(sample4-get-secrets-deleted PRIVATE azure-security-keyvault-secrets azure-identity get-env-helper)
20 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-secrets/src/private/secret_constants.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | /**
5 | * @file
6 | * @brief Centralize the string constants used by Key Vault Secret Client.
7 | *
8 | */
9 |
10 | #pragma once
11 |
12 | #include
13 |
14 | namespace Azure { namespace Security { namespace KeyVault { namespace Secrets { namespace _detail {
15 |
16 | constexpr static const char KeyVaultServicePackageName[] = "keyvault-secrets";
17 |
18 | /**************** KeyVault QueryParameters *********/
19 | static constexpr char const ApiVersion[] = "api-version";
20 | }}}}} // namespace Azure::Security::KeyVault::Secrets::_detail
21 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-secrets/test/perf/src/azure_security_keyvault_secrets_perf_test.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #include "azure/keyvault/secrets/test/get_secret_test.hpp"
5 |
6 | #include
7 |
8 | int main(int argc, char** argv)
9 | {
10 |
11 | // Create the test list
12 | std::vector tests{
13 | Azure::Security::KeyVault::Secrets::Test::GetSecret::GetTestMetadata()};
14 |
15 | Azure::Perf::Program::Run(Azure::Core::Context{}, tests, argc, argv);
16 |
17 | return 0;
18 | }
19 |
--------------------------------------------------------------------------------
/sdk/keyvault/azure-security-keyvault-secrets/test/ut/macro_guard.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | // Define `min` and `max` as function-like macros before including all public
5 | // headers to ensure that uses of those identifiers are defended against
6 | // expansion as function-like macros. Define `small` as an object-like macro to
7 | // ensure that identifier isn't used at all. Windows.h is badly behaved and
8 | // defines similar macros with these names and we want to ensure the SDK headers
9 | // function even when a naive user includes Windows.h first.
10 | //
11 | #define small FAIL>
11 |
--------------------------------------------------------------------------------
/sdk/keyvault/tools/cleanup/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (cleanup-keyvault LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED True)
9 |
10 | add_executable (
11 | cleanup-keyvault
12 | src/cleanup.cpp
13 | )
14 | create_per_service_target_build_for_sample(keyvault cleanup-keyvault)
15 |
16 | target_link_libraries(cleanup-keyvault PRIVATE azure-security-keyvault-secrets azure-security-keyvault-keys azure-security-keyvault-certificates azure-identity get-env-helper)
17 |
--------------------------------------------------------------------------------
/sdk/keyvault/tools/cleanup/README.md:
--------------------------------------------------------------------------------
1 | # Get Environment Variable for Samples
2 |
3 | This is an tool that helps cleanup key vault resources.
4 | It lists and then starts the delete process on keys secrets and certificates.
5 | Once that is done it will call purge on the deleted resources.
6 | While on large number of resources present in the key vault it might take a while , and be slower than deleting and recreating a key vault resource, it helps not having to reconfigure and update the connection settings.
7 |
--------------------------------------------------------------------------------
/sdk/storage/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (azure-storage LANGUAGES CXX)
7 |
8 | add_subdirectory(azure-storage-common)
9 | add_subdirectory(azure-storage-blobs)
10 | add_subdirectory(azure-storage-files-datalake)
11 | add_subdirectory(azure-storage-files-shares)
12 | add_subdirectory(azure-storage-queues)
13 |
--------------------------------------------------------------------------------
/sdk/storage/assets.json:
--------------------------------------------------------------------------------
1 | {
2 | "AssetsRepo": "Azure/azure-sdk-assets",
3 | "AssetsRepoPrefixPath": "cpp",
4 | "TagPrefix": "cpp/storage",
5 | "Tag": "cpp/storage_7bea1dff90"
6 | }
7 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-blobs/inc/ApiViewSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFilesToProcess": null,
3 | "additionalIncludeDirectories": [
4 | "../../../core/azure-core/inc",
5 | "../../azure-storage-common/inc"
6 | ],
7 | "sourceFilesToSkip": [
8 | ],
9 | "additionalCompilerSwitches": [
10 | "-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH"
11 | ],
12 | "allowInternal": false,
13 | "includeDetail": false,
14 | "includePrivate": false,
15 | "filterNamespace": "Azure::Storage::Blobs",
16 | "reviewName": "Storage Blobs Review",
17 | "serviceName": "Azure Storage Blobs",
18 | "packageName": "azure-storage-blobs-cpp"
19 | }
20 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-blobs/test/ut/macro_guard.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | // Define `min` and `max` as function-like macros before including all public
5 | // headers to ensure that uses of those identifiers are defended against
6 | // expansion as function-like macros. Define `small` as an object-like macro to
7 | // ensure that identifier isn't used at all. Windows.h is badly behaved and
8 | // defines similar macros with these names and we want to ensure the SDK headers
9 | // function even when a naive user includes Windows.h first.
10 | //
11 | #define small FAIL>
16 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-blobs/vcpkg.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "azure-storage-blobs-cpp",
3 | "version-semver": "99.99.999",
4 | "description": [
5 | "Microsoft Azure Storage Blobs SDK for C++",
6 | "This library provides Azure Storage Blobs SDK."
7 | ],
8 | "homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/storage/azure-storage-blobs",
9 | "license": "MIT",
10 | "dependencies": [
11 | "azure-storage-common-cpp",
12 | {
13 | "name": "vcpkg-cmake",
14 | "host": true
15 | },
16 | {
17 | "name": "vcpkg-cmake-config",
18 | "host": true
19 | }
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-blobs/vcpkg/Config.cmake.in:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | @PACKAGE_INIT@
5 |
6 | include(CMakeFindDependencyMacro)
7 | find_dependency(azure-storage-common-cpp)
8 |
9 | include("${CMAKE_CURRENT_LIST_DIR}/azure-storage-blobs-cppTargets.cmake")
10 |
11 | check_required_components("azure-storage-blobs-cpp")
12 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-common/inc/ApiViewSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFilesToProcess": null,
3 | "additionalIncludeDirectories": [
4 | "../../../core/azure-core/inc"
5 | ],
6 | "sourceFilesToSkip": [
7 | ],
8 | "additionalCompilerSwitches": [
9 | "-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH"
10 | ],
11 | "allowInternal": true,
12 | "includeDetail": false,
13 | "includePrivate": false,
14 | "filterNamespace": "Azure::Storage",
15 | "reviewName": "Azure Storage Common API Review",
16 | "serviceName": "Azure Storage",
17 | "packageName": "azure-storage-common-cpp"
18 | }
19 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-common/inc/azure/storage/common/internal/storage_bearer_token_authentication_policy.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // SPDX-License-Identifier: MIT
3 |
4 | #pragma once
5 |
6 | // This header file is left for compatibility purposes.
7 | // The name of this header is long, and may cause build error on Windows systems on some
8 | // installations, with long path and maximum path length of 260 characters.
9 |
10 | #include
11 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-common/vcpkg/Config.cmake.in:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | @PACKAGE_INIT@
5 |
6 | include(CMakeFindDependencyMacro)
7 | find_dependency(Threads)
8 | find_dependency(azure-core-cpp)
9 |
10 | if(NOT WIN32)
11 | find_dependency(LibXml2)
12 | find_dependency(OpenSSL)
13 | endif()
14 |
15 | include("${CMAKE_CURRENT_LIST_DIR}/azure-storage-common-cppTargets.cmake")
16 |
17 | check_required_components("azure-storage-common-cpp")
18 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-files-datalake/inc/ApiViewSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFilesToProcess": null,
3 | "additionalIncludeDirectories": [
4 | "../../../core/azure-core/inc",
5 | "../../azure-storage-common/inc",
6 | "../../azure-storage-blobs/inc"
7 | ],
8 | "sourceFilesToSkip": [
9 | ],
10 | "additionalCompilerSwitches": [
11 | "-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH"
12 | ],
13 | "allowInternal": false,
14 | "includeDetail": false,
15 | "includePrivate": false,
16 | "filterNamespace": [ "Azure::Storage::Files::DataLake", "Azure::Storage::Sas" ],
17 | "reviewName": "Azure Storage Files DataLake",
18 | "serviceName": "Azure Storage Files DataLake",
19 | "packageName": "azure-storage-files-datalake-cpp"
20 | }
21 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-files-datalake/samples/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | if(MSVC)
7 | add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
8 | endif()
9 |
10 | add_executable(datalake-getting-started datalake_getting_started.cpp)
11 | create_per_service_target_build_for_sample(storage datalake-getting-started)
12 | target_link_libraries(datalake-getting-started PRIVATE azure-storage-files-datalake get-env-helper)
13 | target_compile_definitions(datalake-getting-started PRIVATE _azure_BUILDING_SAMPLES)
14 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-files-datalake/src/datalake_lease_client.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #include "azure/storage/files/datalake/datalake_lease_client.hpp"
5 |
6 | namespace Azure { namespace Storage { namespace Files { namespace DataLake {
7 |
8 | const std::chrono::seconds DataLakeLeaseClient::InfiniteLeaseDuration{-1};
9 |
10 | }}}} // namespace Azure::Storage::Files::DataLake
11 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-files-datalake/src/datalake_options.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #include "azure/storage/files/datalake/datalake_options.hpp"
5 |
6 | namespace Azure { namespace Storage { namespace Files { namespace DataLake {
7 |
8 | const DataLakeAudience DataLakeAudience::DefaultAudience(_internal::StorageDefaultAudience);
9 |
10 | }}}} // namespace Azure::Storage::Files::DataLake
11 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-files-datalake/test/ut/datalake_directory_client_test.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #include "datalake_path_client_test.hpp"
5 |
6 | #include
7 |
8 | namespace Azure { namespace Storage { namespace Test {
9 |
10 | class DataLakeDirectoryClientTest : public DataLakePathClientTest {
11 | protected:
12 | void SetUp() override;
13 |
14 | protected:
15 | std::shared_ptr m_directoryClient;
16 | std::string m_directoryName;
17 | };
18 |
19 | }}} // namespace Azure::Storage::Test
20 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-files-datalake/test/ut/macro_guard.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | // Define `min` and `max` as function-like macros before including all public
5 | // headers to ensure that uses of those identifiers are defended against
6 | // expansion as function-like macros. Define `small` as an object-like macro to
7 | // ensure that identifier isn't used at all. Windows.h is badly behaved and
8 | // defines similar macros with these names and we want to ensure the SDK headers
9 | // function even when a naive user includes Windows.h first.
10 | //
11 | #define small FAIL>
16 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-files-datalake/vcpkg.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "azure-storage-files-datalake-cpp",
3 | "version-semver": "12.12.0",
4 | "description": [
5 | "Microsoft Azure Storage Files Data Lake SDK for C++",
6 | "This library provides Azure Storage Files Data Lake SDK."
7 | ],
8 | "homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/storage/azure-storage-files-datalake",
9 | "license": "MIT",
10 | "dependencies": [
11 | "azure-storage-blobs-cpp",
12 | {
13 | "name": "vcpkg-cmake",
14 | "host": true
15 | },
16 | {
17 | "name": "vcpkg-cmake-config",
18 | "host": true
19 | }
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-files-datalake/vcpkg/Config.cmake.in:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | @PACKAGE_INIT@
5 |
6 | include(CMakeFindDependencyMacro)
7 | find_dependency(azure-storage-blobs-cpp)
8 |
9 | include("${CMAKE_CURRENT_LIST_DIR}/azure-storage-files-datalake-cppTargets.cmake")
10 |
11 | check_required_components("azure-storage-files-datalake-cpp")
12 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-files-shares/inc/ApiViewSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFilesToProcess": null,
3 | "additionalIncludeDirectories": [
4 | "../../../core/azure-core/inc",
5 | "../../azure-storage-common/inc",
6 | "../../azure-storage-blobs/inc"
7 | ],
8 | "sourceFilesToSkip": [
9 | ],
10 | "additionalCompilerSwitches": [
11 | "-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH"
12 | ],
13 | "allowInternal": false,
14 | "includeDetail": false,
15 | "includePrivate": false,
16 | "filterNamespace": "Azure::Storage::Files::Shares",
17 | "reviewName": "Storage File Shares Review",
18 | "serviceName": "Azure Storage Files Shares",
19 | "packageName": "azure-storage-files-shares-cpp"
20 | }
21 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-files-shares/samples/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | if(MSVC)
7 | add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
8 | endif()
9 |
10 | add_executable(file-share-getting-started file_share_getting_started.cpp)
11 | create_per_service_target_build_for_sample(storage file-share-getting-started)
12 | target_link_libraries(file-share-getting-started PRIVATE azure-storage-files-shares get-env-helper)
13 | target_compile_definitions(file-share-getting-started PRIVATE _azure_BUILDING_SAMPLES)
14 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-files-shares/test/ut/macro_guard.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | // Define `min` and `max` as function-like macros before including all public
5 | // headers to ensure that uses of those identifiers are defended against
6 | // expansion as function-like macros. Define `small` as an object-like macro to
7 | // ensure that identifier isn't used at all. Windows.h is badly behaved and
8 | // defines similar macros with these names and we want to ensure the SDK headers
9 | // function even when a naive user includes Windows.h first.
10 | //
11 | #define small FAIL>
16 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-files-shares/vcpkg.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "azure-storage-files-shares-cpp",
3 | "version-semver": "99.99.999",
4 | "description": [
5 | "Microsoft Azure Storage Files Shares SDK for C++",
6 | "This library provides Azure Storage Files Shares SDK."
7 | ],
8 | "homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/storage/azure-storage-files-shares",
9 | "license": "MIT",
10 | "dependencies": [
11 | "azure-storage-common-cpp",
12 | {
13 | "name": "vcpkg-cmake",
14 | "host": true
15 | },
16 | {
17 | "name": "vcpkg-cmake-config",
18 | "host": true
19 | }
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-files-shares/vcpkg/Config.cmake.in:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | @PACKAGE_INIT@
5 |
6 | include(CMakeFindDependencyMacro)
7 | find_dependency(azure-storage-common-cpp)
8 |
9 | include("${CMAKE_CURRENT_LIST_DIR}/azure-storage-files-shares-cppTargets.cmake")
10 |
11 | check_required_components("azure-storage-files-shares-cpp")
12 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-queues/inc/ApiViewSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFilesToProcess": null,
3 | "additionalIncludeDirectories": [
4 | "../../../core/azure-core/inc",
5 | "../../azure-storage-common/inc",
6 | "../../azure-storage-blobs/inc"
7 | ],
8 | "sourceFilesToSkip": [
9 | ],
10 | "additionalCompilerSwitches": [
11 | "-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH"
12 | ],
13 | "allowInternal": false,
14 | "includeDetail": false,
15 | "includePrivate": false,
16 | "filterNamespace": "Azure::Storage::Queues",
17 | "reviewName": "Storage Queues Review",
18 | "serviceName": "Azure Storage Queues",
19 | "packageName": "azure-storage-queues-cpp"
20 | }
21 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-queues/inc/azure/storage/queues.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | /**
5 | * @brief Includes all public headers from Azure Storage Queues SDK library.
6 | *
7 | */
8 |
9 | #pragma once
10 |
11 | #include "azure/storage/queues/dll_import_export.hpp"
12 | #include "azure/storage/queues/queue_client.hpp"
13 | #include "azure/storage/queues/queue_options.hpp"
14 | #include "azure/storage/queues/queue_responses.hpp"
15 | #include "azure/storage/queues/queue_sas_builder.hpp"
16 | #include "azure/storage/queues/queue_service_client.hpp"
17 | #include "azure/storage/queues/rest_client.hpp"
18 | #include "azure/storage/queues/rtti.hpp"
19 |
20 | #include
21 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-queues/src/queue_options.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #include "azure/storage/queues/queue_options.hpp"
5 |
6 | namespace Azure { namespace Storage { namespace Queues {
7 |
8 | const QueueAudience QueueAudience::DefaultAudience(_internal::StorageDefaultAudience);
9 |
10 | const ServiceVersion ServiceVersion::V2018_03_28(std::string("2018-03-28"));
11 | const ServiceVersion ServiceVersion::V2019_12_12(std::string("2019-12-12"));
12 | const ServiceVersion ServiceVersion::V2024_08_04(std::string("2024-08-04"));
13 | const std::chrono::seconds EnqueueMessageOptions::MessageNeverExpires{-1};
14 |
15 | }}} // namespace Azure::Storage::Queues
16 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-queues/src/queue_responses.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | #include "azure/storage/queues/queue_responses.hpp"
5 |
6 | #include "azure/storage/queues/queue_service_client.hpp"
7 |
8 | namespace Azure { namespace Storage { namespace Queues {
9 |
10 | void ListQueuesPagedResponse::OnNextPage(const Azure::Core::Context& context)
11 | {
12 | m_operationOptions.ContinuationToken = NextPageToken;
13 | *this = m_queueServiceClient->ListQueues(m_operationOptions, context);
14 | }
15 |
16 | }}} // namespace Azure::Storage::Queues
17 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-queues/test/ut/macro_guard.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | // Define `min` and `max` as function-like macros before including all public
5 | // headers to ensure that uses of those identifiers are defended against
6 | // expansion as function-like macros. Define `small` as an object-like macro to
7 | // ensure that identifier isn't used at all. Windows.h is badly behaved and
8 | // defines similar macros with these names and we want to ensure the SDK headers
9 | // function even when a naive user includes Windows.h first.
10 | //
11 | #define small FAIL>
16 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-queues/vcpkg.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "azure-storage-queues-cpp",
3 | "version-semver": "12.4.0",
4 | "description": [
5 | "Microsoft Azure Storage Queues SDK for C++",
6 | "This library provides Azure Storage Queues SDK."
7 | ],
8 | "homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/storage/azure-storage-queues",
9 | "license": "MIT",
10 | "dependencies": [
11 | "azure-storage-common-cpp",
12 | {
13 | "name": "vcpkg-cmake",
14 | "host": true
15 | },
16 | {
17 | "name": "vcpkg-cmake-config",
18 | "host": true
19 | }
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/sdk/storage/azure-storage-queues/vcpkg/Config.cmake.in:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | @PACKAGE_INIT@
5 |
6 | include(CMakeFindDependencyMacro)
7 | find_dependency(azure-storage-common-cpp)
8 |
9 | include("${CMAKE_CURRENT_LIST_DIR}/azure-storage-queues-cppTargets.cmake")
10 |
11 | check_required_components("azure-storage-queues-cpp")
12 |
--------------------------------------------------------------------------------
/sdk/tables/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (azure-data LANGUAGES CXX)
7 |
8 | add_subdirectory(azure-data-tables)
9 |
--------------------------------------------------------------------------------
/sdk/tables/assets.json:
--------------------------------------------------------------------------------
1 | {
2 | "AssetsRepo": "Azure/azure-sdk-assets",
3 | "AssetsRepoPrefixPath": "cpp",
4 | "TagPrefix": "cpp/tables",
5 | "Tag": "cpp/tables_ab62ccac48"
6 | }
7 |
--------------------------------------------------------------------------------
/sdk/tables/azure-data-tables/inc/ApiViewSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFilesToProcess": null,
3 | "additionalIncludeDirectories": [
4 | "../../../core/azure-core/inc"
5 | ],
6 | "sourceFilesToSkip": [
7 | ],
8 | "additionalCompilerSwitches": [
9 | "-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH"
10 | ],
11 | "allowInternal": false,
12 | "includeDetail": false,
13 | "includePrivate": false,
14 | "filterNamespace": "Azure::Data::Tables",
15 | "reviewName": "Azure Data Tables Review",
16 | "serviceName": null,
17 | "packageName": "azure-data-tables-cpp"
18 | }
19 |
--------------------------------------------------------------------------------
/sdk/tables/azure-data-tables/inc/azure/data/tables.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | /**
5 | * @brief Includes all public headers from Azure Data Tables SDK library.
6 | *
7 | */
8 |
9 | #pragma once
10 |
11 | #include "azure/data/tables/dll_import_export.hpp"
12 | #include "azure/data/tables/models.hpp"
13 | #include "azure/data/tables/rtti.hpp"
14 | #include "azure/data/tables/table_audience.hpp"
15 | #include "azure/data/tables/table_client.hpp"
16 | #include "azure/data/tables/table_service_client.hpp"
17 |
--------------------------------------------------------------------------------
/sdk/tables/azure-data-tables/samples/README.md:
--------------------------------------------------------------------------------
1 | ---
2 | page_type: sample
3 | languages:
4 | - c++ 14
5 | products:
6 | - azure
7 | - azure-data-tables
8 | name: Azure Data Tables samples for C++
9 | description: Samples for the azure-data-tables client library.
10 | ---
11 |
12 | # Azure.Data.Tables Samples
13 |
14 | - Create,list and delete tables.
15 | - Create, merge, update, delete entities.
16 | - List Tables, Get Statistics, Get Access Policy for service.
17 | - Submit Transactions success
18 | - Submit Transactions failure
19 |
--------------------------------------------------------------------------------
/sdk/tables/azure-data-tables/test/stress/.helmignore:
--------------------------------------------------------------------------------
1 | Dockerfile
2 | *.go
3 | *.bat
4 | *.txt
5 | *.ps1
6 | *.cpp
7 | *.md
8 | azure-data-tables-stress-test
9 | [Bb]in/
10 |
--------------------------------------------------------------------------------
/sdk/tables/azure-data-tables/test/stress/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required(VERSION 3.13)
5 |
6 | project(azure-data-tables-stress-test LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED True)
9 |
10 | add_executable(
11 | azure-data-tables-stress-test
12 | tables_stress_test.cpp
13 | )
14 |
15 | target_compile_definitions(azure-data-tables-stress-test PRIVATE _azure_BUILDING_TESTS)
16 |
17 | target_link_libraries(azure-data-tables-stress-test PRIVATE azure-data-tables)
18 |
19 | file(COPY ${CMAKE_CURRENT_BINARY_DIR}
20 | DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/bin)
21 |
--------------------------------------------------------------------------------
/sdk/tables/azure-data-tables/test/stress/Chart.yaml:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | apiVersion: v2
5 | name: data-tables-stress-test
6 | description: Stress test for Azure Data Tables c++ SDK
7 | version: 0.0.2
8 | appVersion: v0.1
9 | annotations:
10 | stressTest: 'true' # enable auto-discovery of this test via `find-all-stress-packages.ps1`
11 | namespace: 'azuresdkforcpp'
12 |
13 | dependencies:
14 | - name: stress-test-addons
15 | version: ~0.2.0
16 | repository: https://stresstestcharts.blob.core.windows.net/helm/
17 |
--------------------------------------------------------------------------------
/sdk/tables/azure-data-tables/test/stress/deploy.ps1:
--------------------------------------------------------------------------------
1 | Set-Location $PSScriptRoot
2 | pwsh "../../../../../eng/common/scripts/stress-testing/deploy-stress-tests.ps1"
3 |
--------------------------------------------------------------------------------
/sdk/tables/azure-data-tables/test/stress/scenarios-matrix.yaml:
--------------------------------------------------------------------------------
1 | displayNames:
2 | # this makes it so these don't show up in the scenario names,
3 | # since they're just clutter.
4 | 1.5Gi": ""
5 | 4Gi": ""
6 | image: ""
7 | matrix:
8 | images:
9 | cpp:
10 | image: Dockerfile
11 | imageBuildDir: "../../../../../"
12 | scenarios:
13 | constantDetach:
14 | testTarget: azure-data-tables-stress-test
15 | memory: "1.5Gi"
16 |
--------------------------------------------------------------------------------
/sdk/tables/azure-data-tables/test/ut/macro_guard.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | // Define `min` and `max` as function-like macros before including all public
5 | // headers to ensure that uses of those identifiers are defended against
6 | // expansion as function-like macros. Define `small` as an object-like macro to
7 | // ensure that identifier isn't used at all. Windows.h is badly behaved and
8 | // defines similar macros with these names and we want to ensure the SDK headers
9 | // function even when a naive user includes Windows.h first.
10 | //
11 | #define small FAIL>
9 |
10 | namespace Azure { namespace Data { namespace Test {
11 |
12 | class SerializersTest : public Azure::Storage::Test::StorageTest {
13 | };
14 | }}} // namespace Azure::Data::Test
15 |
--------------------------------------------------------------------------------
/sdk/tables/azure-data-tables/vcpkg.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "azure-data-tables-cpp",
3 | "version-semver": "1.0.0",
4 | "description": [
5 | "Microsoft Azure Data Tables SDK for C++",
6 | "This library provides Azure Data Tables SDK."
7 | ],
8 | "homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/tables/azure-data-tables",
9 | "license": "MIT",
10 | "dependencies": [
11 | {
12 | "name": "azure-core-cpp"
13 | },
14 | {
15 | "name": "libxml2",
16 | "default-features": false,
17 | "platform": "!windows"
18 | },
19 | {
20 | "name": "vcpkg-cmake",
21 | "host": true
22 | },
23 | {
24 | "name": "vcpkg-cmake-config",
25 | "host": true
26 | }
27 | ]
28 | }
29 |
--------------------------------------------------------------------------------
/sdk/tables/azure-data-tables/vcpkg/Config.cmake.in:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | # NOTE: All changes made to this file will get overwritten by the next port release.
5 | # Please contribute your changes to https://github.com/Azure/azure-sdk-for-cpp.
6 |
7 | @PACKAGE_INIT@
8 |
9 | include(CMakeFindDependencyMacro)
10 | find_dependency(azure-core-cpp)
11 | if(NOT WIN32)
12 | find_dependency(LibXml2)
13 | find_dependency(OpenSSL)
14 | endif()
15 |
16 | include("${CMAKE_CURRENT_LIST_DIR}/azure-data-tables-cppTargets.cmake")
17 |
18 | check_required_components("azure-data-tables-cpp")
19 |
--------------------------------------------------------------------------------
/sdk/tables/test-resources-post.ps1:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | param(
5 | [string] $ResourceGroupName,
6 | [hashtable] $DeploymentOutputs
7 | )
8 |
9 | New-AzStorageEncryptionScope -ResourceGroupName $ResourceGroupName -StorageAccountName $DeploymentOutputs['ACCOUNT_NAME'] -EncryptionScopeName "EncryptionScopeForTest" -StorageEncryption
10 |
11 | Enable-AzStorageBlobLastAccessTimeTracking -ResourceGroupName $ResourceGroupName -StorageAccountName $DeploymentOutputs['ACCOUNT_NAME'] -PassThru
12 |
13 | # This script is used to wait until XCache is refreshed for the service properties (30s), and role assignment takes effect (300s).
14 |
15 | Start-Sleep -s 300
16 |
--------------------------------------------------------------------------------
/sdk/template/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | cmake_minimum_required (VERSION 3.13)
5 |
6 | project (azure-template LANGUAGES CXX)
7 | set(CMAKE_CXX_STANDARD 14)
8 | set(CMAKE_CXX_STANDARD_REQUIRED ON)
9 | set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
10 |
11 | add_subdirectory(azure-template)
12 |
--------------------------------------------------------------------------------
/sdk/template/azure-template/inc/ApiViewSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFilesToProcess": null,
3 | "sourceFilesToSkip": [
4 | ],
5 | "additionalIncludeDirectories": [
6 | "../../../core/azure-core/inc"
7 | ],
8 | "additionalCompilerSwitches": [
9 | "-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH"
10 | ],
11 | "allowInternal": false,
12 | "includeDetail": false,
13 | "includePrivate": false,
14 | "filterNamespace": "Azure::",
15 | "reviewName": "Azure Template API Review",
16 | "serviceName": "Azure Template",
17 | "packageName": "azure-template"
18 | }
19 |
--------------------------------------------------------------------------------
/sdk/template/azure-template/inc/azure/template.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | /**
5 | * @brief Includes all public headers from Azure Template SDK library.
6 | *
7 | */
8 |
9 | #pragma once
10 |
11 | #include "azure/template/dll_import_export.hpp"
12 | #include "azure/template/rtti.hpp"
13 | #include "azure/template/template_client.hpp"
14 |
--------------------------------------------------------------------------------
/sdk/template/azure-template/test/ut/macro_guard.cpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | // Define `min` and `max` as function-like macros before including all public
5 | // headers to ensure that uses of those identifiers are defended against
6 | // expansion as function-like macros. Define `small` as an object-like macro to
7 | // ensure that identifier isn't used at all. Windows.h is badly behaved and
8 | // defines similar macros with these names and we want to ensure the SDK headers
9 | // function even when a naive user includes Windows.h first.
10 | //
11 | #define small FAIL>
16 |
--------------------------------------------------------------------------------
/sdk/template/azure-template/vcpkg.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "azure-template-cpp",
3 | "version-string": "1.0.0",
4 | "dependencies": [
5 | {
6 | "name": "azure-core-cpp"
7 | },
8 | {
9 | "name": "vcpkg-cmake",
10 | "host": true
11 | },
12 | {
13 | "name": "vcpkg-cmake-config",
14 | "host": true
15 | }
16 | ]
17 | }
--------------------------------------------------------------------------------
/sdk/template/azure-template/vcpkg/Config.cmake.in:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation.
2 | # Licensed under the MIT License.
3 |
4 | @PACKAGE_INIT@
5 |
6 | include(CMakeFindDependencyMacro)
7 | find_dependency(azure-core-cpp)
8 |
9 | include("${CMAKE_CURRENT_LIST_DIR}/azure-template-cppTargets.cmake")
10 |
11 | check_required_components("azure-template-cpp")
12 |
--------------------------------------------------------------------------------
/vcpkg-custom-ports/openssl/openssl.pc.in:
--------------------------------------------------------------------------------
1 | prefix=${pcfiledir}/../..
2 | exec_prefix=${prefix}
3 | libdir=${exec_prefix}/lib
4 | includedir=${prefix}/include
5 | Version: @OPENSSL_VERSION@
6 | @pc_data@
7 |
--------------------------------------------------------------------------------
/vcpkg-custom-ports/openssl/unix/remove-deps.cmake:
--------------------------------------------------------------------------------
1 | file(GLOB_RECURSE MAKEFILES ${DIR}/*/Makefile)
2 | foreach(MAKEFILE ${MAKEFILES})
3 | message("removing deps from ${MAKEFILE}")
4 | file(READ "${MAKEFILE}" _contents)
5 | string(REGEX REPLACE "\n# DO NOT DELETE THIS LINE.*" "" _contents "${_contents}")
6 | file(WRITE "${MAKEFILE}" "${_contents}")
7 | endforeach()
8 |
--------------------------------------------------------------------------------
/vcpkg-custom-ports/openssl/usage:
--------------------------------------------------------------------------------
1 | The package openssl is compatible with built-in CMake targets:
2 |
3 | find_package(OpenSSL REQUIRED)
4 | target_link_libraries(main PRIVATE OpenSSL::SSL OpenSSL::Crypto)
5 |
--------------------------------------------------------------------------------
/vcpkg-custom-ports/openssl/vcpkg.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "openssl",
3 | "version-string": "1.1.1n",
4 | "port-version": 1,
5 | "description": "OpenSSL is an open source project that provides a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. It is also a general-purpose cryptography library.",
6 | "homepage": "https://www.openssl.org",
7 | "license": "OpenSSL",
8 | "dependencies": [
9 | {
10 | "name": "vcpkg-cmake",
11 | "host": true
12 | },
13 | {
14 | "name": "vcpkg-cmake-config",
15 | "host": true
16 | }
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------