Revize b80b186b
Přidáno uživatelem Milan Hotovec před téměř 4 roky(ů)
Leuze.sln | ||
---|---|---|
37 | 37 |
EndProject |
38 | 38 |
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Leuze.Tests.Core", "tests\Core\Leuze.Tests.Core\Leuze.Tests.Core.csproj", "{D271989D-921D-486B-929C-6BBF1EC0EED4}" |
39 | 39 |
EndProject |
40 |
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Leuze.Tests.Core.Infrastructure.ActiveDirectory", "tests\Core\Leuze.Tests.Core.Infrastructure.ActiveDirectory\Leuze.Tests.Core.Infrastructure.ActiveDirectory.csproj", "{C1813611-5FF2-4E70-B7E5-A4E8553F0B66}" |
|
41 |
EndProject |
|
42 | 40 |
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Goal", "Goal", "{A1146DB5-79EB-449C-ADA3-1ABDE035F5CA}" |
43 | 41 |
EndProject |
44 | 42 |
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Application", "Application", "{1AEE9C09-804F-4AF7-B966-80830B39C85F}" |
... | ... | |
47 | 45 |
EndProject |
48 | 46 |
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Infrastructure", "Infrastructure", "{E4134FEF-ECBC-4EEF-A65B-8E8D318DA8DA}" |
49 | 47 |
EndProject |
50 |
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Leuze.Modules.Goal.Application", "Leuze.Modules.Goal.Application\Leuze.Modules.Goal.Application.csproj", "{C21FBB7D-28F0-4D87-976C-4ED3B8ABA5E2}"
|
|
48 |
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Leuze.Modules.Goal.Application", "src\Modules\Goal\Application\Leuze.Modules.Goal.Application\Leuze.Modules.Goal.Application.csproj", "{C49CA0F7-C0C2-4FCE-98C4-4E42765B4405}"
|
|
51 | 49 |
EndProject |
52 |
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Leuze.Modules.Goal.Application.UI", "Leuze.Modules.Goal.Application.UI\Leuze.Modules.Goal.Application.UI.csproj", "{9C56BB9C-C37A-4457-B560-2B46F1963292}"
|
|
50 |
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Leuze.Modules.Goal.Application.UI", "src\Modules\Goal\Application\Leuze.Modules.Goal.Application.UI\Leuze.Modules.Goal.Application.UI.csproj", "{C6F9EFF2-30DA-4FA9-AEFF-4957F0260267}"
|
|
53 | 51 |
EndProject |
54 |
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Leuze.Modules.Goal.Domain", "Leuze.Modules.Goal.Domain\Leuze.Modules.Goal.Domain.csproj", "{F3657FCF-A622-405C-A9E5-E473917B30B8}"
|
|
52 |
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Leuze.Modules.Goal.Domain", "src\Modules\Goal\Domain\Leuze.Modules.Goal.Domain\Leuze.Modules.Goal.Domain.csproj", "{BAAC1AB6-C671-408C-94EF-96459D5403DD}"
|
|
55 | 53 |
EndProject |
56 |
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Leuze.Modules.Goal.Infrastructure", "Leuze.Modules.Goal.Infrastructure\Leuze.Modules.Goal.Infrastructure.csproj", "{BB0B5CCE-991D-42D1-B35D-C15273C41AC0}"
|
|
54 |
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Leuze.Modules.Goal.Infrastructure.Persistence", "src\Modules\Goal\Infrastructure\Leuze.Modules.Goal.Infrastructure.Persistence\Leuze.Modules.Goal.Infrastructure.Persistence.csproj", "{BEBFBA58-BCB7-4F44-9247-EAAAE748176A}"
|
|
57 | 55 |
EndProject |
58 | 56 |
Global |
59 | 57 |
GlobalSection(SolutionConfigurationPlatforms) = preSolution |
... | ... | |
97 | 95 |
{D271989D-921D-486B-929C-6BBF1EC0EED4}.Debug|Any CPU.Build.0 = Debug|Any CPU |
98 | 96 |
{D271989D-921D-486B-929C-6BBF1EC0EED4}.Release|Any CPU.ActiveCfg = Release|Any CPU |
99 | 97 |
{D271989D-921D-486B-929C-6BBF1EC0EED4}.Release|Any CPU.Build.0 = Release|Any CPU |
100 |
{C1813611-5FF2-4E70-B7E5-A4E8553F0B66}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
|
101 |
{C1813611-5FF2-4E70-B7E5-A4E8553F0B66}.Debug|Any CPU.Build.0 = Debug|Any CPU |
|
102 |
{C1813611-5FF2-4E70-B7E5-A4E8553F0B66}.Release|Any CPU.ActiveCfg = Release|Any CPU |
|
103 |
{C1813611-5FF2-4E70-B7E5-A4E8553F0B66}.Release|Any CPU.Build.0 = Release|Any CPU |
|
104 |
{C21FBB7D-28F0-4D87-976C-4ED3B8ABA5E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
|
105 |
{C21FBB7D-28F0-4D87-976C-4ED3B8ABA5E2}.Debug|Any CPU.Build.0 = Debug|Any CPU |
|
106 |
{C21FBB7D-28F0-4D87-976C-4ED3B8ABA5E2}.Release|Any CPU.ActiveCfg = Release|Any CPU |
|
107 |
{C21FBB7D-28F0-4D87-976C-4ED3B8ABA5E2}.Release|Any CPU.Build.0 = Release|Any CPU |
|
108 |
{9C56BB9C-C37A-4457-B560-2B46F1963292}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
|
109 |
{9C56BB9C-C37A-4457-B560-2B46F1963292}.Debug|Any CPU.Build.0 = Debug|Any CPU |
|
110 |
{9C56BB9C-C37A-4457-B560-2B46F1963292}.Release|Any CPU.ActiveCfg = Release|Any CPU |
|
111 |
{9C56BB9C-C37A-4457-B560-2B46F1963292}.Release|Any CPU.Build.0 = Release|Any CPU |
|
112 |
{F3657FCF-A622-405C-A9E5-E473917B30B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
|
113 |
{F3657FCF-A622-405C-A9E5-E473917B30B8}.Debug|Any CPU.Build.0 = Debug|Any CPU |
|
114 |
{F3657FCF-A622-405C-A9E5-E473917B30B8}.Release|Any CPU.ActiveCfg = Release|Any CPU |
|
115 |
{F3657FCF-A622-405C-A9E5-E473917B30B8}.Release|Any CPU.Build.0 = Release|Any CPU |
|
116 |
{BB0B5CCE-991D-42D1-B35D-C15273C41AC0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
|
117 |
{BB0B5CCE-991D-42D1-B35D-C15273C41AC0}.Debug|Any CPU.Build.0 = Debug|Any CPU |
|
118 |
{BB0B5CCE-991D-42D1-B35D-C15273C41AC0}.Release|Any CPU.ActiveCfg = Release|Any CPU |
|
119 |
{BB0B5CCE-991D-42D1-B35D-C15273C41AC0}.Release|Any CPU.Build.0 = Release|Any CPU |
|
98 |
{C49CA0F7-C0C2-4FCE-98C4-4E42765B4405}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
|
99 |
{C49CA0F7-C0C2-4FCE-98C4-4E42765B4405}.Debug|Any CPU.Build.0 = Debug|Any CPU |
|
100 |
{C49CA0F7-C0C2-4FCE-98C4-4E42765B4405}.Release|Any CPU.ActiveCfg = Release|Any CPU |
|
101 |
{C49CA0F7-C0C2-4FCE-98C4-4E42765B4405}.Release|Any CPU.Build.0 = Release|Any CPU |
|
102 |
{C6F9EFF2-30DA-4FA9-AEFF-4957F0260267}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
|
103 |
{C6F9EFF2-30DA-4FA9-AEFF-4957F0260267}.Debug|Any CPU.Build.0 = Debug|Any CPU |
|
104 |
{C6F9EFF2-30DA-4FA9-AEFF-4957F0260267}.Release|Any CPU.ActiveCfg = Release|Any CPU |
|
105 |
{C6F9EFF2-30DA-4FA9-AEFF-4957F0260267}.Release|Any CPU.Build.0 = Release|Any CPU |
|
106 |
{BAAC1AB6-C671-408C-94EF-96459D5403DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
|
107 |
{BAAC1AB6-C671-408C-94EF-96459D5403DD}.Debug|Any CPU.Build.0 = Debug|Any CPU |
|
108 |
{BAAC1AB6-C671-408C-94EF-96459D5403DD}.Release|Any CPU.ActiveCfg = Release|Any CPU |
|
109 |
{BAAC1AB6-C671-408C-94EF-96459D5403DD}.Release|Any CPU.Build.0 = Release|Any CPU |
|
110 |
{BEBFBA58-BCB7-4F44-9247-EAAAE748176A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
|
111 |
{BEBFBA58-BCB7-4F44-9247-EAAAE748176A}.Debug|Any CPU.Build.0 = Debug|Any CPU |
|
112 |
{BEBFBA58-BCB7-4F44-9247-EAAAE748176A}.Release|Any CPU.ActiveCfg = Release|Any CPU |
|
113 |
{BEBFBA58-BCB7-4F44-9247-EAAAE748176A}.Release|Any CPU.Build.0 = Release|Any CPU |
|
120 | 114 |
EndGlobalSection |
121 | 115 |
GlobalSection(SolutionProperties) = preSolution |
122 | 116 |
HideSolutionNode = FALSE |
... | ... | |
135 | 129 |
{B74BED5E-F175-4A6E-B4AC-8625E0E4E287} = {C5588326-929D-42B3-912B-9D838373B48E} |
136 | 130 |
{8ECAEA01-61F3-402D-B94E-E54FC0C94C8E} = {B74BED5E-F175-4A6E-B4AC-8625E0E4E287} |
137 | 131 |
{D271989D-921D-486B-929C-6BBF1EC0EED4} = {B74BED5E-F175-4A6E-B4AC-8625E0E4E287} |
138 |
{C1813611-5FF2-4E70-B7E5-A4E8553F0B66} = {B74BED5E-F175-4A6E-B4AC-8625E0E4E287} |
|
139 | 132 |
{A1146DB5-79EB-449C-ADA3-1ABDE035F5CA} = {6E77A5CC-6998-47B7-8FD1-70FA45A1D30C} |
140 | 133 |
{1AEE9C09-804F-4AF7-B966-80830B39C85F} = {A1146DB5-79EB-449C-ADA3-1ABDE035F5CA} |
141 | 134 |
{4A441C7D-2659-4FB5-8886-420728C229BF} = {A1146DB5-79EB-449C-ADA3-1ABDE035F5CA} |
142 | 135 |
{E4134FEF-ECBC-4EEF-A65B-8E8D318DA8DA} = {A1146DB5-79EB-449C-ADA3-1ABDE035F5CA} |
143 |
{C21FBB7D-28F0-4D87-976C-4ED3B8ABA5E2} = {1AEE9C09-804F-4AF7-B966-80830B39C85F}
|
|
144 |
{9C56BB9C-C37A-4457-B560-2B46F1963292} = {1AEE9C09-804F-4AF7-B966-80830B39C85F}
|
|
145 |
{F3657FCF-A622-405C-A9E5-E473917B30B8} = {4A441C7D-2659-4FB5-8886-420728C229BF}
|
|
146 |
{BB0B5CCE-991D-42D1-B35D-C15273C41AC0} = {E4134FEF-ECBC-4EEF-A65B-8E8D318DA8DA}
|
|
136 |
{C49CA0F7-C0C2-4FCE-98C4-4E42765B4405} = {1AEE9C09-804F-4AF7-B966-80830B39C85F}
|
|
137 |
{C6F9EFF2-30DA-4FA9-AEFF-4957F0260267} = {1AEE9C09-804F-4AF7-B966-80830B39C85F}
|
|
138 |
{BAAC1AB6-C671-408C-94EF-96459D5403DD} = {4A441C7D-2659-4FB5-8886-420728C229BF}
|
|
139 |
{BEBFBA58-BCB7-4F44-9247-EAAAE748176A} = {E4134FEF-ECBC-4EEF-A65B-8E8D318DA8DA}
|
|
147 | 140 |
EndGlobalSection |
148 | 141 |
GlobalSection(ExtensibilityGlobals) = postSolution |
149 | 142 |
SolutionGuid = {849C3668-1CB9-4F98-ADFA-A71F5629384C} |
src/Modules/Goal/Application/Leuze.Modules.Goal.Application.UI/Leuze.Modules.Goal.Application.UI.csproj | ||
---|---|---|
1 |
<Project Sdk="Microsoft.NET.Sdk"> |
|
1 |
<Project Sdk="Microsoft.NET.Sdk">
|
|
2 | 2 |
|
3 | 3 |
<PropertyGroup> |
4 | 4 |
<AssemblyName>Leuze.Modules.Goal.Application.UI</AssemblyName> |
... | ... | |
18 | 18 |
<DocumentationFile>..\..\..\..\docs\Leuze.Modules.Goal.Application.UI.xml</DocumentationFile> |
19 | 19 |
</PropertyGroup> |
20 | 20 |
|
21 |
<ItemGroup> |
|
22 |
<ProjectReference Include="..\..\..\..\Core\Application\Leuze.Core.Application.UI\Leuze.Core.Application.UI.csproj" /> |
|
23 |
<ProjectReference Include="..\Leuze.Modules.Goal.Application\Leuze.Modules.Goal.Application.csproj" /> |
|
24 |
</ItemGroup> |
|
25 |
|
|
21 | 26 |
</Project> |
src/Modules/Goal/Application/Leuze.Modules.Goal.Application/Leuze.Modules.Goal.Application.csproj | ||
---|---|---|
18 | 18 |
<DocumentationFile>..\..\..\..\docs\Leuze.Modules.Goal.Application.xml</DocumentationFile> |
19 | 19 |
</PropertyGroup> |
20 | 20 |
|
21 |
<ItemGroup> |
|
22 |
<ProjectReference Include="..\..\..\..\Core\Application\Leuze.Core.Application\Leuze.Core.Application.csproj" /> |
|
23 |
<ProjectReference Include="..\..\Domain\Leuze.Modules.Goal.Domain\Leuze.Modules.Goal.Domain.csproj" /> |
|
24 |
</ItemGroup> |
|
25 |
|
|
21 | 26 |
</Project> |
src/Modules/Goal/Domain/Leuze.Modules.Goal.Domain/Leuze.Modules.Goal.Domain.csproj | ||
---|---|---|
1 |
<Project Sdk="Microsoft.NET.Sdk"> |
|
1 |
<Project Sdk="Microsoft.NET.Sdk">
|
|
2 | 2 |
|
3 | 3 |
<PropertyGroup> |
4 | 4 |
<AssemblyName>Leuze.Modules.Goal.Domain</AssemblyName> |
... | ... | |
18 | 18 |
<DocumentationFile>..\..\..\..\docs\Leuze.Modules.Goal.Domain.xml</DocumentationFile> |
19 | 19 |
</PropertyGroup> |
20 | 20 |
|
21 |
<ItemGroup> |
|
22 |
<ProjectReference Include="..\..\..\..\Core\Domain\Leuze.Core.Domain\Leuze.Core.Domain.csproj" /> |
|
23 |
</ItemGroup> |
|
24 |
|
|
21 | 25 |
</Project> |
src/Modules/Goal/Infrastructure/Leuze.Modules.Goal.Infrastructure.Persistence/Class1.cs | ||
---|---|---|
1 |
using System; |
|
2 |
|
|
3 |
namespace Leuze.Modules.Goal.Infrastructure.Persistence |
|
4 |
{ |
|
5 |
public class Class1 |
|
6 |
{ |
|
7 |
} |
|
8 |
} |
src/Modules/Goal/Infrastructure/Leuze.Modules.Goal.Infrastructure.Persistence/DependencyInjection.cs | ||
---|---|---|
1 |
using ExtCore.Infrastructure.Actions; |
|
2 |
using Leuze.Core.Infrastructure.Persistence.Extensions; |
|
3 |
using Microsoft.AspNetCore.Builder; |
|
4 |
using Microsoft.Extensions.DependencyInjection; |
|
5 |
using System; |
|
6 |
|
|
7 |
namespace Leuze.Modules.Goal.Infrastructure.Persistence |
|
8 |
{ |
|
9 |
/// <summary> |
|
10 |
/// |
|
11 |
/// </summary> |
|
12 |
public class ServicesConfiguration : IConfigureServicesAction |
|
13 |
{ |
|
14 |
/// <summary> |
|
15 |
/// |
|
16 |
/// </summary> |
|
17 |
public int Priority => 1000; |
|
18 |
|
|
19 |
/// <summary> |
|
20 |
/// |
|
21 |
/// </summary> |
|
22 |
/// <param name="services"></param> |
|
23 |
/// <param name="serviceProvider"></param> |
|
24 |
public void Execute(IServiceCollection services, IServiceProvider serviceProvider) |
|
25 |
{ |
|
26 |
services.AddRepositories(); |
|
27 |
} |
|
28 |
} |
|
29 |
|
|
30 |
/// <summary> |
|
31 |
/// |
|
32 |
/// </summary> |
|
33 |
public class ApplicationConfiguration : IConfigureAction |
|
34 |
{ |
|
35 |
/// <summary> |
|
36 |
/// |
|
37 |
/// </summary> |
|
38 |
public int Priority => 11000; |
|
39 |
|
|
40 |
/// <summary> |
|
41 |
/// |
|
42 |
/// </summary> |
|
43 |
/// <param name="applicationBuilder"></param> |
|
44 |
/// <param name="serviceProvider"></param> |
|
45 |
public void Execute(IApplicationBuilder applicationBuilder, IServiceProvider serviceProvider) => applicationBuilder.MigrateDatabase(); |
|
46 |
} |
|
47 |
} |
src/Modules/Goal/Infrastructure/Leuze.Modules.Goal.Infrastructure.Persistence/Extensions/RepositoriesExtension.cs | ||
---|---|---|
1 |
using Microsoft.Extensions.DependencyInjection; |
|
2 |
|
|
3 |
namespace Leuze.Modules.Goal.Infrastructure.Persistence.Extensions |
|
4 |
{ |
|
5 |
/// <summary> |
|
6 |
/// |
|
7 |
/// </summary> |
|
8 |
public static class RepositoriesExtension |
|
9 |
{ |
|
10 |
/// <summary> |
|
11 |
/// |
|
12 |
/// </summary> |
|
13 |
/// <param name="services"></param> |
|
14 |
public static void AddRepositories(this IServiceCollection services) |
|
15 |
{ |
|
16 |
//TODO: Insert needed |
|
17 |
} |
|
18 |
|
|
19 |
} |
|
20 |
} |
src/Modules/Goal/Infrastructure/Leuze.Modules.Goal.Infrastructure.Persistence/Leuze.Modules.Goal.Infrastructure.Persistence.csproj | ||
---|---|---|
17 | 17 |
<OutputPath>..\..\..\Presentation\Leuze.Modules\</OutputPath> |
18 | 18 |
<DocumentationFile>..\..\..\..\docs\Leuze.Modules.Goal.Infrastructure.Persistence.xml</DocumentationFile> |
19 | 19 |
</PropertyGroup> |
20 |
|
|
21 |
<ItemGroup> |
|
22 |
<ProjectReference Include="..\..\..\..\Core\Infrastructure\Leuze.Core.Infrastructure.Persistence\Leuze.Core.Infrastructure.Persistence.csproj" /> |
|
23 |
<ProjectReference Include="..\..\Domain\Leuze.Modules.Goal.Domain\Leuze.Modules.Goal.Domain.csproj" /> |
|
24 |
</ItemGroup> |
|
20 | 25 |
</Project> |
tests/Core/Leuze.Tests.Core.Infrastructure.ActiveDirectory/Leuze.Tests.Core.Infrastructure.ActiveDirectory.csproj | ||
---|---|---|
1 |
<Project Sdk="Microsoft.NET.Sdk"> |
|
2 |
|
|
3 |
<PropertyGroup> |
|
4 |
<AssemblyName>Leuze.Tests.Core.Infrastructure.ActiveDirectory</AssemblyName> |
|
5 |
<RootNamespace>Leuze.Tests.Core.Infrastructure.ActiveDirectory</RootNamespace> |
|
6 |
<Product></Product> |
|
7 |
<Description></Description> |
|
8 |
</PropertyGroup> |
|
9 |
|
|
10 |
<PropertyGroup> |
|
11 |
<TargetFramework>net5.0</TargetFramework> |
|
12 |
<Nullable>enable</Nullable> |
|
13 |
<IsPackable>false</IsPackable> |
|
14 |
<GenerateDocumentationFile>true</GenerateDocumentationFile> |
|
15 |
</PropertyGroup> |
|
16 |
|
|
17 |
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> |
|
18 |
<DocumentationFile>..\..\..\docs\Leuze.Tests.Core.Infrastructure.ActiveDirectory.xml</DocumentationFile> |
|
19 |
</PropertyGroup> |
|
20 |
|
|
21 |
<ItemGroup> |
|
22 |
<PackageReference Include="FluentAssertions" Version="5.10.3" /> |
|
23 |
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.1" /> |
|
24 |
<PackageReference Include="xunit" Version="2.4.1" /> |
|
25 |
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3"> |
|
26 |
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
|
27 |
<PrivateAssets>all</PrivateAssets> |
|
28 |
</PackageReference> |
|
29 |
<PackageReference Include="coverlet.collector" Version="3.0.3"> |
|
30 |
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
|
31 |
<PrivateAssets>all</PrivateAssets> |
|
32 |
</PackageReference> |
|
33 |
</ItemGroup> |
|
34 |
|
|
35 |
</Project> |
Také k dispozici: Unified diff
references init + sanity check
@testFull