Commit Graph

1405 Commits

Author SHA1 Message Date
Victor Vazquez
2b63bc6536
changelog for 1.2.0 release (#2713) 2021-08-05 20:47:51 -07:00
Victor Vazquez
83295c69ed
Re implement keyvault keys (#2705)
* updated-create-key with no protocol client
2021-08-05 23:20:29 +00:00
George Arama
697f45a454
PurgeDeletedSecret (#2696)
* working

* comment
2021-08-05 10:26:57 -07:00
Azure SDK Bot
87b8a6146b
Add ability to leave SourceBranch empty when queueing a build (builds using the default branch) (#2691)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2021-08-05 10:20:46 -07:00
JinmingHu
9b3b63df47
improve status code check logic in protocol layer (#2703) 2021-08-04 19:53:05 -07:00
Anton Kolesnyk
7f6930678c
Update changelog to list Clang 11 community contribution (#2707)
* Update changelog for Clang 11 comunity contribution

* Move to correct place, arrange in correct order

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-08-04 10:33:29 -07:00
JinmingHu
f3f798058e
small fix to blob doc (#2709) 2021-08-04 18:33:50 +08:00
Chidozie Ononiwu (His Righteousness)
3e39e0e44a
Add auto-merge to Version increment PR (#2708) 2021-08-03 16:34:07 -07:00
David Chisnall
eb135023bb
Fix implicit conversion that clang rejects. (#2704)
With clang 11, the build fails with:

```
azure-sdk-for-cpp/sdk/core/azure-core/inc/azure/core/datetime.hpp:285:14: error: no viable conversion from returned value of type 'time_point<Azure::_detail::Clock, typename common_type<duration<long, ratio<1, 10000000> >, duration<long long, ratio<1, 1> > >::type>' (aka 'time_point<Azure::_detail::Clock, duration<long long, ratio<__static_gcd<ratio<1, 10000000>::num, ratio<1, 1>::num>::value, __static_lcm<ratio<1, 10000000>::den, ratio<1, 1>::den>::value> > >') to function return type 'Azure::DateTime'
      return DateTime(1970) + std::chrono::seconds(posixTime);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
2021-08-03 13:13:16 -07:00
Anton Kolesnyk
31dc284164
Add samples for Azure Identity (#2692)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-08-03 12:11:24 -07:00
Daniel Jurek
d9b5d69723
Revert "Update Ubuntu VM Image from 18 to 20 (#2564)" (#2689)
* Revert "Update Ubuntu VM Image from 18 to 20 (#2564)"

This reverts commit 59440caa39.

* Add Ubuntu 20 to matrix
2021-08-03 09:14:34 -07:00
Victor Vazquez
2feed76d86
clang doc fixes (#2697) 2021-08-02 11:55:08 -07:00
Victor Vazquez
554feb13b8
typo (#2700) 2021-08-02 11:54:56 -07:00
JinmingHu
7a82f92465
remove superfluous (void) (#2693) 2021-08-02 08:46:02 -07:00
Scott Beddall
3f25c5d2e5
add ga to index and individual docs (#2687) 2021-07-29 20:53:51 +00:00
Azure SDK Bot
eef5cc99ae
Move stress testing scripts to eng/common (#2686)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-07-29 13:15:20 -07:00
George Arama
d830de4afc
Backup / Restore secret (#2683)
* fix doc warnings

* get rid of bad merge

* fix doc warnings

* get rid of bad merge

* fix doc warnings

* get rid of bad merge

* code complete

* fix doc warnings

* get rid of bad merge

* fix doc warnings

* get rid of bad merge

* fix doc warnings

* get rid of bad merge

* test

* also restore

* new line

* fix doc warnings

* get rid of bad merge

* fix doc warnings

* get rid of bad merge

* fix doc warnings

* get rid of bad merge

* fixes for PR and build issues

* add header for linux build

* fix UT for mac

* remove offending issues

* rename from data to response

* added overload

* response -> result

* remove overload
2021-07-29 12:12:44 -07:00
JinmingHu
79143d4a1a
Remove BlobItemDetails::TagCount (#2684) 2021-07-29 12:41:11 +08:00
JinmingHu
b1c8ea92dc
Change the order of some built-in policies and client policies (#2670) 2021-07-29 10:07:09 +08:00
Anton Kolesnyk
326af88078
Make WinHTTP transport adapter to NOT use SSL/TLS for unsecured HTTP connections (#2678)
* Make WinHTTP transport adapter to NOT use SSL/TLS for unsecured HTTP connections

* Update changelog for identity as well

* LocaleInvariantCaseInsensitiveEqual + micro-optimization to avoid creating&allocating std::string each time

* Update sdk/identity/azure-identity/CHANGELOG.md

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

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2021-07-28 10:55:54 -07:00
Azure SDK Bot
ac62bce4e8
Verify API surface level against all approved revisions for GA releases (#2673)
Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
2021-07-28 06:40:37 -07:00
George Arama
f14199e649
Update secret api (#2669)
* fix doc warnings

* working

* update the tag serialization

* get rid of files that were not supposed to be edited

* add convenience method

* fix doc warnings

* get rid of bad merge

* fix doc warnings

* get rid of bad merge

* fix doc warnings

* get rid of bad merge

* updates for merge

* PR comments
2021-07-27 20:08:21 -07:00
Victor Vazquez
5c14975957
remove prefer ninja (#2675) 2021-07-27 19:26:11 -07:00
Victor Vazquez
a508789c36
Remove warning supress (#2677)
* remove warning suppress not required anymore

* json update

* update the curl header including

* changelog
2021-07-27 18:09:52 -07:00
Victor Vazquez
bd1beaf0b4
remove the const double ref and use move instead (#2674) 2021-07-27 17:39:26 -07:00
Chidozie Ononiwu (His Righteousness)
59440caa39
Update Ubuntu VM Image from 18 to 20 (#2564) 2021-07-27 15:20:37 -07:00
George Arama
72b9cf9487
Set secret (#2663)
* Progress stream reader

* format

* Update sdk/core/azure-core/src/io/body_stream.cpp

Co-authored-by: JinmingHu <jinmhu@microsoft.com>

* PR comments

* remove

* one more comment

* replaced if null with azure_assert

* moved from pointer to reference

* first pass

* src builds

* new line

* huzaaaaa

* readme

* strating point

* get progress, need to deserialize now

* serializer

* some more

* tests

* more tests

* some refactor

* start

* comment and formatting

* set secret serializer

* added serializer ut

* add headers

* working again

* add cmake

* cleanup relative paths

* couple of updates

* clang

* working as expected

* remove pedantic ;

* include

* pr comments

* clang format

* trigger

* trigger 2

* PR comments

* name value swap

* updates from merge

* pre PR

* format

* remove hpp from list

* remove unused #include

* put back hpp file

* put the methods in a namespace

* PR comments

* some more comments

* fixes

Co-authored-by: JinmingHu <jinmhu@microsoft.com>
2021-07-27 15:01:51 -07:00
George Arama
65d560dc11
GetDeletedSecret API (#2666)
* fix doc warnings

* fix doc warnings

* GetDeletedSecretAPI

* undo uneeded changes

* comments
2021-07-27 13:10:14 -07:00
Azure SDK Bot
f5ab6a5252
add basic ga tag w/ settable campaignid (#2668)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2021-07-27 11:05:55 -07:00
Victor Vazquez
0567145212
support connection close header (#2672) 2021-07-27 10:03:56 -07:00
Victor Vazquez
c8a45ad7ac
Remove extra whitespace from header 2021-07-27 08:26:39 -07:00
JinmingHu
2f9ab65526
Fixed a bug where GetBlockList throws exception if the blob is not committed (#2664)
* Fix a bug where GetBlockList threw exception if the blob is not committed.

* CL

* f
2021-07-27 14:12:43 +08:00
George Arama
0d4f138cb3
GetSecret Api implementation for Keyvault Secret (#2656)
* Progress stream reader

* format

* Update sdk/core/azure-core/src/io/body_stream.cpp

Co-authored-by: JinmingHu <jinmhu@microsoft.com>

* PR comments

* remove

* one more comment

* replaced if null with azure_assert

* moved from pointer to reference

* first pass

* src builds

* new line

* huzaaaaa

* readme

* strating point

* get progress, need to deserialize now

* serializer

* some more

* tests

* more tests

* some refactor

* start

* comment and formatting

* working again

* couple of updates

* clang

* remove pedantic ;

* include

* pr comments

* clang format

* trigger

* trigger 2

* PR comments

* name value swap

Co-authored-by: JinmingHu <jinmhu@microsoft.com>
2021-07-23 17:36:04 -07:00
George Arama
4805900fb6
Fix build break in vcpkg (#2662)
The issue came from a missformatted json file , the fix is straight forward ,
The number of commits can be ignored, the merge is squashed,
the operations i performed were : \

git checkout pipeline
git pull upstream main
git push
^^^^^
Enumerating objects: 1, done.
Counting objects: 100% (1/1), done.
Writing objects: 100% (1/1), 276 bytes | 276.00 KiB/s, done.
Total 1 (delta 0), reused 0 (delta 0), pack-reused 0
To https://github.com/gearama/azure-sdk-for-cpp.git
85b8e3f..032f2b3 pipeline -> pipeline
* Progress stream reader

* format

* Update sdk/core/azure-core/src/io/body_stream.cpp

Co-authored-by: JinmingHu <jinmhu@microsoft.com>

* PR comments

* fix doc warnings

* remove

* one more comment

* replaced if null with azure_assert

* moved from pointer to reference

* first pass

* src builds

* new line

* huzaaaaa

* maybe

* add resource for tests

* readme

* formatting

* build break url

* put proper link

* darn link

* comments from PR

* update to use gtest_main

* fix vcpkg build break

Co-authored-by: JinmingHu <jinmhu@microsoft.com>
2021-07-23 15:40:19 -07:00
Azure SDK Bot
2a734423c1
Sync eng/common directory with azure-sdk-tools for PR 1827 (#2661)
* update article type appropriately

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2021-07-22 22:56:00 +00:00
Ahson Khan
e0c57f703e
Avoid duplication of a method by expanding out the struct into their constituting fields. (#2595) 2021-07-22 13:48:18 -07:00
Ahson Khan
d90d5c761e
Consolidate keyvault and cryptography client options and model files into single headers. (#2640)
* Consolidate keyvault options and model files into single headers.

* Consolidate cryptography client model headers into a single header.

* Fix up merge conflict

* Consolidate LROs into one, and fixup PagedResponse name.

* Fix up clang formatting and match cpp file name with hpp.

* Fix clang formatting.

* Move LROs and PagedResponse types into models as well.

* Move encrypt and decrypt parameter types into cryptography model header
file.

* Fix clang format, reodering of headers.

* Update to match recent changes.

* Update CL
2021-07-22 11:48:55 -07:00
George Arama
e4d5e31371
Pipeline for keyvault secrets (#2654)
* Progress stream reader

* format

* Update sdk/core/azure-core/src/io/body_stream.cpp

Co-authored-by: JinmingHu <jinmhu@microsoft.com>

* PR comments

* fix doc warnings

* remove

* one more comment

* replaced if null with azure_assert

* moved from pointer to reference

* first pass

* src builds

* new line

* huzaaaaa

* maybe

* add resource for tests

* readme

* formatting

* build break url

* put proper link

* darn link

* comments from PR

* update to use gtest_main

Co-authored-by: JinmingHu <jinmhu@microsoft.com>
2021-07-22 08:46:21 -07:00
John Heffner
1839061e0d
Avoid time domain casting exception during request cancellation (#2645)
Context::Cancel() sets the deadline to DateTime::min(), which throws a range
exception when cast to system_clock::time_point.  Instead, cast
system_clock::now() to DateTime.
2021-07-22 13:10:37 +08:00
George Arama
7da78d4cc9
Setup secrets boilerplate code from templates (#2650)
* Progress stream reader

* format

* Update sdk/core/azure-core/src/io/body_stream.cpp

Co-authored-by: JinmingHu <jinmhu@microsoft.com>

* PR comments

* fix doc warnings

* remove

* one more comment

* replaced if null with azure_assert

* moved from pointer to reference

* first pass

* src builds

* new line

* huzaaaaa

* readme

* formatting

* build break url

* put proper link

* darn link

* comments from PR

* update to use gtest_main

Co-authored-by: JinmingHu <jinmhu@microsoft.com>
2021-07-21 14:13:19 -07:00
Victor Vazquez
7af67c509d
fix broken link (#2651) 2021-07-21 20:13:54 +00:00
JinmingHu
9806e4692e
move constant definition to bottom to get around a bug in APIView tool (#2648) 2021-07-21 17:51:52 +08:00
Victor Vazquez
41c79fb2c1
adding listBlobs perf test (#2639) 2021-07-20 13:34:15 -07:00
Azure SDK Bot
c1ef7545c8
Increment package version after release of azure-security-keyvault-keys (#2649) 2021-07-20 13:33:53 -07:00
George Arama
1f15e046e0
Progress stream reader (#2563)
* Progress stream reader

* format

* Update sdk/core/azure-core/src/io/body_stream.cpp

Co-authored-by: JinmingHu <jinmhu@microsoft.com>

* PR comments

* remove

* one more comment

* replaced if null with azure_assert

* moved from pointer to reference

* PR comments

* clang

Co-authored-by: JinmingHu <jinmhu@microsoft.com>
2021-07-20 13:28:48 -07:00
Ahson Khan
157e4875f1
Update CL version for key vault for the beta release (#2646)
* Update CL version for key vault for the beta release
2021-07-20 09:50:25 -07:00
Victor Vazquez
82ca4cfc83
update polling timeout to 5 min (#2641)
* update polling timeout to 5 min

* update all polling intervals

* disable purge testing until it is again supported by service

* update live tests

* update test to avoid checking number of keys

* fix test - look keys in deleted keys

* max timeout
2021-07-20 07:35:50 +00:00
JinmingHu
c4b88f933e
Fixed a bug where sequence number access conditions didn't work for page blob operations (#2643)
* PageBlobClient::Resize doesn't support sequence number access conditions

* PageBlobClient::UpdateSequenceNumber doesn't support seq access conditions

* Fixed a bug where sequence number access conditions didn't work for page blob operations
2021-07-16 07:43:51 +00:00
JinmingHu
b4037ee591
Storage unit test improvements (#2642)
* add test for downloading empty file/blob

* Unit test improvements

* f
2021-07-16 04:34:39 +00:00
JinmingHu
59c46e2ab1
Fixed a bug where unspecified SMB properties got overwritten rather than preserved by SetProperties() (#2632)
* fix bug: Set{File/Directory}Properties overwrites unspecified values

* CL
2021-07-16 10:08:50 +08:00