Commit Graph

2855 Commits

Author SHA1 Message Date
George Arama
4f6cc88004
Http Transport perf test (#5309)
* mroe quotes

* dssf

* sqa

* first identity test no caching

* cache no cache

* cleanup cache shortcircuit

* some cleanup

* http test 1

* Update sdk/core/perf/src/base_test.cpp

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

* PR comments

* remove cache option

* wqq

* dsd

* saa

* wqq

* dfs

* clang

* http get post curl winhttp

* Update sdk/core/perf/inc/azure/perf/dynamic_test_options.hpp

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

* rtter

* PR comments

* PT comments

* clang

* http transport test

* Update sdk/core/perf/src/base_test.cpp

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

* PR comments

* remove cache option

* wqq

* dsd

* saa

* wqq

* dfs

* clang

* http get post curl winhttp

* rtter

* PR comments

* PT comments

* clang

* http transport test

* PR comments

* clangs

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2024-02-02 11:28:26 -08:00
Azure SDK Bot
02882f9141
Fix issue in Verify-Link.ps1 after PS 7.4 update (#5314)
https://learn.microsoft.com/en-us/powershell/scripting/whats-new/what-s-new-in-powershell-74?view=powershell-7.4
- Add AllowInsecureRedirect switch to Web cmdlets (#18546)

That new option cause a new exception type that exposed
a bug where we assumed if InnerException property existed
that it was not null. This fix verifies that the property
is not null.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-02-02 11:27:55 -08:00
Azure SDK Bot
46fcbbad52
Sync eng/common directory with azure-sdk-tools for PR 7615 (#5313)
* Prepare-Release.ps1: Make dateTime.ToString("MM/dd/yyyy") to work on exotic set-ups

On my machine, I experimented with the registry, and the worst part is that I don't remember/know how to reset it back.

The work items that script produces, do have datetimes for the upcoming releases in the `MM-dd-yyyy` format, and then I have to correct them by hand.

`dateTime.ToString("MM/dd/yyyy")` does produce the date in the format of `MM-dd-yyyy` on my machine. This also happens if I write a corresponding .NET app.

The fix that I am proposing makes it work on my specific setup and hopefully breaks no one else. I understand if you are hesitant to take it. Let me know, I'll see how I can restore my setting.

But on the other hand, I don't think it makes anything worse, it only makes things more robust, so maybe take it?

* Use [CultureInfo]::InvarialtCulture

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Update eng/common/scripts/Prepare-Release.ps1

* Update eng/common/scripts/Prepare-Release.ps1

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-02-02 18:26:04 +00:00
Anton Kolesnyk
901bd298e4
Azure Core February Releases (#5312)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-02 10:23:58 -08:00
Larry Osterman
092d6bcc3b
Fixed nightly CI pipeline build error (#5311)
* Fixed nightly CI pipeline build error

* printf format string errors
2024-02-02 10:10:09 -08:00
Anton Kolesnyk
9b79205b68
Azure Core February Releases (#5304)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-01 12:54:29 -08:00
George Arama
070c7e94db
Step 1 in adding (more)perf tests for Core and Identity. (#5300)
* mroe quotes

* dssf

* sqa

* first identity test no caching

* cache no cache

* cleanup cache shortcircuit

* some cleanup

* Update sdk/core/perf/src/base_test.cpp

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

* PR comments

* remove cache option

* wqq

* dsd

* saa

* wqq

* clang

* Update sdk/core/perf/inc/azure/perf/dynamic_test_options.hpp

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

* PR comments

* PT comments

* clang

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2024-02-01 10:47:02 -08:00
Larry Osterman
c2f189695c
Removed dead script (#5306) 2024-01-31 23:13:08 +00:00
Azure SDK Bot
166e46bd8a
Sync eng/common directory with azure-sdk-tools for PR 7585 (#5302)
* Remove package retrieval when verify pkg version

* Modified description of PackageName parameter

---------

Co-authored-by: Ray Chen <raychen@microsoft.com>
2024-01-30 23:49:09 -08:00
Larry Osterman
27aab786c2
AMQP Session related fixes. (#5299)
* Implemented connection handle table to fix half closed session problem

* Correctly handle session begin after connection is open

* Split out amqp settle mode to separate header; added test coverage for AMQP Transfer and Detach performatives

* Use absolute path for settle mode header
2024-01-30 15:32:58 -08:00
Azure SDK Bot
dffa3edb2a
Sync eng/common directory with azure-sdk-tools for PR 7584 (#5294)
* Fix role assignment for user auth

* PR fb

* Apply suggestions from code review

Co-authored-by: Heath Stewart <heaths@outlook.com>

---------

Co-authored-by: jolov <jolov@microsoft.com>
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
Co-authored-by: Heath Stewart <heaths@outlook.com>
2024-01-25 14:52:29 -08:00
Azure SDK Bot
55afd2dd4e
Sync eng/common directory with azure-sdk-tools for PR 7569 (#5289)
* Correct the name of JS package folder

* Uncomment the package verification

* Logging more info for troubleshooting

* Get sdkType and directory from the package info

---------

Co-authored-by: Ray Chen <raychen@microsoft.com>
2024-01-25 01:58:28 -08:00
Azure SDK Bot
85f4835e96
Sync eng/common directory with azure-sdk-tools for PR 7580 (#5292)
* Support creating resources with user auth

* Log warning if TestApplicationId is set

* missing space

* regenerate md file

* Rename

* Update link

---------

Co-authored-by: jolov <jolov@microsoft.com>
2024-01-24 15:38:17 -08:00
Larry Osterman
47bf038701
Ported uAMQP bug fix to C++ repo (#5291) 2024-01-24 13:34:11 -08:00
Larry Osterman
76c82f0b9e
Fixed bug in Eventhubs live tests (#5290)
* Fixed bug in Eventhubs live tests

* switched back to DAC for tests
2024-01-24 21:33:40 +00:00
Azure SDK Bot
4820c4f999
use merge instead of cherry-pick in merge-proxy-tags.ps1 (#5286)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-01-21 21:57:52 -08:00
Azure SDK Bot
6c4e0f776f
Fix typos in ps1 scripts (#5285)
Co-authored-by: Lukasz Kokot <lkokot@kumojin.com>
2024-01-19 10:24:42 -08:00
Azure SDK Bot
2bede63129
Fix Language value for JS (#5283)
Co-authored-by: raychen <raychen@microsoft.com>
2024-01-18 22:05:09 -08:00
Azure SDK Bot
b1796ab919
Add git commit details to stress environment (#5280)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-01-18 16:56:19 -05:00
Larry Osterman
f109f63f4e
Synchronous AMQP Close (#5281)
* First cut at blocking close

* Removed synchronous ifdefs
2024-01-18 12:54:23 -08:00
Azure SDK Bot
84f000c7c6
Sync eng/common directory with azure-sdk-tools for PR 7537 (#5278)
* Add ConflictedFile to git-helpers.ps1, add git-helpers.tests.ps1 to exercise basic functionality.
* Add `resolve-asset-conflict.ps1` a script that can autoresolve an assets.json file.

---------

Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-01-17 14:08:35 -08:00
Larry Osterman
32e774f2ed
Changelog entry for winhttp bug fix (#5277)
* Changelog entry for winhttp bug fix

* Updated changelog with further suggestions
2024-01-17 13:21:13 -08:00
Larry Osterman
3bff843704
Attempt to diagnose WinHTTP CI pipeline errors. (#5259)
* Fixes for CVE-2024-21646

* Added note about this fix to CHANGELOG.md

* Tweaks to investigate CI pipeline error
2024-01-17 12:02:42 -08:00
Anton Kolesnyk
84c4812d98
Re-enable UWP CI pipeline (#5226)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-01-17 10:41:20 -08:00
Azure SDK Bot
a0f4244136
Sync eng/common directory with azure-sdk-tools for PR 7512 (#5258)
* generate an artifact with the updated files

* bring in Wes's feedback

---------

Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2024-01-16 18:10:27 -08:00
Azure SDK Bot
4383383283
Increment version for keyvault releases (#5276)
* Increment package version after release of azure-security-keyvault-keys

* Increment package version after release of azure-security-keyvault-certificates

* Increment package version after release of azure-security-keyvault-secrets

* Increment package version after release of azure-security-keyvault-administration
2024-01-17 01:20:46 +00:00
Azure SDK Bot
f548d1eabe
Filter packages at verify step (#5275)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-01-16 16:06:48 -08:00
Azure SDK Bot
2a4292f3ac
Increment package version after release of azure-data-tables (#5274) 2024-01-16 23:20:21 +00:00
Anton Kolesnyk
1d22b9bc57
Fix broken link (#5273)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-01-16 22:27:05 +00: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
Anton Kolesnyk
68644be709
Key Vault January Releases (#5241)
* Key Vault January Releases

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-01-16 13:09:48 -08:00
George Arama
0f73c3958c
last quotes (#5271)
* mroe quotes

* dssf

* sqa
2024-01-16 12:31:47 -08:00
George Arama
b43d53bb23
fix export (#5270)
* fix export

* naming

* quotes

* more quotes
2024-01-16 12:01:31 -08:00
Jesse Squire
c42e03e570
[CODEOWNERS] Remove automation section (#5269)
The focus of these changes is to remove the automation section, as CODEOWNERS changes no longer require manual syncing.
2024-01-16 19:02:04 +00:00
Azure SDK Bot
6b23905a7c
Correct the variable name in spec location validation script (#5265)
Co-authored-by: raychen <raychen@microsoft.com>
2024-01-15 01:08:04 -08:00
Azure SDK Bot
535874a085
Sync eng/common directory with azure-sdk-tools for PR 7451 (#5264)
* Added script and pipeline for spec location validation

SDK release pipeline would run this validation to ensure the spec comes from
the main branch of Azure/azure-rest-api-specs repo

* Update parameter

* Use github rest api to validate commit

* Added token parameter

* Support more yaml cases and other languages

* Removed the default setting in yaml template

* Only validate in case of GA package

* Follow APIView to retrieve package version for verification

* Get github token from env variable

* Removed obsolete parameter

---------

Co-authored-by: raychen <raychen@microsoft.com>
2024-01-14 19:37:42 -08:00
George Arama
677d54aff3
Larry's comments (#5261)
* Larry's comments

* clang

* revenge of the clang
2024-01-12 17:21:13 -08:00
Anton Kolesnyk
b0217106e4
Remove 'using namespace' from header files (#5260)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-01-12 14:42:30 -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
Azure SDK Bot
9d3870fe8d
Increment package version after release of azure-identity (#5257) 2024-01-11 15:47:56 -08:00
Azure SDK Bot
01e3e05efa
Increment package version after release of azure-messaging-eventhubs (#5256) 2024-01-11 15:44:54 -08:00
Azure SDK Bot
2e343802cd
Increment version for core releases (#5255)
* Increment package version after release of azure-core

* Increment package version after release of azure-core-amqp
2024-01-11 15:43:19 -08:00
Anton Kolesnyk
23af33186e
Identity January Release (#5242)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-01-11 13:31:07 -08:00
Anton Kolesnyk
03de1fbaa4
Core-Core (GA) + Core-AMQP (Beta) + Event Hubs (Beta) January Releases (#5243)
* Core-Core + Core-AMQP + Event Hubs January Releases

* Update CHANGELOG.md

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-01-11 13:30:42 -08:00
Azure SDK Bot
08c5187e36
Sync eng/common directory with azure-sdk-tools for PR 7445 (#5247)
* Add package filter parameter to select recursively found packages in release

* Handle empty value for packageFilter

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-01-11 12:43:30 -08:00
Larry Osterman
23ecf87ecb
Fixes for CVE-2024-21646 (#5251)
* Fixes for CVE-2024-21646

* Added note about this fix to CHANGELOG.md
2024-01-11 11:33:25 -08:00
Ahson Khan
dece333752
Add a remark in CAInfo doc comment mentioning it is Linux only. (#5248) 2024-01-11 19:23:35 +00:00
George Arama
e69559f45e
Options UT (#5249)
* Options Http Enum add

* spaces

* options UT

* remove Options

* Revert "remove Options"

This reverts commit 0da5d2c1f57133c22723208d6feb2c925e7f8103.
2024-01-11 10:11:01 -08:00
Ahson Khan
88242f3cf1
Make the CAPath option available on all OSes and change to throw on runtime on non-linux. (#5207)
* Make the CAPath option available on all OSes and change to throw on
runtime on non-linux.

* Address PR feedback, update test, and let curl fail on unsupported
platforms.
2024-01-10 17:16:50 -08:00
George Arama
7eeb60960c
Options Http Enum add to Core (#5246)
* Options Http Enum add

* spaces
2024-01-10 12:26:37 -08:00