Commit Graph

1482 Commits

Author SHA1 Message Date
Larry Osterman
f757bb06e7
Clean up tracing logic - prepare for new tracing functionality. (#4263)
- Made Context immutable (including marking the static ApplicationContext as const
- Put back TelemetryPolicy in all pipeline cases and removed User-Agent generation from RequestActivityPolicy (note: This part of the change may end up being reverted). Also updated parameters for TelemetryPolicy to make it clearer that the parameter is a package name, not a service name.
- Changed Az.Namespace value from being the package name to being the service name.
- Change test SpanExporter to fully capture exported values rather than keeping references to the values.


Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-01-25 19:07:25 +00:00
George Arama
cc09902b17
rollback OKP change (#4271) 2023-01-24 15:44:19 -08:00
George Arama
e5812ec72c
Stress test (#4268)
* stressTest

* STRESS WORKS

* missing space
2023-01-24 15:43:54 -08:00
Anton Kolesnyk
136645c820
Update changelog wording (#4262)
* Update changelog for the Azurite fix

* Update changelog wording

* Update changelog wording

* Add "Fixed ..."

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

* Added "courtesy of" wording

* Spell checker update

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-01-20 02:59:18 +00:00
George Arama
f0aef715fe
perf resources (#4260)
* perf resources

* yt

* par 1

* put back resource
2023-01-18 16:33:00 -08:00
Anton Kolesnyk
441bb13225
Update changelog for the Azurite fix (#4259)
* Update changelog for the Azurite fix

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-01-18 16:04:55 -08:00
Johannes Schönberger
6e6ca66c26
Reset connection pool upon failure to read response (#4208)
* Reset connection pool upon failure to read response

* cspell

* format

* format

* CR
2023-01-18 22:07:31 +00:00
George Arama
d5e2ab88a9
Okp skip tests (#4256)
* first pass

* part2

* part3

* part 5

* pre PR

* updated tests

* fix test

* clangs

* updated changelog

* skip okp test sfor non HSM test runs

* no return value

* stupid mistake

* clang

* clang

* pr comments, clang

* oops

* skipping maybe?

* Update sdk/core/azure-core-test/inc/azure/core/test/test_base.hpp

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

* fir RemovePreffffffix

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-01-17 16:22:04 -08:00
George Arama
b7e7e4e000
Kv perf pipeline (#4222)
* secrets

* perftestst for get  Secret

* dss

* qfe

* pipelines

* comments

* cleanup script

* comment

* key last

* somemore stuff

* clang
2023-01-17 10:53:55 -08:00
Ahson Khan
4f7a0ea6cd
Fix spelling in doc comments within Certificate client models. (#4255)
Discovered in https://dev.azure.com/azure-sdk/public/_build/results?buildId=2120396&view=logs&jobId=a129effc-2dd1-54d1-fb5a-ad7bdc0e851d&j=a129effc-2dd1-54d1-fb5a-ad7bdc0e851d&t=ccad100f-2904-5913-2083-c525ad929a03 from https://github.com/Azure/azure-sdk-for-cpp/pull/4134
2023-01-17 18:37:25 +00:00
Azure SDK Bot
868ad80ca2
Increment package version after release of azure-storage-files-datalake (#4233) 2023-01-14 12:32:17 +08:00
George Arama
275f6f8077
Okp (#4239)
* first pass

* part2

* part3

* part 5

* pre PR

* updated tests

* fix test

* clangs

* updated changelog
2023-01-13 11:00:46 -08:00
George Arama
41e3e89cf8
live settings tests (#4242)
* settings tests

* oops the other way around

* asstes

* sample and readm e

* try try again

* typo
2023-01-13 10:40:18 -08:00
Anton Kolesnyk
fe29302583
Revert MultipleCrlOperations test to the previous version (#4238)
* Experiment with CI and MultipleCrlOperations test

* Switch to an older, less failure-proof version of the test from yesterday

* Switch Ubuntu18 to Azure Pipelines as well

* Undo CI changes just to make sure it fails

* Apply CI machine pool changes

* Move Ubuntu20 to general pool

* Move Ubuntu20 to general pool

* Move Ubuntu20 to perf pool

* Revert all changes in platform-matrix.json

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-01-12 16:53:55 -08:00
Anton Kolesnyk
ff53067dd3
Nullable::Reset() hardening (#4232)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-01-12 16:27:51 -08:00
George Arama
efee11268e
Settings API (#4210)
* skeletor

* client

* rework

* all works plus test

* sample , self pr

* tests

* clang

* Mind your language .. Sir ...

* comments

* removed preprocessor directives

* removed template class

* dll clang

* Rick PR
2023-01-11 10:55:15 -08:00
Larry Osterman
a34b8d19a5
Add ApiView settings for existing packages. (#4226)
* Create ApiViewSettings for most existing packages

* Corrected name for blobs storage review name

* Added cspell settings for DCURL

* Create ApiViewSettings for most existing packages

* Corrected name for blobs storage review name

* Added cspell settings for DCURL

* ApiView settings changes for DataLake

* Renamed includeInternal to allowInternal; Added storage common; Fixed package names

* Fixed spelling error

* If there's an error accessing the site with no CRL checks, don't try it any more

* Stop checking example.com because it doesn't work

* Update sdk/attestation/azure-security-attestation/inc/ApiViewSettings.json

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

* Update sdk/core/azure-core/inc/ApiViewSettings.json

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

* Update sdk/keyvault/azure-security-keyvault-secrets/inc/ApiViewSettings.json

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

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-01-11 08:16:13 -08:00
Anton Kolesnyk
d301dfb60d
Unblock Core CI (#4236) 2023-01-10 19:13:10 -08:00
Azure SDK Bot
01af6783b1
Increment package version after release of azure-identity (#4235) 2023-01-10 21:05:32 +00:00
George Arama
fa2f20326b
Identity January Release (#4220)
* changelog update

* Identity January Release

* trigger PR
2023-01-10 11:18:52 -08:00
microzchang
b78352bb75
Storage January release (#4216) 2023-01-10 15:39:50 +08:00
Azure SDK Bot
fb64990a87
Increment package version after release of azure-core (#4223) 2023-01-05 19:05:03 -08:00
George Arama
b372b85f5b
Core January Release (#4219)
* update changelog

* Core January Release
2023-01-05 08:40:22 -08:00
Ahson Khan
6536b0c61c
Move Request ctor impl to the request.cpp file instead of http.cpp (#4195)
* Move Request ctor impl to the request.cpp file instead of http.cpp

* Add the ctors to request.cpp

* Remove null body stream header from http.cpp

* Remove unused namespace using

* Add _internal using namespace for NullBodyStream

* Fix include path
2023-01-03 16:13:05 -08:00
Anton Kolesnyk
5304a0857d
PR follow-ups (#4201)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: George Arama <50641385+gearama@users.noreply.github.com>
2023-01-03 12:08:00 -08:00
Anton Kolesnyk
152a847dcc
noexcept adjustments (#4200)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-01-03 11:17:16 -08:00
Anton Kolesnyk
fd3b9a6180
More accurate argument type for the ExtendableEnumeration == and != (#4199)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-01-03 11:17:09 -08:00
Anton Kolesnyk
3e4a41bd4a
Remove noexcept specification from Azure::DateTime::clock::now() (#4198)
* Remove noexcept specification from Azure::DateTime::clock::now()

* Undo unnecessary change (my local clang-format is broken)

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-01-03 11:17:02 -08:00
Anton Kolesnyk
a70be339e7
Audit string comparisons (#4197)
* Audit string comparisons

* Mac fix

* !isxdigit()

* Rewrite condition + comment

* <3

* Clang-format

* 255

* Allow uppercase

* stoi() radix

* ShouldEncode()

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-01-03 11:16:54 -08:00
microzchang
f872841ffc
Storage January release (#4212)
* January release protocol layer (#4102)

* stg85/86 protocol layer

* datalake append/flush with lease (#4110)

* unit_test_for_file_invalid_xml (#4113)

* remove version id inTaggedBlobItem and add unit test for cold tier (#4121)

* fix conversation
2022-12-27 14:44:26 +08:00
Anton Kolesnyk
9ab6a1f62a
Clean up token cache from expired items on Fibonacci cache sizes instead of 2^Ns (#4180)
* Clean up token cache from expired items on Fibonacci cache sizes instead of 2^N

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-12-13 18:24:57 -08:00
George Arama
8767e4e340
live test guard (#4188) 2022-12-13 21:46:48 +00: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
Anton Kolesnyk
40f2fde457
ClientCertificateCredential: Add AuthorityHost override and Azure Stack support (#4181)
* ClientCertificateCredential: Add AuthorityHost override and Azure Stack support
* Use RAII types for handles

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-12-13 04:43:16 +00:00
Anton Kolesnyk
97235cb46b
Add support for space character instead of 'T' when parsing RFC3339 DateTimes (#4184)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-12-12 13:16:11 -08:00
JinmingHu
384f162560
fix #740 (#4182) 2022-12-12 13:15:29 +08:00
Rick Winter
3fe9c27c41
Remove the identity dependency from pkgs. (#4179) 2022-12-09 15:31:38 -08:00
microzchang
10daa9b5fc
fix Typo in DeleteBlobResult documentation (#4178) 2022-12-09 14:14:28 +08:00
Anton Kolesnyk
68e9dc9ecb
Per-credential-instance token cache (#4160)
* Per-credential-instance token cache

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-12-08 18:55:16 +00:00
Anton Kolesnyk
c14775d5fb
Better TokenRequestContext initialization (#4169)
* Better TokenRequestContext initialization

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-12-07 20:25:22 -08:00
Anton Kolesnyk
405ae8cba7
Only allow BearerTokenAuthPolicy for HTTPS (#4170)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-12-07 20:03:17 -08:00
Anton Kolesnyk
456a8e9fb9
Use nlohmann::json to parse Identity token (#4167)
* Use nlohmann::json to parse Identity token

* Update sdk/identity/azure-identity/src/token_credential_impl.cpp

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

* Line coverage / Strict ISO 8601 datetime parse test

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2022-12-07 20:02:31 -08:00
Anton Kolesnyk
ec250af51e
Update ChainedTokenCredential sample to use AzureCliCredential (#4164)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-12-07 12:28:58 -08:00
Anton Kolesnyk
c32591d840
AzureCliCredential: use --scope (#4165)
* AzureCliCredential: use --scope

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-12-07 10:09:08 -08:00
JinmingHu
5f93ee3d3e
add private interface to disable reliable stream (#4158) 2022-12-06 11:58:17 +08:00
Larry Osterman
5737bfeb6a
Fixed #4137 - Don't close CURL connection on shutdown (#4142)
* Fixed #4137 - Don't close connection on shutdown

* clang-format
2022-12-05 13:32:50 -08:00
Anton Kolesnyk
09db139a71
AzureCliCredential (#4146)
* AzureCliCredential

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-12-05 13:15:19 -08:00
Anton Kolesnyk
760126502a
Workaround for the MSVC 19.34 bug (#4152)
* Workaround for the MSVC 19.34 bug

* Use _MSC_VER instead of _VSC_FULL_VER (at least 19.34.31931 and .31933 are affected)

* Remove newline

* Use same code for all compiler versions

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-12-03 21:16:42 -08:00
Anton Kolesnyk
b3b2b6774d
CHANGELOG Community contributions copy-paste fix (#4138)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-11-29 08:31:39 -08:00
Anton Kolesnyk
121c103d3b
Acknowledge community contribution in CHANGELOG (#4136)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-11-28 19:53:59 -08:00