From 12be37a4b92004ba26a4ee6569575accc512d8bd Mon Sep 17 00:00:00 2001 From: Amir Khairalomoum Date: Fri, 8 Mar 2024 09:30:08 +0000 Subject: [PATCH] update nuget versions --- .../AWS.Lambda.Powertools.Idempotency.csproj | 4 +- .../AWS.Lambda.Powertools.Tracing.csproj | 4 +- libraries/src/Directory.Packages.props | 26 +++++----- .../Helpers/Helpers.cs | 51 +++++++++---------- ...AWS.Lambda.Powertools.Logging.Tests.csproj | 4 +- libraries/tests/Directory.Packages.props | 24 ++++----- 6 files changed, 56 insertions(+), 57 deletions(-) diff --git a/libraries/src/AWS.Lambda.Powertools.Idempotency/AWS.Lambda.Powertools.Idempotency.csproj b/libraries/src/AWS.Lambda.Powertools.Idempotency/AWS.Lambda.Powertools.Idempotency.csproj index 51e3a820..d12fe902 100644 --- a/libraries/src/AWS.Lambda.Powertools.Idempotency/AWS.Lambda.Powertools.Idempotency.csproj +++ b/libraries/src/AWS.Lambda.Powertools.Idempotency/AWS.Lambda.Powertools.Idempotency.csproj @@ -13,8 +13,8 @@ - - + + diff --git a/libraries/src/AWS.Lambda.Powertools.Tracing/AWS.Lambda.Powertools.Tracing.csproj b/libraries/src/AWS.Lambda.Powertools.Tracing/AWS.Lambda.Powertools.Tracing.csproj index 9698055a..176cc9d0 100644 --- a/libraries/src/AWS.Lambda.Powertools.Tracing/AWS.Lambda.Powertools.Tracing.csproj +++ b/libraries/src/AWS.Lambda.Powertools.Tracing/AWS.Lambda.Powertools.Tracing.csproj @@ -11,8 +11,8 @@ - - + + diff --git a/libraries/src/Directory.Packages.props b/libraries/src/Directory.Packages.props index cb1ab08f..e73f3288 100644 --- a/libraries/src/Directory.Packages.props +++ b/libraries/src/Directory.Packages.props @@ -5,20 +5,20 @@ - - - - + + + + - - - - - - + + + + + + - - - + + + \ No newline at end of file diff --git a/libraries/tests/AWS.Lambda.Powertools.BatchProcessing.Tests/Helpers/Helpers.cs b/libraries/tests/AWS.Lambda.Powertools.BatchProcessing.Tests/Helpers/Helpers.cs index 2729b507..5b3cc8df 100644 --- a/libraries/tests/AWS.Lambda.Powertools.BatchProcessing.Tests/Helpers/Helpers.cs +++ b/libraries/tests/AWS.Lambda.Powertools.BatchProcessing.Tests/Helpers/Helpers.cs @@ -17,7 +17,6 @@ using System.IO; using System.Linq; using System.Text; -using Amazon.DynamoDBv2.Model; using Amazon.Lambda.DynamoDBEvents; using Amazon.Lambda.KinesisEvents; using Amazon.Lambda.SQSEvents; @@ -101,15 +100,15 @@ internal static class Helpers new DynamoDBEvent.DynamodbStreamRecord { EventID = "1", - Dynamodb = new StreamRecord + Dynamodb = new DynamoDBEvent.StreamRecord { - Keys = new Dictionary + Keys = new Dictionary { - { "Id", new AttributeValue { N = "1" } } + { "Id", new DynamoDBEvent.AttributeValue { N = "1" } } }, - NewImage = new Dictionary + NewImage = new Dictionary { - { "Product", new AttributeValue { S = "{\"Id\":1,\"Name\":\"product-name\",\"Price\":14}" } } + { "Product", new DynamoDBEvent.AttributeValue { S = "{\"Id\":1,\"Name\":\"product-name\",\"Price\":14}" } } }, SequenceNumber = "1" } @@ -117,15 +116,15 @@ internal static class Helpers new DynamoDBEvent.DynamodbStreamRecord { EventID = "1", - Dynamodb = new StreamRecord + Dynamodb = new DynamoDBEvent.StreamRecord { - Keys = new Dictionary + Keys = new Dictionary { - { "Id", new AttributeValue { N = "2" } } + { "Id", new DynamoDBEvent.AttributeValue { N = "2" } } }, - NewImage = new Dictionary + NewImage = new Dictionary { - { "Product", new AttributeValue { S = "failure" } } + { "Product", new DynamoDBEvent.AttributeValue { S = "failure" } } }, SequenceNumber = "2" } @@ -133,15 +132,15 @@ internal static class Helpers new DynamoDBEvent.DynamodbStreamRecord { EventID = "1", - Dynamodb = new StreamRecord + Dynamodb = new DynamoDBEvent.StreamRecord { - Keys = new Dictionary + Keys = new Dictionary { - { "Id", new AttributeValue { N = "3" } } + { "Id", new DynamoDBEvent.AttributeValue { N = "3" } } }, - NewImage = new Dictionary + NewImage = new Dictionary { - { "Product", new AttributeValue { S = "{\"Id\":3,\"Name\":\"product-name\",\"Price\":14}" } } + { "Product", new DynamoDBEvent.AttributeValue { S = "{\"Id\":3,\"Name\":\"product-name\",\"Price\":14}" } } }, SequenceNumber = "3" } @@ -149,15 +148,15 @@ internal static class Helpers new DynamoDBEvent.DynamodbStreamRecord { EventID = "1", - Dynamodb = new StreamRecord + Dynamodb = new DynamoDBEvent.StreamRecord { - Keys = new Dictionary + Keys = new Dictionary { - { "Id", new AttributeValue { N = "4" } } + { "Id", new DynamoDBEvent.AttributeValue { N = "4" } } }, - NewImage = new Dictionary + NewImage = new Dictionary { - { "Product", new AttributeValue { S = "{\"Id\":4,\"Name\":\"product-name\",\"Price\":14}" } } + { "Product", new DynamoDBEvent.AttributeValue { S = "{\"Id\":4,\"Name\":\"product-name\",\"Price\":14}" } } }, SequenceNumber = "4" } @@ -165,15 +164,15 @@ internal static class Helpers new DynamoDBEvent.DynamodbStreamRecord { EventID = "1", - Dynamodb = new StreamRecord + Dynamodb = new DynamoDBEvent.StreamRecord { - Keys = new Dictionary + Keys = new Dictionary { - { "Id", new AttributeValue { N = "5" } } + { "Id", new DynamoDBEvent.AttributeValue { N = "5" } } }, - NewImage = new Dictionary + NewImage = new Dictionary { - { "Product", new AttributeValue { S = "{\"Id\":5,\"Name\":\"product-name\",\"Price\":14}" } } + { "Product", new DynamoDBEvent.AttributeValue { S = "{\"Id\":5,\"Name\":\"product-name\",\"Price\":14}" } } }, SequenceNumber = "5" } diff --git a/libraries/tests/AWS.Lambda.Powertools.Logging.Tests/AWS.Lambda.Powertools.Logging.Tests.csproj b/libraries/tests/AWS.Lambda.Powertools.Logging.Tests/AWS.Lambda.Powertools.Logging.Tests.csproj index 9d49d514..f98e40b6 100644 --- a/libraries/tests/AWS.Lambda.Powertools.Logging.Tests/AWS.Lambda.Powertools.Logging.Tests.csproj +++ b/libraries/tests/AWS.Lambda.Powertools.Logging.Tests/AWS.Lambda.Powertools.Logging.Tests.csproj @@ -13,14 +13,14 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/libraries/tests/Directory.Packages.props b/libraries/tests/Directory.Packages.props index f5515ff4..53241e7b 100644 --- a/libraries/tests/Directory.Packages.props +++ b/libraries/tests/Directory.Packages.props @@ -3,20 +3,20 @@ true - - + + - - - + + + - - + + - - - - - + + + + + \ No newline at end of file