-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
335 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.vscode/ | ||
bin/ | ||
obj/ | ||
obj/ | ||
pacts/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 8 additions & 5 deletions
13
CompletedSolution/Provider/tests/Middleware/ProviderState.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace tests.Middleware | ||
{ | ||
public class ProviderState | ||
{ | ||
public string Consumer { get; set; } | ||
public string State { get; set; } | ||
} | ||
/// <summary> | ||
/// Provider state DTO | ||
/// </summary> | ||
/// <param name="State">State description</param> | ||
/// <param name="Params">State parameters</param> | ||
public record ProviderState(string State, IDictionary<string, object> Params); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
<Project Sdk="Microsoft.NET.Sdk.Web"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<TargetFramework>net8.0</TargetFramework> | ||
|
||
<IsPackable>false</IsPackable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" /> | ||
<PackageReference Include="PactNet" Version="4.5.0" /> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" /> | ||
<PackageReference Include="PactNet" Version="5.0.0" /> | ||
<PackageReference Include="PactNet.Output.Xunit" Version="1.0.0" /> | ||
<PackageReference Include="xunit" Version="2.4.1" /> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3"/> | ||
<PackageReference Include="xunit" Version="2.9.2" /> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2"> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
</Project> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
<Project Sdk="Microsoft.NET.Sdk.Web"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<TargetFramework>net8.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Folder Include="wwwroot\" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.1" /> | ||
</ItemGroup> | ||
|
||
</Project> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.5.002.0 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "YourSolution", "YourSolution", "{81A71712-6486-4CCD-95D1-0EA508ECA0E4}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Provider", "Provider", "{CBFEEEC0-56DA-4CE2-961E-38662AEC4B55}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "provider", "YourSolution\Provider\src\provider.csproj", "{EE9477E9-AF89-4894-9FE2-A6E98B1E5410}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Consumer", "Consumer", "{B1A0A2D4-09E9-4065-9AF6-A35C677DDEBD}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "consumer", "YourSolution\Consumer\src\consumer.csproj", "{37463E67-0860-486E-BE33-A2E7165985A8}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CompletedSolution", "CompletedSolution", "{BD799AAB-0C70-412B-896E-F67E4FD5B55A}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Provider", "Provider", "{D652BD7B-69A6-4DDE-850A-E869B7FACE3C}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "tests", "CompletedSolution\Provider\tests\tests.csproj", "{4E9B9194-6856-4D40-88B1-9613FF9083F1}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "provider", "CompletedSolution\Provider\src\provider.csproj", "{1F1AD58E-6D74-46B1-BACA-1FF2DF72147A}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Consumer", "Consumer", "{42463238-2FED-4919-9428-C73EC43DDAEF}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "tests", "CompletedSolution\Consumer\tests\tests.csproj", "{B8A7696E-C2F0-4AB9-9462-22A164671349}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "consumer", "CompletedSolution\Consumer\src\consumer.csproj", "{CF1EBE16-9871-40C2-A668-145671963E25}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{EE9477E9-AF89-4894-9FE2-A6E98B1E5410}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{EE9477E9-AF89-4894-9FE2-A6E98B1E5410}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{EE9477E9-AF89-4894-9FE2-A6E98B1E5410}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{EE9477E9-AF89-4894-9FE2-A6E98B1E5410}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{37463E67-0860-486E-BE33-A2E7165985A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{37463E67-0860-486E-BE33-A2E7165985A8}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{37463E67-0860-486E-BE33-A2E7165985A8}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{37463E67-0860-486E-BE33-A2E7165985A8}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{4E9B9194-6856-4D40-88B1-9613FF9083F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{4E9B9194-6856-4D40-88B1-9613FF9083F1}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{4E9B9194-6856-4D40-88B1-9613FF9083F1}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{4E9B9194-6856-4D40-88B1-9613FF9083F1}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{1F1AD58E-6D74-46B1-BACA-1FF2DF72147A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{1F1AD58E-6D74-46B1-BACA-1FF2DF72147A}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{1F1AD58E-6D74-46B1-BACA-1FF2DF72147A}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{1F1AD58E-6D74-46B1-BACA-1FF2DF72147A}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{B8A7696E-C2F0-4AB9-9462-22A164671349}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{B8A7696E-C2F0-4AB9-9462-22A164671349}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{B8A7696E-C2F0-4AB9-9462-22A164671349}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{B8A7696E-C2F0-4AB9-9462-22A164671349}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{CF1EBE16-9871-40C2-A668-145671963E25}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{CF1EBE16-9871-40C2-A668-145671963E25}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{CF1EBE16-9871-40C2-A668-145671963E25}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{CF1EBE16-9871-40C2-A668-145671963E25}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(NestedProjects) = preSolution | ||
{CBFEEEC0-56DA-4CE2-961E-38662AEC4B55} = {81A71712-6486-4CCD-95D1-0EA508ECA0E4} | ||
{EE9477E9-AF89-4894-9FE2-A6E98B1E5410} = {CBFEEEC0-56DA-4CE2-961E-38662AEC4B55} | ||
{B1A0A2D4-09E9-4065-9AF6-A35C677DDEBD} = {81A71712-6486-4CCD-95D1-0EA508ECA0E4} | ||
{37463E67-0860-486E-BE33-A2E7165985A8} = {B1A0A2D4-09E9-4065-9AF6-A35C677DDEBD} | ||
{D652BD7B-69A6-4DDE-850A-E869B7FACE3C} = {BD799AAB-0C70-412B-896E-F67E4FD5B55A} | ||
{4E9B9194-6856-4D40-88B1-9613FF9083F1} = {D652BD7B-69A6-4DDE-850A-E869B7FACE3C} | ||
{1F1AD58E-6D74-46B1-BACA-1FF2DF72147A} = {D652BD7B-69A6-4DDE-850A-E869B7FACE3C} | ||
{42463238-2FED-4919-9428-C73EC43DDAEF} = {BD799AAB-0C70-412B-896E-F67E4FD5B55A} | ||
{B8A7696E-C2F0-4AB9-9462-22A164671349} = {42463238-2FED-4919-9428-C73EC43DDAEF} | ||
{CF1EBE16-9871-40C2-A668-145671963E25} = {42463238-2FED-4919-9428-C73EC43DDAEF} | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {CAC0998E-B485-4B2F-9698-458375FE1335} | ||
EndGlobalSection | ||
EndGlobal |
Oops, something went wrong.