Commit Graph

77 Commits

Author SHA1 Message Date
Anton Kolesnyk
397ae78b1e
Delete cgmanifest.json when being installed via vcpkg, but also update SHAs (#6789)
* Delete cgmanifest.json when being installed via vcpkg, but also update SHAs

* Update cspell

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-10-17 14:51:11 -07:00
dependabot[bot]
fac93b7d35
Bump github.com/microsoft/vcpkg from master to 2025.08.27 (#6726)
* Bump github.com/microsoft/vcpkg from master to 2025.08.27

Bumps [github.com/microsoft/vcpkg](https://github.com/microsoft/vcpkg) from master to 2025.08.27. This release includes the previously tagged commit.
- [Release notes](https://github.com/microsoft/vcpkg/releases)
- [Commits](ef7dbf94b9...120deac306)

---
updated-dependencies:
- dependency-name: github.com/microsoft/vcpkg
  dependency-version: 2025.08.27
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update corresponding files

* Stop using deprecated members from libxml2

* Clang-format

* Update use of opentelemetry deprecated include file

* Clang-format

* Another Opentelemetry breaking change

* Add include file

* NO_LINKER_OVERRIDE

* -framework Security on macOS

* Disable CurlTransportOptions.setCADirectory test on Mac

* disable -Wold-style-cast from external sources on mac

* Wrap all openssl includes to ignore -Wold-style-cast for clang

* Update cspell

* Wrap all usages of BIO_get_mem_data() macro to ignore -Wold-style-cast for clang

* Clang-format

* Clang-format

* Clang-format

* Wrap all usages of BIO_flush() macro to ignore -Wold-style-cast for clang

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-09-09 16:59:00 -07:00
Anton Kolesnyk
a035ee5f94
Identity: IMDS fail-fast and Cred order change in DAC (and Core support) (#6573)
* Identity: IMDS fail-fast and Cred order change in DAC (and Core support)

* Mac fix and cspell update

* Update unit test and clang-format

* Temporarily update samples to use AzCliCred until recordings are re-recorded

* Revert samples back to use DAC

* Remove SAS auth from Tables template

* Clang-format

* Add support for 'AZURE_POD_IDENTITY_AUTHORITY_HOST', override it for running samples in CI

* Add unit test for AZURE_POD_IDENTITY_AUTHORITY_HOST

* "in milliseconds"

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

* PR Feedback

* Named constant + comment

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2025-05-30 16:47:50 -07:00
gearama
1752fec5c0
Expose Scopes on the client options (#6522)
* try

* dsf

* Allow for scope to be passed in

* comment

* clang and others

* Update sdk/tables/azure-data-tables/test/ut/table_client_test.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

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

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

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

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

* PR comments

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

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

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

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

* PR

* clang

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2025-04-14 16:30:49 -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
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
Wes Haggard
092ac143ed
Update github.io doc links (#6418) 2025-02-13 15:10:24 -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
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
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
Ronnie Geraghty
b391d65809
Docs links coversion: docs.microsoft.com -> learn.microsoft.com (#6276)
* Docs links coversion: docs.microsoft.com -> learn.microsoft.com
Some markdown formatting

* Adding "msrc" to cspell words

* Undoing things auto formatter did

* Appling Ahson's suggestions
2024-12-16 09:32:19 -08:00
Ahson Khan
4efb0fcb2d
Remove unused SharedKeyLitePolicy and connection string helpers in Tables. (#6268)
* Remove SharedKeyLitePolicy and connection string helpers in Tables.

* Remove files and tests that are no longer necessary.
2024-11-27 11:21:23 -08:00
Azure SDK Bot
6d5c55a2c7
Increment package version after release of azure-data-tables (#6257) 2024-11-22 21:00:01 -08:00
gearama
aa7e64ca07
release (#6255) 2024-11-22 13:09:24 -08:00
gearama
d3a94e8cef
Tables beta (#6232)
* ggdfd

* api => API

* update ci.yml

* fsd

* try again

* tgdfgd

* quotes

* fdsf

* try again

* fgdf

* back to basics

* remove multiple gtest/gmock which get dragged in from core test

* put stuff back

* rewrew

* sdfsd

* fsd

* sdsad

* fdds

* fds

* maybe ?

* Update sdk/tables/azure-data-tables/CHANGELOG.md

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

* update date

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2024-11-20 16:31:53 -08:00
Anton Kolesnyk
bef420162e
Fix typos (#6234)
* Fix typos

* Fix name collision

* Re-trigger CI

* Re-trigger CI

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-11-17 23:06:28 -08:00
gearama
e6eaee7244
Tables cleanup work (#6181)
* conn and names key out

* all work except get set acl

* samples

* dqwd

* extra space

* record transactions, because test proxy

* tty

* clang and samples working , assets json

* fds

* samples , and remove APIs

* dsds

* acct name

* dsfds

* oopsie

* dasdas

* fdsfsd

* clangs

* account key for sas

* kjhdsakjhdkjashdjkwash

* dssfsd

* ggd

* Update sdk/tables/azure-data-tables/samples/CMakeLists.txt

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

* put back unused env in CI

* Update sdk/tables/azure-data-tables/src/table_clients.cpp

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

* Update sdk/tables/azure-data-tables/src/table_clients.cpp

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

* fdg

* fds

* update samples and readme

* sdjkfhsdkj

* Update sdk/tables/azure-data-tables/README.md

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

* Update sdk/tables/azure-data-tables/test/ut/table_client_test.hpp

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

* Update sdk/tables/azure-data-tables/test/ut/table_client_test.hpp

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

* update remove namespaces

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2024-11-13 12:55:59 -08:00
Anton Kolesnyk
b74d9c36be
Minor code cleanups (3) (#6179)
* Minor code cleanups (3)

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-11-11 15:36:58 -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
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
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
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
Wes Haggard
e2e59ea1f0
Switch to TME test subscription (#6093) 2024-10-14 11:05:46 -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
gearama
0e2f5b630d
Tables readme update (#5940)
* tables readme update

* oopsie

* replace service name

* updates per PR comments

* rfwerwer

* missing links

* PR changes

* erwerwe

* entity1

* links
2024-09-05 13:13:04 -07:00
Azure SDK Bot
3e21abaf74
Increment package version after release of azure-data-tables (#5883) 2024-08-07 10:01:41 -07:00
George Arama
7d5c76c24a
update changelog (#5881) 2024-08-06 14:55:58 -07:00
George Arama
d151ac9691
Tables Release (#5859) 2024-08-06 12:07:33 -07:00
George Arama
34c2441523
Enable UseFederatedAuth by default (#5852)
* enable use federated

* 401 unauthorized

* 401

* cleanup readmes

* DISABLE RUN

* Remove UseFederatedAuth overrides from ci.yml

* DISABLE RUN for admin samples,
2024-07-31 17:10:39 -07:00
Anton Kolesnyk
d32aab96eb
Acknowledge community contributions in changelogs (#5850)
* Acknowledge cusomer contributions

* Update cspell

* Add more contributors

* More cspell

* Update contributions

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-07-31 13:44:28 -07:00
Anton Kolesnyk
0f62b3aa63
Add consumption-time value of __cplusplus to User-Agent (#5662)
* Add consumption-time value of __cplusplus to User-Agent

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-07-29 18:31:51 -07:00
arwell
46757b69b1
Fix exception when an int32 value comes from the json (#5781)
* Fix exception when an int32 value comes from the json

* Update serializers.cpp

Fix Pipeline errors

* Format using clang

* add more tests

---------

Co-authored-by: George Arama <gearama@microsoft.com>
2024-07-29 12:50:34 -07:00
George Arama
313fb0e58f
Move tests to use azure pipeline credentials (#5754)
* test1

* hgdfchg

* remove the remnants of azure client secret

* test KV with federated auth

* UseFederatedAuth

* fdsa

* kv template with managed

* try try again

* retry permissions

* add net acls

* blunt force replace the resource json

* put back stuff

* trey again with new method

* attempt

* missed something

* flip if else

* Temporarily use empty sub config file path for preview cloud

* remove client secret

* try to fix the identity tests

* live skip failing tests and return in samples

* samples for identity fix

* disable failing samples in identity

* fix winhttp failing test

* comment out code

* remove managed identity

* restore version from main

* revert readme changes

* PR comments

* test 2

* clang

* attempt default creds with pipeline chanined

* clangs

* identity test and clangs

* oops

* live

* cleanup

* reter

* test

* revert the DAC change

* missed one

* taking the samples to a farm upstate

* PR comments

* Fix bad merge

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2024-07-11 17:38:19 -07:00
Azure SDK Bot
4ca2c8f028
Increment package version after release of azure-data-tables (#5710) 2024-06-11 11:58:20 -07:00