Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
v1.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydmiller committed Apr 2, 2020
1 parent ca43a22 commit 1636df4
Show file tree
Hide file tree
Showing 14 changed files with 84 additions and 24 deletions.
15 changes: 2 additions & 13 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 1.0.1.{build}
version: 1.1.0.{build}
image: Visual Studio 2017


Expand All @@ -25,21 +25,10 @@ install:
- bundle install
- dotnet --version

dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '1.0.1'
package_version: '1.0.1'
assembly_version: '1.0.1'
file_version: '{version}'
informational_version: '{version}'




build_script:
- cmd: >-
rake ci version=1.0.1
rake ci version=1.1.0
test: off

deploy:
Expand Down
8 changes: 4 additions & 4 deletions rakefile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

APIKEY = ENV['api_key'].nil? ? '' : ENV['api_key']

BUILD_VERSION = ENV['version'].nil? ? '1.0.0' : ENV['version']
BUILD_VERSION = ENV['version'].nil? ? '1.1.0' : ENV['version']
puts "Build version is #{BUILD_VERSION}"


Expand All @@ -18,11 +18,11 @@

CI = ENV["CI"].nil? ? false : true

task :ci => [:commands, :compile, :pack, :appVeyorPush]
task :ci => [:version, :commands, :compile, :pack, :appVeyorPush]
#task :ci => [:default, :commands, :pack, :appVeyorPush]


task :default => [:test, :integrationtests, :commands]
task :default => [:version, :test, :integrationtests, :commands]
task :full => [:default, :storyteller]


Expand Down Expand Up @@ -51,7 +51,7 @@
options = {
:description => '',
:product_name => 'JasperFx Applications',
:copyright => 'Copyright 2019 Jeremy D. Miller, et al. All rights reserved.',
:copyright => 'Copyright 2020 Jeremy D. Miller, et al. All rights reserved.',
:trademark => commit,
:version => asm_version,
:file_version => build_number,
Expand Down
6 changes: 5 additions & 1 deletion src/Jasper.AzureServiceBus/Jasper.AzureServiceBus.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,9 @@
<ProjectReference Include="..\Jasper\Jasper.csproj" />
<PackageReference Include="Microsoft.Azure.ServiceBus" Version="3.2.1" />
</ItemGroup>

<ItemGroup>
<Compile Include="..\CommonAssemblyInfo.cs">
<Link>CommonAssemblyInfo.cs</Link>
</Compile>
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions src/Jasper.JsonCommands/Jasper.JsonCommands.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,9 @@
<PackageReference Include="NJsonSchema" Version="10.0.27" />
<PackageReference Include="NJsonSchema.CodeGeneration.CSharp" Version="10.0.27" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\CommonAssemblyInfo.cs">
<Link>CommonAssemblyInfo.cs</Link>
</Compile>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,10 @@
<PackageReference Include="System.Data.Common" Version="4.3.0" />
</ItemGroup>

<ItemGroup>
<Compile Include="..\CommonAssemblyInfo.cs">
<Link>CommonAssemblyInfo.cs</Link>
</Compile>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>

<Description>EF Core-backed Persistence for JasperFx Applications</Description>
<Authors>Jeremy D. Miller, Mark Warpool</Authors>
<TargetFramework>netstandard2.1</TargetFramework>
<DebugType>portable</DebugType>
<AssemblyName>Jasper.Persistence.EntityFrameworkCore</AssemblyName>
<PackageId>Jasper.Persistence.EntityFrameworkCore</PackageId>
<PackageIconUrl>https://avatars2.githubusercontent.com/u/10048186?v=3&amp;s=200</PackageIconUrl>
<PackageProjectUrl>http://jasperfx.github.io</PackageProjectUrl>
<PackageLicenseUrl>https://github.com/JasperFX/jasper/blob/master/LICENSE.txt</PackageLicenseUrl>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<GenerateAssemblyCopyrightAttribute>false</GenerateAssemblyCopyrightAttribute>
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute>
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute>
</PropertyGroup>

<ItemGroup>
Expand All @@ -14,4 +29,14 @@
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="3.0.0" />
</ItemGroup>

<ItemGroup>
<Compile Include="..\CommonAssemblyInfo.cs">
<Link>CommonAssemblyInfo.cs</Link>
</Compile>
</ItemGroup>

<ItemGroup>
<Folder Include="obj\Debug\netstandard2.1" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,10 @@
<ProjectReference Include="..\Jasper.Persistence.Postgresql\Jasper.Persistence.Postgresql.csproj" />
<ProjectReference Include="..\Jasper\Jasper.csproj" />
</ItemGroup>

<ItemGroup>
<Compile Include="..\CommonAssemblyInfo.cs">
<Link>CommonAssemblyInfo.cs</Link>
</Compile>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<Authors>Jeremy D. Miller</Authors>
<TargetFramework>netstandard2.1</TargetFramework>
<DebugType>portable</DebugType>
<AssemblyName>Jasper.Postgresql</AssemblyName>
<PackageId>Jasper.Postgresql</PackageId>
<AssemblyName>Jasper.Persistence.Postgresql</AssemblyName>
<PackageId>Jasper.Persistence.Postgresql</PackageId>
<PackageIconUrl>https://avatars2.githubusercontent.com/u/10048186?v=3&amp;s=200</PackageIconUrl>
<PackageProjectUrl>http://jasperfx.github.io</PackageProjectUrl>
<PackageLicenseUrl>https://github.com/JasperFX/jasper/blob/master/LICENSE.txt</PackageLicenseUrl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,10 @@
<ProjectReference Include="..\Jasper\Jasper.csproj" />
<EmbeddedResource Include="Schema/*.sql" />
</ItemGroup>

<ItemGroup>
<Compile Include="..\CommonAssemblyInfo.cs">
<Link>CommonAssemblyInfo.cs</Link>
</Compile>
</ItemGroup>
</Project>
7 changes: 6 additions & 1 deletion src/Jasper.RabbitMQ/Jasper.RabbitMQ.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<DebugType>portable</DebugType>
<AssemblyName>Jasper.RabbitMQ</AssemblyName>
<PackageId>Jasper.RabbitMQ</PackageId>

<PackageIconUrl>https://avatars2.githubusercontent.com/u/10048186?v=3&amp;s=200</PackageIconUrl>
<PackageProjectUrl>http://jasperfx.github.io</PackageProjectUrl>
<PackageLicenseUrl>https://github.com/JasperFX/jasper/blob/master/LICENSE.txt</PackageLicenseUrl>
Expand All @@ -22,4 +22,9 @@
<ItemGroup>
<PackageReference Include="RabbitMQ.Client" Version="5.1.0" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\CommonAssemblyInfo.cs">
<Link>CommonAssemblyInfo.cs</Link>
</Compile>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,9 @@
<ItemGroup>
<ProjectReference Include="..\Jasper\Jasper.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\CommonAssemblyInfo.cs">
<Link>CommonAssemblyInfo.cs</Link>
</Compile>
</ItemGroup>
</Project>
9 changes: 7 additions & 2 deletions src/Jasper/Jasper.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>Alternative HTTP service and axynchronous messaging framework</Description>
<Authors>Jeremy D. Miller, Mike Schenk, Mark Wuhrich</Authors>
<Description>In-memory command bus and asynchronous messaging framework</Description>
<Authors>Jeremy D. Miller, Mark Warpool</Authors>
<TargetFramework>netstandard2.1</TargetFramework>
<DebugType>portable</DebugType>
<AssemblyName>Jasper</AssemblyName>
Expand Down Expand Up @@ -37,4 +37,9 @@
<PackageReference Include="System.ComponentModel" Version="4.3.0" />
<PackageReference Include="Oakton.AspNetCore" Version="[2.1.3, 3.0.0)" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\CommonAssemblyInfo.cs">
<Link>CommonAssemblyInfo.cs</Link>
</Compile>
</ItemGroup>
</Project>
4 changes: 4 additions & 0 deletions src/Jasper/Runtime/Handlers/HandlerGraph.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,11 @@ public MessageHandler HandlerFor(Type messageType)
if (_chains.TryFind(messageType, out var chain))
{
if (chain.Handler != null)
{
handler = chain.Handler;
}
else
{
lock (chain)
{
if (chain.Handler == null)
Expand All @@ -120,6 +123,7 @@ public MessageHandler HandlerFor(Type messageType)
handler = chain.Handler;
}
}
}

_handlers = _handlers.AddOrUpdate(messageType, handler);

Expand Down
2 changes: 1 addition & 1 deletion src/Samples/ExceptionHandling.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public AppWithScriptedErrorHandling()
// On the 3rd failure, retry the message again after a configurable
// cool-off period. This schedules the message
x.RetryLater(15.Seconds());
// On the 4th failure, move the message to the dead letter queue
x.MoveToErrorQueue();
Expand Down

0 comments on commit 1636df4

Please sign in to comment.