Commit Graph

2236 Commits

Author SHA1 Message Date
Anton Kolesnyk
e8d34efc67
Update Identity live test (#6516)
* Update Identity live test

* Clang-format

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-04-08 11:55:11 -07:00
Anton Kolesnyk
170660ff80
Identity April GA Release (#6504)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-04-08 10:31:59 -07:00
gearama
9b94fc3f72
Kv april releases (#6508)
* april releases

* changelogs

* fds

* fds

* Update sdk/keyvault/azure-security-keyvault-keys/CHANGELOG.md

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

* sadasfsd

---------

Co-authored-by: Larry Osterman <LarryOsterman@users.noreply.github.com>
2025-04-08 09:42:30 -07:00
gearama
020ffec789
Certs update (#6507)
* generate code and build the generated code

* client

* update name

* put back things

* work in progress for get

* get and get version

* das

* issuer ops

* set/get/delete contacts

* backup restore

* Get /update policy

* purge

* get deleted

* Update props

* Merge cert

* import cert

* Create

* Start delete

* Recover

* Delete/Cacel op

* GetCertsProps

* Get versions

* get deleted certs

* getissuers

* some cleanup and tests all working

* samples

* test record

* PR build

* more PR stuffs

* PR update part i lost count

* clang

* Update sdk/keyvault/azure-security-keyvault-certificates/samples/certificate-basic-operations/certificate_basic_operations.cpp

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* Update sdk/keyvault/azure-security-keyvault-certificates/samples/certificate-get-certificates/certificate_get_certificates.cpp

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* Update sdk/keyvault/azure-security-keyvault-certificates/samples/certificate-import-certificate/certificate_import_certificate.cpp

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* Update sdk/keyvault/azure-security-keyvault-certificates/test/ut/certificate_client_base_test.hpp

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* Update sdk/keyvault/azure-security-keyvault-certificates/test/ut/certificate_client_test.cpp

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* comments

* explicitly turn off

* friend comments

* clang

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2025-04-07 12:31:45 -07:00
Sutou Kouhei
6cc8fc195f
Add support for building with ICU 75.1 or later (#6486)
* Add support for building with ICU 75.1 or later

We use ICU via libxml2 implicitly. ICU 75.1 or later require C++17 for
its C++ API:

https://github.com/unicode-org/icu/releases/tag/release-75-1

> C++ code now requires C++17

But we use C++17. So `#include <libxml/xmlreader.h>` with ICU 75.1 or
later causes an error:

    [1/177] Building CXX object sdk/storage/azure-storage-common/CMakeFiles/azure-storage-common.dir/src/xml_wrapper.cpp.o
    FAILED: sdk/storage/azure-storage-common/CMakeFiles/azure-storage-common.dir/src/xml_wrapper.cpp.o
    /bin/c++ -DAZ_RTTI -DBUILD_CURL_HTTP_TRANSPORT_ADAPTER -D_azure_BUILDING_SDK
    -Isdk/storage/azure-storage-common/inc -Isdk/core/azure-core/inc
    -isystem /usr/include/libxml2 -g -std=gnu++14 -fno-operator-names
    -Wold-style-cast -Wall -Wextra -pedantic -Werror -MD
    -MT sdk/storage/azure-storage-common/CMakeFiles/azure-storage-common.dir/src/xml_wrapper.cpp.o
    -MF sdk/storage/azure-storage-common/CMakeFiles/azure-storage-common.dir/src/xml_wrapper.cpp.o.d
    -o sdk/storage/azure-storage-common/CMakeFiles/azure-storage-common.dir/src/xml_wrapper.cpp.o
    -c sdk/storage/azure-storage-common/src/xml_wrapper.cpp
    In file included from /usr/include/unicode/uenum.h:25,
                     from /usr/include/unicode/ucnv.h:52,
                     from /usr/include/libxml2/libxml/encoding.h:31,
                     from /usr/include/libxml2/libxml/parser.h:812,
                     from /usr/include/libxml2/libxml/globals.h:18,
                     from /usr/include/libxml2/libxml/threads.h:35,
                     from /usr/include/libxml2/libxml/xmlmemory.h:218,
                     from /usr/include/libxml2/libxml/tree.h:1307,
                     from /usr/include/libxml2/libxml/xmlreader.h:14,
                     from sdk/storage/azure-storage-common/src/xml_wrapper.cpp:23:
    /usr/include/unicode/localpointer.h:561:26: error: 'auto' parameter not permitted in this context
      561 | template <typename Type, auto closeFunction>
          |                          ^~~~
    /usr/include/unicode/localpointer.h:573:76: error: template argument 2 is invalid
      573 |     explicit LocalOpenPointer(std::unique_ptr<Type, decltype(closeFunction)> &&p)
          |                                                                            ^
    /usr/include/unicode/localpointer.h:583:78: error: template argument 2 is invalid
      583 |     LocalOpenPointer &operator=(std::unique_ptr<Type, decltype(closeFunction)> &&p) {
          |                                                                              ^
    /usr/include/unicode/localpointer.h:599:59: error: template argument 2 is invalid
      599 |     operator std::unique_ptr<Type, decltype(closeFunction)> () && {
          |                                                           ^
    /usr/include/unicode/uenum.h:69:1: note: invalid template non-type parameter
       69 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, uenum_close);
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/unicode/ucnv.h:597:1: note: invalid template non-type parameter
      597 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, ucnv_close);
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~

We don't need ICU C++ API. So we can avoid this error by disabling ICU
C++ API by defining `U_SHOW_CPLUSPLUS_API` as `0`.

* Update CHANGELOG
2025-04-02 16:08:40 -07:00
gearama
9ac4ae9002
Temporary fix for the live pipeline (#6496)
* take out expects till we fix the TME thing

* clang
2025-03-31 15:43:20 -07:00
gearama
da1f4c399f
Keys update (#6491)
* Generate files

* GetKey done

* Creates done

* GetDeletedKey

* StartDeleteKey

* StartRecoverDeleted

* backup/restore

* purge/rotate

* import

* update properties

* get/update rotation policy

* release key

* GetProps of keys

* GetVersions

* GetDeletedKeys

* remove test used for test

* cleanup tests

* remove some methods

* tests

* PR pipeline

* more PR

* fsdfs

* clang

* update to hsm

* PR comments

* PR

* rwe

* Rerecord for HSM and fix get

* gdf
2025-03-31 11:16:41 -07:00
Anton Kolesnyk
eaae21410c
Update Identity root README to align with the common format (#6493)
* Update Identity root README to align with the common format

* Update vcpkg link identifier in README

* Remove vcpkg installation instructions from README

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-03-31 09:54:19 -07:00
Larry Osterman
5652d3aecc
GeoDR preparation - EventHubs Offset is a string, not an integer encoded as a string (#6461)
* GeoDR preparation - EventHubs Offset is a string, not an integer encoded as a string

* clang-format
2025-03-27 12:28:15 -07:00
microzchang
ccd7e6b55e
Fix unstable test cases (#6485) 2025-03-27 09:53:29 -07:00
gearama
e05a88682d
regen into generated folder (#6472)
* secrets regen into magic folder

* AZURE to AZ

* missed

* drop namespaces
2025-03-17 13:34:47 -07:00
gearama
125c305961
Keyvault Secrets remake (#6463)
* first stab at a client tsp /tspconfig scripts

* space

* updates to clientTSP

* update for latest specs for KV

* gfd

* gfd

* hghf

* dfgdf

* jhg

* oopsie

* comments

* headers

* clang & param

* coverage

* more comments not gened

* spell

* more comments

* regen for testing

* gfd

* gdf

* tretre

* update to use tsp client

* vcxvx

* fdsfsd

* fds

* round 2

* api view

* dsa

* rte

* update to use code injection

* clang and comments

* gfd

* updates

* clang

* fsd

* spell

* comments

* some cleanup

* first test passing

* dsa

* second test

* startdeletesecret

* update secret ptoeprties

* recover secret

* cleanup clang

* docs

* update recordings and clean up tests

* ggfd

* ooops

* samples build

* gdf

* samples run

* perf tests

* CLANG

* fds

* CLAAAAAAAAANG

* update to latest version of the TSPs

* update to latest codegen

* gdfgdf

* replace method

* client and stuffs

* PR comments

* remove security from path

* clang

* qfe

* gdf

* update to models and to the lastest codegen

* forgot cmake file

* Update sdk/keyvault/azure-security-keyvault-secrets/samples/sample1-basic-operations/sample1_basic_operations.cpp

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* test api view

* dfsfsd

* ccxcvx

* step1

* delete, and lor and paged

* all work

* works and serializers and test for them gone

* cleanup test files

* sample

* tests passing

* dfsfsd

* latest codegen

* after merge

* fsd

* gfd

* gfd

* ApiView

* move to _details namespace

* put back readme

* update readmes

* clang

* dfsd

* get rid of snippets, validation fails without explanation as to what the failure is

* update locations of methods tp cpp files

* format files

* cover

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2025-03-14 13:46:49 -07:00
Anton Kolesnyk
22a08bc969
Use TokenCredential *const* everywhere (#6453)
* Use TokenCredential *const* everywhere

* Use left const where the surrounding code also uses it

* Use left const everywhere

* Clang-format

* More clang-format

* typos

* Clang-format

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-03-12 11:57:11 -07:00
Azure SDK Bot
70bd9abbed
Increment version for storage releases (#6460)
* Increment package version after release of azure-storage-common

* Increment package version after release of azure-storage-files-shares
2025-03-12 17:34:23 +08:00
Larry Osterman
e04e96cf87
Merged Rust AMQP stack with main. (#6442)
* Initial attempt at a Rust AMQP stack, merged against feature/rust_amqp for now. (#5942)

* Enabled building AMQP *without* uAMQP

* Start integrating Rust AMQP Value to C++ AMQP Value

* AMQP Value tests now pass

* Moved AmqpValueType ostream inserter to its original location

* Added Rust AMQP Message implementation

* Added start of message source tests

* Enabled building AMQP *without* uAMQP

* Start integrating Rust AMQP Value to C++ AMQP Value

* Moved AmqpValueType ostream inserter to its original location

* Message target support

* Message source and target support

* Add connection support; restructured tests to fail on RUST AMQP rather than attempting to run; removed some uAMQP-only features  (#5986)

* Checkpoint of connection logic

* Started implementing Rust based Connection by pulling out uAMQP artifacts

* Implemented AMQP Connection in Rust; started API surface refactoring for Rust APIs; Refactored tests to remove some uAMQP only elements.

* Don't leak runtime context on calls

* Refactor AMQP logic to better isolate rust AMQP code from uAMQP code. (#6008)

* refactor uAMQP and Rust AMQP into separate implementations for ease of use

* Add connection support; restructured tests to fail on RUST AMQP rather than attempting to run; removed some uAMQP-only features  (#5986)

* Checkpoint of connection logic

* Started implementing Rust based Connection by pulling out uAMQP artifacts

* Implemented AMQP Connection in Rust; started API surface refactoring for Rust APIs; Refactored tests to remove some uAMQP only elements.

* Don't leak runtime context on calls

* export UUID from AMQP

* Cleaned up some more elements; reduced scope of doxygen significantly

* runtime context needs to be process global not thread global; all tests pass or fail at this point

* Merged main into branch

* Implement AMQP Session APIs in Rust. (#6033)

* Checkpoint of rust session support

* Session begin/end now works

* Session tests pass

* Removed accidental regression

* Added rust per-call context (#6043)

* Reworked runtime context to be call context

* Added context parameter to blocking AMQP calls

* Added comments around the lifetime of the RustRuntimeContext captured in the CallContext object

* uAMQP changes corresponding to Rust changes

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* sync rust SDK fixes to C++

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* Enable Rust ClaimsBasedSecurity interoperability; Converted EventHubs producer client to work with Rust AMQP changes. (#6059)

* canonicalized return values; initial CBS support

* Implementation of CBS for C++

* Amqp Authentication works; Integrate Rust AMQP into Eventhubs Producer client

* Implemented Rust AMQP message sender. (#6083)

* Initial sender implementation

* PR feedback

* Management APIs work (#6096)


* Management APIs work

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* Converted builders to be compliant with Rust guidelines. (#6102)

* Converted builders to be compliant with Rust guidelines.

* Bring rust changes back to C++ repo

* Improved builder developer experience

* Removed builders from AMQP layer to conform to Rust guidelines; Fixed AMQP bug in message sender tests (#6208)

* Removed builders from AMQP layer to conform to Rust guidelines; Fixed AMQP related bug in message sender tests

* Pr feedback

* Implement receiving messages; Changes to eventhubs so that all eventhubs tests pass (#6254)


* Eventhubs tests pass

* Noise reduction; explain the task which spawns a task

* Update sdk/eventhubs/azure-messaging-eventhubs/src/producer_client.cpp

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* PR feedback

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* Integrate Rust 2 step message receive code to C++ (#6349)

* Integrate Rust 2 step message receive code to C++

* If receiving a delivery failed, transmit the error to the message channel if at all possible

* Enable Rust based AMQP by default (#6362)

* AMQP tests now pass; Integrate TestAmqpBroker with CI pipeline

* Updated changelogs to reflect API changes made during AMQP updates

* Replace uAMQP with Rust AMQP as the default AMQP transport; Updated build configurationj to reflect that

* Test fixes

* PR feedback; test fixes

* Fixed uninitialized variable tanking some tests (#6381)

* Fixed uninitialized variable tanking some tests

* Fixed Rust AMQP tests

* Removed connection string support from Eventhubs and EH tests. (#6391)

* Removed the ability to use connection strings from EventHubs

* Enable Rust AMQP by default!!!

* Update CMakePresets.json

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2025-03-11 22:30:13 +00:00
Azure SDK Bot
e37c433672
Increment package version after release of azure-identity (#6457) 2025-03-11 19:57:33 +00:00
Anton Kolesnyk
1c1f500eb7
Azure Identity March Beta Release (#6451)
* Azure Identity March Beta Release

* Remove empty sections

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-03-11 11:36:46 -07:00
microzchang
e3ebf9c230
Storage March Release (#6445) 2025-03-10 12:42:40 +08:00
Larry Osterman
7fe547bd3c
Update the logging level for CRL validation failures (#6449) 2025-03-07 10:37:28 -08:00
Azure SDK Bot
03688bbe68
Increment package version after release of azure-core (#6452) 2025-03-06 21:49:56 +00:00
Anton Kolesnyk
b6e7a28c62
Azure Core March GA Release (#6450)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-03-06 12:18:05 -08:00
Scott Addie
c7deb5a0a8
Remove impressions pixel from Markdown files (#6435) 2025-02-26 16:38:16 +00:00
Anton Kolesnyk
237e617a4a
Identity: Log Client ID used in ManagedIdentityCredential (#6426)
* Identity: Log Client ID used in ManagedIdentityCredential

* Clang-format

* [&]

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-02-24 12:27:33 -08:00
gearama
00c45ee8ae
fix certs and missing include (#6425) 2025-02-18 13:02:34 -08:00
Anton Kolesnyk
d96cd6b76a
Identity: disable GCC warning (#6414)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-02-13 16:19:46 -08:00
Anton Kolesnyk
b40045e8e9
Identity: Add AzureCliCredentialOptions::Subscription (#6415)
* Identity: Add AzureCliCredentialOptions::Subscription

* Clang-format

* Id => ID

* Fix typo

* Apply suggestions from code review

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

* Replace `decltype` with `auto` in test file

* + "If this is the name of a subscription, use its ID instead."

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Larry Osterman <LarryOsterman@users.noreply.github.com>
2025-02-13 15:26:10 -08:00
Wes Haggard
092ac143ed
Update github.io doc links (#6418) 2025-02-13 15:10:24 -08:00
Azure SDK Bot
2f4c070473
Increment version for storage releases (#6413)
* Increment package version after release of azure-storage-common

* Increment package version after release of azure-storage-files-shares
2025-02-12 07:57:19 -08:00
microzchang
be2241d86c
Update to new versions (#6403) 2025-02-10 11:21:33 +08:00
microzchang
b7bd086776
Storage STG97 Features (#6396)
* Storage STG97/NFS REST (#6245)

* Update rest layer and some structs

* Add file support.

* Add new apis

* Update test

* resolve clang error and cspell

* Update comments

* update comments

* Storage STG97/NFS REST Part2(Impl+test) (#6285)

* add test cases and some code change.

* update logic

* fix pipeline failure

* fix cspell

* update test record

* Fix pipeline failure

* Fix test case failure

* Storage/STG97 Remove Create/Get SymbolicLink API (#6304)

* Remove Create/Get SymbolicLink API

* update test record

* Fix archboard comments (#6324)
2025-02-07 06:47:09 +00:00
Rick Winter
9a32e64739
Fix CodeQL issue (#6382)
Add explanation to CodeQL suppression.

Change was pulled directly from nlohmann/json
nlohmann/json#4362
2025-01-29 13:04:48 -08:00
Ahson Khan
076452e183
Remove unused AttestationServiceUrl() from KeyVault Keys tests (#6363)
* Remove unused AttestationServiceUrl() from KeyVault Keys tests

* Delete unused test_consts.hpp

* Remove unnecessary include of "test_consts.hpp" in key_client_create_test_live.cpp

* Update CMakeLists.txt to remove unused test_consts.hpp
2025-01-23 23:28:50 -08:00
Azure SDK Bot
18111ff3c0
Increment package version after release of azure-data-tables (#6365) 2025-01-23 10:03:17 -08:00
gearama
03ef1c710b
Tables january release (#6327)
* gdf

* erwe

* ter

* ds

* update date
2025-01-22 11:11:54 -08:00
gearama
f2b8257b8f
update update approach v2 (#6339)
* update update v2

* clang

* Update sdk/tables/azure-data-tables/inc/azure/data/tables/table_client.hpp

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

* PR comments

* remove etag

* tired of trying to be smart

* clang

* const

* fsd

* fsdf

* clang

* clarify the headers

* clangs

* fsdfsd

* gdfggdf

* more pr

* ooops

---------

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2025-01-21 16:34:19 -08:00
Ahson Khan
c0fd0d544f
Update LiveTestCtestRegex within the ci.yml to match the CtestRegex value set (#6223)
* Update LiveTestCtestRegex ci.yml to see if it modifies the set of tests that run

* A random change to reset CI.

* Revert random change.
2025-01-18 01:18:03 -08:00
Ahson Khan
bc6c51fb3f
Remove unused responseString local variables within the table_client.cpp implementations (#6352) 2025-01-17 09:45:29 -08:00
Ahson Khan
604c18c588
Add samples for AppConfig LRO CreateSnapshot with comparisons of what we'd expect the user experience to be. (#6345)
* Add samples for AppConfig LRO CreateSnapshot with comparisons of what we'd expect the user experience to be.

* Add the necessary thread include.

* Update LRO sample where Operation<T> returns a status monitor instead of the resource.

* Add initial result to get the snapshot back from the first request, and fix formatting.

* Update the return type of GetSnapshot to match existing, current API shape.
2025-01-16 19:20:12 -08:00
Ahson Khan
212774466b
Add samples for Get, Archive, and Recover Snapshots with comparisons of what we'd expect the user experience to be. (#6344) 2025-01-16 17:34:56 -08:00
Ahson Khan
81cf0af8e6
Add samples for Lock and Unlock Configuration Settings with comparisons of what we'd expect the user experience to be. (#6342) 2025-01-16 17:10:39 -08:00
Ahson Khan
2a16afbd00
Add samples for all AppConfig pager methods (GetSnapshots, GetConfigurationSettings, GetRevisions) with comparisons of what we'd expect the user experience to be. (#6341)
* Add samples for all AppConfig pager methods (GetSnapshots, GetConfigurationSettings, GetRevisions) with comparisons of what we'd expect the user experience to be.

* Adding GetConfigurationSettings for snapshot.
2025-01-16 17:08:42 -08:00
Ahson Khan
514c4cc9b6
Add samples for AppConfig Pageable GetLabels with comparisons of what we'd expect the user experience to be. (#6338) 2025-01-13 23:20:02 -08:00
gearama
a6beedc115
Tables url encoding (#6312)
* test1

* dsaf

* clangs

* remove enum_operators as they where only used for sas related operations

* URLEncode

* gfd

* clang

* PR comments

* CLAAAAAAANG
2025-01-13 11:50:09 -08:00
Azure SDK Bot
53a74b0299
Increment package version after release of azure-core (#6332) 2025-01-11 04:04:43 -08:00
Ahson Khan
35ade03b72
Mark all AppConfig SDK client methods as const, since clients are immutable. (#6328) 2025-01-10 17:18:58 -08:00
Anton Kolesnyk
47007a6a9e
Azure Core January Beta Release (#6318)
* Azure Core January Beta Release

* Update release date to 2025-01-09

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-01-09 16:29:12 -08:00
Wes Haggard
c2bc4736fd
Update location of big test file (#6320) 2025-01-09 14:48:50 -08:00
gearama
ae8413fd5a
Remove redundant struct (#6326)
* remove reduntant struct

* clang
2025-01-09 13:00:42 -08:00
gearama
dd69357281
Few more tables issues (#6314)
* Few more tables issues

* comments

* clangs
2025-01-08 13:19:16 -08:00
gearama
c4c7e6a983
Remove SAS and deps from tables (#6311)
* test1

* dsaf

* clangs

* remove enum_operators as they where only used for sas related operations
2025-01-08 13:18:56 -08:00