Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgraded Akka to 1.3.11 #65

Merged
merged 6 commits into from
Jan 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
using Akkatecture.Walkthrough.Domain.Repositories.Revenue.Queries;
using Akkatecture.Walkthrough.Domain.Repositories.Revenue.ReadModels;
using Akkatecture.Walkthrough.Domain.Sagas.MoneyTransfer;
using Akkatecture.Walkthrough.Domain.Subscribers;
using Akkatecture.Walkthrough.Domain.Subscribers.Revenue;

namespace Akkatecture.Walkthrough.Application
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,5 @@ namespace Akkatecture.Examples.Api.Domain.Aggregates.Resource.Events
[EventVersion("ResourceCreated", 1)]
public class ResourceCreatedEvent : AggregateEvent<Resource, ResourceId>
{
public ResourceCreatedEvent()
{

}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

using Akkatecture.Aggregates;
using Akkatecture.Examples.Api.Domain.Aggregates.Resource.Events;
using Akkatecture.Examples.Api.Domain.Sagas.Events;
using Akkatecture.Sagas;

Expand Down
1 change: 0 additions & 1 deletion examples/web/Akkatecture.Examples.Api/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
using Akkatecture.Examples.Api.Domain.Repositories.Resources;
using Akkatecture.Examples.Api.Domain.Sagas;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
Expand Down
2 changes: 1 addition & 1 deletion src/Akkatecture/Akkatecture.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<PackageReference Include="Microsoft.CSharp" Version="4.5.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="2.2.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-18618-05" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Configuration\reference.conf" />
Expand Down
3 changes: 1 addition & 2 deletions src/Akkatecture/Events/AggregateEventUpcaster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public abstract class AggregateEventUpcaster<TAggregate,TIdentity, TEventUpcaste
where TIdentity : IIdentity
{
private static ConcurrentDictionary<Type, bool> DecisionCache = new ConcurrentDictionary<Type, bool>();

public readonly IReadOnlyDictionary<Type, Func<TEventUpcaster, IAggregateEvent, IAggregateEvent>> UpcastFunctions;


Expand All @@ -44,7 +43,7 @@ public AggregateEventUpcaster()

}

public bool ShouldUpcast(object potentialUpcast)
private bool ShouldUpcast(object potentialUpcast)
{
var type = potentialUpcast.GetType();

Expand Down
5 changes: 2 additions & 3 deletions src/Akkatecture/Events/DomainEventMapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Akkatecture.Events
{
public static class DomainEventMapper
{
public static object FromComittedEvent(object evt)
internal static object FromComittedEvent(object evt)
{
var type = typeof(ICommittedEvent<,,>);

Expand All @@ -16,8 +16,7 @@ public static object FromComittedEvent(object evt)
//dynamic dispach here to get AggregateEvent

var comittedEvent = evt as dynamic;
var typeInfo = evt.GetType().GetTypeInfo();


var genericType = typeof(DomainEvent<,,>)
.MakeGenericType(type.GetGenericArguments()[0], type.GetGenericArguments()[1],type.GetGenericArguments()[2]);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

using System;
using System.Collections.Generic;
using System.Linq;
using Akkatecture.Aggregates;
Expand Down