Commit Graph

3285 Commits

Author SHA1 Message Date
microzchang
dd3e5d4027
Storage September Release (#5967)
* Update version

* Update queue change log
2024-09-18 10:09:26 +08:00
Azure SDK Bot
eeaa711966
Increment package version after release of azure-identity (#5999) 2024-09-17 18:00:22 -07:00
Ahson Khan
d7b63eef12
Add const& to input std::string params in ClientCertificateCredential. (#5993) 2024-09-17 15:56:31 -07:00
Wes Haggard
ea00a69e04
Pin windows image version (#5995) 2024-09-17 15:07:33 -07:00
Azure SDK Bot
efac2c35d8
Update CodeownersLinter for net6 to net8 update (#5998)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-09-17 14:57:11 -07:00
Ahson Khan
102da820c6
Prepare for Azure Identity September Beta Release (#5977) 2024-09-17 10:10:08 -07:00
Azure SDK Bot
8a5bf54113
Sync eng/common directory with azure-sdk-tools for PR 8974 (#5994)
* updating package properties with direct/indirect (if named differently) as well as pulling BuildDocs from ci.yml artifact list if it exists

* eliminate the addition of buildDocs property. it requires powershell-yaml to be present on our base function. not good

* remove call to InitializeBuildDocs

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-09-16 16:01:04 -07:00
Ahson Khan
e7420dfd04
Accept base64 (PEM) encoded certificate as std::string instead of vector<uint8_t> (#5991)
* Accept base64 (PEM) encoded certificate as std::string instead of vector<uint8_t>

* Fix unix implementation and remove use of privacy enhance mail in comments, in favor of PEM
2024-09-16 12:10:39 -07:00
Ahson Khan
639fc9f594
Add support for passing in the x509 certificate and its corresponding private key directly to ClientCertificateCredential, rather than reading from a pem file. (#5989)
* Add support for passing in the x509 certificate and its corresponding private key directly to , rather than reading from a pem file.

* Move the x509 and pkey objects

* Add basic test.

* Fix doc comment due to merge.

* Fix merge, add back the bool

* Pass in bool in other locations

* Fix finding pem cert content from memory and add tests with send chain true.

* Use d2i_PrivateKey_bio instead of PEM_read_bio_PrivateKey since the private key isn't in pem format.

* Fix doc comments to match the type name rather than copy/paste typo from client secret cred.

* Make options optional and add invalid content tests.

* Disable cspell in some places within tests.

* Make exception message consistent between platforms when reading a file.
2024-09-14 11:12:53 -07:00
Ahson Khan
e1afe4d7ea
Add support for sending an x5c parameter in the JWT token header for ClientCertificateCredential. (#5988)
* Add public surface area to support sending a chain of certs.

* Add x5c param to the JWT token.

* Simplify test.

* Address PR feedback and fix typo.

* Fix typo.
2024-09-13 19:35:40 -07:00
Ronnie Geraghty
382efbd7fd
Moving sample files to cpp sdk repo (#5947)
* Moving sample files to cpp sdk repo

* Fixed spelling and markdown formatting

* Fixes for links

* added new lines to the end of files

* Update samples/integration/cmake-vcpkg/.gitignore

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

* Update samples/integration/cmake-vcpkg/README.md

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

* Update samples/integration/cmake-vcpkg/README.md

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

* Update samples/integration/cmake-vcpkg/README.md

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

* updates from feedback

* Updates to sample code to use default azure cred

* Update samples/integration/cmake-vcpkg/main.cpp

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

---------

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2024-09-13 15:29:29 -07:00
Azure SDK Bot
0c6d59b645
Update PublishCodeCoverageResults task to v2 (#5987)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-09-13 11:58:55 -07:00
Azure SDK Bot
668c7acb2e
Sync eng/common directory with azure-sdk-tools for PR 8959 (#5982)
* Disable sbom generation for forked PR builds

* Update publish-1es-artifact.yml

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-09-13 09:20:41 -07:00
Azure SDK Bot
f00f07dfe0
Require minimum stress addons version of 0.3.0 (#5981)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-09-12 16:55:13 -07:00
Wes Haggard
658c1f317b
Don't warn on folders that aren't actually packages (#5974) 2024-09-12 22:45:41 +00:00
Ben Broderick Phillips
ac63f2618e
Add auto-baseline main pipeline config for core (#5979) 2024-09-12 16:08:24 -04:00
Azure SDK Bot
da2ea2113d
Increment version for core releases (#5980)
* Increment package version after release of azure-core-amqp

* Increment package version after release of azure-core

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-09-12 11:22:35 -07:00
Scott Addie
df6f5c910d
Create credential chains section in Azure Identity README (#5973) 2024-09-12 14:48:20 +00:00
Anton Kolesnyk
cfbe21ca82
Azure Core September Releases (#5975)
* Azure Core September Releases

* Update CHANGELOG.md

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-09-12 07:38:49 -07:00
Larry Osterman
b45276fc24
Update CHANGELOG.md for September release (#5976) 2024-09-11 15:40:39 -07:00
Wes Haggard
62891eefd6
Update PublishCodeCoverateResults task (#5972) 2024-09-11 13:43:50 -07:00
Larry Osterman
5afc447ff7
Use new clang-18 based ApiView (#5970) 2024-09-11 12:32:28 -07:00
Wes Haggard
f127982f53
Ignore non ascii chars under eng (#5971) 2024-09-11 00:31:30 +00:00
Ahson Khan
c3265d3e5b
Fix input validation check for TimeFractionFormat in the DateTime ToString method (#5927)
* Fix input validation check for TimeFractionFormat in the DateTime ToString() method.

* Add changelog entry.

* Use switch-case instead of static casting the enum values.

* Address CL PR feedback.

* Fix the features added CL to put ResourceIdentifier in the right release.

* Address PR feedback - use type traits
2024-09-10 14:35:07 -07:00
Azure SDK Bot
cfcfac67f7
Sync eng/common directory with azure-sdk-tools for PR 8902 (#5965)
* Add descriptive error when variable groups are not added to pipeline

* Add emoji to deploy step title to make it easier to find

* Move yaml json checking into powershell script

* Fix base sub config empty/string checking

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-09-10 17:04:41 -04:00
Wes Haggard
5f90646d3e
Refactor prepare-pipelines.yml (#5964) 2024-09-09 15:23:43 -07:00
cn0238
b41a52ed91
Add Operator Nexus - Network Cloud to CODEOWNERS file (#5962) 2024-09-09 11:52:07 -07:00
Azure SDK Bot
d77c11839a
Sync eng/common directory with azure-sdk-tools for PR 8929 (#5966)
* Refactor prepare-pipelines

* Convert pipeling generation single to use template

* Convert to pwsh for setting the variables

* Fix switch expression

* Add path separator in front of devopspath

* Continue on error for individual step failures

* Remove unnecessary parameters

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-09-09 10:44:03 -07:00
Azure SDK Bot
787294f281
Update GitHubEventProcessor to 1.0.0-dev.20240909.2 (#5968)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-09-09 09:56:11 -07:00
Wes Haggard
10025fd2a2
Fix vcpkg cache (#5963) 2024-09-06 09:57:58 -07:00
Ronnie Geraghty
3433445498
adding link to survey (#5959)
Adding a link to our design discussion survey as a badge on the README.
2024-09-05 15:47:27 -07:00
gearama
e54c13267d
Kv doc update (#5946)
* samples link

* certs

* keys

* secrets

* oopsie

* az login

* oopsie2

* Update sdk/keyvault/azure-security-keyvault-administration/README.md

Co-authored-by: Ronnie Geraghty  <ronniegerag@gmail.com>

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

Co-authored-by: Ronnie Geraghty  <ronniegerag@gmail.com>

* Update sdk/keyvault/azure-security-keyvault-administration/README.md

Co-authored-by: Ronnie Geraghty  <ronniegerag@gmail.com>

* Update sdk/keyvault/azure-security-keyvault-certificates/README.md

Co-authored-by: Ronnie Geraghty  <ronniegerag@gmail.com>

* links

* find package

---------

Co-authored-by: Ronnie Geraghty <ronniegerag@gmail.com>
2024-09-05 13:13:21 -07:00
gearama
0e2f5b630d
Tables readme update (#5940)
* tables readme update

* oopsie

* replace service name

* updates per PR comments

* rfwerwer

* missing links

* PR changes

* erwerwe

* entity1

* links
2024-09-05 13:13:04 -07:00
Ahson Khan
ea3f1442b2
Move the ResourceIdentifier type from Azure::Identity to Azure::Core. (#5864)
* Move the ResourceIdentifier type from Identity to Azure::Core.

* Fix the namespace in the source cpp file.

* Fix managed identity credential tests.

* Fix clang format.
2024-09-05 15:22:18 -04:00
Azure SDK Bot
01d0ac359f
update package lock to deal with the component governance alert (#5961)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-09-04 14:30:16 -07:00
Azure SDK Bot
aeb335d14f
Add support for aka.ms, github wiki and crates.io checking (#5957)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-09-03 15:53:26 -07:00
Azure SDK Bot
14e5fcd057
Avoid adding the same package twice, use TrimStart instead of substring (#5956)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-09-03 15:51:44 -07:00
Wes Haggard
e636fc5f3e
Remove unused variable group (old cpp cache key) (#5955) 2024-09-03 11:04:40 -07:00
Azure SDK Bot
5a4a4a1b20
add quotes to powershell args (#5953)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-08-30 14:53:24 -07:00
Wes Haggard
11a61fa980
Switch to User Delegate SAS for vcpkg caching (#5950) 2024-08-30 10:33:47 -07:00
Azure SDK Bot
7e9246794a
Sync eng/common directory with azure-sdk-tools for PR 8900 (#5951)
* Add save-package-properties yaml

* Encapsulate Save-Package-Properties.ps1 invocation into yaml

* Fix output formatting

* Fix code style

---------

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-08-29 14:44:37 -07:00
Azure SDK Bot
ab68436d2c
Sync eng/common directory with azure-sdk-tools for PR 8878 (#5949)
* Apply a few changes to Get-PRPackageProperties to make it more customizable for our users. Remove wonky gap + extra spacing that should pass the patch application process now that we've manually aligned common.ps1

* account for feedback -- rename CanaryPackages to AdditionalValidationPackages

* dependentPackagesforInclusion -> additionalValidationPackages

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-08-28 18:11:21 -07:00
Wes Haggard
45cb4a5f87
Turn off warnings from sdl disablement (#5945)
See https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/1es-pipeline-templates/features/sdlanalysis/disablingtools for info on this new flag.
2024-08-28 16:32:49 -07:00
Anton Kolesnyk
6ae78faec8
Update Uuid parameter name, and improve tests (#5943)
* Update Uuid parameter name, and improve tests

* Update sdk/core/azure-core/inc/azure/core/uuid.hpp

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

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2024-08-27 18:40:54 -07:00
Azure SDK Bot
c9d308d6d5
Sync eng/common directory with azure-sdk-tools for PR 8875 (#5941)
* chore(): add playwright-testing to product slugs

* Update eng/common/scripts/Test-SampleMetadata.ps1

---------

Co-authored-by: Siddharth Singha Roy <ssingharoy@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-08-28 03:19:20 +05:30
Anton Kolesnyk
91608bb5dc
Uuid::operator==(): self-comparison optimization, and more tests (#5939)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-08-27 14:22:21 -07:00
Azure SDK Bot
5c082753ac
Sync eng/common directory with azure-sdk-tools for PR 8865 (#5933)
* bump proxy version

* bump proxy version

* restore most of the old performance, only fall back to json matching when something goes wrong

* use newest version with protection from invalid json

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-08-25 11:36:13 -07:00
Anton Kolesnyk
ee0c7565df
Uuid: add default ctor and Parse() (#5935)
* Uuid: add default ctor and Parse()

* Fix merge, integrate better

* nano-optimization for IsNil()

* Changelog

* Pedantism

* GCC fix

* GCC fix (include <stdexcept>)

* PR feedback

* Update sdk/core/azure-core/test/ut/uuid_test.cpp

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

* Comments for bad tests

* Add doxygen comments

* One more constexpr, and clang-format

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2024-08-23 23:15:24 -07:00
Azure SDK Bot
227ae0ea0b
Allow Save-package-properties to exit 0 when prs produce no package changes (#5936)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-08-23 17:15:24 -07:00
Ahson Khan
d8b555a670
Optimize Uuid.ToString() by avoiding using sprintf to do the basic string transformation (#5925)
* Optimize Uuid.ToString() to use a cached value on multiple calls.

* Add tests which call ToString() multiple times.

* Optimize Uuid::ToString by avoiding using sprintf.

* Assert all byte values will fit into a hex character.

* Update comment in test.
2024-08-22 17:34:17 -07:00