-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* migrated subscription storage migrated subscription storage into the ContractConnection from underlying connections to reduce repeated code. * moved to AsyncDisposable moved items from Disposable to AsyncDisposable to allow for Tasks required for the disposal of some items * migrated to valuetask migrated most functionality calls to ValueTask instead of Task or just generic results to allow for more asynchronous concepts * completed migration to ValueTask changed all items available to use ValueTask instead of Task for efficiency * Removed Disposal Defaults Removed the Disposal Defaults in base interfaces to allow underlying classes to specify as well as implemented code to handle the disposals Added in End/Close calls for both subscriptions and Connections Updated unit testing accordingly Updated the samples to demonstrate how to properly close off the items in a console application due to some Task Scheduling concepts causing locks. * adding unit test pr adding in unit test pr call * migrated query response migrated query response concepts up to the contract connection level where underlying connections do not support that messaging style and adjusted/created/implemented new interfaces accordingly. * moved packaging info to shared moved all the packaging info to a shared props to make changing version numbers easier * Corrected ActiveMQ changed underlying package used for ActiveMQ as well as produced a sample application using it and tested functionality. * changed service channel options Removed the Channel Service Options concept form the higher levels and allowed for it to be specified through the underlying connector to clean up and simplify the Contract Connection concepts and usage. * added in Redis support added in full support for Redis as a MQ bus. Added in an initial attempt at RabbitMQ but requires much more thorough testing and validation. * added in rabbitmq support added in and tested rabbitmq support, need to explore a slight refactor to support query response natively * code cleanup and commenting added in comments and did some additional code cleanup * multiple fixes Added in initial middleware concepts, need to implement testing Updated all external connections to use interface specific calls instead of public to reduce the comments needed Corrected typo for spelling of received Moved contract connection to interface specifics instead of public to reduce repeated comments * added metric tests added in unit testing for the metrics * adjusted testing timings Adjusted some of the unit test timings to ensure that all metric tracking has occured * code cleanup, test extensions added in more testing to cover middleware usage as well as cleaned up some code. Need to extend logging. * Updating versions updating linked nuget package versions * adding HiveMQ adding support for HiveMQ messaging * updated HiveMQ updated HiveMQ to implement an inbox pattern for the query response model similar to the Redix design * added inbox added in concept of inbox style service connection, corrected typo for timeout and updated unit testing accordingly. * added in In Memory Added in an In Memory connector to allow for some semblance of virtualization where all messaging is handled internally
- Loading branch information
1 parent
27ae5b9
commit 9a4db80
Showing
164 changed files
with
8,614 additions
and
3,630 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: "Dot Net Test Reporter" | ||
|
||
on: | ||
pull_request_target: | ||
types: [ opened, synchronize ] | ||
|
||
permissions: | ||
pull-requests: write | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v2 | ||
with: | ||
dotnet-version: | | ||
8.0.x | ||
- name: Restore dependencies | ||
run: dotnet restore -p:TargetFramework=net8.0 AutomatedTesting | ||
- name: Build-8.0 | ||
run: dotnet build --framework net8.0 --no-restore AutomatedTesting | ||
- name: Test-8.0 | ||
run: dotnet test --framework net8.0 --no-build --verbosity normal AutomatedTesting | ||
- name: report results | ||
uses: bibipkins/dotnet-test-reporter@v1.4.0 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
comment-title: 'Unit Test Results' | ||
results-path: ./**/*.trx | ||
coverage-path: ./**/coverage.xml | ||
coverage-threshold: 90 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
namespace MQContract.Attributes | ||
{ | ||
/// <summary> | ||
/// Used to allow the specification of a response channel to be used without supplying it to the contract calls. | ||
/// IMPORTANT: This particular attribute and the response channel argument are only used when the underlying connection does not support QueryResponse messaging. | ||
/// </summary> | ||
/// <param name="name">The name of the channel to use for responses</param> | ||
[AttributeUsage(AttributeTargets.Class)] | ||
public class QueryResponseChannelAttribute(string name) : Attribute | ||
{ | ||
/// <summary> | ||
/// The Name of the response channel | ||
/// </summary> | ||
public string Name => name; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.