Граф коммитов

113 Коммитов

Автор SHA1 Сообщение Дата
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 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
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
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
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
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
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
microzchang dd3e5d4027
Storage September Release (#5967)
* Update version

* Update queue change log
2024-09-18 10:09:26 +08:00
Larry Osterman 2b987eeed8
Improve code coverage numbers by excluding some options (#5805)
* Potentially improve code coverage numbers by excluding some options

* Removed dead lines; replicated switches to both gcovr executions

* added link to gcovr branch coverage faq
2024-07-17 18:36:10 +00:00
microzchang fbccfdd758
Storage July Release (#5753)
* Storage July Release

* Update release date
2024-07-17 17:26:41 +08:00
Larry Osterman e19dc2371c
Use GetTestCredentials in eventhubs admin client; updated samples to allow sample execution to be disabled (#5799)
* Use GetTestCredentials in eventhubs admin client; updated samples to allow sample execution to be disabled

* Made sample execution optional

* re-enabled building keyvault samples

* Disabled RetrieveMultipleEvents test

* Disabled RetrieveMultipleEvents test

* Pull request feedback
2024-07-16 10:29:54 -07:00
Anton Kolesnyk 22f5135d4c
Update vcpkg SHA (#5772) 2024-07-11 22:57:06 +00:00
Anton Kolesnyk 729491820e
Update vcpkg SHA (#5757)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-07-02 09:05:04 -07:00
Larry Osterman 8be8a36487
Eventhubs May 2024 release (#5605) 2024-05-08 11:15:57 -07:00
microzchang d1019cfeb1
Storage May GA Release (#5578) 2024-05-08 10:37:18 +08:00
Anton Kolesnyk 0421c580da
Update vcpkg SHA (#5564)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-04-24 00:51:45 +00:00
Anton Kolesnyk b1d1763d91
Update more dependency versions (#5502)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-04-09 12:27:33 -07:00
Anton Kolesnyk aad2299dcd
Revert commits related to `_azure_BUILD_FOR_TESTING` and `_azure_*_FOR_TESTS` (#5416)
* Revert "Remove the use of ifdef for TESTING_BUILD in KeyVault clients, where (#5406)"

This reverts commit 2d8c940f55.

* Revert "Rename the TESTING_BUILD macro to be _azure_TESTING_BUILD to highlight (#5390)"

This reverts commit 256c2df8b5.

* Revert "Use new macros in existing surface area, so that classes marked as final don't have virtual methods. (#5389)"

This reverts commit 3d7eaddb9d.

* Revert "For new surface area, classes marked as final should not have virtual methods. (#5331)"

This reverts commit ddd0f4bd07.

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-03-07 04:03:35 +00:00
Ahson Khan 3d7eaddb9d
Use new macros in existing surface area, so that classes marked as final don't have virtual methods. (#5389)
* Use new macros in existing surface area, so that classes marked as final don't have virtual methods.

* Update doc comments.

* Use DOXYGEN_PREDEFINED to expand only the macros we want expanded.

* Add the compile definition for more projects.

* Address PR feedback.

* Make TestableTokenCache a friend class of TokenCache.
2024-02-29 20:48:12 -08:00
Ahson Khan 61f5ce00c2
Make it clear that the BUILD_TESTING option is for testing purposes for contributors of the SDK and not supported for production use. (#5396)
* Make it clear that the BUILD_TESTING option is for testing purposes for contributors of the SDK and not supported for production use.

* Update FolderList.cmake to make a similar note.

* Fix spelling errors.

* Update CONTRIBUTING.md

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

* Update GPL link

---------

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2024-02-29 17:07:30 -08:00
Anton Kolesnyk 735da80bf8
Update vcpkg SHA (#5347)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-13 17:00:12 -08:00
Anton Kolesnyk 09b3f81ff2
Tables January Release (#5239)
* Tables January Release

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-01-16 13:10:25 -08:00
George Arama 20d9364a3d
Storage tables implementation (#5137)
* dss

* first pass at a client and tests

* constructors work

* working request, need to fix the response parsing

* basic tests working for service client

* refactored the constructors

* testproxy and tests

* format file

* got client and one API working

* list working

* all apis recorded

* new assets.json

* assets.json regen

* format json

* adding word to cspell

* fix build issues

* fix one more break

* typo

* clangs

* one more issue

* more fixezez

* regen recordings

* try again

* clangs

* clangs again

* new assets

* new test proxy

* regen tests based on new merge

* hmmm

* restore

* add debug env for test proxy

* resync cmake presets from main

* gor get and set working

* get stats

* table client and create

* delete

* get/set acls

* list tables

* some cleanup

* Create /update/merge/delete

* upsert

* query entities

* generated tests

* clangs

* some fixes

* some more errors

* cspells

* got transaction API working

* transactions working , need to parse response

* get data out of the response

* clangs

* batch1

* regen tests

* part 2

* batch3

* batch4

* clangs

* regen tests

* regen tests

* try again

* live only

* added some more tests for the transaction body

* small refactor for tests

* oops

* some oter update

* darn includes

* sddfsd

* erorr fix

* key clients

* sas

* small cleanup

* All tests passing

* test recordings

* clangs

* missing ENV for test

* attempt1

* retry

* couple recordings

* regen some tests

* clangs

* again

* again

* comments

* comments

* headers and footers

* some cleanjup

* Move folders step1

* revert assets and test resources in storage

* revert to main

* cspell

* readme

* comments

* revert ci.yml

* liveonly test

* clangs

* camke

* ci2

* try again

* fdssfs

* fdsfsd

* some cleanup

* dasda

* dsdsds

* asda

* assets

* comments

* a few more bits and pieces

* some other updates for cspell

* typo

* more docs

* spell

* another doc error

* clangs docs

* docs

* test cov

* dasdas

* hg

* stress test

* cspell

* Update sdk/storage/azure-storage-common/test/ut/CMakeLists.txt

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

* Update sdk/storage/azure-storage-common/test/ut/shared_key_policy_lite_test.cpp

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

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

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

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

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

* Update sdk/tables/azure-data-tables/test/stress/scenarios-matrix.yaml

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

* Update sdk/tables/azure-data-tables/test/stress/Dockerfile

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

* PR comments

* respurces cleanup

* cleanup 2

* respurce fix

* revddrt

* weqq

* oops

* try again

* Update sdk/tables/azure-data-tables/vcpkg/vcpkg.json

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

* try

* test fix

* samples

* readmes

* readmes

* readmes

* api view settings

* qualify friends

* try

* moving usings

* refactor for API View tool

* some more

* clangs

* Update sdk/tables/README.md

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

* Update sdk/core/azure-core/inc/azure/core/http/http.hpp

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

* Update sdk/core/azure-core/src/http/transport_policy.cpp

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

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

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

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

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

* Update sdk/tables/azure-data-tables/test/ut/CMakeLists.txt

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

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

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

* some comments

* comments

* comments part N

* clang

* try now

* clang

* comments

* update file names

* update test to check for the final signature

* ccc

* rename shared key policy lite

* cleanup some includes

* add a couple more tests

* small update

* clang

* increase test limits

* xml transition

* service_version_policy

* shared creds and key policy lite

* switch to secondary policy

* code done

* remove last storage vestiges

* put back some code

* readme/changelog

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

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

* Add the shared key policy for Larry

* Larry comments

* curlybracify the initializers

* Update sdk/core/azure-core-xml/inc/azure/core/xml/dll_import_export.hpp

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

* Update sdk/core/azure-core-xml/vcpkg.json

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

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

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

* Rick's comments one more namespace change for serializers

* whiteline

* typo

* oops

* includes and clangs

* cleanup

* jhfjdhjfd

* hjkjdhf

* daas

* Anton's comments

* clang

* revert some changes

* fdss

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

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

* everything works

* clangs and vcpkg test

* test remove azure-core-xml

* vcpkg json

* remove the code

* merge main

* saa

* wqw

* last comments

* clang

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2024-01-12 11:04:43 -08:00
Anton Kolesnyk 370bedc8ae
Add retry logic for CMake download operations (#5227)
* Add retry logic for CMake donwload operations

* Remove message

* PR feedback

* Move condition out of the loop

* Another small improvement

* Cleaner diff

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-12-13 14:35:35 -08:00
Anton Kolesnyk 05d1f5455c
Make vcpkg.json comment multiline (#5175)
* Make vcpkg.json comment multiline

* Update core-opentelemetry tests to be able to compile with opentelemetry-cpp version 1.12.0

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-21 17:06:37 -08:00
microzchang 6cae0c71fa
Storage November Release (#5096)
* Storage November Release

* update queue version
2023-11-08 10:16:47 +08:00
Larry Osterman 51c8955d85
Vendor AMQP at commit 52942afb1a4b48a1d8af7a3ac37d3211661e3423 (#5049)
* Vendored version of uamqp

* Exclude vendored modules from cspell

* Code coverage

* Code coverage improvements

* Removed more coverage exclusions
2023-10-25 11:19:20 -07:00
microzchang 6b66a9d189
Storage October release (#5038)
* Storage October release

* fix spell

* update release date

* update changelog
2023-10-17 02:45:48 +00:00
Anton Kolesnyk 1d4412cb8e
Update comments for AzureTransportAdapters.cmake (#5001)
* Update comments for AzureTransportAdapters.cmake

* Update cmake-modules/AzureTransportAdapters.cmake

Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>

* Update cmake-modules/AzureTransportAdapters.cmake

Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>

---------

Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>
2023-10-03 23:03:43 +00:00
Anton Kolesnyk be478542fb
Vcpkg-related fixes for checkpointstore-blob (#4998)
* checkpointstore-blob vcpkg dependency fix

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update FolderList.cmake
2023-10-03 00:35:16 +00:00
Anton Kolesnyk 6c2e3628fa
Fix vcpkg features for azure-core-cpp (#4934)
* Fix vcpkg features for azure-core-cpp

* Rearrange conditions

* EOL@EOF

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-09-29 19:16:53 +00:00
Anton Kolesnyk 4b155b5a72
Update vcpkg SHA (#4986)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-09-25 13:36:29 -07:00
Larry Osterman 336c8c02fb
Removed storage dependency from eventhubs (#4954)
* Removed storage dependency from eventhubs

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-09-22 08:06:58 -07:00
microzchang 224332197d
storage-september-release (#4935)
* upgrade package version

* add features added title
2023-09-13 10:33:23 +08:00
Ahson Khan 803c7e22e4
Add back package versions to the FolderList.cmake and remove EventHubs from the list for now (#4811)
* Add back package versions to the FolderList.cmake and remove EventHubs from the list for now

* Add eventhubs with latest released tags for dependencies for versions within FolderList.cmake
2023-07-20 10:14:15 -07:00
Larry Osterman a627ab3f22
Initial creation of EventHubs service by @gearama (#4755) 2023-07-13 12:39:18 -07:00
Rick Winter b54d509c72
Use standard syntax for MIT license (#4786)
* Use standard syntax for MIT license

* Stop appending "All rights reserved"
2023-07-12 22:37:36 -07:00
Anton Kolesnyk 7da5a4568c
Update vcpkg baseline (#4772)
* Update vcpkg baseline

* Update in another place as well

* Remove default-features requirement for telemetry and amqp in manifest mode

* Also remove default-features for storage

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-07-10 14:22:40 -07:00
Larry Osterman fba91e34c9
Enabled doxygen validation in CI pipeline. (#4715)
* doxygen fixes

* enable doxygen errors now that doxygen is updated.

---------

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2023-06-22 18:26:07 -07:00
Daniel Jurek df2fdba718
Upgrade Doxygen (#4724)
* Upgrade Doxygen to 1.9.7 including template and version selector

* Style and logo changes

* Add README.md for docs templates

* Tabs to spaces

* Show installed doxygen version

* choco list

* "choco" is a word

* Choco list

* Require Doxygen 1.9.7

* Revert "Choco list"

This reverts commit 4d28308877.

* Revert ""choco" is a word"

This reverts commit 3233cfde86.

* Revert "choco list"

This reverts commit 107499ba74.

* Review feedback: Use storage account

* Update README.md
2023-06-22 22:58:56 +00:00
microzchang 93434329d1
Storage May GA Release (#4616)
Storage May GA Release
2023-05-08 13:52:25 +08:00
microzchang c9ccc78f4b
Storage April Release (#4532)
* storage-april-release

* update release date
2023-04-11 10:08:46 +08:00
microzchang 2850c5d32c
Storage March Release (#4410)
* Storage March Release
2023-03-07 14:25:33 +08:00
George Arama 3762c59552
Test proxy start (#4295)
* lll

* sss

* oipio

* vcvc

* enable test proxy start at test suite start for KV and storage , example created for attestation, we cannot find the base definitions for the test suites,

* Contrib

* clangs

* clangs

* test logs

* pipeline

* more clangs

* pipeline

* clang

* try try again

* try try again

* try again

* try again

* again

* update paths , moved to macro , call macro in target code

* core

* capitalization
2023-02-07 10:52:20 -08:00
George Arama 310790a5c1
Update artifacts for ci.yml (#4330)
* update artifacts

* remove error

* try

* gfd

* folderlist

* put back core
2023-02-03 11:41:52 -08:00
Anton Kolesnyk ada77b34a6
Fix vcpkg install (#4327)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-02-02 11:19:54 -08:00
George Arama ef4d41267f
Test proxy (#4118)
* start

* recording

* playback

* refactor, playback and record

* recordings for kv

* klklk

* open telemetry, identity

* attest

* all tests recorded except storage

* STORAGE RECORDINGDS

* some cleanup

* ignore result

* testproxy remade

* fiiine , do something with the result , goooosh

* install test proxy

* clang

* clang

* certs maybe

* cmake generate fix,

* start test proxy script

* start test proxy on env

* clang, move TP after build

* reregen

* certs

* sda

* dss

* allow insecure connections

* put back

* debug

* iuy

* try again

* ewew

* chmod

* try again

* update sanitizer

* output testproxy log

* sjhgasjgdajh

* folder

* worxy

* fix tests and log file

* format files

* clang format

* clang

* sa

* sa

* cleanup

* cspell

* oops

* remove redundant method

* tests

* put back original

* restore to 933486385a

* recordings

* remove storage values

* storage recordings

* disable non functioning tests

* remove core install of test proxy

* _LIVEONLY_ tests

* clang install when needed

* logs on condition

* skip tests

* revert cpp to original version

* quick test

* right that one

* one skip

* identity pushed

* maybe

* override

* clang

* clang

* attestetion

* keyvault

* reenable 20+ tests

* 5 tests left , lease related

* a bit of cleanup

* try now

* snitizers

* some fixes

* capitalization

* clang , cover, peakA

* WEIRD NAME THING ON WINDOWS

* storage recordings

* one more livee

* createappenddelete_liveonly

* CreateWithTags_LIVEONLY_

* try capitalization

* another onw

* maybe now

* all liveonly

* try restore before test

* typo

* condition

* clang and cc

* azure core ci

* qwqwq

* dsasdas

* cleanup1

* typo

* spaces

* cleanup2

* cleanup 3

* remove start proxy

* cleanup +1

* Update cmake-modules/TestProxyPrep.cmake

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

* Update eng/scripts/Start-TestProxy.ps1

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

* Update eng/scripts/Stop-TestProxy.ps1

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

* PR comments

* clangs

* Update sdk/core/azure-core-test/src/test_proxy_policy.cpp

* build

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2022-12-13 10:58:19 -08:00
Ahson Khan f587bf9e79
Update vcpkg baseline to latest released tags/2022.10.19 (#4100)
* Update vcpkg baseline to latest released tags/2022.10.19

This is now in-sync with Embedded C as well.

* Update AzureVcpkg cmake module and the vcpkg commit string defined there.

* Remove the use of VCPKG_ROOT and VCPKG_INSTALLATION_ROOT from the cmake module.
2022-11-18 16:38:24 -08:00
George Arama 1da78ce13e
Gtest timeout fix (#4078)
* PT1

* typo

* timeout

* gtest_1.12.1

* cspell isnore cmakelistst , it seem to freeze when checking these files

* timeout for cmake generate

* timeout for cmake generate p2

* timeout for cmake generate p3

* timeout for cmake generate p4

* timeout for cmake generate p5

* PR

* node 18

* nppm

* npm

* bug in cspell, freezed on txt files

* AntonComment extra space

* cspell
2022-11-02 15:46:38 -07:00