Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikus1993 committed May 7, 2024
1 parent 4f5a913 commit 427e915
Show file tree
Hide file tree
Showing 9 changed files with 157 additions and 149 deletions.
14 changes: 7 additions & 7 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
<PackageVersion Include="EasyNetQ.Logging.Microsoft" Version="7.8.0" />
<PackageVersion Include="EasyNetQ.Serialization.SystemTextJson" Version="7.8.0" />
<PackageVersion Include="EFCore.NamingConventions" Version="8.0.3" />
<PackageVersion Include="FastEndpoints" Version="5.24.0" />
<PackageVersion Include="FastEndpoints.Security" Version="5.24.0" />
<PackageVersion Include="FastEndpoints.Swagger" Version="5.24.0" />
<PackageVersion Include="FastEndpoints" Version="5.25.0" />
<PackageVersion Include="FastEndpoints.Security" Version="5.25.0" />
<PackageVersion Include="FastEndpoints.Swagger" Version="5.25.0" />
<PackageVersion Include="FlexLabs.EntityFrameworkCore.Upsert" Version="8.0.0" />
<PackageVersion Include="FluentAssertions" Version="6.12.0" />
<PackageVersion Include="FluentValidation.AspNetCore" Version="11.3.0" />
<PackageVersion Include="Marten" Version="7.9.0" />
<PackageVersion Include="Marten" Version="7.10.1" />
<PackageVersion Include="Mediator.Abstractions" Version="2.1.7" />
<PackageVersion Include="Mediator.SourceGenerator" Version="2.1.7">
<PrivateAssets>all</PrivateAssets>
Expand Down Expand Up @@ -70,12 +70,12 @@
<PackageVersion Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.17.2" />
<PackageVersion Include="Shouldly" Version="4.2.1" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageVersion Include="xunit" Version="2.7.1" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.1">
<PackageVersion Include="xunit" Version="2.8.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageVersion>
<PackageVersion Include="coverlet.collector" Version="6.0.0">
<PackageVersion Include="coverlet.collector" Version="6.0.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageVersion>
Expand Down
34 changes: 17 additions & 17 deletions src/Apps/Basket.Api/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,32 @@
"net8.0": {
"FastEndpoints": {
"type": "Direct",
"requested": "[5.24.0, )",
"resolved": "5.24.0",
"contentHash": "pxhIXkLaA7dc6RDHQ/4eaGMULtDtYAv/lujkvgH05atrgaq4l0kjpFvZoP7abPTa9lT4hdZu5SjvO4U7sdG1MQ==",
"requested": "[5.25.0, )",
"resolved": "5.25.0",
"contentHash": "LG1DwKEIDw8NInBKIFjojHpYDQT6txQA7iyG14puPigFhSkam/hQ3WHtskr8vpX1j6MbLHRSuTedSeJO6N+uSg==",
"dependencies": {
"FastEndpoints.Attributes": "5.24.0",
"FastEndpoints.Messaging.Core": "5.24.0",
"FastEndpoints.Attributes": "5.25.0",
"FastEndpoints.Messaging.Core": "5.25.0",
"FluentValidation": "11.9.0"
}
},
"FastEndpoints.Security": {
"type": "Direct",
"requested": "[5.24.0, )",
"resolved": "5.24.0",
"contentHash": "UW8l+yOHr1fstBqXfAvK86GiVTrS8LMH3DSZ52u2qgpTBRkGJ/mFSVrIP/Zd3FAe4qUhmIUbqCefHKT9BeqZMA==",
"requested": "[5.25.0, )",
"resolved": "5.25.0",
"contentHash": "TMeLYT/5ttvf/fTYZ9lmFtSeYaXdMip1T3yKOQjHOurZSgHDyA9qh8d+jOAry6dt2CQ5FQW/20FHlQfRzZxvTA==",
"dependencies": {
"FastEndpoints": "5.24.0",
"FastEndpoints": "5.25.0",
"Microsoft.AspNetCore.Authentication.JwtBearer": "8.0.3"
}
},
"FastEndpoints.Swagger": {
"type": "Direct",
"requested": "[5.24.0, )",
"resolved": "5.24.0",
"contentHash": "xHtv5gsslJK+yx7yMel21ppk11TkxIWQvX7+44tvcF/O8W9O4ETDyNA11y47bjwMG+wiDD1ny42bJ8/a0B1oIw==",
"requested": "[5.25.0, )",
"resolved": "5.25.0",
"contentHash": "xJVWDw2fu8QwIZaJkB8WZDvLTw4iRwZid3pEiiSbX7+xRfH7aXnoJUEkFCMqqnsW2WMA+IYNHTChslZhbAPLNg==",
"dependencies": {
"FastEndpoints": "5.24.0",
"FastEndpoints": "5.25.0",
"NSwag.AspNetCore": "14.0.7"
}
},
Expand Down Expand Up @@ -64,13 +64,13 @@
},
"FastEndpoints.Attributes": {
"type": "Transitive",
"resolved": "5.24.0",
"contentHash": "jNg9h90NfUwU+jYQOyNoAXlNEwYri0GYli1S5ws4NXpw8ccGzY0xoeCAzcw49qk5IGetcUcsJaMrpAgvOM1VxA=="
"resolved": "5.25.0",
"contentHash": "ipwlE9tRuVNqVOE5HCB6Ph4W3AkCzjIl0ElFsOZPkuUCEAgLhTXugT5dVmBl/4BGdp5Ki5/UUbU1jEk7t+P8Fw=="
},
"FastEndpoints.Messaging.Core": {
"type": "Transitive",
"resolved": "5.24.0",
"contentHash": "zidNegKx+5WNmNva5qyyG5XTCutucBxOqlYltFVIvC0PaN1jgpu435T6QkiBdAoz0ny+19hVwFt1tRM5yvChYQ=="
"resolved": "5.25.0",
"contentHash": "379eP/nf/vuFoakft5lY6cKjMvzIH7hCjCTRQpvqGnaSZuYn7csdcLpMWiQfDHYjah58rI5vtx7MkuwXLugvkQ=="
},
"FluentValidation": {
"type": "Transitive",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ private static MessageProperties GetMessageProps(T message, RabbitMqPublisherCon
props.Expiration = config.TTL.Value;
}


return props;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public async Task<Result<UpdateBasketSuccess>> Update(CustomerBasket basket, Can

var json = _redisObjectDeserializer.Serialize(redisBasket);

await _database.StringSetAsync(basket.CustomerId.ToRedisKey(), json);
await _database.StringSetAsync(basket.CustomerId.ToRedisKey(), json, TimeSpan.FromDays(30), When.Always);

return Result.Ok(UpdateBasketSuccess.Instance);
}
Expand Down
15 changes: 12 additions & 3 deletions src/Modules/Warehouse/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"net8.0": {
"Marten": {
"type": "Direct",
"requested": "[7.9.0, )",
"resolved": "7.9.0",
"contentHash": "AGEZGg602wLNlywzI5O+ivQlw7LpogeLgHsxO0Pf7JV1+yP2xe8i2hd6zTXQKpkGm1IZX0qGu+Bn4mzfL2vQ5A==",
"requested": "[7.10.1, )",
"resolved": "7.10.1",
"contentHash": "Fup9hUwKlzTtM4KmBp19FZmcrmFPQy8B2YaXtm8k6/jUYTDm8gfr2j+xyuPZCvDEiE7Iyd8GZnTBR6P9XE9CbQ==",
"dependencies": {
"JasperFx.CodeGeneration": "3.5.0",
"JasperFx.Core": "1.5.1",
Expand All @@ -16,6 +16,7 @@
"Microsoft.Extensions.Logging.Abstractions": "8.0.0",
"Newtonsoft.Json": "13.0.3",
"Npgsql.Json.NET": "8.0.0",
"OpenTelemetry.API": "1.8.0",
"Polly.Core": "8.3.1",
"System.Text.Json": "8.0.0",
"System.Threading.Tasks.Dataflow": "8.0.0",
Expand Down Expand Up @@ -262,6 +263,14 @@
"Npgsql": "8.0.0"
}
},
"OpenTelemetry.Api": {
"type": "Transitive",
"resolved": "1.8.0",
"contentHash": "+daN4OqIXne3QLlFHEzb6ybAETgKs7Hg5jINYT5P8p8A/cEtuP6CRDYdDpOe6AlW8oAaV/nJJ5tLyPUVKKQu0w==",
"dependencies": {
"System.Diagnostics.DiagnosticSource": "8.0.0"
}
},
"Polly.Core": {
"type": "Transitive",
"resolved": "8.3.1",
Expand Down
50 changes: 25 additions & 25 deletions tests/BuildingBlocks/Common.Tests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
},
"coverlet.collector": {
"type": "Direct",
"requested": "[6.0.0, )",
"resolved": "6.0.0",
"contentHash": "tW3lsNS+dAEII6YGUX/VMoJjBS1QvsxqJeqLaJXub08y1FSjasFPtQ4UBUsudE9PNrzLjooClMsPtY2cZLdXpQ=="
"requested": "[6.0.2, )",
"resolved": "6.0.2",
"contentHash": "bJShQ6uWRTQ100ZeyiMqcFlhP7WJ+bCuabUs885dJiBEzMsJMSFr7BOyeCw4rgvQokteGi5rKQTlkhfQPUXg2A=="
},
"Microsoft.NET.Test.Sdk": {
"type": "Direct",
Expand Down Expand Up @@ -60,20 +60,20 @@
},
"xunit": {
"type": "Direct",
"requested": "[2.7.1, )",
"resolved": "2.7.1",
"contentHash": "9o050yCLzPvHxbrAkaHnI1j+YfPvRw+/ncvKbTfzIhO4JvQA0rPgoICJxXHMkscfgXmLFwZ8107ehnMUVzE23A==",
"requested": "[2.8.0, )",
"resolved": "2.8.0",
"contentHash": "US3a3twJziAif1kFPGdk9fALwILHxV0n1roX5j67bN/d3o4DGNLHnV3tr5ZX+uinVrzfkf0avH3zGX8JPBC0qA==",
"dependencies": {
"xunit.analyzers": "1.12.0",
"xunit.assert": "2.7.1",
"xunit.core": "[2.7.1]"
"xunit.analyzers": "1.13.0",
"xunit.assert": "2.8.0",
"xunit.core": "[2.8.0]"
}
},
"xunit.runner.visualstudio": {
"type": "Direct",
"requested": "[2.5.1, )",
"resolved": "2.5.1",
"contentHash": "W5dQj2tysIY6MHaidZyqyiR7MGFEk+FrvHRapFyhe11HuR4A6aFGSVi8txi+kkXdY9FDjXffU/1PkNzRX52Caw=="
"requested": "[2.8.0, )",
"resolved": "2.8.0",
"contentHash": "mqQbS2zr8dfgSWxkNOC6UTzO8JoqpTmM5+FFn2XR/2nVmx2JvEY0YbM5pt2FmXVg9YVe+jKUPHd6KrroyCl67w=="
},
"Argon": {
"type": "Transitive",
Expand Down Expand Up @@ -1108,37 +1108,37 @@
},
"xunit.analyzers": {
"type": "Transitive",
"resolved": "1.12.0",
"contentHash": "w23LH3aXade2WXKvXi0oA/uV15fpgUMjsPq1x91iQckzgWApgAiijNHmfFQtqNPm41wfrdbRl7nSJRd0yux/dw=="
"resolved": "1.13.0",
"contentHash": "Pai9YnDV71/Ox14nBHB6/f62iyPyLbmUG/YYMiA4dfdFZvr0gIYE9yGxSr0i5Tr3INK75wgL2MCUNEKpeiZ2Fw=="
},
"xunit.assert": {
"type": "Transitive",
"resolved": "2.7.1",
"contentHash": "JqvXS4yX+PtJn5BuqoKkYav7I0g4nXcxRbGTomDwVQjFccOdyfYKpuPOHX/DqrPCcL+MIHrGVdP3bveUXlvdnA=="
"resolved": "2.8.0",
"contentHash": "lwf7Dy5/5HbDkaPx1YrGXCByytCEEcIn+KPI74jh2BD/RU/7RhO8c+S3k0Ph+Mr7+cLf338fl+o6UcgPCLa6PA=="
},
"xunit.core": {
"type": "Transitive",
"resolved": "2.7.1",
"contentHash": "hcODgS+RXdjmXq0zQzmRbERQgY+bAGGx1bdH3370t/8CTGmIEU2qAc1dQAjIRpARsacR0cj6LLJDUF5BNQNKTQ==",
"resolved": "2.8.0",
"contentHash": "McSTFGTETCxLpmJKE9TWi9FtFthrRbpRrjz2V2g8sK2wRt1+JHs15vwi+B+nfftFkV9aFWIXZfzZM95TIGZNIA==",
"dependencies": {
"xunit.extensibility.core": "[2.7.1]",
"xunit.extensibility.execution": "[2.7.1]"
"xunit.extensibility.core": "[2.8.0]",
"xunit.extensibility.execution": "[2.8.0]"
}
},
"xunit.extensibility.core": {
"type": "Transitive",
"resolved": "2.7.1",
"contentHash": "yLX4XlBFkvNYCzf+DEzlNk45KsSlu9W93IJHBmtUP96qZ9XyRYDFlwMj6BCcOhDKVNrZxSM8bqu4F/Qud4ehxA==",
"resolved": "2.8.0",
"contentHash": "eBJv9xQeY0p5z+C/L1tFjUFYqtl5pQqIEYCGTMl+MbRzA7sOlgYKwJE//vEePBp+mgBh7NjD0Qhz0liZBYM27w==",
"dependencies": {
"xunit.abstractions": "2.0.3"
}
},
"xunit.extensibility.execution": {
"type": "Transitive",
"resolved": "2.7.1",
"contentHash": "ei3dKF8agj4UKkJ6KkaZ5/Gcif3if6hBsyzegIQJonZDSKZFvb0AyKtyOhDfggBaXVL5iXZExITdRkfjC95yhw==",
"resolved": "2.8.0",
"contentHash": "TyyrZesHB9ODZMS9c73OqiBz4x0vL944JCkSPBWW5w6PF2LlUfdfXRjjOhoIOuY6lTmEgl07rS4/Jot9mCYnpg==",
"dependencies": {
"xunit.extensibility.core": "[2.7.1]"
"xunit.extensibility.core": "[2.8.0]"
}
},
"common": {
Expand Down
50 changes: 25 additions & 25 deletions tests/BuildingBlocks/Messaging.Tests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
},
"coverlet.collector": {
"type": "Direct",
"requested": "[6.0.0, )",
"resolved": "6.0.0",
"contentHash": "tW3lsNS+dAEII6YGUX/VMoJjBS1QvsxqJeqLaJXub08y1FSjasFPtQ4UBUsudE9PNrzLjooClMsPtY2cZLdXpQ=="
"requested": "[6.0.2, )",
"resolved": "6.0.2",
"contentHash": "bJShQ6uWRTQ100ZeyiMqcFlhP7WJ+bCuabUs885dJiBEzMsJMSFr7BOyeCw4rgvQokteGi5rKQTlkhfQPUXg2A=="
},
"Microsoft.NET.Test.Sdk": {
"type": "Direct",
Expand Down Expand Up @@ -91,20 +91,20 @@
},
"xunit": {
"type": "Direct",
"requested": "[2.7.1, )",
"resolved": "2.7.1",
"contentHash": "9o050yCLzPvHxbrAkaHnI1j+YfPvRw+/ncvKbTfzIhO4JvQA0rPgoICJxXHMkscfgXmLFwZ8107ehnMUVzE23A==",
"requested": "[2.8.0, )",
"resolved": "2.8.0",
"contentHash": "US3a3twJziAif1kFPGdk9fALwILHxV0n1roX5j67bN/d3o4DGNLHnV3tr5ZX+uinVrzfkf0avH3zGX8JPBC0qA==",
"dependencies": {
"xunit.analyzers": "1.12.0",
"xunit.assert": "2.7.1",
"xunit.core": "[2.7.1]"
"xunit.analyzers": "1.13.0",
"xunit.assert": "2.8.0",
"xunit.core": "[2.8.0]"
}
},
"xunit.runner.visualstudio": {
"type": "Direct",
"requested": "[2.5.1, )",
"resolved": "2.5.1",
"contentHash": "W5dQj2tysIY6MHaidZyqyiR7MGFEk+FrvHRapFyhe11HuR4A6aFGSVi8txi+kkXdY9FDjXffU/1PkNzRX52Caw=="
"requested": "[2.8.0, )",
"resolved": "2.8.0",
"contentHash": "mqQbS2zr8dfgSWxkNOC6UTzO8JoqpTmM5+FFn2XR/2nVmx2JvEY0YbM5pt2FmXVg9YVe+jKUPHd6KrroyCl67w=="
},
"Argon": {
"type": "Transitive",
Expand Down Expand Up @@ -1493,37 +1493,37 @@
},
"xunit.analyzers": {
"type": "Transitive",
"resolved": "1.12.0",
"contentHash": "w23LH3aXade2WXKvXi0oA/uV15fpgUMjsPq1x91iQckzgWApgAiijNHmfFQtqNPm41wfrdbRl7nSJRd0yux/dw=="
"resolved": "1.13.0",
"contentHash": "Pai9YnDV71/Ox14nBHB6/f62iyPyLbmUG/YYMiA4dfdFZvr0gIYE9yGxSr0i5Tr3INK75wgL2MCUNEKpeiZ2Fw=="
},
"xunit.assert": {
"type": "Transitive",
"resolved": "2.7.1",
"contentHash": "JqvXS4yX+PtJn5BuqoKkYav7I0g4nXcxRbGTomDwVQjFccOdyfYKpuPOHX/DqrPCcL+MIHrGVdP3bveUXlvdnA=="
"resolved": "2.8.0",
"contentHash": "lwf7Dy5/5HbDkaPx1YrGXCByytCEEcIn+KPI74jh2BD/RU/7RhO8c+S3k0Ph+Mr7+cLf338fl+o6UcgPCLa6PA=="
},
"xunit.core": {
"type": "Transitive",
"resolved": "2.7.1",
"contentHash": "hcODgS+RXdjmXq0zQzmRbERQgY+bAGGx1bdH3370t/8CTGmIEU2qAc1dQAjIRpARsacR0cj6LLJDUF5BNQNKTQ==",
"resolved": "2.8.0",
"contentHash": "McSTFGTETCxLpmJKE9TWi9FtFthrRbpRrjz2V2g8sK2wRt1+JHs15vwi+B+nfftFkV9aFWIXZfzZM95TIGZNIA==",
"dependencies": {
"xunit.extensibility.core": "[2.7.1]",
"xunit.extensibility.execution": "[2.7.1]"
"xunit.extensibility.core": "[2.8.0]",
"xunit.extensibility.execution": "[2.8.0]"
}
},
"xunit.extensibility.core": {
"type": "Transitive",
"resolved": "2.7.1",
"contentHash": "yLX4XlBFkvNYCzf+DEzlNk45KsSlu9W93IJHBmtUP96qZ9XyRYDFlwMj6BCcOhDKVNrZxSM8bqu4F/Qud4ehxA==",
"resolved": "2.8.0",
"contentHash": "eBJv9xQeY0p5z+C/L1tFjUFYqtl5pQqIEYCGTMl+MbRzA7sOlgYKwJE//vEePBp+mgBh7NjD0Qhz0liZBYM27w==",
"dependencies": {
"xunit.abstractions": "2.0.3"
}
},
"xunit.extensibility.execution": {
"type": "Transitive",
"resolved": "2.7.1",
"contentHash": "ei3dKF8agj4UKkJ6KkaZ5/Gcif3if6hBsyzegIQJonZDSKZFvb0AyKtyOhDfggBaXVL5iXZExITdRkfjC95yhw==",
"resolved": "2.8.0",
"contentHash": "TyyrZesHB9ODZMS9c73OqiBz4x0vL944JCkSPBWW5w6PF2LlUfdfXRjjOhoIOuY6lTmEgl07rS4/Jot9mCYnpg==",
"dependencies": {
"xunit.extensibility.core": "[2.7.1]"
"xunit.extensibility.core": "[2.8.0]"
}
},
"common": {
Expand Down
Loading

0 comments on commit 427e915

Please sign in to comment.