Commit Graph

1501 Commits

Author SHA1 Message Date
Azure SDK Bot
3e2e5a6dfc
Sync eng/common directory with azure-sdk-tools for PR 1983 (#2860)
* Doc Updates and Revisions for External Use

The focus of these changes is to revise the script to better support use
by external contributors and others outside of the Azure SDK ecosystem and
without access to the Microsoft AAD Tenant.

Changes include:

- Creation of a new Test Application service principal is now possible
  from a non-Microsoft AAD tenant.

- When a new Test Application principal is created, the principle of least
  privilege is now applied; the new Test Application is granted ownership
  of the resource group associated with the test resources and no longer
  has access to any other resources in the subscription.

- If an existing Test Application principal is specified, it will be
  assigned ownership of the resource group created.  This supports using
  a Test Application principal without privileges at the subscription-level.

- When no provisioner is specified, the script is now executed in the
  context of the caller rather than the Test Application principal.
  This supports using a Test Application principal that has restricted
  privileges and better aligns to the purpose of the Test Application
  principal.

- The `$TestApplicationOid` is now explicitly bound at the time a new Test
  Application principal is created rather than having to query for it later.

- Common error scenarios resulting from lack of permissions now provide
  messaging with more context of why the failure occurred and suggest
  remediation.

- Added new examples to illustrate the common call patterns needed by
  external contributors running the script, outside of the Microsoft tenant
  and Azure SDK ecosystem.

- Documentation has been enhanced with additional context to detail the
  permissions and roles assigned by the script.

- Added documentation details for Bicep template use.

* Add the provisioner OID to the deployment params

Key Vault needs this to deploy Managed HSMs. There's a corresponding change necessary in test-resources.json I'll roll out across languages.

* Fixing typos and spelling mistakes

Co-authored-by: Jesse Squire <jesse.squire@gmail.com>
Co-authored-by: Heath Stewart <heaths@microsoft.com>
2021-09-13 09:21:47 -07:00
George Arama
6eb365cdd4
Devcontainer (#2861)
* final

* ytryrt

* Update .devcontainer/devcontainer.json

Co-authored-by: Victor Vazquez <victor.vazquez@microsoft.com>

Co-authored-by: Victor Vazquez <victor.vazquez@microsoft.com>
2021-09-10 15:55:33 -07:00
Daniel Jurek
af44672837
Releases to vcpkg tag codeowners (#2825)
* Attempt tagging of @danieljurek in PRBody

* Attempt to assign reviewers

* Use codeowners, filter out groups, use a default owner, add comments to issue.

* Move variables to right level of config

* Set PrOwners variable

* Remove PR owners, requires admin permissions

* Escape DevOps variable to expand into string

* Add AuthToken

* Tweak portfile and codeowners to validate multiple artifact scenario

* Revert "Tweak portfile and codeowners to validate multiple artifact scenario"

This reverts commit bcc7a36119c7f399f1b079f51889d6ff0d499142.

* Review feedback

* Validate fallback logic

* Deal with empty list of owners

* Revert "Validate fallback logic"

This reverts commit ade2dff5a7d9cac9bb61fdc0f92cd50412b7c31c.
2021-09-09 14:47:15 -07:00
Azure SDK Bot
99ff3b04bd
Install az module if not installed in deploy-stress-tests.ps1 (#2857)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-09-09 14:01:10 -07:00
Azure SDK Bot
517902128f
Explicitly exit 0 so a failed inner command (like mvn) doesn't propagate up to a failure of the pipeline (#2859)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2021-09-09 11:03:45 -07:00
JinmingHu
88500317b7
Add ut for queue message containing special characters (#2858) 2021-09-09 12:04:58 +08:00
Azure SDK Bot
ef1dd860d5
Increment version for storage releases (#2846)
* 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

* Increment package version after release of azure-storage-queues
2021-09-09 10:42:50 +08:00
Azure SDK Bot
18ec808a25
Increment package version after release of azure-storage-common (#2847) 2021-09-09 10:41:41 +08:00
Azure SDK Bot
003eb57488
Sync eng/common directory with azure-sdk-tools repository (#2856) 2021-09-08 17:27:39 -07:00
Azure SDK Bot
c21718f838
Increment version for keyvault releases (#2855)
* Increment package version after release of azure-security-keyvault-keys

* Increment package version after release of azure-security-keyvault-secrets
2021-09-08 17:21:42 -07:00
Victor Vazquez
f752663d35
diable cert live tests (#2851) 2021-09-08 13:10:52 -07:00
Azure SDK Bot
91b459b560
Add Skip.SetTestPipelineVersion to allow overidiing of use of BuildID for test version (#2849)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-09-08 12:58:47 -07:00
Victor Vazquez
41138dcc8a
cl (#2840) 2021-09-08 10:08:33 -07:00
George Arama
6f8236287e
first pass (#2841) 2021-09-08 10:07:56 -07:00
JinmingHu
a1f69cd1fb
Update vcpkg.json (#2845) 2021-09-08 12:01:47 +08:00
JinmingHu
e6a488193b
Storage Sept Release (#2836) 2021-09-08 09:39:24 +08:00
Azure SDK Bot
6ef0b265e5
updating proxy to use latest version (#2843)
Co-authored-by: seankane-msft <seankane@microsoft.com>
2021-09-07 16:05:35 -07:00
Victor Vazquez
4ec0a34247
update links (#2842) 2021-09-07 14:45:08 -07:00
Victor Vazquez
8f0d6728c3
Adding Key Vault Certificates - GetCertificateWithPolicy API (#2818)
* certs one api checkpoint
2021-09-07 13:44:15 -07:00
JinmingHu
841675b622
Fix a bug where blobs with some characters cannot be listed (#2837)
* fix bug

* CL

* fix bug
2021-09-07 15:14:37 +08:00
JinmingHu
6611b8f03f
Improvement: Create less threads when there isn't enough data to transfer (#2838)
* Improvement: Create only necessary threads when there isn't enough data to transfer

* Update sdk/storage/azure-storage-common/inc/azure/storage/common/internal/concurrent_transfer.hpp

* CL
2021-09-07 14:42:17 +08:00
JinmingHu
47d04c3ff9
New XML parser on Windows (#2830) 2021-09-04 23:04:12 +08:00
JinmingHu
b0ebf21a9f
small fix in checking nullable variable (#2832) 2021-09-04 23:03:24 +08:00
JinmingHu
98b188330b
StartsOn and ExpiresOn were changed to nullable (#2828) 2021-09-03 12:57:50 +08:00
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
Azure SDK Bot
19205045d2
Support v0 versions as prerelease beta versions (#2821)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-09-02 08:55:43 -07:00
George Arama
10a46b3132
fixup sample , add to build (#2808) 2021-09-01 18:04:20 -07:00
Azure SDK Bot
dd906a9b0d
Make "Setup Versioning Properties" cancellable (#2820)
Co-authored-by: Mike Harder <mharder@microsoft.com>
2021-09-01 17:12:52 -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
Azure SDK Bot
bc38afd6ef
Sync eng/common directory with azure-sdk-tools for PR 1953 (#2814)
* Add random elements to default base name

* Fix principal

* tab

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
2021-08-30 17:45:51 -07:00
Azure SDK Bot
669252d2a9
Skip eng common workflow enforcer for private repos (#2813)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-08-30 17:21:03 -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
Daniel Jurek
deac75c2a4
Remove cspell enforcement, there are edge cases where cspell will fail incorrectly based on undocumented configuration behavior (#2811) 2021-08-27 23:08:35 +00:00
Azure SDK Bot
0758a43000
Sync eng/common directory with azure-sdk-tools for PR 1943 (#2810)
* Bug fix: Storing .env file for bicep file at service dir

* Styling

Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2021-08-27 16:05:33 -07:00
Azure SDK Bot
2ef96b0b72
ensure test principal creation succeeds properly (#2807)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2021-08-27 20:59:54 +00: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
Azure SDK Bot
cfda7f00fa
Stip empty changelog sections before release (#2804)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-08-26 16:11:00 -07:00
Daniel Jurek
2418581e2e
Spell Check Phase 2 (#2794)
* Formatting

* Add cpp to dictionaries, comment to words section, and opted-out paths for spell checking

* Enable blocking of PRs on spelling error
2021-08-26 14:15:22 -07: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
George Arama
a861ae5853
add AZURE_TEST_MODE (#2792)
* add AZURE_TEST_MODE

* fix values
2021-08-25 10:16:03 -07:00
Ahson Khan
2b5435d57c
Update keyvault codeowners to reduce noise to signal ratio (#2791)
Trying to reduce the noise to signal ratio and manage GitHub notifications to when I am explicitly tagged for relevant reviews and conversations, rather than during day-to-day keyvault code churn and features.
2021-08-25 00:57:04 +00:00