Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .autover/autover.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@
"Path": "Libraries/src/Amazon.Lambda.DurableExecution/Amazon.Lambda.DurableExecution.csproj",
"PrereleaseLabel": "preview"
},
{
"Name": "Amazon.Lambda.DurableExecution.Testing",
"Path": "Libraries/src/Amazon.Lambda.DurableExecution.Testing/Amazon.Lambda.DurableExecution.Testing.csproj",
"PrereleaseLabel": "preview"
},
{
"Name": "Amazon.Lambda.DynamoDBEvents",
"Path": "Libraries/src/Amazon.Lambda.DynamoDBEvents/Amazon.Lambda.DynamoDBEvents.csproj"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"Projects": [
{
"Name": "Amazon.Lambda.DurableExecution.Testing",
"Type": "Patch",
"ChangelogMessages": [
"Add Amazon.Lambda.DurableExecution.Testing package "
]
}
]
}
17 changes: 17 additions & 0 deletions Libraries/Amazon.Lambda.DurableExecution.slnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"solution": {
"path": "Libraries.sln",
"projects": [
"src\\Amazon.Lambda.Core\\Amazon.Lambda.Core.csproj",
"src\\Amazon.Lambda.RuntimeSupport\\Amazon.Lambda.RuntimeSupport.csproj",
"src\\Amazon.Lambda.Serialization.SystemTextJson\\Amazon.Lambda.Serialization.SystemTextJson.csproj",
"src\\Amazon.Lambda.TestUtilities\\Amazon.Lambda.TestUtilities.csproj",
"src\\Amazon.Lambda.DurableExecution\\Amazon.Lambda.DurableExecution.csproj",
"src\\Amazon.Lambda.DurableExecution.Testing\\Amazon.Lambda.DurableExecution.Testing.csproj",
"test\\Amazon.Lambda.DurableExecution.Tests\\Amazon.Lambda.DurableExecution.Tests.csproj",
"test\\Amazon.Lambda.DurableExecution.Testing.Tests\\Amazon.Lambda.DurableExecution.Testing.Tests.csproj",
"test\\Amazon.Lambda.DurableExecution.IntegrationTests\\Amazon.Lambda.DurableExecution.IntegrationTests.csproj",
"test\\Amazon.Lambda.DurableExecution.AotPublishTest\\Amazon.Lambda.DurableExecution.AotPublishTest.csproj"
]
}
}
30 changes: 30 additions & 0 deletions Libraries/Libraries.sln
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.Lambda.DurableExecut
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AnnotationsClassLibraryFunction", "test\Amazon.Lambda.DurableExecution.IntegrationTests\TestFunctions\AnnotationsClassLibraryFunction\AnnotationsClassLibraryFunction.csproj", "{D55E2D57-8374-4573-999B-6E64E109C25F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.Lambda.DurableExecution.Testing", "src\Amazon.Lambda.DurableExecution.Testing\Amazon.Lambda.DurableExecution.Testing.csproj", "{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.Lambda.DurableExecution.Testing.Tests", "test\Amazon.Lambda.DurableExecution.Testing.Tests\Amazon.Lambda.DurableExecution.Testing.Tests.csproj", "{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -1039,6 +1043,30 @@ Global
{D55E2D57-8374-4573-999B-6E64E109C25F}.Release|x64.Build.0 = Release|Any CPU
{D55E2D57-8374-4573-999B-6E64E109C25F}.Release|x86.ActiveCfg = Release|Any CPU
{D55E2D57-8374-4573-999B-6E64E109C25F}.Release|x86.Build.0 = Release|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Debug|x64.ActiveCfg = Debug|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Debug|x64.Build.0 = Debug|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Debug|x86.ActiveCfg = Debug|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Debug|x86.Build.0 = Debug|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Release|Any CPU.Build.0 = Release|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Release|x64.ActiveCfg = Release|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Release|x64.Build.0 = Release|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Release|x86.ActiveCfg = Release|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Release|x86.Build.0 = Release|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Debug|x64.ActiveCfg = Debug|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Debug|x64.Build.0 = Debug|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Debug|x86.ActiveCfg = Debug|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Debug|x86.Build.0 = Debug|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Release|Any CPU.Build.0 = Release|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Release|x64.ActiveCfg = Release|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Release|x64.Build.0 = Release|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Release|x86.ActiveCfg = Release|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -1120,6 +1148,8 @@ Global
{CA132CAB-FF4F-4312-B3A3-66DE9D360F27} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69}
{16B1B1CC-3AFC-4DC7-8DB6-D14AE12924A2} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69}
{D55E2D57-8374-4573-999B-6E64E109C25F} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69}
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12}
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {503678A4-B8D1-4486-8915-405A3E9CF0EB}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\..\..\buildtools\common.props" />

<PropertyGroup>
<TargetFrameworks>$(DefaultPackageTargets)</TargetFrameworks>
<Description>Testing utilities for Amazon Lambda Durable Execution - test durable workflows locally without deploying to AWS.</Description>
<AssemblyTitle>Amazon.Lambda.DurableExecution.Testing</AssemblyTitle>
<Version>0.0.1-preview</Version>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

had to manually set as -preview here as well. i will also do an override when doing the first release to make it be preview.

without setting it here, build fails because a non preview package would reference a preview package (durable execution)

<AssemblyName>Amazon.Lambda.DurableExecution.Testing</AssemblyName>
<PackageId>Amazon.Lambda.DurableExecution.Testing</PackageId>
<PackageTags>AWS;Amazon;Lambda;Durable;Workflow;Testing</PackageTags>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);AWSLAMBDA001</NoWarn>
</PropertyGroup>

<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<_Parameter1>Amazon.Lambda.DurableExecution.Testing.Tests, PublicKey="0024000004800000940000000602000000240000525341310004000001000100db5f59f098d27276c7833875a6263a3cc74ab17ba9a9df0b52aedbe7252745db7274d5271fd79c1f08f668ecfa8eaab5626fa76adc811d3c8fc55859b0d09d3bc0a84eecd0ba891f2b8a2fc55141cdcc37c2053d53491e650a479967c3622762977900eddbf1252ed08a2413f00a28f3a0752a81203f03ccb7f684db373518b4"</_Parameter1>
</AssemblyAttribute>
</ItemGroup>

<!--
These are intentional public NuGet dependencies of this testing package:
- Amazon.Lambda.DurableExecution: the runtime engine the runners drive.
- Amazon.Lambda.TestUtilities: provides TestLambdaContext, used to build the
ILambdaContext passed to the workflow handler (load-bearing at runtime).
- Amazon.Lambda.Serialization.SystemTextJson: the default serializer for
payloads/results when the caller does not supply one.
A package named ".Testing" depending on TestUtilities is appropriate; consumers
reference this package only from their test projects.
-->
<ItemGroup>
<ProjectReference Include="..\Amazon.Lambda.DurableExecution\Amazon.Lambda.DurableExecution.csproj" />
<ProjectReference Include="..\Amazon.Lambda.TestUtilities\Amazon.Lambda.TestUtilities.csproj" />
<ProjectReference Include="..\Amazon.Lambda.Serialization.SystemTextJson\Amazon.Lambda.Serialization.SystemTextJson.csproj" />
</ItemGroup>

</Project>
Loading
Loading