Commit Graph

1674 Commits

Author SHA1 Message Date
Anton Kolesnyk
b4fe751310
RequestFailedException: decouple Message and what(). (#3201)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-12-18 09:00:04 -08:00
Rick Winter
33aca0caaf
Add trademark section to readme (#3200)
Add trademark section to readme
2021-12-17 22:04:44 +00:00
Anton Kolesnyk
487c7ce542
Do not mix inline and non-inline delegating constructors in polymorphic types (#3197)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-12-17 13:56:40 -08:00
Anton Kolesnyk
5de42570e2
Make Template to pass the default goals set for code coverage (#3198)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-12-17 13:56:01 -08:00
Azure SDK Bot
f937eae89c
Preserve kubectl context namespace if set for active stress cluster (#3187)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-12-17 11:41:13 -08:00
Anton Kolesnyk
5f97ac1b3d
Fix nightly tests compilation on GCC5 (#3190) 2021-12-16 10:44:22 -08:00
Victor Vazquez
0bde2ad3f8
Define env from each service ci (#3184)
use env vars by service config
2021-12-14 17:23:44 -08:00
Azure SDK Bot
f73c9626fa
Increase github get issues fetch limit (#3183)
Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
2021-12-14 20:19:18 -05:00
Anton Kolesnyk
07d20e78e3
Exclude uncoverable lines from code coverage (#3179)
* Use code coverage annotations in places that never can be covered

* Comments

* Increment goal

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-12-14 15:25:48 -08:00
Victor Vazquez
7301f348b0
Recordings for identity (#3156)
Adding test recordings for Identity
2021-12-14 21:42:08 +00:00
Anton Kolesnyk
a2b2b74080
Add a few simple unit tests to boost coverage (#3163) 2021-12-13 14:50:30 -08:00
Anton Kolesnyk
12a2ca31bc
Fix DateTime::Parse validation for dates past year 9999 due to adjustments (#3177) 2021-12-13 12:55:00 -08:00
Anton Kolesnyk
d4ffa7dbc1
Remove static curl transport (#3178)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-12-10 15:53:17 -08:00
Azure SDK Bot
11e625596f
Sync eng/common directory with azure-sdk-tools for PR 2417 (#3176)
* Add logic for retrieving package infro from DevOps feed

* Add template for docwarden

* Remove Invoke-DevOpsAPI changes

* Update verify readme logic

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-12-09 17:37:19 -08:00
Azure SDK Bot
8daec30172
Added more parameter for JS use (#3175)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2021-12-09 16:10:58 -08:00
Azure SDK Bot
e5e637afa3
Ensure ownership grant (#3173)
The focus of these changes is to ensure that the service principal is
explicitly granted the "Owner" role on the active resource group, whether
the principal was newly created or a cached instance was used.

Co-authored-by: Jesse Squire <jesse.squire@gmail.com>
2021-12-09 15:43:15 -05:00
Azure SDK Bot
8e66a46e71
Use named parameter arguments and explicitly set switch argument values (#3171)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-12-08 16:42:51 -08:00
Azure SDK Bot
ccb435daa8
Added new API to get list of github issues (#3170)
Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
2021-12-08 13:55:26 -08:00
Daniel Jurek
ef12972c5c
Move macos up to 10.15 or remove where there is sufficient 10.15 coverage (#3169) 2021-12-08 13:08:00 -08:00
Ahson Khan
894cd75198
Update vcpkg and dependencies to the newer commit sha from 11-10-2021, after last SDK release (#3154)
* Update vcpkg to the newest published tag

* Update to latest commit sha from 12-02-2021

* Update to a commit sha from 11-10-2021, after last SDK release

* Treat third-party dependencies as system to avoid triggering warnings in code we don't control
2021-12-08 12:13:57 -08:00
Azure SDK Bot
f758b5917a
Taking the parameter literally (#3166)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2021-12-07 21:57:30 -08:00
Azure SDK Bot
1ae6ecd0a5
Sync eng/common directory with azure-sdk-tools for PR 2363 (#3159)
* Use stress test environment defaults for group and subscription

* Fix parameter passing from deploy-stress-tests.ps1 script

* Redact stress deployment logs and simplify image handling

* Use DevopsLogging parameter to prevent secret logging in non-devops CI environments

* Use switch type for DevopsLogging parameter

* Remove boolean parameter usage in favor of [switch]

* Add default parameter set usage comment

* Throw when clusterGroup and/or subscription is not specified for custom environments

* Add helper function for logging azure pipelines vso commands

* Invert SuppressVsoCommands binary default value

* Vso command fixes

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-12-07 13:45:51 -08:00
Azure SDK Bot
2520b2b359
Sync eng/common directory with azure-sdk-tools for PR 2381 (#3162)
* Add disk metrics script and template

* Support linux disk matrics

* Add continueOnError to write-filesystemmetrics.yml

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2021-12-07 12:52:30 -08:00
Azure SDK Bot
68c7e28523
Sync eng/common directory with azure-sdk-tools for PR 2327 (#3158)
* Use docker validation on release pipeline

* format

* Update Update-DocsMsMetadata.ps1

* Update Update-DocsMsMetadata.ps1

* Update Update-DocsMsMetadata.ps1

* For testing null purpose

* Update eng/common/scripts/Update-DocsMsMetadata.ps1

* Update eng/common/scripts/Update-DocsMsMetadata.ps1

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>

Co-authored-by: sima-zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2021-12-06 13:29:33 -08:00
Victor Vazquez
50e984f35c
Recording for Key Vault Keys (#3146)
* test recordings for KeyVault Keys
2021-12-06 20:58:33 +00:00
Wes Haggard
aecfa8b925
Update eng code owners
Switch away from using engsys team alias for codeowners
2021-12-06 09:27:49 -08:00
Azure SDK Bot
aa324ab9f5
Sync eng/common directory with azure-sdk-tools for PR 2380 (#3155)
* Add PowerShell Script for Validating READMEs

* Remember my VSCode doesn't use autosave

Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
2021-12-02 19:07:07 -08:00
Azure SDK Bot
575af58bfb
Restore deploymentOutputs variable in scope for post deployment script (#3153)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-12-02 15:01:54 -05:00
Anton Kolesnyk
98d9664dc9
Boost code coverage by adding tests (#3123)
* Boost code coverage by adding tests

* Increase Code Coverage min bar goals

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-12-02 08:43:07 -08:00
Azure SDK Bot
18300fa13c
Sync eng/common directory with azure-sdk-tools for PR 2352 (#3145)
* Add spell check pin changes

* Apply suggestions from code review

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Add package-lock.json

* Set node version and upgrade npm in check-spelling.yml

* Do not mutate local NPM environment

* Remove unnecessary comment, we no longer use npm exec

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-12-02 08:39:07 -08:00
Azure SDK Bot
411331d0ec
Sync eng/common directory with azure-sdk-tools for PR 2248 (#3122)
* Exclude certain live test deployment outputs from being marked as log secrets

* debug

* Update subscription configuration merge jobs to use secret handler

* Rename subscription config helper function script

* Fix variable name reference in scope

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-12-01 16:11:10 -05:00
Azure SDK Bot
6ed5696c7c
Pipeline auto-discover stress test (#3142)
Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2021-11-30 14:33:34 -08:00
Anton Kolesnyk
b57bb33400
Fix unit tests on Mac (#3143)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-11-30 11:20:03 -08:00
Azure SDK Bot
38e42875a1
Sync eng/common directory with azure-sdk-tools for PR 2348 (#3144) 2021-11-29 16:41:23 -08:00
Azure SDK Bot
f0a743e02b
Sync eng/common directory with azure-sdk-tools for PR 2086 (#3138) 2021-11-23 18:13:48 -08:00
Azure SDK Bot
74a764a88b
Sync eng/common directory with azure-sdk-tools for PR 2333 (#3135)
* updating target testproxy output path

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2021-11-23 10:50:54 -08:00
Sima Zhu
b28496a9fb
Fixed the get-codeowner in release step. (#3130) 2021-11-22 17:31:43 -08:00
Azure SDK Bot
1a5c3f7f30
Sync eng/common directory with azure-sdk-tools for PR 2322 (#3133)
* Install and Run code owner tools in get-codeowner.ps1

* return command when exists

* Update eng/common/scripts/get-codeowners.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Update eng/common/scripts/get-codeowners.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Address comments

* Added test to script

* change return type

* change wrong params

* default to toolpath

* typo

* correct exit on Test

* change to right function name

* Fixed log message

* log message

* Added more test cases

* Correct the parameters

* Update eng/common/scripts/get-codeowners.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Update eng/common/scripts/get-codeowners.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Update eng/common/scripts/get-codeowners.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Remove exit 0 in test function

* change the path delimiter

* More changes on var

* Hide error behind

* Comment back all tests

* exit 0

* Update eng/common/scripts/get-codeowners.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* remove default value

* changes for new get-codeowners

* Update eng/common/scripts/get-codeowners.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* update version and parameter

* add user

* more fix

* add messages

* Added real cases

* fixed typo

* Make program work

Co-authored-by: sima-zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-11-22 16:29:47 -08:00
Azure SDK Bot
1c357e7781
Sync eng/common directory with azure-sdk-tools for PR 2306 (#3125)
* Declare transitive dependency on Az.KeyVault 3.4.1

* Resolve PR feedback

Co-authored-by: Heath Stewart <heaths@microsoft.com>
2021-11-19 14:06:20 -08:00
Azure SDK Bot
5edde94abd
bump tool and docker versions (#3124)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2021-11-19 13:42:06 -08:00
JinmingHu
1b814a8757
restructure storage samples (#3113)
* restructure storage samples

* Apply suggestions from code review

* Apply suggestions from code review

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

* u

* u2

* fix link

* clang-format

Co-authored-by: Victor Vazquez <victor.vazquez@microsoft.com>
2021-11-19 09:59:34 +08:00
Anton Kolesnyk
a831b4b3f6
Exclude test, samples, and 3rd party code from code coverage (#3120)
* Exclude test, samples, and 3rd party code from code coverage

* Update min coverage requirement to a true one

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-11-18 13:06:12 -08:00
Victor Vazquez
ea9c1efe86
Run service samples on CI gate with ubuntu (#3105)
* samples on ubuntu-default
2021-11-18 10:47:18 -08:00
Anton Kolesnyk
764b839dec
Make AZURE_ASSERT and related macros internal (#3059) 2021-11-17 18:31:37 -08:00
JinmingHu
52adaaa057
fix a bug in generated xml code (#3114) 2021-11-18 10:16:10 +08:00
Anton Kolesnyk
5e0f1c9ac8
Do not initialize statics in inline functions (#3111)
* Do not initialize statics in inline functions

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-11-17 13:17:41 -08:00
Azure SDK Bot
fe34374b16
Sync eng/common directory with azure-sdk-tools for PR 2290 (#3112)
* update docker-start-proxy to have a slightly different default parameter

* we were surrounding the value in single quotes, breaking recording load

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2021-11-17 11:48:06 -08:00
JinmingHu
f9157c8763
New API: CopyFromUri, which copies a blob synchronously (#3098)
* sync copy blob

* CL

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

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

* Update sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_client.hpp

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

* Update sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_client.hpp

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

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2021-11-17 10:07:40 +08:00
Victor Vazquez
1f07a30133
Move Key Vault samples from certificates and secrets to same structure as Keys (#3108)
* move samples for certificates and secrets to same structure as Keys

* remove links until changes are merged
2021-11-16 15:28:42 -08:00
Azure SDK Bot
688d36587a
Make sure clean-up scripts return collections (#3110)
Co-authored-by: Heath Stewart <heaths@microsoft.com>
2021-11-16 14:26:51 -08:00