Commit Graph

771 Commits

Author SHA1 Message Date
Larry Osterman
a627ab3f22
Initial creation of EventHubs service by @gearama (#4755) 2023-07-13 12:39:18 -07:00
Ahson Khan
5ea89474e7
Verify that the nlohmann json library gracefully handles UTF-8 BOM at the start of the payload (#4775) 2023-07-13 11:46:18 -07:00
Rick Winter
b54d509c72
Use standard syntax for MIT license (#4786)
* Use standard syntax for MIT license

* Stop appending "All rights reserved"
2023-07-12 22:37:36 -07:00
Anton Kolesnyk
8776e31e66
Format vcpkg manifest (#4767)
* Format vcpkg manifest

* 1.9.0-beta.1

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-07-10 18:21:01 -07:00
Anton Kolesnyk
7da5a4568c
Update vcpkg baseline (#4772)
* Update vcpkg baseline

* Update in another place as well

* Remove default-features requirement for telemetry and amqp in manifest mode

* Also remove default-features for storage

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-07-10 14:22:40 -07:00
Ahson Khan
cf1c01e089
Codifying the behavior of json.contains with nested properties, in the unit test. (#4763) 2023-07-10 11:48:09 -07:00
Anton Kolesnyk
2f3e5de931
Fix dependencies for azure-core-amqp-cpp (#4770)
* Fix dependencies for azure-core-amqp-cpp

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

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-07-07 12:23:12 -07:00
Azure SDK Bot
e5ea1007ec
Increment version for core releases (#4760)
* Increment package version after release of azure-core

* Increment package version after release of azure-core-amqp
2023-07-06 14:59:45 -07:00
Ahson Khan
e82dd8dcb4
Update core CHANGELOG.md wording to be more accurate (#4758) 2023-07-06 11:56:32 -07:00
Anton Kolesnyk
0dffddb160
Azure Core July Release (#4752)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-07-06 05:59:52 -07:00
Anton Kolesnyk
8c748719d4
Enable phasing out a breaking change in Core in a step-by-step manner (#4749)
* Enable phasing out a breaking change in Code in a step-by-step manner

* Update messages

* Fully qualify namespace in Changelog

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-07-05 15:39:57 -07:00
Larry Osterman
743a20fd5b
Prepare for AMQP Release (#4739) 2023-06-28 09:15:47 -07:00
Larry Osterman
fba91e34c9
Enabled doxygen validation in CI pipeline. (#4715)
* doxygen fixes

* enable doxygen errors now that doxygen is updated.

---------

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2023-06-22 18:26:07 -07:00
Larry Osterman
0b59e5a94c
Documented log class (#4711)
* Documented log class

* cspell
2023-06-12 16:59:28 -07:00
Larry Osterman
5a9106f2a5
Convert AMQP Management APIs to use MessageSender and MessageReceiver instead of uAMQP version. (#4706)
* Switched management implementation to use message sender and receiver instead of uAMQP implementation.

* Made value conversion to AmqpValue explicit to work around what appears to be a gcc9 bug

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

* pull request feedback

---------

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-06-12 13:57:54 -07:00
Rick Winter
fb1b439ddc
Remove a private internal method that is not used. (#4667) 2023-06-09 13:55:32 -07:00
George Arama
c45dff4c9f
Fix for the flaky curl test (#4670)
* Fix for the flaky curl test

* Larry's comment

* clang format applied

* updated comment

* clang-format-11 -i
2023-06-08 11:47:08 -07:00
Larry Osterman
9bc784050e
Moved logger back to cerr (#4702)
* Moved logger back to cerr

* Simplified stream logger experience; removed need for std::endl
2023-06-07 20:41:24 +00:00
Larry Osterman
0dd8882462
Add the ability to log diagnostics using an ostream. Fixes #4696 (#4700)
* Fixes #4696 - Added support to Log::Write to use insertion operators for logging

* EnvironmentLogger writes to stderr on errors, stdout for non-errors; Also don't double insert crlf in messages

---------

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-06-06 22:20:20 +00:00
Ahson Khan
2f7a3eec8b
Fix casing typo in a doc comment within amqp_error.hpp (#4701) 2023-06-06 19:08:36 +00:00
Larry Osterman
0516518265
Hopefully final AMQP shape changes. (#4690)
* Added amqp_definitions_fields to list of 'special' uAMQP headers

* Tidy up x64-static-debug-perftests preset

* Moved test functions to private and use friend functions for tests; Renamed Management to ManagementClient and made it constructable from Session.

---------

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2023-06-06 09:10:39 -07:00
Larry Osterman
184303a893
Manually disable tests in all vcpkg portfile.cmake files (#4697) 2023-06-05 11:52:21 -07:00
Azure SDK Bot
e05c92c484
Increment package version after release of azure-core (#4687) 2023-06-02 10:19:19 -07:00
Anton Kolesnyk
16a64ab3e9
Fix live tests CI compilation (unused variable warning - gets treated as error) (#4685)
* Fix live tests CI compilation (unused variable warning - gets treated as error)

* A warning popped up in opentelemetry due to header reordering

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-06-01 17:52:44 -07:00
Larry Osterman
b303a70eaa
Stop disabling security warnings in get_env.hpp; Fixed all incorrect … (#4655)
* Disable deprecation warnings in cmakelists.txt to avoid introducing new concepts; removed unnecessary uses of get_env.hpp

* Removed use of GetEnvHelper from AMQP samples

* Removed special case for get_env.hpp
2023-06-01 12:50:45 -07:00
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
Larry Osterman
99b1ef5500
Convert most AMQP types to read-only; Significant API surface cleanup. (#4640)
* Prep for readonly connection

* Added options for Connection and Session to enable read-only configuration

* Read-only connection and session objects; use message source and target for message sender and receiver

* Enabled read-only session; added tests for incorrect AMQPS port

* Added token reader sample; flushed out eventhubs properties sample, added some timeouts to send async test

* Moved AMQP samples to internal

* Moved samples to use GetEnvHelper

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-05-26 13:17:09 -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
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