Skip to content

Commit 075b5e6

Browse files
committed
Add Amazon.Lambda.DurableExecution project scaffolding
Establishes the package metadata for the durable execution SDK: src project (net8.0, trimmable, signed) and the matching test project with InternalsVisibleTo wired up. No public API is added yet — a single sanity test verifies the assembly loads. Subsequent PRs will add the actual SDK contents on top of this scaffolding. stack-info: PR: #2359, branch: GarrettBeatty/stack/1
1 parent 8516153 commit 075b5e6

4 files changed

Lines changed: 80 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<Import Project="..\..\..\buildtools\common.props" />
4+
5+
<PropertyGroup>
6+
<TargetFramework>net8.0</TargetFramework>
7+
<Description>Amazon Lambda .NET SDK for Durable Execution - write multi-step workflows that persist state automatically.</Description>
8+
<AssemblyTitle>Amazon.Lambda.DurableExecution</AssemblyTitle>
9+
<Version>0.1.0</Version>
10+
<AssemblyName>Amazon.Lambda.DurableExecution</AssemblyName>
11+
<PackageId>Amazon.Lambda.DurableExecution</PackageId>
12+
<PackageTags>AWS;Amazon;Lambda;Durable;Workflow</PackageTags>
13+
<IsTrimmable>true</IsTrimmable>
14+
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
15+
<Nullable>enable</Nullable>
16+
<ImplicitUsings>enable</ImplicitUsings>
17+
</PropertyGroup>
18+
19+
<ItemGroup>
20+
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
21+
<_Parameter1>Amazon.Lambda.DurableExecution.Tests, PublicKey="0024000004800000940000000602000000240000525341310004000001000100db5f59f098d27276c7833875a6263a3cc74ab17ba9a9df0b52aedbe7252745db7274d5271fd79c1f08f668ecfa8eaab5626fa76adc811d3c8fc55859b0d09d3bc0a84eecd0ba891f2b8a2fc55141cdcc37c2053d53491e650a479967c3622762977900eddbf1252ed08a2413f00a28f3a0752a81203f03ccb7f684db373518b4"</_Parameter1>
22+
</AssemblyAttribute>
23+
</ItemGroup>
24+
25+
<ItemGroup>
26+
<ProjectReference Include="..\Amazon.Lambda.Core\Amazon.Lambda.Core.csproj" />
27+
</ItemGroup>
28+
29+
<ItemGroup>
30+
<PackageReference Include="AWSSDK.Lambda" Version="4.0.13.1" />
31+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
32+
</ItemGroup>
33+
34+
</Project>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
namespace Amazon.Lambda.DurableExecution;
2+
3+
internal static class AssemblyMarker
4+
{
5+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<AssemblyName>Amazon.Lambda.DurableExecution.Tests</AssemblyName>
6+
<PackageId>Amazon.Lambda.DurableExecution.Tests</PackageId>
7+
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
8+
<AssemblyOriginatorKeyFile>..\..\..\buildtools\public.snk</AssemblyOriginatorKeyFile>
9+
<SignAssembly>true</SignAssembly>
10+
<Nullable>enable</Nullable>
11+
<ImplicitUsings>enable</ImplicitUsings>
12+
</PropertyGroup>
13+
14+
<ItemGroup>
15+
<ProjectReference Include="..\..\src\Amazon.Lambda.DurableExecution\Amazon.Lambda.DurableExecution.csproj" />
16+
</ItemGroup>
17+
18+
<ItemGroup>
19+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
20+
<PackageReference Include="xunit" Version="2.4.1" />
21+
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3" />
22+
</ItemGroup>
23+
24+
<ItemGroup>
25+
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
26+
</ItemGroup>
27+
28+
</Project>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using Xunit;
2+
3+
namespace Amazon.Lambda.DurableExecution.Tests;
4+
5+
public class AssemblyLoadTests
6+
{
7+
[Fact]
8+
public void DurableExecutionAssembly_Loads()
9+
{
10+
var assembly = typeof(AssemblyMarker).Assembly;
11+
Assert.Equal("Amazon.Lambda.DurableExecution", assembly.GetName().Name);
12+
}
13+
}

0 commit comments

Comments
 (0)