Commit Graph

674 Commits

Author SHA1 Message Date
Anton Kolesnyk
46dd5674a6
Azure Core June Release (#4671)
* Azure Core June Release

* clang-format

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

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

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-06-01 12:40:09 -07:00
Ahson Khan
10c37ab035
Fix clang format issue with multiple gtest includes in etag_test due to (#4673)
merge conflict resolution.
2023-05-31 15:55:28 +08:00
Anton Kolesnyk
b4236bd0f3
Acknowledge community contribution in changelog (#4656)
* Acknowledge community contribution in changelog

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-05-30 11:41:37 -07:00
Larry Osterman
fb240a4b25
Define a standardized header ordering for Azure SDK for C++ (#4632)
* Standardized header ordering for C++ repo

* Reordered categories to move private headers above public headers; added space between categories to enable future flexibility
2023-05-26 14:32:45 -07:00
Jennifer Chukwu
5499eee608
added a test helper to test each type for having the expected default operations. (#4627)
* add test helper

* constructible from Args

* restucture ClassTraits to ensure portability of static constexpr

* fix Etags tests and format

* clang format
2023-05-25 23:03:12 -07:00
Ben Broderick Phillips
d4839e1a8e
Remove -Login and -PushImages parameters from stress helper (#4615) 2023-05-16 16:32:14 -04:00
Azure SDK Bot
495ee2ddf9
Increment package version after release of azure-core (#4610) 2023-05-04 14:57:46 -07:00
Anton Kolesnyk
96da379dbe
Azure Core May Beta Release (#4577)
* Azure Core May Beta Release

* Update CHANGELOG.md

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-05-04 13:06:20 -07:00
Larry Osterman
2cce17d691
Added checks to help diagnose intermittent globalCleanUp test failure (#4593)
* Added checks to help diagnose intermittent globalCleanUp test failure
2023-04-28 11:13:02 -07:00
Anton Kolesnyk
80bf41f131
Update changelog after Core 1.8.2 release (#4574)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-04-24 17:56:21 -07:00
Ahson Khan
f166699120
Fixed the UUID generation logic so that the variant digit is RFC 4122 (#4554)
conforming.
2023-04-17 18:37:51 -07:00
Ahson Khan
1c15232a63
Update cspell.json to include OIDC to fix spell check error in event-processor.yml (#4544)
* Minor tweak to event-processor.yml to trigger cspell checks

* Cosmetic change to context_test.cpp in azure-core to trigger CI pipelines

* Update cspell.json to include OIDC
2023-04-11 15:55:01 -07:00
Larry Osterman
f318a00dcf
Transparent Uuid part 2. (#4540)
* Created transparent form of Azure::Core::Uuid

* clang-format

* clang-format

* Made constructor and operator std::array explicit

* Pull request feedback

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

Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>

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

Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>

* Renamed methods as per Anton's suggestion

* Renamed FromArray to CreateFromArray as per Ahson's suggestion

---------

Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>
2023-04-11 12:54:16 -07:00
Larry Osterman
99a17a8263
Created transparent form of Azure::Core::Uuid (#4534)
* Created transparent form of Azure::Core::Uuid

* Pull request feedback

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

Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>

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

Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>

---------

Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>
2023-04-11 01:03:37 +00:00
Anton Kolesnyk
fe7c7f971f
Move bug fix to the right place in changelog (#4531) 2023-04-08 04:58:26 -07:00
Rick Winter
369f86ce6d
[Azure.Core] Disable TCP_FAST_OPEN to avoid a WinHttp issue (#4530)
* Disable TCP_FAST_OPEN to avoid a WinHttp issue

* Add Changelog entry
2023-04-07 15:52:58 -07:00
Azure SDK Bot
58b4854734
Increment package version after release of azure-core (#4528) 2023-04-06 23:36:26 +00:00
Anton Kolesnyk
2e267bbac2
Core April Beta Release (#4516)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-04-06 15:10:14 -07:00
Anton Kolesnyk
93c3a62986
Remove duplicated comment (#4524)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-04-06 13:48:26 -07:00
Ahson Khan
dd0fbec560
Update README.md to fix markdown linter errors (#4494)
* Update README.md to fix markdown linter errors

* Re-apply changes to filter out whitespace artifacts

* Add a single space after a period at the end of the sentence.

* Update datetime.cpp

Make a cosmetic change to a src file to trigger CI.
2023-04-06 11:40:25 -07:00
Larry Osterman
b4be76fec8
Fixed AV in attestation tests (#4480)
* Fixed AV in attestation tests

* Fixed another test AV
2023-04-06 18:03:39 +00:00
Anton Kolesnyk
fd687c32fa
Add support for challenge-based and multi-tenant authentication (#4506)
* Add support for challenge-based and multi-tenant authentication

* Clang-format

* cspell

* clang-format

* gcc warning

* clang warning

* Remove debug message

* clang-format

* update version>= in vcpkg manifests

* unpublic copy ctor in polymorphic class

* KeyVault::_internal::ChallengeBasedAuthenticationPolicy => KeyVault::_internal::KeyVaultChallengeBasedAuthenticationPolicy

* keyvault/shared/challenge_based_authentication_policy.hpp => keyvault/shared/keyvault_challenge_based_authentication_policy.hpp

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-04-04 11:00:05 -07:00
Victor Vazquez
3d17447cce
update doctest lib to 2.4.11 (#4501) 2023-03-31 11:59:08 -07:00
Larry Osterman
6e810750be
First attempt at fixing nlohmann doctest compilation error (#4499)
* First attempt at fixing nlohmann doctest compilation error

* fixed compilation issue

* Fixed ApiView generation for azure core
2023-03-31 09:36:06 -07:00
Anton Kolesnyk
ba086576be
Fix potentially high CPU usage on Windows (#4448)
* Fix potentially high CPU usage on Windows

* Undo unnecessary formatting

* Undo unnecessary changelog

* Undo unnecessary formatting

* Undo unnecessary formatting

* Uninclude locale

* Add issue link to changelog

* EXPECT_TRUE(a == b) => EXPECT_EQ(a, b)

* Update second changelog with link as well

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-03-20 13:06:11 -07:00
Anton Kolesnyk
43632ebce8
Tests: replace most EXPECT_TRUE(a OP b) with EXPECT_OP(a, b) (#4457)
* Tests: replace most `EXPECT_TRUE(a OP b)` with `EXPECT_OP(a, b)`

* Undo unnecessary change

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-03-17 03:55:14 -07:00
Anton Kolesnyk
ade505d087
Update changelog with issue link (#4458)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-03-16 17:20:32 -07:00
George Arama
14677e92be
fix cspell for readme.ms in libcurl sterss test (#4441)
* fix cspell

* capitalize Valgrind and ubuntu

* sdada

* fix2
2023-03-16 11:03:09 -07:00
Anton Kolesnyk
ef24dfda2e
Add GetCredentialName() (#4428)
* Add GetCredentialName()

* Update

* Undo accidental change

* Clang-format

* Call GetCredentialName() instead of using constant; Return in-place constructed name; Explicit tests for GetCredentialName()

* PR feedback

* constructor parameter + non-virtual GetCredentialName()

* Update sdk/core/azure-core/CMakeLists.txt

* Update sdk/identity/azure-identity/test/ut/client_secret_credential_test.cpp

* Update sdk/identity/azure-identity/test/ut/client_certificate_credential_test.cpp

* GCC and Clang warnings

* Promote ThrowIfNotSafeCmdLineInput() to private member; avoid copies when calling GetCredentialName()

* Spelling

* Fix deprecated usage

* Fix iteration

* Clang-format

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-03-14 16:46:10 -07:00
Larry Osterman
61003a921e
Create CMakePresets.json as an alternative to cmakesettings.json (#4429)
* Create CMakePresets.json as an alternative to cmakesettings.json

* Added (void)
2023-03-13 20:33:18 +00:00
Anton Kolesnyk
c673e9550c
Update vcpkg release manifest templates per vcpkg team recommendation (#4425)
* Update vcpkg release manifest templates per vcpkg team recommendation

* Forgotten change

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-03-08 21:00:59 -08:00
Larry Osterman
d8f6aa9d27
First cut at removing proxy tests (#4416)
* FIrst cut at removing proxy tests

Changed the proxy tests from opt-out to opt-in so they're disabled by default. Removed lines enabling proxy from ci.yml file.
2023-03-07 23:46:25 +00:00
Ahson Khan
c8b028dce0
Follow-up to update changelog to reflect community contribution (#4393)
* Follow-up to update changelog to reflect community contribution

* Upgrade cspell version from 0.1 to 0.2
2023-03-02 12:06:00 -08:00
JinmingHu
e2a1b99a06
Add support to ignore invalid cert common name (#4361) 2023-02-25 11:12:08 +08:00
JinmingHu
395e9a0640
Test proxy & storage tests improvements (#4241) 2023-02-22 09:37:49 +08:00
George Arama
9572608a5d
Docker comment (#4375)
* update comment

* add comment about vcpkg

* dsfs
2023-02-21 19:50:55 +00:00
George Arama
30afd1eb89
reworked docker file (#4344)
* reworked docker file

* removed unnecessary su

* update docker file

* qwq

* Update sdk/core/azure-core/test/libcurl-stress-test/Dockerfile

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

* url

---------

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2023-02-17 11:40:54 -08:00
Anton Kolesnyk
326ec44db8
Update changelog to reflect community contribution (#4355)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-02-13 17:13:49 -08:00
Jørgen Lind
4d894adc51
Fix compilation on Visual Studio 2017 (#4352)
Co-authored-by: Jørgen Lind <jorgen.lind@bluware.com>
2023-02-13 16:00:52 -08:00
Ahson Khan
1abebf9661
Fix cspell flagged typos across the repo by triggering it on all files.
* Modify files by adding an extra space to trigger spell check on all.

* Modify newer files.

* Modify new files that got added.

* Modify all markdown files to trigger spell check on those.

* Fix spelling errors and update cspell to remove out-dated exceptions.

* Add back mypgrogram exception for the readme from azure-core.

* Revert test edits to markdown files.

* Revert test changes to source and header files.

* Remove modification to leftover source files.
2023-02-06 11:30:20 -08:00
Azure SDK Bot
6a53e4122f
Increment version for core releases (#4338)
* Increment package version after release of azure-core

* Increment package version after release of azure-core-tracing-opentelemetry
2023-02-03 09:24:25 +00:00
Anton Kolesnyk
aa9cd300fe
Core February Release (#4315)
* Core February Release

* Accumulate changelog entries from previous Beta releases

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

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

Co-authored-by: Larry Osterman <LarryOsterman@users.noreply.github.com>

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

Co-authored-by: Larry Osterman <LarryOsterman@users.noreply.github.com>

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

* Update CHANGELOG.md

* Add wil dependency

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

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

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

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

* Undo change to the vcpkg manifest file (went in in other PR)

* Sync with main

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Larry Osterman <LarryOsterman@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-02-02 23:36:12 -08:00
Anton Kolesnyk
243fb4c58d
Compilation fixes for UWP (#4335)
* Compilation fixes for UWP

* More accurate condition

* Fix warnings

* Format files as vcpkg formats them; pull one change back from vcpkg

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-02-02 20:04:21 -08:00
Larry Osterman
5d6b6f72c1
Added deprecated constructors for attestation service (#4313)
* Added deprecated constructors for attestation service

* Disable deprecation warnings for clang; improved documentation to reflect deprecated functions

* Use doxygen @deprecated on deprecated functions

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

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-02-01 13:05:20 -08:00
Ahson Khan
696d138105
Move cspell exceptions in markdown file to metadata that isn't visible using html comment syntax (#4311) 2023-01-31 21:25:44 -08:00
Anton Kolesnyk
05040409d9
Policies do not overwrite HTTP headers if they are already set (#4303)
* Policies do not overwrite HTTP headers if they are already set

* Use static constant UserAgent

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-01-31 17:58:48 -08:00
Ahson Khan
876a7baaa5
Add CI pipeline step and script that validates all files in the repo contain ASCII-only bytes and no UTF-8 BOM (#4134)
* Add CI pipeline step and script that validates all files in the repo contain ASCII-only bytes and no UTF-8 BOM

* Update platform-matrix.json to turn on CHECK_ASCII_CHARACTERS

* Fix missing comma in json.

* Update indentation in the ci.test.yml for the bash script

* Exclude the .github folder and test recording json files.

* Remove "recordings" exclusion since it doesn't exist anymore.

* Fixed UTF-8 with BOM and other non-ASCII character issues within the
files in the repo.

* Exclude nlohmann json tests from ASCII validation check.

* Log an intro to the CI console for the validation step.

* Remove codecoverage.cmake exclusion.

* Remove exclusion for docs and tools directories.
2023-01-25 17:33:26 -08:00
Larry Osterman
f757bb06e7
Clean up tracing logic - prepare for new tracing functionality. (#4263)
- Made Context immutable (including marking the static ApplicationContext as const
- Put back TelemetryPolicy in all pipeline cases and removed User-Agent generation from RequestActivityPolicy (note: This part of the change may end up being reverted). Also updated parameters for TelemetryPolicy to make it clearer that the parameter is a package name, not a service name.
- Changed Az.Namespace value from being the package name to being the service name.
- Change test SpanExporter to fully capture exported values rather than keeping references to the values.


Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-01-25 19:07:25 +00:00
George Arama
e5812ec72c
Stress test (#4268)
* stressTest

* STRESS WORKS

* missing space
2023-01-24 15:43:54 -08:00
Anton Kolesnyk
136645c820
Update changelog wording (#4262)
* Update changelog for the Azurite fix

* Update changelog wording

* Update changelog wording

* Add "Fixed ..."

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

* Added "courtesy of" wording

* Spell checker update

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-01-20 02:59:18 +00:00