Skip to content

Commit 43277be

Browse files
Merge pull request #11 from localstack-dotnet/v1.2.2
V1.2.2
2 parents 6d93336 + a9b77b5 commit 43277be

File tree

18 files changed

+340
-189
lines changed

18 files changed

+340
-189
lines changed

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
<Owners>LocalStack.NET</Owners>
66
<PackageProjectUrl>https://github.com/localstack-dotnet/localstack-dotnet-client</PackageProjectUrl>
77
<PackageIcon>localstack-dotnet-square.png</PackageIcon>
8-
<Version>1.2.0</Version>
8+
<Version>1.2</Version>
99
</PropertyGroup>
1010
</Project>

src/LocalStack.Client/Enums/AwsServiceEndpointMetadata.cs

Lines changed: 95 additions & 89 deletions
Large diffs are not rendered by default.

src/LocalStack.Client/Enums/AwsServiceEnum.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ public enum AwsServiceEnum
5757
SageMakerRuntime,
5858
Ecr,
5959
Qldb,
60+
QldbSession,
6061
CloudTrail,
6162
Glacier,
6263
Batch,
@@ -85,6 +86,11 @@ public enum AwsServiceEnum
8586
CostExplorer,
8687
MediaConvert,
8788
ResourceGroupsTaggingApi,
88-
ResourceGroups
89+
ResourceGroups,
90+
Efs,
91+
Backup,
92+
LakeFormation,
93+
Waf,
94+
WafV2
8995
}
9096
}

src/LocalStack.Client/LocalStack.Client.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</ItemGroup>
3737

3838
<ItemGroup>
39-
<PackageReference Include="AWSSDK.Core" Version="3.7.0" />
39+
<PackageReference Include="AWSSDK.Core" Version="3.7.1" />
4040
</ItemGroup>
4141

4242
</Project>

src/LocalStack.sln

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ EndProject
2020
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{06034ACF-97AD-4266-8E46-42B1804C89B6}"
2121
ProjectSection(SolutionItems) = preProject
2222
Directory.Build.props = Directory.Build.props
23+
..\build\azure-pipelines.artifact.yml = ..\build\azure-pipelines.artifact.yml
24+
..\build\azure-pipelines.extensions.artifact.yml = ..\build\azure-pipelines.extensions.artifact.yml
25+
..\build\azure-pipelines.macos.yml = ..\build\azure-pipelines.macos.yml
26+
..\build\azure-pipelines.ubuntu.yml = ..\build\azure-pipelines.ubuntu.yml
27+
..\build\azure-pipelines.windows.yml = ..\build\azure-pipelines.windows.yml
28+
..\build.cake = ..\build.cake
2329
EndProjectSection
2430
EndProject
2531
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LocalStack.Client.Extensions", "LocalStack.Client.Extensions\LocalStack.Client.Extensions.csproj", "{74035094-A726-44E2-9B88-42D6425D8548}"

src/global.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"sdk": {
3+
"version": "5.0",
4+
"rollForward": "latestMajor",
5+
"allowPrerelease": false
6+
}
7+
}

tests/LocalStack.Client.Extensions.Tests/LocalStack.Client.Extensions.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<ItemGroup>
1010
<PackageReference Include="Microsoft.Extensions.Configuration" Version="5.0.0" />
1111
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="5.0.1" />
12-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
12+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
1313
<PackageReference Include="Moq" Version="4.16.1" />
1414
<PackageReference Include="System.Text.Json" Version="5.0.2" />
1515
<PackageReference Include="xunit" Version="2.4.1" />
@@ -23,7 +23,7 @@
2323
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
2424
</PackageReference>
2525

26-
<PackageReference Include="AWSSDK.Core" Version="3.7.0" />
26+
<PackageReference Include="AWSSDK.Core" Version="3.7.1" />
2727
</ItemGroup>
2828

2929
<ItemGroup>

tests/LocalStack.Client.Functional.Tests/Fixtures/LocalStackFixture.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ public class LocalStackFixture : IAsyncLifetime
1414
public LocalStackFixture()
1515
{
1616
ITestcontainersBuilder<TestcontainersContainer> localStackBuilder = new TestcontainersBuilder<TestcontainersContainer>()
17-
.WithName("LocalStack-0.12.10")
18-
.WithImage("localstack/localstack:0.12.10")
17+
.WithName("LocalStack-0.12.16")
18+
.WithImage("localstack/localstack:0.12.16")
1919
.WithCleanUp(true)
2020
.WithEnvironment("DEFAULT_REGION", "eu-central-1")
2121
.WithEnvironment("SERVICES", "s3,dynamodb,sqs")

tests/LocalStack.Client.Functional.Tests/LocalStack.Client.Functional.Tests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717

1818
<ItemGroup>
19-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
19+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
2020
<PackageReference Include="Moq" Version="4.16.1" />
2121
<PackageReference Include="System.Text.Json" Version="5.0.2" />
2222
<PackageReference Include="xunit" Version="2.4.1" />
@@ -36,9 +36,9 @@
3636
<PackageReference Include="AutoFixture" Version="4.17.0" />
3737
<PackageReference Include="DotNet.Testcontainers" Version="1.4.0" />
3838

39-
<PackageReference Include="AWSSDK.S3" Version="3.7.0.27" />
40-
<PackageReference Include="AWSSDK.DynamoDBv2" Version="3.7.0.26" />
41-
<PackageReference Include="AWSSDK.SQS" Version="3.7.0.26" />
39+
<PackageReference Include="AWSSDK.S3" Version="3.7.1.25" />
40+
<PackageReference Include="AWSSDK.DynamoDBv2" Version="3.7.0.54" />
41+
<PackageReference Include="AWSSDK.SQS" Version="3.7.0.54" />
4242
</ItemGroup>
4343

4444
<ItemGroup>

tests/LocalStack.Client.Integration.Tests/CreateClientByImplementationTests.cs

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
using Amazon.Athena;
88
using Amazon.AutoScaling;
99
using Amazon.AWSSupport;
10+
using Amazon.Backup;
1011
using Amazon.Batch;
1112
using Amazon.CertificateManager;
1213
using Amazon.CloudFormation;
@@ -28,6 +29,7 @@
2829
using Amazon.EKS;
2930
using Amazon.ElastiCache;
3031
using Amazon.ElasticBeanstalk;
32+
using Amazon.ElasticFileSystem;
3133
using Amazon.ElasticLoadBalancing;
3234
using Amazon.ElasticLoadBalancingV2;
3335
using Amazon.ElasticMapReduce;
@@ -45,13 +47,15 @@
4547
using Amazon.KeyManagementService;
4648
using Amazon.KinesisAnalytics;
4749
using Amazon.KinesisFirehose;
50+
using Amazon.LakeFormation;
4851
using Amazon.Lambda;
4952
using Amazon.MediaConvert;
5053
using Amazon.MediaStore;
5154
using Amazon.MediaStoreData;
5255
using Amazon.Neptune;
5356
using Amazon.Organizations;
5457
using Amazon.QLDB;
58+
using Amazon.QLDBSession;
5559
using Amazon.RDS;
5660
using Amazon.RDSDataService;
5761
using Amazon.Redshift;
@@ -76,6 +80,8 @@
7680
using Amazon.TimestreamQuery;
7781
using Amazon.TimestreamWrite;
7882
using Amazon.Transfer;
83+
using Amazon.WAF;
84+
using Amazon.WAFV2;
7985
using Amazon.XRay;
8086

8187
using LocalStack.Client.Contracts;
@@ -551,6 +557,15 @@ public void Should_Able_To_Create_AmazonQLDBClient()
551557
Assert.NotNull(amazonQldbClient);
552558
AssertAmazonClient.AssertClientConfiguration(amazonQldbClient);
553559
}
560+
561+
// [Fact]
562+
// public void Should_Able_To_Create_AmazonQLDBSessionClient()
563+
// {
564+
// var amazonQldbSessionClient = Session.CreateClientByImplementation<AmazonQLDBSessionClient>();
565+
//
566+
// Assert.NotNull(amazonQldbSessionClient);
567+
// AssertAmazonClient.AssertClientConfiguration(amazonQldbSessionClient);
568+
// }
554569

555570
[Fact]
556571
public void Should_Able_To_Create_AmazonCloudTrailClient()
@@ -803,5 +818,50 @@ public void Should_Able_To_Create_AmazonResourceGroupsClient()
803818
Assert.NotNull(amazonResourceGroupsClient);
804819
AssertAmazonClient.AssertClientConfiguration(amazonResourceGroupsClient);
805820
}
821+
822+
[Fact]
823+
public void Should_Able_To_Create_AmazonElasticFileSystemClient()
824+
{
825+
var amazonElasticFileSystemClient = Session.CreateClientByImplementation<AmazonElasticFileSystemClient>();
826+
827+
Assert.NotNull(amazonElasticFileSystemClient);
828+
AssertAmazonClient.AssertClientConfiguration(amazonElasticFileSystemClient);
829+
}
830+
831+
[Fact]
832+
public void Should_Able_To_Create_AmazonBackupClient()
833+
{
834+
var amazonBackupClient = Session.CreateClientByImplementation<AmazonBackupClient>();
835+
836+
Assert.NotNull(amazonBackupClient);
837+
AssertAmazonClient.AssertClientConfiguration(amazonBackupClient);
838+
}
839+
840+
[Fact]
841+
public void Should_Able_To_Create_AmazonLakeFormationClient()
842+
{
843+
var amazonLakeFormationClient = Session.CreateClientByImplementation<AmazonLakeFormationClient>();
844+
845+
Assert.NotNull(amazonLakeFormationClient);
846+
AssertAmazonClient.AssertClientConfiguration(amazonLakeFormationClient);
847+
}
848+
849+
[Fact]
850+
public void Should_Able_To_Create_AmazonWAFClient()
851+
{
852+
var amazonWafClient = Session.CreateClientByImplementation<AmazonWAFClient>();
853+
854+
Assert.NotNull(amazonWafClient);
855+
AssertAmazonClient.AssertClientConfiguration(amazonWafClient);
856+
}
857+
858+
[Fact]
859+
public void Should_Able_To_Create_AmazonWAFV2Client()
860+
{
861+
var amazonWafV2Client = Session.CreateClientByImplementation<AmazonWAFV2Client>();
862+
863+
Assert.NotNull(amazonWafV2Client);
864+
AssertAmazonClient.AssertClientConfiguration(amazonWafV2Client);
865+
}
806866
}
807867
}

0 commit comments

Comments
 (0)