Commit Graph

1064 Commits

Author SHA1 Message Date
Kan Tang
b2b1bdffd0
Make AccessPolicy::StartsOn and ExpiresOn nullable values. (#2829)
# Pull Request Checklist

Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:

See the detailed list in the [contributing guide](https://github.com/Azure/azure-sdk-for-cpp/blob/main/CONTRIBUTING.md#pull-requests).

- [x] [C++ Guidelines](https://azure.github.io/azure-sdk/cpp_introduction.html)
- [x] Doxygen docs
- [x] Unit tests
- [x] No unwanted commits/changes
- [x] Descriptive title/description
  - [x] PR is single purpose
  - [x] Related issue listed
- [x] Comments in source
- [x] No typos
- [x] Update changelog
- [x] Not work-in-progress
- [x] External references or docs updated
- [x] Self review of PR done
- [] Any breaking changes?
2021-09-03 04:57:36 +00:00
JinmingHu
29659f9350
Storage Queue Review Feedback (#2823)
* Remove CreateIfNotExists

* GetServicePropertiesResult/GetServiceStatisticsResult

* GetQueuePropertiesResult/GetQueueAccessPolicyResult

* CL
2021-09-03 09:49:24 +08:00
Azure SDK Bot
2b3f03909e
Increment package version after release of azure-core (#2826) 2021-09-02 20:56:31 +00:00
Victor Vazquez
14a4459ae0
core cl update (#2819) 2021-09-02 11:02:14 -07:00
George Arama
2b205d95f7
Kyle feedback (#2822)
* rename readmes for samples to show up in repo by default

* moved files around per kyle's comment

* update cmake file

* update links to samples
2021-09-02 10:28:50 -07:00
Anton Kolesnyk
3aee1859f0
CSpell fixes for Core and Identity (#2816)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-08-31 15:21:17 -07:00
George Arama
9ef8d5a45f
cspell fixes for keyvault (#2812)
* cspell fixes for keyvault

* formatting issues
2021-08-30 19:49:22 -07:00
Victor Vazquez
ddee45759f
Add support for non public scope for secret client credential on Key Vault (#2763)
* add support for non public scope for secret client credential

* improve function comments

* update tests with good url

* update secret url tests

* update logic to no-throw

* use class

* Update sdk/core/azure-core/inc/azure/core/http/policies/policy.hpp

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

* format

* fix

* remove default scope

* move patch out of Core to use package-per-client patch

* update includes

* Update sdk/keyvault/azure-security-keyvault-keys/CHANGELOG.md

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

* update patch

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2021-08-30 16:39:54 -07:00
JinmingHu
bee0dc2654
ignore specific words rather than skip the whole file for spell-checking augo-generated files (#2805) 2021-08-30 15:05:01 +08:00
JinmingHu
b8013185d0
Storage Queue API review feedback (#2801)
* fix

* sample

* CL

* service version

* fix

* ACL
2021-08-27 04:46:51 +00:00
JinmingHu
8cae42999e
cspell for storage (#2800)
* cspell for storage

* aaa
2021-08-27 11:55:07 +08:00
George Arama
9bcfc247b1
Secrets test (#2764)
* playback tests

* two running tests

* more tests and some redaction

* formatting

* formatting

* fix bb and remove unused includes

* macos

* annoying issues

* offline client

* format

* pr comment

* reset the env to original after the client is gone.

* oops

* testing

* formats

* remove default resource for secrets, not needed

* code coverage

* build issue
2021-08-26 11:19:37 -07:00
George Arama
04f4d3a5cf
Api review feedback (#2795)
* first set of changes

* another set

* add new constructor

* format files, remove pedantinc ;

* factory

* format

* expect_death not behaving as expected
2021-08-26 10:45:36 -07:00
Victor Vazquez
3ddd7f65f8
update test config for keyvault (#2793) 2021-08-25 14:58:31 -07:00
Anton Kolesnyk
7332432efd
Re-add vcpkg version constraints (#2781)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-08-24 16:10:07 -07:00
Victor Vazquez
49636a2f93
ignore result of function to compile on G++ 5 (#2784)
* ignore result of function

* changelog

* Add g++5 to CI legs

* use inline config for g++ 5

* update flag

* set default values for variables

* fix format
2021-08-24 15:55:46 -07:00
Victor Vazquez
28d7a22fbd
support cmake version 3.12 for Azure core (#2787)
* support cmake version 3.12 for Azure core
2021-08-24 15:17:06 -07:00
Anton Kolesnyk
f1ae8a9cdf
Rename exceptions message parameter to whatArg (#2782)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-08-23 18:41:16 -07:00
Victor Vazquez
d66081c01f
use package version for telemetry (#2780) 2021-08-23 11:04:14 -07:00
George Arama
27dc6bba32
Api view feedback (#2773)
* first set

* some more

* final set

* formats

* remove friend structs serializers
2021-08-20 15:42:47 -07:00
Victor Vazquez
8fe306e15f
missing include (#2778) 2021-08-20 15:41:48 -07:00
George Arama
66422c2841
some updates (#2760)
* some updates

* keyvault->key vault

* Update sdk/keyvault/azure-security-keyvault-secrets/test/samples/sample2-backup-restore/sample2-backup-restore.md

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

* Update sdk/keyvault/azure-security-keyvault-secrets/test/samples/sample2-backup-restore/sample2-backup-restore.md

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

* Update sdk/keyvault/azure-security-keyvault-secrets/test/samples/sample1-basic-operations/sample1-basic-operations.md

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

* final updates

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2021-08-20 12:43:43 -07:00
Victor Vazquez
beb4a94cb4
adding GetUrl to key vault clients (#2761)
* adding GetUrl to key vault clients

* format
2021-08-19 10:23:30 -07:00
JinmingHu
f72c86cc11
Use std::chrono::seconds for time duration in Queue (#2766)
* Use std::chrono::seconds for time duration in Queue

* add include header

* add const val
2021-08-18 11:50:02 +08:00
JinmingHu
b27cabf20f
queue sample (#2758) 2021-08-18 09:57:47 +08:00
George Arama
512ae655b2
Samples & readmes (#2744)
* samples

* readme1

* rename misnamed type, readmes

* readmes, first pass, no links

* undo some uneeded changes

* PR comments
2021-08-16 19:41:56 -07:00
JinmingHu
68100a543c
Disable storage queue vcpkg (#2749) 2021-08-17 09:45:40 +08:00
JinmingHu
4a224e9e8d
Storage Queue Service (#2671)
* Queue clinet interface

* clang-format

* impl

* queue impl

* ut

* fix Create()

* remove unused options

* fix ut

* fix

* more test cases

* fix build errors

* fix build error

* update status code check in generated protocol layer code

* CreateQueueResult.Created should be false on 204

* queue message encoding option

* add some doc

* clang-format

* more doc

* queue sas

* disable some test case

* Revert "queue message encoding option"

This reverts commit a3e6fb1e40e04f4fa3090598066dbb16a4938b85.

* Some API change

* update some docs

* clang-format

* CL

* update vcpkg portfile to be consistent

* queues.hpp

* clang-format

* add file doxygen

* account sas queue ut
2021-08-16 12:25:39 +08:00
JinmingHu
a9507ae88d
Fix build error on some platforms (#2734)
* Move uuid impl to .cpp file

* CL
2021-08-13 07:50:25 +08:00
Anton Kolesnyk
a9281f2808
Remove vcpkg version constraints for Key Vault Keys (#2736)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-08-12 11:35:08 -07:00
Victor Vazquez
b3cfe0148e
Playback test impl (#2737)
* checkpoint

* playback working

* formant
2021-08-12 10:58:21 -07:00
Azure SDK Bot
e5c60f913c
Increment version for storage releases (#2733)
* Increment package version after release of azure-storage-common

* Increment package version after release of azure-storage-blobs

* Increment package version after release of azure-storage-files-datalake

* Increment package version after release of azure-storage-files-shares
2021-08-11 01:26:35 +00:00
JinmingHu
8fcc1df085
Update Changelog for storage 12.1.0 release (#2731) 2021-08-10 16:01:00 -07:00
Azure SDK Bot
1b05f98891
Increment package version after release of azure-security-keyvault-keys (#2729) 2021-08-10 22:42:58 +00:00
Azure SDK Bot
f3aa048ffd
Increment package version after release of azure-identity (#2727) 2021-08-10 15:22:25 -07:00
George Arama
00439b26f9
Remove Extraneous prefixes (#2722)
* KeyvaultSecret

* deletedsecret

* KeyVaultRestoreDeletedSecretOperation

* KeyVaultDeleteSecretOperation

* paged requests

* KeyvaultSecretProperties

* secretserializer

* serializers
2021-08-10 11:18:27 -07:00
Anton Kolesnyk
3e0088bc34
Identity 1.1.0 GA release (#2719)
* Identity 1.1.0 GA release

* Reiterate over all changes since last GA

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-08-10 11:00:52 -07:00
Victor Vazquez
abdfcaeb94
changelog for release (#2724) 2021-08-10 10:58:30 -07:00
Victor Vazquez
b0cb94702c
supresss gtest warning from test pw (#2726) 2021-08-10 17:58:22 +00:00
JinmingHu
d65724b6dc
storage 12.1.0 release (#2714)
* storage 12.1.0 release

* a

* Apply suggestions from code review

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

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2021-08-10 13:05:10 +00:00
Victor Vazquez
0c041c9bfa
Add core-test recording-playback (#2685)
Recording feature
2021-08-09 15:38:57 -07:00
George Arama
b91dce9deb
Paged requests (#2711)
* now we need to deserialize

* GETs+tests

* Delete+tests

* new line

* build issues

* size_t

* comments

* file format

* PR comments

* format
2021-08-09 13:24:54 -07:00
Azure SDK Bot
4e1cdb985d
Increment package version after release of azure-core (#2715) 2021-08-09 13:20:01 -07:00
Anton Kolesnyk
6bf52bdbde
Update vcpkg version dependencies (#2718) 2021-08-09 13:15:27 -07:00
George Arama
650a74ca62
Start delete secret (#2695)
* first stab

* hmmmm

* working

* forgot include

* cleanup

* remove pragma

* PR comments

* pedantic semicolon

* PR comments
2021-08-09 12:34:45 -07:00
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
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