Commit Graph

3346 Commits

Author SHA1 Message Date
Azure SDK Bot
4dba315a29
Increment version for storage releases (#6097)
* Increment package version after release of azure-storage-common

* Increment package version after release of azure-storage-files-shares
2024-10-15 17:02:31 +08:00
Wes Haggard
e2e59ea1f0
Switch to TME test subscription (#6093) 2024-10-14 11:05:46 -07:00
microzchang
4fbdbf5e89
Storage October Release (#6090)
* storage october release

* update

* update
2024-10-14 15:32:28 +08:00
Anton Kolesnyk
e1d9893467
Acknowledge community contribution to Identity (#6092)
* Acknowledge community contribution to Identity

* Update cspell.json

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-10-11 21:28:34 +00:00
Anton Kolesnyk
bf550f2544
Acknowledge community contribution to Core (#6091)
* Acknowledge community contribution to Core

* Update CHANGELOG.md

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-10-11 21:06:40 +00:00
Azure SDK Bot
e1b029219f
Sync eng/common directory with azure-sdk-tools for PR 9102 (#6089)
* Add CompatibleConvertFrom-Yaml to common Package-Helpers
* Add CI artifact parsing to Save-Package-Properties, now each individual packageinfo.json file contains the relevant ci artifact lines for the package. This short circuits needing to re-parse this information in common checks.

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-11 13:00:33 -07:00
James Le Cuirot
a091f4c8e0
Set VERSION property against all libraries to write versioned SONAME (#6087)
The SONAME currently written to shared libraries is unversioned, e.g.
libazure-core.so. The SDK's ABI is unstable, so replacing these .so
files with newer versions will immediately break any consumers.

Setting the VERSION property results in libazure-core.so being a symlink
that is used at build time to point to the versioned library, e.g.
libazure-core.so.1.14.0. Consumers point directly to the versioned
library and continue to work against the older version when the library
is upgraded. Once rebuilt, they then point to the newer version instead.

It is more common to use an ABI version that is separate to the library
version, but it makes sense to use the latter when the ABI is unstable.
The Boost libraries do exactly this.

This change has no effect on static libraries, which is the more common
use case. See the CMake documentation for its wider effects.

https://cmake.org/cmake/help/latest/prop_tgt/VERSION.html
2024-10-11 11:42:13 -07:00
microzchang
1da4dae17e
Storage STG96 Features (#6078)
* update swagger. (#6021)

* Storage/STG96 File Ace for Copy (#6027)

* file ace for copy

* update recording

* add back line

* Storage/STG96 Provisioned v2 billing model for Azure Files (#6030)

* add feature

* add quota testing

* update tests

* Fix spell

* Storage/STG96 ProvisionV2 latest swagger update (#6075)

* Update to latest swagger

* update cspell

* Storage STG96/immpolicy snapshot version support (#6077)

* update test cases

* update record

* update account sas version

* Update test case

* update comment

* fix cspell

* Update test resource

* udpate test resource

* update test resource

* revert test resource
2024-10-11 10:48:52 +08:00
gearama
a06f8b06bd
Generating the actual files (#6088)
* Get TSP files from remote git location with sparce checkout

* PR comments

* spell

* use SHA

* download codegen

* start gen

* first stab at generating

* clang

* PR comments

* clang

* typo
2024-10-10 14:06:52 -07:00
John Blischak
7f8647a33d
azure-identity-cpp 1.10.0 requires azure-core-cpp >= 1.14.0 (#6086) 2024-10-09 09:51:21 -07:00
gearama
97fe310d51
Get TSP files from remote git location with sparse checkout (#6081)
* Get TSP files from remote git location with sparce checkout

* PR comments

* spell

* use SHA
2024-10-08 22:44:41 -07:00
Azure SDK Bot
0e48f058d4
Sync eng/common directory with azure-sdk-tools for PR 9106 (#6082)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-08 15:58:14 -07:00
Azure SDK Bot
9b4417e38f
Use equality function check for persist oidc token step (#6084)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-08 15:37:18 -07:00
Azure SDK Bot
8abdba048f
Increment package version after release of azure-identity (#6080) 2024-10-08 14:18:11 -07:00
Azure SDK Bot
4b913e073e
Persist oidc env vars in deploy template (#6079)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-08 11:59:21 -07:00
Ahson Khan
29bbab9747
Azure Identity October GA Release (#6057)
* Azure Identity October GA Release

* Update CL entry to include resource ID feature.
2024-10-08 11:00:03 -07:00
Ahson Khan
8f8d24280f
Fixed warning for an unused function in curl.cpp when building the SDK using a version of libcurl older than 7.77.0 (#6073) 2024-10-07 16:28:25 -07:00
Albert Cheng
9f2b00be2b
[apiview] adding pr support (#5932)
* add detect api changes

* add detect api changes

* trigger test pipeline

* adding cpp.json ref

* yml syntax

* move partial script below artifact publish

* renaming + trimming down

* download parser

* download parser

* download parser

* fix parser download

* update to parser 2.0

* update to parser 2.1

* update parser version

* trigger pipeline

* trigger pipeline

* download ste7p testing

* download ste7p testing

* download ste7p testing

* download parser from blob

* download parser from blob

* download parser from blob

* download parser from blob

* cspell

* download parser from blob

* download parser from blob

* directory change for get artifacts

* directory change for get artifacts

* publish packageinfo artifact

* publish packageinfo artifact

* publish packageinfo artifact

* debug

* debug

* artifact name

* artifact name

* artifact name

* artifact name

* api file

* delete job

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* dupe package json

* dupe package json

* codefile

* codefile

* codefile

* codefile

* codefile

* test in staging

* cleanup

* use api parser 0.15.0

* ignore unfound package for apiview artifacts

* pr adjustments

* pr adjustments

* pr adjustments

* latest version update

* update latest parser version

* add api parser version

* Update sdk/template/azure-template/src/template_client.cpp

* add template testing for api changes

* add template testing for api changes

* out path change

* out path change

* delete parser path

* delete parser path

* move save package properties out of artifacts loop

* Update sdk/template/azure-template/src/template_client.cpp

* Update sdk/template/azure-template/src/private/package_version.hpp

* Update sdk/template/azure-template/inc/azure/template/template_client.hpp
2024-10-04 13:17:45 -07:00
Azure SDK Bot
519e208a00
Need to add environment to subscription configuration (#6068)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-10-04 13:16:42 -07:00
Anton Kolesnyk
101f20f2bb
Disable treating warnings as errors when the SDK is being consumed via FolderList (#6066)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-10-03 20:53:07 -07:00
Azure SDK Bot
4722e3df3c
Increment package version after release of azure-core (#6062)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-10-03 19:50:04 -07:00
Anton Kolesnyk
9aa25a063d
UserAgentGenerator compatibility for previously published EventHubs (#6063)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-10-03 19:48:47 -07:00
Azure SDK Bot
54e5e22b1a
Sync eng/common directory with azure-sdk-tools for PR 9092 (#6061)
* Export the subscription data from the service connection

* Update deploy-test-resources.yml

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-10-03 15:11:09 -07:00
Ahson Khan
f80caf2fea
Remove support for customizing the IMDS endpoint within ManagedIdentityCredential using an env var (#5997)
* Remove support for customizing the IMDS endpoint within ManagedIdentityCredential using an env var

* Remove test after merge.

* Revert "Remove test after merge."

This reverts commit 0d1a4fb8ca5c34bc253e999a86d337bbcddea63e.

* Only remove the test, after merge.

* Move imds endpoint url to a named const string and add doc link
2024-10-03 13:49:34 -07:00
Anton Kolesnyk
1289063cc2
Azure Core October GA Release (#6053)
* Azure Core October GA Release

* Change to re-trigger CI

* Undo change, still re-trigger CI

* Update sdk/core/azure-core/CHANGELOG.md

Co-authored-by: Larry Osterman <LarryOsterman@users.noreply.github.com>

* Also update wording in the previous release

* Spelling

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Larry Osterman <LarryOsterman@users.noreply.github.com>
2024-10-03 11:29:28 -07:00
Ben Broderick Phillips
02e54b9ee3
Default to sub config file paths/svc connection for public + sovereign live tests (#5845) 2024-10-02 16:45:23 -04:00
Anton Kolesnyk
5c9c44546a
Update vcpkg SHA (#6054)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-10-02 13:20:35 -07:00
Azure SDK Bot
90bd17c5b4
Update New-TestResources.ps1 to add quotes around shell envvar (#6050)
Co-authored-by: swathipil <swathip@microsoft.com>
2024-10-02 13:14:52 -07:00
Ahson Khan
d22781c84a
Use static factory methods to create ManagedIdentityId rather than an enum (#6051)
* Use a static factory method

* Update tests and samples.

* Remove unnecessary std::move and update the samples in readme.

* Address PR feedback - use more real values for resourceIDs in tests.

* Update tests and samples to use resourceID strings with the expected prefix.

* Fix test assert.
2024-10-02 09:22:29 -07:00
Ahson Khan
5a6176706d
Add basic input validation to ResourceIdentifier for ensuring the prefix match what is expected. (#6056)
* Initial verification and tests.

* Simplify validation checks to what's needed.

* Update changelog entry.

* Fix typo and disable cspell for a test line.

* Address PR feedback.
2024-10-02 06:42:01 +00:00
Ahson Khan
1ce3178c42
In ClientCertificateCredential, add the x5c parameter of the JWT token as a JSON array rather than a JSON string. (#6052)
* In ClientCertificateCredential, add the x5c parameter of the JWT token as a JSON array rather than a JSON string.

* Update sdk/identity/azure-identity/src/client_certificate_credential.cpp

Co-authored-by: Ray Luo <rayluo.mba@gmail.com>

---------

Co-authored-by: Ray Luo <rayluo.mba@gmail.com>
2024-10-01 22:01:59 -07:00
Anton Kolesnyk
b550ecc46d
CI: mac: update xcode version (#6055)
* CI: mac: update xcode version

* Use xcode 15.4

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-10-01 18:40:43 -07:00
Anton Kolesnyk
171386533a
Fix/unify links in CHANGELOG.md files (#6048)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-09-30 12:35:55 -07:00
Anton Kolesnyk
488b65e6a2
Acknowledge community contributions in Changelog (#6047)
* Acknowledge community contributions in Changelog

* Update cspell.json

* Update sdk/core/azure-core/CHANGELOG.md

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2024-09-27 17:00:43 -07:00
Azure SDK Bot
3fc099bfd0
Docs onboarding: ValidatePackageForOnboarding2 -> PackageIsValidForDocsOnboarding (#6045)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-09-26 15:05:17 -07:00
Azure SDK Bot
da781f6c13
Update CodeownersLinter to 1.0.0-dev.20240926.2 (#6046)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-09-26 12:33:56 -07:00
Ahson Khan
aa728eed6d
Use code snippets from managed identity credential samples in identity readme doc and fix minor generation issues (#6020)
* Use code snippets from managed identity credential samples in identity readme doc.

* Generate readme from snippets.

* Update snippet generation script to remove unnecessary indentation and extra new line at eof.

* Update Snippet Generation doc to show a concrete example on how to run it.

* Update other repo READMEs with the generation fixes.

* Fix KeyVault Secrets sample and use the snippets in its README

* Use the added sample snippet.
2024-09-25 16:56:57 -07:00
James Le Cuirot
f3119bd899
Fix building docs from subprojects by not using CMAKE_SOURCE_DIR (#6016)
The generate_documentation function needs assets from the top-level SDK
directory. CMAKE_SOURCE_DIR will not point there if building from a
subproject like sdk/core/azure-core.

Fix this by defining SDK_ROOT_DIR, which is based on PROJECT_SOURCE_DIR.
This should always work as long as each subproject calling the function
is always 3 levels down, which is currently the case.
2024-09-25 16:39:10 -07:00
Ahson Khan
023469bc18
Remove unused included header from core that isn't available in the GA'd version (#6042) 2024-09-25 16:09:22 -07:00
Ben Broderick Phillips
32db80516b
Updating CODEOWNERS for 1espt config (#6023) 2024-09-25 22:23:03 +00:00
microsoft-github-policy-service[bot]
022c0eb31a
Auto-generated baselines by 1ES Pipeline Templates (#6007)
* Updated for https://dev.azure.com/azure-sdk/29ec6040-b234-4e31-b139-33dc4287b756/_build?definitionId=1614 by using baselines generated in https://dev.azure.com/azure-sdk/29ec6040-b234-4e31-b139-33dc4287b756/_build/results?buildId=4148366

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=1615 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4148373

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=1963 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4148539

* Use core pipeline only for auto baseline

---------

Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-09-25 17:55:57 -04:00
Azure SDK Bot
9655b9f5b8
Sync eng/common directory with azure-sdk-tools for PR 9035 (#6032)
* don't verify changelog for packages that aren't actively published anymore
---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2024-09-25 11:46:31 -07:00
Azure SDK Bot
d4df39bb14
Increment version for storage releases (#6029)
* Increment package version after release of azure-storage-common

* Increment package version after release of azure-storage-blobs

* Increment package version after release of azure-storage-files-datalake

* Increment package version after release of azure-storage-files-shares

* Increment package version after release of azure-storage-queues
2024-09-25 11:23:29 +00:00
Ahson Khan
23729124bd
Make the HTTP transport behavior consistent between WinHTTP and libcurl by disabling automatically following redirects on Windows. (#6018)
* Make the HTTP transport behavior consistent between WinHTTP and libCurl by disabling automatically following redirects on Windows.

* Re-enable APC test.

* Fix casing in changelog.

* Add http bin based unit test and fix typo in doc comment for curl.

* Update test name to avoid 'dont'

* Fix typo.
2024-09-24 13:14:08 -07:00
James Suplizio
04d0b4dcaf
Give CODEOWNERS file an owner in CODEOWNERS (#6028)
* Give CODEOWNERS file an owner in CODEOWNERS

* add ronnie as well
2024-09-24 11:59:27 -07:00
Azure SDK Bot
bc9aaa43cf
Sync eng/common directory with azure-sdk-tools for PR 9013 (#6013)
* Spelling: Remove deprecated --no-install, replace with --no

* Extract testing, use npm exec instead of npx

* Move tests to eng/common-tests/

* Cleanup, documentation

* More cleanup

* Update $command

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-09-24 09:50:14 -07:00
Ahson Khan
610c85d768
Disable static analysis for live test pipelines. (#6024)
* Disable static analysis for live test pipelines.

* Remove the AZURE_ENABLE_STATIC_ANALYSIS env var definition.
2024-09-23 22:36:18 +00:00
Wes Haggard
9789d540e8
Revert "Pin windows image version (#5995)" (#6010)
This reverts commit ea00a69e04.
2024-09-23 11:02:00 -07:00
Ahson Khan
309a390947
Add a readme section for user and system assigned managed identity for ManagedIdentityCredential. (#5838)
* Add a readme section for user and system assigned managed identity for
MICredential.

* Update the README to reflect new API surface and add section about Object ID.

* Mention object ID in the intro.

* Reorder the list of IDs mentioned to match the section order.
2024-09-21 07:00:12 +00:00
Ahson Khan
b1f147e884
Updated the request header sent to the OIDC endpoint in so it doesn't result in a redirect response when an invalid system access token is provided. (#6019)
* Updated the request header sent to the OIDC endpoint in  so it doesn't result in a redirect response when an invalid system access token is provided.

* Add comment on what X-TFS-FedAuthRedirect does.
2024-09-20 17:42:57 -07:00