Commit Graph

740 Commits

Author SHA1 Message Date
Ben Broderick Phillips
d4839e1a8e
Remove -Login and -PushImages parameters from stress helper (#4615) 2023-05-16 16:32:14 -04:00
Larry Osterman
a09d3acdce
Fixed AMQPS port (#4637) 2023-05-15 23:13:49 +00:00
Larry Osterman
7066f4c956
Disable warnings for AMQP tests (#4633)
* Disable warnings for AMQP tests

* Added cmake presets for linux for ease of use.
2023-05-15 11:35:10 -07:00
Larry Osterman
68d051fe72
Merge AMQP functionality to main. (#4596)
# This pull request moves the core AMQP functionality to main. It is still very much a work in progress, but moving it to main will reduce the complexity associated with working in feature branches.



---------

Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
Co-authored-by: Victor Vazquez <victor.vazquez@microsoft.com>
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: George Arama <50641385+gearama@users.noreply.github.com>
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-05-10 20:58:39 +00: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
49f0f9e869
Make sure PRs modifying root samples and .github files within the repo get core CI triggered (#4546) 2023-04-11 15:56:23 -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
Daniel Jurek
c2e845266b
Migrate Ubuntu 18 to 22 directly in the matricses (#4442)
* First cut at migrating Ubuntu 18 to 22 directly in the matricses

* Try 20.04

* Remove azure.list from apt configuration on 22.04

* Parens

* gpp-8 on Ubuntu 20.04

* Remove g++-5

* Move config changes to steps/

* Remove g++-5 from live tests

* Update eng/pipelines/templates/steps/fix-linux-1es-configs.yml

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>

* Review feedback

* Finish renaming

* Setting line coverage target to 91%

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-03-31 12:07:25 -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
George Arama
5e91f5584e
Enable profiling in perf piplines. (#4398)
* profiling

* dsadsada

* Update eng/pipelines/templates/jobs/perf.yml

Co-authored-by: Mike Harder <mharder@microsoft.com>

---------

Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-03-08 12:28:13 -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
Mike Harder
fd1695ebba
[Perf] Refactor tests.yml into one file per package per language (#4270) 2023-02-09 21:18:03 -08:00
George Arama
3762c59552
Test proxy start (#4295)
* lll

* sss

* oipio

* vcvc

* enable test proxy start at test suite start for KV and storage , example created for attestation, we cannot find the base definitions for the test suites,

* Contrib

* clangs

* clangs

* test logs

* pipeline

* more clangs

* pipeline

* clang

* try try again

* try try again

* try again

* try again

* again

* update paths , moved to macro , call macro in target code

* core

* capitalization
2023-02-07 10:52:20 -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
Ahson Khan
3b6af7534e
Remove mention of testing related changes from telemetry changelog (#4331) 2023-02-02 12:53:25 -08:00
Ahson Khan
5954c5ef26
Make sure PRs modifying markdown files within the repo get CI triggered (#4323)
* Make sure PRs modifying markdown files within the repo get CI triggered

* Update ci.yml for core to trigger on any markdown file change.

* Test to see if wildcards work as expected

* Update wildcard to include any markdown file, with a path

* Revert README.md file change.

* Modify a markdown file in a nested directory to see if core ci is triggered.

* Exclude sdk/core from the trigger to see if wildcard works correctly.

* Add back sdk/core

* Revert samples markdown change.
2023-02-02 12:06:55 -08:00
Larry Osterman
03965298be
Prepare OpenTelemetry for beta release (#4320)
* Prepare OpenTelemetry for beta release

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

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

* Removed core changelog changes

* Removed core changelog changes 2

* Updated core dependency to 1.8.0

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-02-02 09:56:44 -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