Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
f2efe02
Batch publish under transaction added into the RabbitMQ connection.
Aug 24, 2020
ef49c16
Documentation addon
Aug 24, 2020
81f26de
Refactored project structure
Aug 24, 2020
be7d23a
Refactored project structure
Aug 24, 2020
c6b7e49
Refactoring of the code
Aug 25, 2020
6a2b6a3
Refactoring of the code
Aug 26, 2020
497e2e9
Refactored connection pool and channels.
Aug 27, 2020
33e64dc
Removed unnecessary compression of the messages
Aug 27, 2020
e02c5d2
Removed unnecessary imports
Aug 27, 2020
c1027d7
Refactored UI definitions
Aug 27, 2020
cf4c15e
Refactored the transaction commit cycle
Aug 27, 2020
9d1731a
Refactoring the scope and boundary of the global transaction.
Aug 28, 2020
c7f48d8
Refactoring the scope and boundary of the global transaction.
Aug 28, 2020
acdac3e
Refactoring the scope and boundary of the global transaction.
Aug 28, 2020
95eb252
Refactoring the scope and boundary of the global transaction.
Aug 28, 2020
c25e9bb
Refactoring the scope and boundary of the global transaction.
Aug 28, 2020
bd32afb
Refactoring the scope and boundary of the global transaction.
Aug 28, 2020
e88f45c
https://github.com/CommunityHiQ/Frends.Community.RabbitMQ/pull/13#dis…
Aug 31, 2020
41767a7
https://github.com/CommunityHiQ/Frends.Community.RabbitMQ/pull/13#dis…
Aug 31, 2020
12f6a8d
https://github.com/CommunityHiQ/Frends.Community.RabbitMQ/pull/13#dis…
Aug 31, 2020
5a1513b
https://github.com/CommunityHiQ/Frends.Community.RabbitMQ/pull/13#dis…
Aug 31, 2020
7ca21b3
Rollback enhancement, rollback only when catching exception
Sep 2, 2020
5142a07
Unit test can be now easily run.
OssiGalkin Sep 29, 2020
3e6adf7
Tests can be now run against local rabbitmq in docker.
OssiGalkin Nov 4, 2020
1d76dd2
Create BuildAndTestonEveryPushLinux
OssiGalkin Nov 4, 2020
fafd0bb
Rename BuildAndTestonEveryPushLinux to BuildAndTestonEveryPushLinux.yml
OssiGalkin Nov 4, 2020
ce877f6
Update BuildAndTestonEveryPushLinux.yml
OssiGalkin Nov 4, 2020
d7a8154
Update BuildAndTestonEveryPushLinux.yml
OssiGalkin Nov 4, 2020
79b2a85
Refactored unit tests.
OssiGalkin Nov 16, 2020
b138022
Better naming. Documented batch tasks in readme.
OssiGalkin Dec 2, 2020
322c8c4
Testing batch writing unit tests
OssiGalkin Dec 11, 2020
85e0631
More testing with batch write.
OssiGalkin Dec 11, 2020
66263f9
Removed transactions
OssiGalkin Apr 1, 2021
a5ca748
Transaction support not supported by driver. Using acknoledgement and…
Apr 1, 2021
9efcb6a
Fix for batch handling.
May 18, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/BuildAndTestOnEveryPush.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: BuildAndTestOnEveryPush.yml

on:
push:
branches-ignore:
- master

jobs:
build:
name: Build on windows-latest
runs-on: windows-latest

steps:
- uses: actions/checkout@v1

- name: Build
run: dotnet build

- name: Test
env:
EXAMPLE_ENVIROMENT_VARIABLE: ${{ secrets.EXAMPLE_ENVIROMENT_VARIABLE }}
run: dotnet test

- name: Pack release version of task
run: dotnet pack --configuration Release --include-source

- name: Push NuGet package to the testfeed
run: dotnet nuget push Frends.Community.RabbitMQ\bin\Release\Frends.Community.RabbitMQ.*.nupkg --api-key ${{ secrets.COMMUNITY_FEED_API_KEY }} --source https://www.myget.org/F/frends-community-test/api/v2/package --symbol-source https://www.myget.org/F/frends-community-test/symbols/api/v2/package
30 changes: 30 additions & 0 deletions .github/workflows/BuildAndTestonEveryPushLinux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: BuildAndTestonEveryPushLinux.yml

on:
push:
branches-ignore:
- master

jobs:
build:
name: Build on ubuntu-latest
runs-on: ubuntu-latest



steps:
- uses: actions/checkout@v1

- name: Build
run: dotnet build

- name: Test
env:
EXAMPLE_ENVIROMENT_VARIABLE: ${{ secrets.EXAMPLE_ENVIROMENT_VARIABLE }}
run: dotnet test

- name: Pack release version of task
run: dotnet pack --configuration Release --include-source

- name: Push NuGet package to the testfeed
run: dotnet nuget push Frends.Community.RabbitMQ\bin\Release\Frends.Community.RabbitMQ.*.nupkg --api-key ${{ secrets.COMMUNITY_FEED_API_KEY }} --source https://www.myget.org/F/frends-community-test/api/v2/package --symbol-source https://www.myget.org/F/frends-community-test/symbols/api/v2/package
40 changes: 40 additions & 0 deletions .github/workflows/PackAndPushAfterMerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: PackAndPushAfterMerge

on:
push:
branches:
- master

jobs:
build:
name: ReleaseTheTask
runs-on: windows-latest

steps:
- uses: actions/checkout@v1

- name: Get version number
id: vars
shell: pwsh
run: |
$version = ([xml]($tmp = Get-Content -Path 'Frends.Community.RabbitMQ/Frends.Community.RabbitMQ.csproj')).SelectSingleNode("Project/PropertyGroup/Version").InnerText
echo "::set-output name=version_number::$version"

- name: Pack release version of task
run: dotnet pack --configuration Release --include-source

- name: Push NuGet package to the (prod) feed
run: dotnet nuget push Frends.Community.RabbitMQ\bin\Release\Frends.Community.RabbitMQ.*.nupkg --api-key ${{ secrets.COMMUNITY_FEED_API_KEY }} --source https://www.myget.org/F/frends-community/api/v2/package --symbol-source https://www.myget.org/F/frends-community/symbols/api/v2/package

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.vars.outputs.version_number }}
release_name: Release ${{ steps.vars.outputs.version_number }}
body: |
You can install the task via frends UI Task View or you can find the NuGet package from https://www.myget.org/F/frends-community/api/v2/package/Frends.Community.RabbitMQ/${{ steps.vars.outputs.version_number }}
draft: false
prerelease: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net472</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="nunit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Frends.Community.RabbitMQ\Frends.Community.RabbitMQ.csproj" />
</ItemGroup>

</Project>
20 changes: 0 additions & 20 deletions Frends.Community.RabbitMQ.Tests/Properties/AssemblyInfo.cs

This file was deleted.

10 changes: 9 additions & 1 deletion Frends.Community.RabbitMQ.Tests/Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\NUnit3TestAdapter.3.17.0\build\net35\NUnit3TestAdapter.props" Condition="Exists('..\packages\NUnit3TestAdapter.3.17.0\build\net35\NUnit3TestAdapter.props')" />
<Import Project="..\packages\NUnit.3.12.0\build\NUnit.props" Condition="Exists('..\packages\NUnit.3.12.0\build\NUnit.props')" />
<Import Project="..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.props" Condition="Exists('..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
Expand All @@ -10,7 +12,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Frends.Community.RabbitMQ.Tests</RootNamespace>
<AssemblyName>Frends.Community.RabbitMQ.Tests</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">15.0</VisualStudioVersion>
Expand All @@ -20,6 +22,7 @@
<TestProjectType>UnitTest</TestProjectType>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -48,6 +51,9 @@
<Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\MSTest.TestFramework.1.3.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll</HintPath>
</Reference>
<Reference Include="nunit.framework, Version=3.12.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
<HintPath>..\packages\NUnit.3.12.0\lib\net45\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="RabbitMQ.Client, Version=5.0.0.0, Culture=neutral, PublicKeyToken=89e7d7c5feba84ce, processorArchitecture=MSIL">
<HintPath>..\packages\RabbitMQ.Client.5.1.0\lib\net451\RabbitMQ.Client.dll</HintPath>
</Reference>
Expand Down Expand Up @@ -75,6 +81,8 @@
</PropertyGroup>
<Error Condition="!Exists('..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.props'))" />
<Error Condition="!Exists('..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.targets'))" />
<Error Condition="!Exists('..\packages\NUnit.3.12.0\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NUnit.3.12.0\build\NUnit.props'))" />
<Error Condition="!Exists('..\packages\NUnit3TestAdapter.3.17.0\build\net35\NUnit3TestAdapter.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NUnit3TestAdapter.3.17.0\build\net35\NUnit3TestAdapter.props'))" />
</Target>
<Import Project="..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.targets" Condition="Exists('..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.targets')" />
</Project>
Loading