Skip to content

Commit

Permalink
Move Vlingo.Actors to Vlingo.Xoom.Actors
Browse files Browse the repository at this point in the history
  • Loading branch information
tjaskula committed Apr 22, 2021
1 parent d805296 commit b54a0da
Show file tree
Hide file tree
Showing 251 changed files with 2,542 additions and 2,543 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
dotnet-version: 3.1.402
- name: Restore dependencies
id: restore-deps
run: dotnet restore ./src/Vlingo.Actors.sln
run: dotnet restore ./src/Vlingo.Xoom.Actors.sln
- name: Build
id: build
run: dotnet build ./src/Vlingo.Actors.sln --no-restore
run: dotnet build ./src/Vlingo.Xoom.Actors.sln --no-restore
- name: Test
id: test
run: dotnet test ./src/Vlingo.Actors.Tests/Vlingo.Actors.Tests.csproj --no-build --verbosity normal
run: dotnet test ./src/Vlingo.Xoom.Actors.Tests/Vlingo.Xoom.Actors.Tests.csproj --no-build --verbosity normal
- name: slack - GitHub Actions Slack integration
uses: act10ns/[email protected]
env:
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<VlingoVersion>1.6.3</VlingoVersion>
<VlingoVersion>1.7.0</VlingoVersion>
</PropertyGroup>
</Project>
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# vlingo-actors
# xoom-net-actors

[![Build status](https://ci.appveyor.com/api/projects/status/o1ajhxlf9i2q6gs7/branch/master?svg=true)](https://ci.appveyor.com/project/VlingoNetOwner/vlingo-net-actors/branch/master)
![Build master](https://github.com/vlingo-net/vlingo-net-actors/workflows/.NET/badge.svg)
[![NuGet](https://img.shields.io/nuget/v/Vlingo.Actors.svg)](https://www.nuget.org/packages/Vlingo.Actors)
[![Build status](https://ci.appveyor.com/api/projects/status/o1ajhxlf9i2q6gs7/branch/master?svg=true)](https://ci.appveyor.com/project/VlingoNetOwner/xoom-net-actors/branch/master)
![Build master](https://github.com/vlingo-net/xoom-net-actors/workflows/.NET/badge.svg)
[![NuGet](https://img.shields.io/nuget/v/Vlingo.Xoom.Actors.svg)](https://www.nuget.org/packages/Vlingo.Xoom.Actors)
[![Gitter](https://badges.gitter.im/vlingo-platform-net/community.svg)](https://gitter.im/vlingo-platform-net/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

Type safe Actor Model toolkit for reactive concurrency and resiliency using C# and other .NET languages.

The vlingo-actors toolkit is nearly full featured, so don't be fooled by the seemingly low version number.
The xoom-net-actors toolkit is nearly full featured, so don't be fooled by the seemingly low version number.


License (See LICENSE file for full license)
-------------------------------------------
Copyright © 2012-2018 VLINGO LABS. All rights reserved.
Copyright © 2012-2021 VLINGO LABS. All rights reserved.

This Source Code Form is subject to the terms of the
Mozilla Public License, v. 2.0. If a copy of the MPL
Expand Down
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ configuration: Release
skip_commits:
message: /.*\[ci\-skip\].*/
before_build:
- dotnet restore src/Vlingo.Actors.sln
- dotnet restore src/Vlingo.Xoom.Actors.sln
build:
project: src/Vlingo.Actors.sln
project: src/Vlingo.Xoom.Actors.sln
verbosity: minimal
publish_nuget: true
test_script:
- dotnet test src/Vlingo.Actors.Tests
- dotnet test src/Vlingo.Xoom.Actors.Tests
deploy:
- provider: NuGet
api_key:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public void TestActuallyCompletes()
{
var properties = new Properties();
properties.SetProperty("plugin.name.pooledCompletes", "true");
properties.SetProperty("plugin.pooledCompletes.classname", "Vlingo.Actors.Plugin.Completes.PooledCompletesPlugin");
properties.SetProperty("plugin.pooledCompletes.classname", "Vlingo.Xoom.Actors.Plugin.Completes.PooledCompletesPlugin");
properties.SetProperty("plugin.pooledCompletes.pool", "10");

var pluginProperties = new PluginProperties("pooledCompletes", properties);
Expand All @@ -43,7 +43,7 @@ public void TestCompletesAddressMatches()
{
var properties = new Properties();
properties.SetProperty("plugin.name.pooledCompletes", "true");
properties.SetProperty("plugin.pooledCompletes.classname", "Vlingo.Actors.Plugin.Completes.PooledCompletesPlugin");
properties.SetProperty("plugin.pooledCompletes.classname", "Vlingo.Xoom.Actors.Plugin.Completes.PooledCompletesPlugin");
properties.SetProperty("plugin.pooledCompletes.pool", "10");

var pluginProperties = new PluginProperties("pooledCompletes", properties);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public ManyToOneConcurrentArrayQueueMailboxActorTest()
{
var properties = new Properties();
properties.SetProperty("plugin.name.testArrayQueueMailbox", "true");
properties.SetProperty("plugin.testArrayQueueMailbox.classname", "Vlingo.Actors.Plugin.Mailbox.AgronaMPSCArrayQueue.ManyToOneConcurrentArrayQueuePlugin");
properties.SetProperty("plugin.testArrayQueueMailbox.classname", "Vlingo.Xoom.Actors.Plugin.Mailbox.AgronaMPSCArrayQueue.ManyToOneConcurrentArrayQueuePlugin");
properties.SetProperty("plugin.testArrayQueueMailbox.defaultMailbox", "false");
properties.SetProperty("plugin.testArrayQueueMailbox.size", "" + MailboxSize);
properties.SetProperty("plugin.testArrayQueueMailbox.fixedBackoff", "2");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private void Init(int mailboxSize)
{
var properties = new Properties();
properties.SetProperty("plugin.name.testRingMailbox", "true");
properties.SetProperty("plugin.testRingMailbox.classname", "Vlingo.Actors.Plugin.Mailbox.SharedRingBuffer.SharedRingBufferMailboxPlugin");
properties.SetProperty("plugin.testRingMailbox.classname", "Vlingo.Xoom.Actors.Plugin.Mailbox.SharedRingBuffer.SharedRingBufferMailboxPlugin");
properties.SetProperty("plugin.testRingMailbox.defaultMailbox", "false");
properties.SetProperty("plugin.testRingMailbox.size", $"{mailboxSize}");
properties.SetProperty("plugin.testRingMailbox.fixedBackoff", "2");
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public void ShouldIncludeNamespacesForMethodParameters()
var result = generator.GenerateFor(typeof(IProxyGenTestInterface));
Assert.Contains("private const string DoSomethingRepresentation1 = \"DoSomething(System.Threading.Tasks.Task)\";", result.Source);
Assert.Contains("System.Threading.Tasks.Task t", result.Source);
Assert.Contains($"Action<Vlingo.Actors.Tests.IProxyGenTestInterface> {_consumerName} = __ => __.DoSomething(t);", result.Source);
Assert.Contains($"Action<Vlingo.Xoom.Actors.Tests.IProxyGenTestInterface> {_consumerName} = __ => __.DoSomething(t);", result.Source);
}

[Fact]
Expand All @@ -32,7 +32,7 @@ public void ShouldNotIncludeGenericConstraintForMethod()
var result = generator.GenerateFor(typeof(IProxyGenericMethodWithoutConstraint));
Assert.Contains("private const string WriteRepresentation1 = \"Write<TSource>(string, int)\";", result.Source);
Assert.Contains("public void Write<TSource>(string id, int state)", result.Source);
Assert.Contains($"Action<Vlingo.Actors.Tests.IProxyGenericMethodWithoutConstraint> {_consumerName} = __ => __.Write<TSource>(id, state);", result.Source);
Assert.Contains($"Action<Vlingo.Xoom.Actors.Tests.IProxyGenericMethodWithoutConstraint> {_consumerName} = __ => __.Write<TSource>(id, state);", result.Source);
}

[Fact]
Expand All @@ -42,7 +42,7 @@ public void ShouldCorrectlyGenerateParameterNameWithReservedKeywords()
var result = generator.GenerateFor(typeof(IProxyGenTestReservedInterface));
Assert.Contains("private const string DoSomethingRepresentation1 = \"DoSomething(object)\";", result.Source);
Assert.Contains("public void DoSomething(object @object)", result.Source);
Assert.Contains($"Action<Vlingo.Actors.Tests.IProxyGenTestReservedInterface> {_consumerName} = __ => __.DoSomething(@object);", result.Source);
Assert.Contains($"Action<Vlingo.Xoom.Actors.Tests.IProxyGenTestReservedInterface> {_consumerName} = __ => __.DoSomething(@object);", result.Source);
}

[Fact]
Expand All @@ -52,7 +52,7 @@ public void ShouldCorrectlyGenerateParameterNameWithReservedKeywordsAddtional()
var result = generator.GenerateFor(typeof(IProxyGenTestReservedKeyword));
Assert.Contains("private const string DoSomethingRepresentation1 = \"DoSomething(object, bool)\";", result.Source);
Assert.Contains("public void DoSomething(object @object, bool @event)", result.Source);
Assert.Contains($"Action<Vlingo.Actors.Tests.IProxyGenTestReservedKeyword> {_consumerName} = __ => __.DoSomething(@object, @event);", result.Source);
Assert.Contains($"Action<Vlingo.Xoom.Actors.Tests.IProxyGenTestReservedKeyword> {_consumerName} = __ => __.DoSomething(@object, @event);", result.Source);
}

[Fact]
Expand All @@ -61,8 +61,8 @@ public void ShouldIncludeGenericConstraintForMethod()
var generator = ProxyGenerator.ForTest(false, World.DefaultLogger);
var result = generator.GenerateFor(typeof(IProxyGenericMethodWithConstraint));
Assert.Contains("private const string WriteRepresentation1 = \"Write<TSource>(string, int)\";", result.Source);
Assert.Contains("public void Write<TSource>(string id, int state) where TSource : Vlingo.Actors.Tests.IProxyGenTestInterface", result.Source);
Assert.Contains($"Action<Vlingo.Actors.Tests.IProxyGenericMethodWithConstraint> {_consumerName} = __ => __.Write<TSource>(id, state);", result.Source);
Assert.Contains("public void Write<TSource>(string id, int state) where TSource : Vlingo.Xoom.Actors.Tests.IProxyGenTestInterface", result.Source);
Assert.Contains($"Action<Vlingo.Xoom.Actors.Tests.IProxyGenericMethodWithConstraint> {_consumerName} = __ => __.Write<TSource>(id, state);", result.Source);
}

[Fact]
Expand All @@ -71,8 +71,8 @@ public void ShouldIncludeMultipleGenericConstraintForMethod()
var generator = ProxyGenerator.ForTest(false, World.DefaultLogger);
var result = generator.GenerateFor(typeof(IProxyGenericMethodWithMultipleConstraint));
Assert.Contains("private const string WriteRepresentation1 = \"Write<TSource>(string, int)\";", result.Source);
Assert.Contains("public void Write<TSource>(string id, int state) where TSource : Vlingo.Actors.Tests.IProxyGenTestInterface, Vlingo.Actors.Tests.IProxyGenTestSecondInterface", result.Source);
Assert.Contains($"Action<Vlingo.Actors.Tests.IProxyGenericMethodWithMultipleConstraint> {_consumerName} = __ => __.Write<TSource>(id, state);", result.Source);
Assert.Contains("public void Write<TSource>(string id, int state) where TSource : Vlingo.Xoom.Actors.Tests.IProxyGenTestInterface, Vlingo.Xoom.Actors.Tests.IProxyGenTestSecondInterface", result.Source);
Assert.Contains($"Action<Vlingo.Xoom.Actors.Tests.IProxyGenericMethodWithMultipleConstraint> {_consumerName} = __ => __.Write<TSource>(id, state);", result.Source);
}

[Fact]
Expand All @@ -81,17 +81,17 @@ public void ShouldCreateAProxyWithInnerInterface()
var generator = ProxyGenerator.ForTest(false, World.DefaultLogger);
var result = generator.GenerateFor(typeof(ClassWithNestedInterface.INestedInterface));
Assert.Contains("private const string DoSomethingRepresentation1 = \"DoSomething()\";", result.Source);
Assert.Contains("public class NestedInterface__Proxy : Vlingo.Actors.Tests.ClassWithNestedInterface.INestedInterface", result.Source);
Assert.Contains($"Action<Vlingo.Actors.Tests.ClassWithNestedInterface.INestedInterface> {_consumerName} = __ => __.DoSomething();", result.Source);
Assert.Contains("public class NestedInterface__Proxy : Vlingo.Xoom.Actors.Tests.ClassWithNestedInterface.INestedInterface", result.Source);
Assert.Contains($"Action<Vlingo.Xoom.Actors.Tests.ClassWithNestedInterface.INestedInterface> {_consumerName} = __ => __.DoSomething();", result.Source);
}

[Fact]
public void ShouldCreateAProxyWithReferenceToInnerInterface()
{
var generator = ProxyGenerator.ForTest(false, World.DefaultLogger);
var result = generator.GenerateFor(typeof(IOuterInnerClassInterface));
Assert.Contains("public class OuterInnerClassInterface__Proxy : Vlingo.Actors.Tests.IOuterInnerClassInterface", result.Source);
Assert.Contains("public void DoSomethingWith(Vlingo.Actors.Tests.OuterClass.InnerClass obj)", result.Source);
Assert.Contains("public class OuterInnerClassInterface__Proxy : Vlingo.Xoom.Actors.Tests.IOuterInnerClassInterface", result.Source);
Assert.Contains("public void DoSomethingWith(Vlingo.Xoom.Actors.Tests.OuterClass.InnerClass obj)", result.Source);
}

public ProxyGeneratorTests() => ProxyGenerator.Seed = 222;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Vlingo.Actors\Vlingo.Actors.csproj" />
<ProjectReference Include="..\Vlingo.Xoom.Actors\Vlingo.Xoom.Actors.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
File renamed without changes.
File renamed without changes.
62 changes: 31 additions & 31 deletions src/Vlingo.Actors.sln → src/Vlingo.Xoom.Actors.sln
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27428.2037
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Vlingo.Actors", "Vlingo.Actors\Vlingo.Actors.csproj", "{854B3089-2737-4F96-930D-8812DE851903}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Vlingo.Actors.Tests", "Vlingo.Actors.Tests\Vlingo.Actors.Tests.csproj", "{1E906E6D-19E3-4943-B3D8-F4E024AE3A03}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{854B3089-2737-4F96-930D-8812DE851903}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{854B3089-2737-4F96-930D-8812DE851903}.Debug|Any CPU.Build.0 = Debug|Any CPU
{854B3089-2737-4F96-930D-8812DE851903}.Release|Any CPU.ActiveCfg = Release|Any CPU
{854B3089-2737-4F96-930D-8812DE851903}.Release|Any CPU.Build.0 = Release|Any CPU
{1E906E6D-19E3-4943-B3D8-F4E024AE3A03}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1E906E6D-19E3-4943-B3D8-F4E024AE3A03}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1E906E6D-19E3-4943-B3D8-F4E024AE3A03}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1E906E6D-19E3-4943-B3D8-F4E024AE3A03}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {47F8D8E5-00A9-4484-A985-1E0FF772B43D}
EndGlobalSection
EndGlobal

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27428.2037
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Vlingo.Xoom.Actors", "Vlingo.Xoom.Actors\Vlingo.Xoom.Actors.csproj", "{854B3089-2737-4F96-930D-8812DE851903}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Vlingo.Xoom.Actors.Tests", "Vlingo.Xoom.Actors.Tests\Vlingo.Xoom.Actors.Tests.csproj", "{1E906E6D-19E3-4943-B3D8-F4E024AE3A03}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{854B3089-2737-4F96-930D-8812DE851903}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{854B3089-2737-4F96-930D-8812DE851903}.Debug|Any CPU.Build.0 = Debug|Any CPU
{854B3089-2737-4F96-930D-8812DE851903}.Release|Any CPU.ActiveCfg = Release|Any CPU
{854B3089-2737-4F96-930D-8812DE851903}.Release|Any CPU.Build.0 = Release|Any CPU
{1E906E6D-19E3-4943-B3D8-F4E024AE3A03}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1E906E6D-19E3-4943-B3D8-F4E024AE3A03}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1E906E6D-19E3-4943-B3D8-F4E024AE3A03}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1E906E6D-19E3-4943-B3D8-F4E024AE3A03}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {47F8D8E5-00A9-4484-A985-1E0FF772B43D}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
extensions: .cs
// Copyright (c) 2012-2019 VLINGO LABS. All rights reserved.
// Copyright (c) 2012-2021 VLINGO LABS. All rights reserved.
//
// This Source Code Form is subject to the terms of the
// Mozilla Public License, v. 2.0. If a copy of the MPL
Expand Down
Loading

0 comments on commit b54a0da

Please sign in to comment.