Commit Graph

1903 Commits

Author SHA1 Message Date
Jeremi Piotrowski
f1de8d20df
sdk/core: Reimplement Md5OpenSSL using EVP API (#3609)
The MD5_Init/Update/Final functions are deprecated in OpenSSL 3.0 and result in
a compile-time warning. Due to the default usage of -Werror during compilation,
these warnings are treated as errors and prevent the SDK from being built on
Ubuntu 22.04, which ships with OpenSSL by default. The deprecated APIs should
be replaced by the EVP APIs, which are already in use for the SHA family of
functions, and supported on all versions of OpenSSL.
2022-05-03 10:32:29 -07:00
Azure SDK Bot
2c3d73e369
Short circuit out of msdocs publish if no package locations are specified (#3607)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2022-05-02 17:44:55 -07:00
JinmingHu
0494d24620
Add Emma Zhu as code owner (#3605) 2022-05-02 23:57:04 +00:00
Ahson Khan
82261744eb
Reword the curl proxy fix changelog entry. (#3606) 2022-05-02 14:46:35 -07:00
JinmingHu
5232334520
fix cmake in storage (#3604) 2022-04-30 10:36:29 +08:00
Ahson Khan
dffcb4c62b
Remove extra period at ends of exception messages in winhttp transport (#3601) 2022-04-29 14:24:30 -07:00
Ahson Khan
5dba78eaa3
Fix-up the changelog entry link for the curtransportoption bug fix (#3598) 2022-04-29 14:23:56 -07:00
Ahson Khan
218784d82a
Create a session handle once in the transport ctor and reuse it for all requests rather than creating a new one each time. (#3585)
* Reuse the same session handle for all requests rather than creating a new one each time.

* Move the session handle creation to the transport adapter ctor.

* Update changelog entry.

* Address PR feedback.

* Change CreateSessionHandle to return a local session handle
2022-04-28 14:19:55 -07:00
Azure SDK Bot
e788cf6303
Sync eng/common directory with azure-sdk-tools for PR 3250 (#3595)
* Change the direction of the commit date

* Log on right place

* remove auth

* fix typo

* Add auth token back

* add delete back

* Update eng/common/scripts/Delete-RemoteBranches.ps1

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

* Update Delete-RemoteBranches.ps1

* Update Delete-RemoteBranches.ps1

* Update Delete-RemoteBranches.ps1

* Update Delete-RemoteBranches.ps1

* Update Delete-RemoteBranches.ps1

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>
2022-04-28 12:51:29 -07:00
Anton Kolesnyk
5cb60868e1
Add ClientCertificateCredential (#3578)
* Add ClientCertificateCredential

* Update unit test

* cspell

* Update Readme

* Cosmetic fixes

* Changelog to mention env cred update

* Fix warning

* cspell

* Tell CI to install openssl

* openssl for all Windows

* update dependency manifest

* Re-phrase changelog

* Clang warnings

* Clang warning

* Clang warning - 2

* Ubuntu18 warning

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

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

* PR feedback

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Victor Vazquez <victor.vazquez@microsoft.com>
2022-04-28 10:47:45 -07:00
Azure SDK Bot
d1be7c8bfd
Remove the daily branch before date (#3593)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-04-28 08:23:06 -07:00
Azure SDK Bot
637def0979
Sync eng/common directory with azure-sdk-tools for PR 3221 (#3591)
* Make docs.ms link relative link

* Update Update-DocsMsMetadata.ps1

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

Co-authored-by: Daniel Jurek <djurek@microsoft.com>

Co-authored-by: sima-zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2022-04-27 13:26:09 -07:00
Azure SDK Bot
023ae4d5f9
Sync eng/common directory with azure-sdk-tools for PR 3238 (#3590)
* pin proxy version to one that properly sets listenoptions
* update targeted test-proxy docker repo. "testproxy" -> "test-proxy"

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2022-04-27 12:29:32 -07:00
Azure SDK Bot
84b581e1a3
Sync eng/common directory with azure-sdk-tools for PR 3212 (#3587)
* bump consumed version of test proxy. update scripting to target the fully cross-platform image tag name.
* update target version of the test-proxy to one that enforces http/1.1

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2022-04-26 16:28:16 -07:00
Daniel Jurek
140e05baa7
Migrate to matrix generator (#3553)
* Represent existing matrix in json
* Use new matrix
* Move to stage
* Cloud configuration
* MaxParallel
* DependsOn
* Quote CtestRegex
* Use template for cmake generate tests
* Template name mappings
* Formatting, parameters
* Remove duplicate bypass-local-dns.yml
* Enable Location override
* Add Location
* Add spelling words
* Use Ubuntu 20 where the name specifies Ubuntu 20
* Apply suggestions from code review

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

* PR feedback
* fix storage sample
* Matrix documentation

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
Co-authored-by: Victor Vazquez <vhvb1989@gmail.com>
2022-04-26 14:34:23 +00:00
JinmingHu
7b87ea1c85
some small fixes on Storage cmakefiles (#3588) 2022-04-26 12:09:03 +08:00
JinmingHu
87b230a51d
Add batch protocol layer (#3580)
* Add batch protocol layer
2022-04-26 08:58:20 +08:00
Victor Vazquez
d799012230
update log level from Retry policy (#3586)
* update log level

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

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

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2022-04-25 22:53:58 +00:00
Victor Vazquez
bdb71249ce
update curl transport options to support ignore proxy from system (#3564)
* update curl transport options to support ignore proxy from system

* update changelog

* bug fix for cl
2022-04-25 16:50:17 +00:00
Rick Winter
075b8d0046
Fix typo (#3583) 2022-04-22 18:57:20 -07:00
Larry Osterman
81750e9432
Pin openssl to 1.1.1n (#3575)
* Pin openssl to 1.1.1n

* Updated vcpkg commit to one containing OpenSSL 1.1.1n

* Fixed version number in vcpkg.json
2022-04-22 09:16:31 -07:00
Azure SDK Bot
42eff2eb4b
Skip azcopy download if it already exists (#3576)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2022-04-21 15:01:46 -07:00
Victor Vazquez
229eb8a340
[Tech Docs] Libcurl transport adapter (#3484)
* libcurl transport adapter

* updates

* Update LibcurlTransportAdapter.md

* Update LibcurlTransportAdapter.md

* Update doc/LibcurlTransportAdapter.md

Co-authored-by: Jeffrey Richter <jeffrichter@live.com>

Co-authored-by: Jeffrey Richter <jeffrichter@live.com>
2022-04-21 18:48:10 +00:00
Azure SDK Bot
c90ffacb92
Sync eng/common directory with azure-sdk-tools for PR 3169 (#3572)
* Use the batch version of ValidateDocsMsPackagesFn

* Use proper pipelining for GetPackageInfoJson function

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2022-04-20 15:33:16 -07:00
Sima Zhu
225e8ff914
Initialize the suppression file. (#3569) 2022-04-19 16:12:46 -07:00
Azure SDK Bot
4261bd3562
Sort by service name first (#3570)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-04-19 15:53:43 -07:00
Azure SDK Bot
201d588b6d
Do not pass Generated to -BaseName (#3562)
Co-authored-by: Heath Stewart <heaths@microsoft.com>
2022-04-15 13:24:09 -07:00
Azure SDK Bot
164346796f
Support BaseName overrides in CI mode for New-TestResources.ps1 (#3559)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-04-14 17:29:16 -07:00
Azure SDK Bot
59b27b8dc4
Sync eng/common directory with azure-sdk-tools for PR 3000 (#3485)
* Sort by client, mgmt, track2, track1

* sort by the type

* Update eng/common/docgeneration/Generate-DocIndex.ps1

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

* Update eng/common/docgeneration/Generate-DocIndex.ps1

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

* Update eng/common/docgeneration/Generate-DocIndex.ps1

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

* Update eng/common/docgeneration/Generate-DocIndex.ps1

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

* fix the sorting

* Define the order of new and type

* address comments

* fix typo

* Address your comments

* Update eng/common/docgeneration/Generate-DocIndex.ps1

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

* Update eng/common/docgeneration/Generate-DocIndex.ps1

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

* Update eng/common/docgeneration/Generate-DocIndex.ps1

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

* Update eng/common/docgeneration/Generate-DocIndex.ps1

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

* Update eng/common/docgeneration/Generate-DocIndex.ps1

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

* Update Generate-DocIndex.ps1

* Update Generate-DocIndex.ps1

* Update eng/common/docgeneration/Generate-DocIndex.ps1

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

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>
2022-04-13 13:33:22 -07:00
Azure SDK Bot
7889304391
Sync eng/common directory with azure-sdk-tools for PR 3124 (#3546)
* Do not fail remove test resources step when env var is not set.

* Handle empty service directories in remove test resources script

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-04-11 17:28:51 -07:00
Azure SDK Bot
ca20a7f744
check the right variable syntax (#3547)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-04-11 16:32:14 -07:00
Azure SDK Bot
fd10570626
update pipeline generator package version (#3545)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2022-04-11 13:02:06 -07:00
JinmingHu
557e033941
Fix a typo extendable enumeration (#3535)
* Fix a typo extendable enumeration

* more
2022-04-09 04:25:25 +00:00
Azure SDK Bot
ce2c8db501
Sync eng/common directory with azure-sdk-tools for PR 2963 (#3542)
* Verify changelog like a release is about to take place if a vlaid date is present

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

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

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

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

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

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

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

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

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

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

* Remove strict date verification

* Add function for sorting changelog entries

* Minor cleanups

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
Co-authored-by: Chidozie Ononiwu (His Righteousness) <31145988+chidozieononiwu@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2022-04-08 20:37:20 -07:00
JinmingHu
b78413f89c
Update outdated doc for customizing transport (#3536) 2022-04-08 23:45:37 +00:00
JinmingHu
7083d857af
Remove DefaultSasVersion (#3534)
because each service has its own version

closes https://github.com/Azure/azure-sdk-for-cpp/issues/3401
2022-04-07 23:54:19 -07:00
Azure SDK Bot
f0e0070223
Sync eng/common directory with azure-sdk-tools for PR 3067 (#3529)
* Infer live resource group name based on service directory name

* Simplify service directory path splitting

* Use common logic for username and basename generation

* Rename GetServiceName to GetServiceLeafDirectoryName

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-04-07 11:33:38 -07:00
Azure SDK Bot
13330aacae
Wait for test proxy startup (#3532)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-04-07 10:29:44 -07:00
Azure SDK Bot
8d47e6d490
Increment package version after release of azure-core (#3496) 2022-04-06 11:32:14 -07:00
Azure SDK Bot
2403659257
Increment version for storage releases (#3506)
* 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-queues
2022-04-06 04:40:31 +00:00
Azure SDK Bot
b16ff00d98
Increment package version after release of azure-security-attestation (#3505) 2022-04-05 23:35:21 +00:00
JinmingHu
fe0ed7e3bb
Storage April Release (#3478)
* Storage April Release

* update queue changelog

* update vcpkg.json

* update CL
2022-04-06 07:27:48 +08:00
Azure SDK Bot
39d1b844ef
Increment package version after release of azure-identity (#3504) 2022-04-05 12:49:56 -07:00
Anton Kolesnyk
ba377c8c64
Identity 1.3.0-beta.1 Release (#3483)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-04-05 10:59:02 -07:00
JinmingHu
6c0f062bad
fix a bug where the xml body cannot be too big (#3502)
* fix a bug where the xml body cannot be too big

* ut

* CL

* record
2022-04-05 13:15:04 +08:00
Daniel Jurek
04cd29039b
Vcpkg Binary Cache Cleanup (#3482)
* Expiration time, eliminate AzureRm warning, condition on Set-VcpkgWriteModeCache

* Attempt uninstalling AzureRM and installing Az.Storage

* Import PSModule-Helpers.ps1

* Unsintall-AzureRm if the function exists

* Get-Command

* Uninstall-Module Azure.Storage

* Log

* quotes

* Get-Command some more

* Format list

* Alias fun

* Naming

* show PSModulePath

* Attempt to handle module double backslash

* do not observe

* do not observe for real

* Spelling

* Empty commit to re-trigger CI with a full matrix
2022-04-04 13:12:16 -07:00
Azure SDK Bot
5f8268dd73
Support nested service directories for local test resources resource group names (#3500)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-04-01 18:32:42 -04:00
Azure SDK Bot
fde9966734
Sync eng/common directory with azure-sdk-tools for PR 2967 (#3499)
* Fix bug where job matrices with leading numbers generated duplicate job names

* Fail matrix generation when config path or import paths are not found

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-04-01 18:31:31 -04:00
Larry Osterman
45b8553979
Removed one more Azure Core 1.2.0 dependency (#3498)
* Update vcpkg.json

* Removed Core 1.2.0 dependency
2022-04-01 11:23:59 -07:00
Daniel Jurek
a91d151e79
Vcpkg Beta Automation (for real) (#3497)
* Script that automates updating vcpkg betas

* Wire up to pipeline

* Spelling, commentary

* Clone into repo name

* Remove-Item requires the path to exist, even if -Force is specified

* Bootstrap vcpkg

* Arguments to Test-ShouldReleaseToVcpkg.ps1

* More commit

* Escape quotes

* Quote git commit

* Set strict mode

* Use tags

* Actually tag

* Run git commands

* Invoke-Expression

* Onboard releasing package to vcpkg before attempting to isntall from overaly

* temporarily disable matrix generation (30s tasks sometimes runs for 20+ minutes)

* Test-ShouldReleaseToVcpkg.ps1

* Test-Path

* Test vcpkg build, also ensure we push

* Just the tags... low probabiltiy of success given that '--' if frequently treated as a separator

* Add ability to skip link verification for tighter inner loop

* Push tag separately

* Unnecessary condition and conjunction

* Base repo owner: Azure

* Specify remote name

* Tighten inner loop

* git remote -v

* workingDirectory

* Go back to two tags and a regular push

* Saving some progress

* Use original push method

* BaseRepoOwner

* Cleanup, put changes in the default branch (vcpkg does not look at refs outside of the default branch)

* Use default branch

* Revert changes used to tighten up devops inner loop

* Revert an unrelated change

* Revert unrelated changes

* Revert unrelated changes

* Add spelling
2022-04-01 06:30:03 -07:00