Commit Graph

1465 Commits

Author SHA1 Message Date
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
ariellink
4fe6f70155
Correct invalid UTF-8 in comment in share_options.hpp (#4130)
* Correct invalid UTF-8 in comment in
/storage/files/shares/share_options.hpp

* Correct invalid UTF-8 in comment in line 291 

Correct invalid UTF-8 in comment in line 291 share_options.hpp
2022-11-28 15:28:23 -08:00
Ahson Khan
928c9cf6eb
Disable warning C6387 coming from wil in win_http_transport due to SAL annotation (#4132)
* Disable warning C6387 coming from wil in win_http_transport

* Disable warning C6387 coming from wil in win_http_transport header

* Clang format fix for header file

* Clang format fix for source file
2022-11-28 12:20:00 -08:00
Billy O'Neal
8934b2118f
This was first discovered by trying to update curl in vcpkg: https://github.com/microsoft/vcpkg/pull/27778 (#4127)
Curl is no longer publishing that it depends on ws2_32 when dynamically linked. Azure Core directly uses Ws2_32 things, so it needs that declared dependency. For example:

90fc46693f/sdk/core/azure-core/src/http/curl/curl.cpp (L165)
2022-11-18 16:11:55 -08:00
Ahson Khan
585677e68b
Fix typo for llong -> long in doc comment for Key Vault Certificates (#4108) 2022-11-11 09:04:18 -08:00
Azure SDK Bot
13213977b3
Increment package version after release of azure-storage-files-datalake (#4101) 2022-11-09 01:48:18 +00:00
Azure SDK Bot
e790d30590
Increment package version after release of azure-identity (#4099) 2022-11-08 11:59:11 -08:00
Anton Kolesnyk
e7bf602739
Identity November release (#4083)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-11-08 10:11:46 -08:00
microzchang
61df860734
update release date (#4098) 2022-11-08 15:51:28 +08:00
Azure SDK Bot
40afee9c16
Increment package version after release of azure-core (#4090) 2022-11-07 14:39:19 -08:00
microzchang
ba697d3825
storage-november-release (#4095) 2022-11-07 15:27:09 +08:00
microzchang
ce76a61246
datalake encryption scopes (#4038) (#4068) 2022-11-07 13:48:52 +08:00
Azure SDK Bot
bc5ed69892
Increment package version after release of azure-storage-files-datalake (#4094) 2022-11-07 05:46:28 +00:00
microzchang
e7aca9859c
storage-nov-release-datalake-12.4.0 (#4074) 2022-11-07 10:56:29 +08:00
Anton Kolesnyk
48e6fcf115
Core November release (#4082)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-11-03 15:31:01 -07:00
George Arama
f3a21da126
testFix (#4087) 2022-11-03 10:31:49 -07: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
Larry Osterman
bb95a22e3f
Added the ability to select OpenSSL 1.1.1n if desired. (#4045)
* Added ability to switch to OpenSSL 1.1.1n

* Fixed OpenSSL compilation challenges - the CRL stuff works now

* Added instructions on using OpenSSL 1.1.1 to README

* Added vcpkg args to handle openssl variants
2022-10-28 15:57:51 -07:00