Skip to content

Commit

Permalink
Ownership Change (#8)
Browse files Browse the repository at this point in the history
Ownership Change
  • Loading branch information
rcknight authored Nov 28, 2019
2 parents b8cb797 + 45ff39a commit 4630a25
Show file tree
Hide file tree
Showing 13 changed files with 60 additions and 49 deletions.
2 changes: 1 addition & 1 deletion build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ curl -o nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
dotnet test .\src\AggregateRepository.EventStore.Tests\AggregateRepository.EventStore.Tests.csproj
if %errorlevel% neq 0 exit /b %errorlevel%

dotnet pack .\src\AggregateRepository.EventStore\AggregateRepository.EventStore.csproj -o ..\..\dist -p:Version="%VERSION%" -p:PackageVersion="%VERSION%" -p:Tag="%TAG%" -c Release
dotnet pack .\src\AggregateRepository.EventStore\AggregateRepository.EventStore.csproj -o .\dist -p:Version="%VERSION%" -p:PackageVersion="%VERSION%" -p:Tag="%TAG%" -c Release
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ curl -o nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
dotnet test .\\src\\AggregateRepository.EventStore.Tests\\AggregateRepository.EventStore.Tests.csproj
if %errorlevel% neq 0 exit /b %errorlevel%

dotnet pack .\\src\\AggregateRepository.EventStore\\AggregateRepository.EventStore.csproj -o ..\\..\\dist -p:Version="$version" -p:PackageVersion="$version" -p:Tag="$tag" -c Release
dotnet pack .\\src\\AggregateRepository.EventStore\\AggregateRepository.EventStore.csproj -o .\\dist -p:Version="$version" -p:PackageVersion="$version" -p:Tag="$tag" -c Release
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<ProjectGuid>{6972CC70-3F3B-4CBF-8829-CF61A3EE47E5}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>AggregateRepository.EventStore.Tests</RootNamespace>
<AssemblyName>AggregateRepository.EventStore.Tests</AssemblyName>
<RootNamespace>CorshamScience.AggregateRepository.EventStore.Tests</RootNamespace>
<AssemblyName>CorshamScience.AggregateRepository.EventStore.Tests</AssemblyName>
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<NuGetPackageImportStamp>
Expand All @@ -38,8 +38,8 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="CR.AggregateRepository.Core, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\CR.AggregateRepository.Core.1.0.0-rc0001\lib\netstandard2.0\CR.AggregateRepository.Core.dll</HintPath>
<Reference Include="CorshamScience.AggregateRepository.Core, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\CorshamScience.AggregateRepository.Core.2.0.0\lib\netstandard2.0\CorshamScience.AggregateRepository.Core.dll</HintPath>
</Reference>
<Reference Include="EventStore.BufferManagement, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\EventStore.Client.Embedded.5.0.0\lib\net471\EventStore.BufferManagement.dll</HintPath>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// <copyright file="AggregateRepositoryTestFixture.cs" company="Cognisant">
// Copyright (c) Cognisant. All rights reserved.
// <copyright file="AggregateRepositoryTestFixture.cs" company="Corsham Science">
// Copyright (c) Corsham Science. All rights reserved.
// </copyright>

namespace AggregateRepository.EventStore.Tests
namespace CorshamScience.AggregateRepository.EventStore.Tests
{
using System;
using System.Collections.Generic;
using CR.AggregateRepository.Core;
using CR.AggregateRepository.Core.Exceptions;
using CorshamScience.AggregateRepository.Core;
using CorshamScience.AggregateRepository.Core.Exceptions;
using NUnit.Framework;

[TestFixture]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// <copyright file="EmbeddedEventStore.cs" company="Cognisant">
// Copyright (c) Cognisant. All rights reserved.
// <copyright file="EmbeddedEventStore.cs" company="Corsham Science">
// Copyright (c) Corsham Science. All rights reserved.
// </copyright>

namespace AggregateRepository.EventStore.Tests
namespace CorshamScience.AggregateRepository.EventStore.Tests
{
using System.Threading;
using global::EventStore.ClientAPI.Embedded;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// <copyright file="EventStoreAggregateRepositoryTests.cs" company="Cognisant">
// Copyright (c) Cognisant. All rights reserved.
// <copyright file="EventStoreAggregateRepositoryTests.cs" company="Corsham Science">
// Copyright (c) Corsham Science. All rights reserved.
// </copyright>

namespace AggregateRepository.EventStore.Tests
namespace CorshamScience.AggregateRepository.EventStore.Tests
{
using CR.AggregateRepository.EventStore;
using CorshamScience.AggregateRepository.EventStore;
using global::EventStore.ClientAPI;
using global::EventStore.ClientAPI.Embedded;

Expand Down
8 changes: 4 additions & 4 deletions src/AggregateRepository.EventStore.Tests/TestAggregate.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// <copyright file="TestAggregate.cs" company="Cognisant">
// Copyright (c) Cognisant. All rights reserved.
// <copyright file="TestAggregate.cs" company="Corsham Science">
// Copyright (c) Corsham Science. All rights reserved.
// </copyright>

namespace AggregateRepository.EventStore.Tests
namespace CorshamScience.AggregateRepository.EventStore.Tests
{
using System;
using System.Collections.Generic;
using CR.AggregateRepository.Core;
using CorshamScience.AggregateRepository.Core;

internal sealed class TestAggregate : AggregateBase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Copyright (c) Cognisant. All rights reserved.
// </copyright>

namespace AggregateRepository.EventStore.Tests
namespace CorshamScience.AggregateRepository.EventStore.Tests
{
internal class TestAggregateCreated
{
Expand Down
2 changes: 1 addition & 1 deletion src/AggregateRepository.EventStore.Tests/TestEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Copyright (c) Cognisant. All rights reserved.
// </copyright>

namespace AggregateRepository.EventStore.Tests
namespace CorshamScience.AggregateRepository.EventStore.Tests
{
using System;

Expand Down
2 changes: 1 addition & 1 deletion src/AggregateRepository.EventStore.Tests/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="CR.AggregateRepository.Core" version="1.0.0-rc0001" targetFramework="net471" />
<package id="CorshamScience.AggregateRepository.Core" version="2.0.0" targetFramework="net471" />
<package id="EventStore.Client" version="5.0.1" targetFramework="net471" />
<package id="EventStore.Client.Embedded" version="5.0.0" targetFramework="net471" />
<package id="EventStore.ClientAPI.NetCore" version="4.1.0.23" targetFramework="net471" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,50 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>CR.AggregateRepository.EventStore</AssemblyName>
<RootNamespace>CR.AggregateRepository.EventStore</RootNamespace>
<Authors>Cognisant Research</Authors>
<Company>Cognisant Research</Company>
<AssemblyName>CorshamScience.AggregateRepository.EventStore</AssemblyName>
<RootNamespace>CorshamScience.AggregateRepository.EventStore</RootNamespace>
<Authors>Corsham Science</Authors>
<Company>Corsham Science</Company>
<Description>EventStore implementation for saving and rebuilding objects from event streams.</Description>
<Copyright>Cognisant Research 2018</Copyright>
<PackageLicenseUrl>https://github.com/cognisant/AggregateRepository.EventStore/blob/master/LICENSE</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/cognisant/AggregateRepository.EventStore</PackageProjectUrl>
<RepositoryUrl>https://github.com/cognisant/AggregateRepository.EventStore</RepositoryUrl>
<PackageIconUrl>https://raw.githubusercontent.com/cognisant/AggregateRepository.EventStore/master/logo.png</PackageIconUrl>
<PackageTags>Event Store, Event Sourcing, Aggregate Repository, Cognisant</PackageTags>
<Product>CR.AggregateRepository</Product>
<PackageReleaseNotes>https://GitHub.com/Cognisant/AggregateRepository.EventStore/releases/tag/$(Tag)</PackageReleaseNotes>
<Copyright>Corsham Science 2019</Copyright>
<PackageProjectUrl>https://github.com/qphl/AggregateRepository.EventStore</PackageProjectUrl>
<RepositoryUrl>https://github.com/qphl/AggregateRepository.EventStore</RepositoryUrl>
<PackageIconUrl>https://raw.githubusercontent.com/qphl/AggregateRepository.EventStore/master/logo.png</PackageIconUrl>
<PackageTags>Event Store, Event Sourcing, Aggregate Repository</PackageTags>
<Product>CorshamScience.AggregateRepository</Product>
<PackageReleaseNotes>https://GitHub.com/qphl/AggregateRepository.EventStore/releases/tag/</PackageReleaseNotes>
<PackageId>CorshamScience.AggregateRepository.EventStore</PackageId>
<PackageLicenseExpression>BSD-3-Clause</PackageLicenseExpression>
<PackageIcon>Logo.png</PackageIcon>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DocumentationFile>bin\Debug\netstandard2.0\CR.AggregateRepository.EventStore.xml</DocumentationFile>
<DocumentationFile>bin\Debug\netstandard2.0\CorshamScience.AggregateRepository.EventStore.xml</DocumentationFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsAsErrors />
<DocumentationFile>bin\Release\netstandard2.0\CR.AggregateRepository.Persistence.EventStore.xml</DocumentationFile>
<DocumentationFile>bin\Release\netstandard2.0\CorshamScience.AggregateRepository.Persistence.EventStore.xml</DocumentationFile>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CR.CodeStyle.CSharp.Full" Version="[1.0.1,2.0.0-0)">
<PrivateAssets>All</PrivateAssets>
</PackageReference>

<PackageReference Include="CR.AggregateRepository.Core" Version="[1.0.0-rc0001,2.0.0-a)" />
<PackageReference Include="CorshamScience.AggregateRepository.Core" Version="2.0.0" />

<PackageReference Include="CorshamScience.CodeStyle.CSharp.Full" Version="3.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>

<PackageReference Include="EventStore.Client" Version="[5.0.1,6.0.0-a)" />
</ItemGroup>

<ItemGroup>
<None Include="Logo.png">
<PackagePath></PackagePath>
<Pack>True</Pack>
</None>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
// <copyright file="EventStoreAggregateRepository.cs" company="Cognisant">
// Copyright (c) Cognisant. All rights reserved.
// <copyright file="EventStoreAggregateRepository.cs" company="Corsham Science">
// Copyright (c) Corsham Science. All rights reserved.
// </copyright>

namespace CR.AggregateRepository.EventStore
namespace CorshamScience.AggregateRepository.EventStore
{
using System;
using System.Linq;
using System.Text;
using Core;
using Core.Exceptions;
using CorshamScience.AggregateRepository.Core;
using CorshamScience.AggregateRepository.Core.Exceptions;
using global::EventStore.ClientAPI;
using global::EventStore.ClientAPI.Exceptions;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;

/// <inheritdoc />
/// <summary>
/// Implementation of <see cref="T:CR.AggregateRepository.Core.IAggregateRepository" /> which uses Event Store as underlying storage for an aggregate's events.
/// Implementation of <see cref="T:CorshamScience.AggregateRepository.Core.IAggregateRepository" /> which uses Event Store as underlying storage for an aggregate's events.
/// </summary>
public class EventStoreAggregateRepository : IAggregateRepository
{
Expand Down
Binary file added src/AggregateRepository.EventStore/Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4630a25

Please sign in to comment.