Skip to content

Commit

Permalink
Update to v1 Functional DDD Library (#17)
Browse files Browse the repository at this point in the history
* Update to FunctionalDDD v1
  • Loading branch information
xavierjohn authored May 18, 2023
1 parent 06d8f62 commit 9549ef0
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 15 deletions.
2 changes: 2 additions & 0 deletions Api/src/2022-12-21/DinnersController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
/// </summary>
[ApiVersion("2022-10-01")]
[Route("[controller]")]
[ProducesResponseType(StatusCodes.Status401Unauthorized)]
[ProducesResponseType(StatusCodes.Status200OK)]
public class DinnersController : ControllerBase
{
/// <summary>
Expand Down
2 changes: 2 additions & 0 deletions Api/src/Netural/Controllers/AuthenticationController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
/// </summary>
[AllowAnonymous]
[ApiVersionNeutral]
[ProducesResponseType(StatusCodes.Status400BadRequest)]
[ProducesResponseType(StatusCodes.Status200OK)]
[Route("[controller]")]
public class AuthenticationController : ControllerBase
{
Expand Down
2 changes: 1 addition & 1 deletion Api/src/appsettings.Development.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},

"JwtSettings": {
"Secret": "super-secret-key",
"Secret": "Ah, it was my mistake, a simple one. I was not providing enough characters for the secret key name.",
"ExpirationMinutes": 60,
"Issuer": "BuberDinner",
"Audience": "BuberDinner"
Expand Down
2 changes: 1 addition & 1 deletion Application/tests/appsettings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{

"JwtSettings": {
"Secret": "super-secret-key",
"Secret": "Ah, it was my mistake, a simple one. I was not providing enough characters for the secret key name.",
"ExpirationMinutes": 60,
"Issuer": "BuberDinner",
"Audience": "BuberDinner"
Expand Down
26 changes: 13 additions & 13 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,35 @@
<!-- Runtime -->
<ItemGroup>
<PackageVersion Include="Asp.Versioning.Mvc.ApiExplorer" Version="7.0.0" />
<PackageVersion Include="Azure.Identity" Version="1.8.2" />
<PackageVersion Include="Azure.Identity" Version="1.9.0" />
<PackageVersion Include="FluentValidation" Version="11.3.0" />
<PackageVersion Include="FunctionalDDD.Asp" Version="0.1.0-alpha.38" />
<PackageVersion Include="FunctionalDDD.CommonValueObjectGenerator" Version="0.1.0-alpha.38" />
<PackageVersion Include="FunctionalDDD.CommonValueObjects" Version="0.1.0-alpha.38" />
<PackageVersion Include="FunctionalDDD.DomainDrivenDesign" Version="0.1.0-alpha.38" />
<PackageVersion Include="FunctionalDDD.FluentValidation" Version="0.1.0-alpha.38" />
<PackageVersion Include="FunctionalDDD.Asp" Version="1.0.1" />
<PackageVersion Include="FunctionalDDD.CommonValueObjectGenerator" Version="1.0.1" />
<PackageVersion Include="FunctionalDDD.CommonValueObjects" Version="1.0.1" />
<PackageVersion Include="FunctionalDDD.DomainDrivenDesign" Version="1.0.1" />
<PackageVersion Include="FunctionalDDD.FluentValidation" Version="1.0.1" />
<PackageVersion Include="FunctionalDDD.RailwayOrientedProgramming" Version="$(FunctionalDDDVersion)" />
<PackageVersion Include="Mapster" Version="7.3.0" />
<PackageVersion Include="Mapster.DependencyInjection" Version="1.0.0" />
<PackageVersion Include="Mediator.Abstractions" Version="2.1.1" />
<PackageVersion Include="Mediator.SourceGenerator" Version="2.1.1" />
<PackageVersion Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="7.0.4" />
<PackageVersion Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="7.0.5" />
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.5" />
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="7.0.4" />
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="7.0.5" />
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="7.0.0" />
<PackageVersion Include="Microsoft.Azure.Cosmos" Version="3.32.3" />
<PackageVersion Include="Microsoft.Azure.Cosmos" Version="3.33.0" />
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
<PackageVersion Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="7.0.0" />
<PackageVersion Include="Nerdbank.GitVersioning" Version="3.5.119" />
<PackageVersion Include="Nerdbank.GitVersioning" Version="3.6.132" />
<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.5.0" />
<PackageVersion Include="System.IdentityModel.Tokens.Jwt" Version="6.28.0" />
<PackageVersion Include="System.IdentityModel.Tokens.Jwt" Version="6.30.1" />
</ItemGroup>
<!-- Test -->
<ItemGroup>
<PackageVersion Include="coverlet.collector" Version="3.2.0" />
<PackageVersion Include="FluentAssertions" Version="6.10.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageVersion Include="FluentAssertions" Version="6.11.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.6.0" />
<PackageVersion Include="xunit" Version="2.4.2" />
<PackageVersion Include="Xunit.DependencyInjection" Version="8.7.1" />
<PackageVersion Include="Xunit.Priority" Version="1.1.6" />
Expand Down

0 comments on commit 9549ef0

Please sign in to comment.