Skip to content

Commit 0a7c4d8

Browse files
committed
Made some hygenic refactors for 0.5.0
1 parent 3abef5e commit 0a7c4d8

14 files changed

+64
-39
lines changed

Akkatecture.sln

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{F1C674D3
5757
build\azure-pipelines-release-ci-cd.yaml = build\azure-pipelines-release-ci-cd.yaml
5858
build\azure-pipelines-static-ci.yaml = build\azure-pipelines-static-ci.yaml
5959
build\README.md = build\README.md
60+
build\paket.dependencies = build\paket.dependencies
6061
EndProjectSection
6162
EndProject
6263
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akkatecture.TestFixture", "src\Akkatecture.TestFixture\Akkatecture.TestFixture.csproj", "{BED56747-BBF3-45F5-9EB6-C24808AA09EC}"
@@ -69,6 +70,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akkatecture.NodeTestRunner"
6970
EndProject
7071
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akkatecture.Tests.MultiNode", "test\Akkatecture.Tests.MultiNode\Akkatecture.Tests.MultiNode.csproj", "{C7E74510-5D43-4D63-B3B1-13333DC1700E}"
7172
EndProject
73+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "templates", "templates", "{19634F28-9CC5-4B76-83B6-5AA41B3CA78E}"
74+
ProjectSection(SolutionItems) = preProject
75+
build\templates\fake-template.yaml = build\templates\fake-template.yaml
76+
EndProjectSection
77+
EndProject
7278
Global
7379
GlobalSection(SolutionConfigurationPlatforms) = preSolution
7480
Debug|Any CPU = Debug|Any CPU
@@ -155,6 +161,7 @@ Global
155161
{081C0036-15A6-48FE-A70E-CCC1CCA3E495} = {6F5F4612-D2DD-47E9-ADA9-18450D44E903}
156162
{216BF8B4-3A50-4EF3-BCA5-4BDA738B0B72} = {6F5F4612-D2DD-47E9-ADA9-18450D44E903}
157163
{C7E74510-5D43-4D63-B3B1-13333DC1700E} = {86C56730-ABA0-411C-898C-5966EC483594}
164+
{19634F28-9CC5-4B76-83B6-5AA41B3CA78E} = {F1C674D3-CC23-4708-9903-7B3CD3565899}
158165
EndGlobalSection
159166
GlobalSection(ExtensibilityGlobals) = postSolution
160167
SolutionGuid = {F5A40806-ED71-4286-A37C-BE0364FA29A6}

CHANGELOG.md

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,38 +5,42 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
9+
## [0.5.0] - 2019-08-18
10+
811
### Added
9-
- IExecute interface as an alternative way to add command handlers to the aggregate.
10-
- JobScheduler and JobRunner actor types for scheduling jobs.
12+
- `IExecute` interface as an alternative way to add command handlers to the aggregate.
13+
- `JobScheduler` and `JobRunner` actor types for scheduling persistent jobs.
1114
- receive timeouts for aggregate roots.
1215

1316
### Changed
14-
- AggregateRoot and AggregateSaga logging members are using Eventsourced.Log member.
17+
- `AggregateRoot` and `AggregateSaga` logging members are using `Eventsourced.Log` member.
1518

1619
## [0.4.6] - 2019-07-27
1720

1821
### Added
19-
- xUnit2 TestOutputHelper logging
20-
- Akkatecture.Clustering Multi Node Tests
21-
- FAKE build system
22-
- Delete Previous Snapshot
23-
- CHANGELOG.
24-
- CODE_OF_CONDUCT.
22+
- xUnit2 TestOutputHelper logging.
23+
- Akkatecture.Clustering Multi Node Tests.
24+
- FAKE build system.
25+
- Delete Previous Snapshot .
26+
- CHANGELOG.md.
27+
- CODE_OF_CONDUCT.md.
28+
- THIRD-PARTY-NOTICES.txt.
2529

2630
## [0.4.5] - 2019-05-15
2731

2832
### Changed
2933
- Logging to use string format + params rather than interpolation.
3034

3135
### Fixed
32-
- CommittedSnapshot name from ComittedSnapshot.
36+
- `CommittedSnapshot` name from `ComittedSnapshot`.
3337
- AggregateRoot.EmitAll(...) to allow for more generic cases to be handled.
3438

3539
## [0.4.4] - 2019-05-09
3640

3741
### Added
38-
- DomainEventMapper that maps from journal events to.
39-
- AggregateTestFixture support for asserting aggregate root replies.
42+
- `DomainEventMapper` that maps from journal events to.
43+
- `AggregateTestFixture` support for asserting aggregate root replies.
4044

4145
### Changed
4246
- Access levels for aggregate root properties to be more private.
@@ -163,7 +167,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
163167
- MIT License.
164168
- Project logo.
165169

166-
[Unreleased]: https://github.com/Lutando/Akkatecture/compare/0.4.5...HEAD
170+
[Unreleased]: https://github.com/Lutando/Akkatecture/compare/0.5.0...HEAD
171+
[0.5.0]: https://github.com/Lutando/Akkatecture/compare/0.4.6...0.5.0
172+
[0.4.6]: https://github.com/Lutando/Akkatecture/compare/0.4.5...0.4.6
167173
[0.4.5]: https://github.com/Lutando/Akkatecture/compare/0.4.4...0.4.5
168174
[0.4.4]: https://github.com/Lutando/Akkatecture/compare/0.4.3...0.4.4
169175
[0.4.3]: https://github.com/Lutando/Akkatecture/compare/0.4.2...0.4.3

build/azure-pipelines-development-ci-cd.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,20 @@ trigger:
77
branches:
88
include:
99
- dev
10+
paths:
11+
exclude:
12+
- 'README.md'
13+
- 'CODE_OF_CONDUCT.md'
14+
- 'CHANGELOG.md'
15+
- 'THIRD-PARTY-NOTICES.txt'
1016

1117
pr: none
1218

1319
variables:
1420
branch: "dev"
1521
majorVersion: '0'
16-
minorVersion: '4'
17-
patchVersion: '6'
22+
minorVersion: '5'
23+
patchVersion: '0'
1824
feedVersion: 'alpha'
1925
dayOfYear: $(DayOfYear)
2026
revCounter: $(BuildRevision)

build/azure-pipelines-master-ci-cd.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,20 @@ trigger:
77
branches:
88
include:
99
- master
10+
paths:
11+
exclude:
12+
- 'README.md'
13+
- 'CODE_OF_CONDUCT.md'
14+
- 'CHANGELOG.md'
15+
- 'THIRD-PARTY-NOTICES.txt'
1016

1117
pr: none
1218

1319
variables:
1420
branch: "master"
1521
majorVersion: '0'
16-
minorVersion: '4'
17-
patchVersion: '6'
22+
minorVersion: '5'
23+
patchVersion: '0'
1824
feedVersion: 'prerelease'
1925
dayOfYear: $(DayOfYear)
2026
revCounter: $(BuildRevision)

build/azure-pipelines-release-ci-cd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ pr: none
1010
variables:
1111
branch: "master"
1212
majorVersion: '0'
13-
minorVersion: '4'
14-
patchVersion: '6'
13+
minorVersion: '5'
14+
patchVersion: '0'
1515
feedVersion: 'nuget'
1616

1717
name: ${{ format('{0}.{1}.{2}', variables.majorVersion, variables.minorVersion, variables.patchVersion) }}

build/azure-pipelines-static-ci.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,18 @@ pr:
1010
branches:
1111
include:
1212
- '*'
13+
paths:
14+
exclude:
15+
- 'README.md'
16+
- 'CODE_OF_CONDUCT.md'
17+
- 'CHANGELOG.md'
18+
- 'THIRD-PARTY-NOTICES.txt'
1319

1420
variables:
1521
branch: "master"
1622
majorVersion: '0'
17-
minorVersion: '4'
18-
patchVersion: '6'
23+
minorVersion: '5'
24+
patchVersion: '0'
1925
feedVersion: 'pr'
2026
dayOfYear: $(DayOfYear)
2127
revCounter: $(BuildRevision)

src/Akkatecture/Aggregates/AggregateManagerSettings.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,14 @@ namespace Akkatecture.Aggregates
2929
{
3030
public class AggregateManagerSettings
3131
{
32+
private static readonly string _section = "akkatecture.aggregate-manager";
3233
public readonly bool HandleDeadLetters;
3334
public readonly bool AutoDispatchOnReceive;
3435

3536
public AggregateManagerSettings(Config config)
3637
{
3738
var aggregateManagerConfig = config.WithFallback(AkkatectureDefaultSettings.DefaultConfig());
38-
aggregateManagerConfig = aggregateManagerConfig.GetConfig("akkatecture.aggregate-manager");
39+
aggregateManagerConfig = aggregateManagerConfig.GetConfig(_section);
3940

4041
HandleDeadLetters = aggregateManagerConfig.GetBoolean("handle-deadletters");
4142
AutoDispatchOnReceive = aggregateManagerConfig.GetBoolean("auto-dispatch-on-receive");

src/Akkatecture/Aggregates/AggregateRootSettings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ public class AggregateRootSettings
3636

3737
public AggregateRootSettings(Config config)
3838
{
39-
var aggregateRootConfig = config.GetConfig(_section);
40-
aggregateRootConfig = aggregateRootConfig ?? AkkatectureDefaultSettings.DefaultConfig().GetConfig(_section);
39+
var aggregateRootConfig = config.WithFallback(AkkatectureDefaultSettings.DefaultConfig());
40+
aggregateRootConfig = aggregateRootConfig.GetConfig(_section);
4141

4242
UseDefaultEventRecover = aggregateRootConfig.GetBoolean("use-default-event-recover");
4343
UseDefaultSnapshotRecover = aggregateRootConfig.GetBoolean("use-default-snapshot-recover");

src/Akkatecture/Jobs/Commands/Schedule.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2323

2424
using System;
25-
using Akka.Actor;
2625

2726
namespace Akkatecture.Jobs.Commands
2827
{

src/Akkatecture/Jobs/JobSchedulerFactory.cs

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)