Commit Graph

2167 Commits

Author SHA1 Message Date
microzchang
d2bdf925e9
Storage November Release (#6196) 2024-11-11 10:43:25 +08:00
Ahson Khan
0e29b2860d
Update test regex in ci.yml for Azure.Data.Tables to be more strict and avoid bringing in appconfiguration (#6203) 2024-11-08 15:34:17 -08:00
Ahson Khan
9ae8fc845e
Remove unused HttpHeaderClientRequestId const within timeout policy used by Azure.Data.Tables. (#6185) 2024-11-08 12:46:44 -08:00
Ahson Khan
d46cdad67f
Add project skeleton and check-in snapshot of generated SDK for Azure App Configuration. (#6176)
* Add project skeleton and check-in snapshot of generated SDK for Azure App Configuration.

* Add new line at eof

* Add exclusion to the cspell issue.

* Explicitly use size_t instead of auto for iterating through a vector

* Add another cspell exclusion, since it is case-sensitive

* Address PR feedback, update CL, package version.

* Update readme to remove template project content.

* Exclude appconfig from recordings, since none exist atm.

* Temporarily exclude appconfiguration from docs generation.

* Add line/branch coverage thresholds and skip publishing docs if they don't exist.
2024-11-08 12:28:18 -08:00
Azure SDK Bot
3ca9fe5540
Increment package version after release of azure-identity (#6197) 2024-11-08 20:09:44 +00:00
Ahson Khan
c7d19e2832
Prepare for Identity Nov GA patch release. (#6194) 2024-11-08 10:40:52 -08:00
Ahson Khan
127fab4254
Fix KeyVaultChallengeBasedAuthenticationPolicy test MultipleTimes since the bearer token policy now invalidates the token cache on receiving a 401. (#6191) 2024-11-07 10:04:55 -08:00
Ahson Khan
ac3321c857
Fix overflow issue in token cache. (#6190)
* Fix overflow issue in token cache.

* Add test
2024-11-06 18:32:09 -08:00
Larry Osterman
9770fb77dc
Implement mTLS support in WinHTTP transport. (#6131)
* Very preliminary mTLS implementation

* Tests for TLS client certificate

* Tested mTLS functionality

* Added changelog entry; updated PCCERT_CONTEXT using declaration to be more succinct.
2024-11-06 20:03:08 +00:00
Anton Kolesnyk
868a14f4d8
Minor code cleanups 2 (#6171)
* Minor code cleanups

* Clang-format

* Adjust line coverage target

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-11-05 10:12:13 -08:00
Anton Kolesnyk
daeff2ce9e
Minor code cleanups (#6169)
* Minor code cleanups

* Update claims_based_security_impl.hpp

Undo UniqueAmqpCbsHandle removal - it is right, but will create problems for Larry working in a feature branch when merging it back.

* Update claims_based_security_impl.hpp

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-11-04 19:58:06 +00:00
Azure SDK Bot
10f51dcc99
Increment package version after release of azure-messaging-eventhubs (#6167)
---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-11-01 16:22:19 -07:00
Azure SDK Bot
54872294f9
Increment package version after release of azure-core (#6168)
---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-11-01 16:21:12 -07:00
Anton Kolesnyk
0180c8ee5c
HttpShared::GenerateUserAgent() (#6163)
* Rename UserAgentGenerator

* Update includes

* Clang-format

* Move GenerateUserAgent() to HttpShared class

* Update invocations

* Update invocations

* Clang-format

* Drop unnecessary include

* Update release dates

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-11-01 14:07:45 -07:00
Ahson Khan
57cc679580
Remove linking azure-storage-blobs in azure-data-tables tests and decouple storage-common test base from blobs (#6141)
* Remove linking azure-storage-blobs in azure-data-tables tests

* Decouple storage-common tests and blobs by removing some dependency.

* Remove dependency in test_base.hpp on certain headers from storage-common that aren't needed.

* Remove pragma once that weren't needed, and reduce the blobs headers included to the specific ones.

* Fix the copy/paste typo for account types in test_base.
2024-10-31 11:14:38 -07:00
Anton Kolesnyk
99e0895a5d
Move UserAgentGenerator to _internal (#6067)
* Move UserAgentGenerator to _internal

* Clang-format

* Update release date to November release (Core)

* Update release date to November release (EventHubs)

* _MSVC_LANG

* Move comment up

* Add /Zc:__cplusplus when building the SDK, and add unittest

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-10-31 10:00:12 -07:00
gearama
03786320fa
remove Include options from query tablesinclude (#6156) 2024-10-30 14:24:15 -07:00
Ahson Khan
c441880042
Move constants from _detail namespace into private hpp in src. (#6152)
* Move constants from _detail namespace into private hpp in src.

* Address PR feedback, rename file to tables_constants.hpp
2024-10-30 14:07:45 -07:00
Ahson Khan
064fcad72f
Set token to be expired if response comes back as unauthorized, within BeareTokenAuthenticationPolicy. (#6151)
* Set token to be expired if response comes back as unauthorized.

* Add CL entry.

* Update CL.

* Use trc MinimumExpiration to invalidate the credential's token cache.

* Add test.

* Address PR feedback.

* Remove comment as it is no longer relevant.

* Use initializer list syntax to see if posix compilers are okay with that.

* Keep the bool field as non-atomic.

* Revert "Keep the bool field as non-atomic."

This reverts commit 1b8c7622d5234b010bb0a4eb5db8a436de5a2adf.
2024-10-30 14:00:42 -07:00
Ahson Khan
c168d736dd
Make ApiVersion field within client options settable for keyvault packages (#6130) 2024-10-29 21:13:44 -07:00
Ahson Khan
cb655deb44
Rename table client headers and split out the clients into their own files. (#6135)
* Rename table client headers and split out the clients into their own files.

* Fix clang format.

* Add CL entry.

* fix clang format.

* fix merge.
2024-10-29 20:11:59 -07:00
Ahson Khan
fb79281273
Removed the TablesAudience field from TableClientOptions since it is not required. (#6145) 2024-10-29 15:07:09 -07:00
Ahson Khan
6dc58c07d5
Remove TableServiceClient ctor that only accepts options with no url or auth mechanism. (#6140)
* Remove TableServiceClient ctor that only accepts options with no url or auth mechanism.

* Add CL entry.

* Fix wording of CL.
2024-10-29 15:01:38 -07:00
Ahson Khan
0144780b18
Removed ServiceVersion type, replaced with ApiVersion field in the TableClientOptions type. (#6136)
* Removed ServiceVersion type, replaced with ApiVersion field in the TableClientOptions type.

* Reword CL a bit.

* Fix typo

* Fix usage of ApiVersion in source.
2024-10-29 10:01:19 -07:00
Ahson Khan
22c997d36a
Use the package version for telemetry, rather than api version. (#6146) 2024-10-29 10:00:07 -07:00
Ahson Khan
d835e1a3b1
Move the serializer, xml wrapper, and policies headers out of public/internal and into private folders within src. (#6124)
* Move the serializer and xml wrapper headers out of public/internal and into private folders within src.

* Move the private policy header out of public/internal and into private folders within src.

* Clang format fix.
2024-10-25 13:04:32 -07:00
Ahson Khan
22c52996f3
Move the crytpo headers out of public/internal and into private folders within src. (#6119) 2024-10-23 10:32:26 -07:00
gearama
4d51e6bc9a
first stab at a client tsp /tspconfig scripts (#6101)
* first stab at a client tsp /tspconfig scripts

* space
2024-10-16 13:11:50 -07:00
gearama
0ec700a819
Kv tsp secrets2 (#6094)
* compact the macros
copy generated files

* some comments

* Cleanup and update to the latest SHAs

* sdffds

* working hybrid

* cleanup

* clang

* Update cmake-modules/TSPCompile.cmake

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

---------

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2024-10-15 12:13:49 -07:00
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
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
8abdba048f
Increment package version after release of azure-identity (#6080) 2024-10-08 14:18:11 -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
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
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
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
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