Commit Graph

1356 Commits

Author SHA1 Message Date
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
Victor Vazquez
0140a4add6
remove local support for crypto client (#2638) 2021-07-15 18:15:21 -07:00
Ahson Khan
7d7d036136
Use std::vector instead of std::list for KeyOperation arrays. (#2636)
* Use std::vector instead of std::list for KeyOperation arrays.

* Add change log entry.
2021-07-15 15:41:10 -07:00
Ahson Khan
ca220a8fde
Remove unnecessary methods in the header that aren't called by anyone else. (#2633) 2021-07-15 13:37:42 -07:00
Ahson Khan
b9a7a014ac
Remove JsonWebKey.HasPrivateKey() since it is not required by anyone. (#2634)
* Remove JsonWebKey.HasPrivateKey() since it is not required by anyone.

* Update CL.

* Update CL to be consistent.
2021-07-15 13:37:10 -07:00
Ahson Khan
fb1d66ee0c
Avoid separating key and vault in file names, change key_vault_ to (#2635)
keyvault_.
2021-07-15 13:00:33 -07:00
Ahson Khan
90bdfd8408
Other than options and model types (which are property bags), make everything that has functions, a class. (#2631)
* Other than options and model types (which are property bags), make
everything that has functions, a class.

* Fix clang formatting.
2021-07-15 11:25:30 -07:00
Victor Vazquez
76fd63b2b3
rename types (#2594)
* rename header

* format

* update name

* changelog

* format

* name updates
2021-07-15 10:36:21 -07:00
Ahson Khan
e69f6e182a
Use forward declaration to avoid exposing private/src headers from public headers. (#2626)
* Remove InitRequest helper method

* Rename KeyVaultPipeline to KeyVaultProtocolClient along with headers.

* Move the KeyVaultProtocolClient into private imlpementation detail of
Keys.

* Update doc comments.

* Stop building keyvault common for now since it contains no sources.

* Don't generate keyvault common docs since there are no files.

* Stop building azure-security-keyvault-common as part of CI.

* Use forward declaration to avoid exposing private/src headers from
public headers.

* Simplify after the merge from main.
2021-07-14 20:21:42 -07:00
Ahson Khan
c4af969569
Remove vcpkg dependency from keyvault-keys on keyvault-common. (#2630) 2021-07-14 16:55:18 -07:00
Ahson Khan
61f11aa39a
Update keyvault keys readme to use C++ specific links (#2628)
Fixes https://github.com/Azure/azure-sdk-for-cpp/issues/2598
2021-07-14 23:39:50 +00:00
Azure SDK Bot
2b4ece0098
Sync eng/common directory with azure-sdk-tools for PR 1748 (#2508)
* Simplify Ubuntu image name check for dns bypass

* Fix typo

Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
2021-07-14 16:14:51 -07:00
Ahson Khan
427e892582
Removed the /internal/ directory in Keyvault Keys and move headers to private that don't need to be public. (#2625)
* Removed the /internal/ directory in Keyvault Keys and move headers to
private that don't need to be public.

* Clang format.

* Move CryptographyProvider and RCC into private headers as well.

* Fix clang formatting.
2021-07-14 15:26:23 -07:00
Ahson Khan
c4ff48e8a5
Rename KeyVaultPipeline to KeyVaultProtocolClient and make it an impl detail (move it to _detail) within the keys package instead of common (#2618)
* Remove InitRequest helper method

* Rename KeyVaultPipeline to KeyVaultProtocolClient along with headers.

* Move the KeyVaultProtocolClient into private imlpementation detail of
Keys.

* Update doc comments.

* Stop building keyvault common for now since it contains no sources.

* Don't generate keyvault common docs since there are no files.

* Stop building azure-security-keyvault-common as part of CI.
2021-07-14 12:42:13 -07:00
Ahson Khan
a10b507e42
Adding BackupKeyResult struct wrapper as a return type model for BackupKey. (#2619)
* Adding BackupKeyResult struct wrapper as a return type model for
BackupKey.

* Update sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/backup_key_result.hpp

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

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2021-07-14 12:22:15 -07:00
Ahson Khan
05ebec8b50
Removed the MaxPageResults field from GetPropertiesOfKeysOptions, GetPropertiesOfKeyVersionsOptions, and GetDeletedKeysOptions. (#2620)
* Remove the MaxPageResults options on KeyVault GetPropertiesOfKeys and other APIs.

* Update CL
2021-07-14 12:12:40 -07:00
Ahson Khan
c8cefb044a
Fix up doc typos in the PagedResponse KeyVault APIs. (#2621) 2021-07-14 12:07:05 -07:00
Ahson Khan
404fd94710
Remove unused internal helper method from KeyVaultPipeline. (#2623) 2021-07-14 12:00:10 -07:00
Victor Vazquez
5ddebe53bf
Rename list_keys_result KeyVault header to list_keys_responses to match PagedResponse naming pattern (#2592)
* rename header

* format
2021-07-13 20:12:35 -07:00
JinmingHu
5b87554736
PageBlobClient::SetBlobSize doesn't support encryption headers (#2603)
* PageBlobClient::SetBlobSize doesn't support encryption headers

* update ut
2021-07-14 11:01:00 +08:00
JinmingHu
83a3a0a749
Fix build error in landing page example (#2602) 2021-07-13 23:03:08 +00:00
Azure SDK Bot
c16ce55b18
Sync eng/common directory with azure-sdk-tools for PR 1808 (#2605)
* Add FilterPoliCheckResult.ps1

* Add description to FilterPoliCheckResults.ps1

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-07-13 14:52:02 -07:00
Ahson Khan
92aef8a8c6
Add missing key vault keys cryptography headers to the simplified header. (#2597)
* Add missing key vault keys cryptography headers to the simplified header.

* Fix sort order according to clang format, which seems to differ from Windows dir file system command.
2021-07-12 14:31:13 -07:00
JinmingHu
46e333d32d
Remove sha256 hash from storage internal code (#2585) 2021-07-12 10:07:26 +08:00
Anton Kolesnyk
89222f1950
Remove curl version from vcpkg manifest (#2572) 2021-07-10 01:44:01 -07:00
JinmingHu
ae112cd8a4
UpdateSequenceNumber (#2588) 2021-07-10 02:11:04 +00:00
Ahson Khan
07861a9687
Avoid inheriting from an internal base class for KeyVault PagedResponse Options and expose fields directly (#2590)
* Avoid inheriting from an internal base class for KeyVault PagedResponse Options and expose fields directly

* fix for compilation

Co-authored-by: Victor Vazquez <vhvb1989@gmail.com>
2021-07-09 15:36:16 -07:00
Azure SDK Bot
5619c64811
Increment package version after release of azure-identity (#2555) 2021-07-09 14:34:04 -07:00
Azure SDK Bot
0a6a5080a9
Increment package version after release of azure-core (#2553) 2021-07-09 14:33:56 -07:00
JinmingHu
da755c9192
Add queue service protocol layer (#2531)
* Add queue service protocol layer

* Update sdk/storage/azure-storage-queues/NOTICE.txt

* fix typo, add comments

* clang-format

* Update sdk/storage/azure-storage-queues/CHANGELOG.md

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

* Update sdk/storage/azure-storage-queues/CMakeLists.txt

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

* Update sdk/storage/azure-storage-queues/vcpkg/vcpkg.json

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

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2021-07-09 06:07:00 +00:00
JinmingHu
186ccc7164
Fix misplaced entry in datalake changelog (#2584) 2021-07-09 04:15:42 +00:00
JinmingHu
bc16d4d812
Some API changes to blob service (#2557) 2021-07-09 11:26:36 +08:00
Azure SDK Bot
a97970ea20
Add root directory to list of sparse checkout paths (#2581)
Explicitly add '/*' '!/*/' to the list of paths so we include
the files in the root of the repo.

Added some extra command logging so we can easily repro locally without
needing to find the code that ran.

Update to '/eng' so that we only get paths that start with eng instead
of every path that has eng as a folder.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-07-08 17:13:46 -07:00
Victor Vazquez
480f867cec
keyvault changelog and version update (#2575) 2021-07-08 16:46:38 -07:00
Victor Vazquez
eabfb523d9
Update header names (#2580)
* Update header names

* cl
2021-07-08 16:39:25 -07:00
Azure SDK Bot
1ac0aecd07
Increment version for storage releases (#2565)
Increment package version after release of azure-storage-common
2021-07-08 08:28:28 +00:00
Victor Vazquez
33d4b72a4d
remove encrypt decrypt overload (#2574)
* remove encrypt decrypt overload

* cl

* format
2021-07-07 21:01:52 -07:00
George Arama
ecbf8d0784
add some more uts for create (#2510)
* add some more uts for create

* format

* remove unused include

* Update sdk/keyvault/azure-security-keyvault-keys/test/ut/mocked_transport_adapter_test.hpp

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

* put back include, it doesn't work otherwise

* format

* Revert "format"

This reverts commit afefd264868ededefe8ad715dd1674a333fd1176.

* Revert "put back include, it doesn't work otherwise"

This reverts commit 54f05fe8d2b63f089e76931c5592b64e80f98b5e.

* Revert "Update sdk/keyvault/azure-security-keyvault-keys/test/ut/mocked_transport_adapter_test.hpp"

This reverts commit 8ce4f0b3a2e893be69afdfc710c060fe76c5493a.

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2021-07-07 21:00:11 -07:00
George Arama
e8efcd21fd
2559 doc warnings (#2573)
* fix doc warnings

* format
2021-07-07 15:23:22 -07:00
Azure SDK Bot
fe54edf017
Sync eng/common directory with azure-sdk-tools for PR 1767 (#2554)
* Support building and deploying bicep templates

* Add bicep powershell install aka link to deployment error message

* Write bicep compiled arm templates to temp directory

* Simplify bicep building code/function usage

* Use bicep location for compiled arm templates, and remove them on success

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-07-07 15:13:54 -04:00
Azure SDK Bot
e61bdbcc4a
Switch ubuntu 18 to ubuntu 20 (#2571)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-07-07 11:20:19 -07:00
Victor Vazquez
9b06fc8f33
compile samples (#2556)
* compile samples
2021-07-07 06:50:05 -07:00
JinmingHu
9e710c2f92
Storage 12.0.1 release (#2562) 2021-07-07 10:25:51 +08:00
JinmingHu
a8d7a48a07
Fix Bug: libcurl transport layer hangs on 304 response (#2558) 2021-07-06 18:28:32 +00:00
JinmingHu
cc1a7d22ce
remove unused headers from blob protocol layer (#2546)
* remove unused headers from blob protocol layer

* fix typo

* Add rehydrated to spell check exception list
2021-07-05 03:00:37 +00:00
Victor Vazquez
f2413d11f5
update change log (#2551)
* update change log

* update change log
2021-07-02 11:03:11 -07:00
JinmingHu
8e6dd37832
fix bug: transactional MD5 hash was treated as blob MD5 hash when downloading a range of blob (#2517)
* fix bug: transactional MD5 hash was treated as blob MD5 hash when downloading a range of blob

* CL

* fix build error

* add test case for 200 download

* f
2021-07-02 10:48:45 +08:00
Azure SDK Bot
0a0ece8ae0
Sync eng/common directory with azure-sdk-tools for PR 1772 (#2540)
* Update change log headers based on guideline update

Updates based on https://github.com/Azure/azure-sdk/pull/3103

- Renamed "Key Bugs Fixed" to "Bugs Fixed"
- Renamed "Fixed" to "Other Changes"

Added a warning in validation if at lease one of the recommended
headers aren't used.

* Update eng/common/scripts/ChangeLog-Operations.ps1

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
2021-07-01 16:16:13 -07:00
Anton Kolesnyk
6e4e9fd54b
Prepare Core and Identity releases (#2527)
* Prepare Core and Identity releases

* One more file

* Move to Other Changes

* Apply suggestions from code review

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

* identity bugs fixed header

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2021-07-01 16:06:36 -07:00
Ahson Khan
863e9871e5
Make sure RFE Message is only set to the response body payload. (#2539)
* Make sure RFE Message is only set to the response body payload.

* Add a note about the Message property.

* Jeff likes wordsmithing things for fun.
2021-07-01 15:56:20 -07:00