Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
meysamhadeli committed Sep 17, 2023
2 parents 638de44 + 08eba28 commit 69eccbe
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 397 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -435,5 +435,5 @@ fabric.properties

*.jwk

**/keys
/src/ApiGateway/back.txt
# Monitoring
*.db
Binary file not shown.
2 changes: 2 additions & 0 deletions src/BuildingBlocks/Exception/ProblemDetailsWithCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

namespace BuildingBlocks.Exception;

using ProblemDetails = Microsoft.AspNetCore.Mvc.ProblemDetails;

public class ProblemDetailsWithCode : ProblemDetails
{
[JsonPropertyName("code")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
using BuildingBlocks.Exception;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;

namespace Flight.Extensions.Infrastructure;
namespace BuildingBlocks.ProblemDetails;

using Exception;
using Grpc.Core;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Diagnostics;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.WebUtilities;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;

public static class ProblemDetailsExtensions
public static class Extensions
{
public static WebApplication UseCustomProblemDetails(this WebApplication app)
{
Expand Down Expand Up @@ -127,3 +125,4 @@ await problemDetailsService.WriteAsync(new ProblemDetailsContext
return app;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

namespace Booking.Extensions.Infrastructure;

using BuildingBlocks.ProblemDetails;

public static class InfrastructureExtensions
{
public static WebApplicationBuilder AddInfrastructure(this WebApplicationBuilder builder)
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@

namespace Flight.Extensions.Infrastructure;

using BuildingBlocks.ProblemDetails;

public static class InfrastructureExtensions
{
public static WebApplicationBuilder AddInfrastructure(this WebApplicationBuilder builder)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Version":1,"Id":"0AC3347A09AA5E44E947F3E30ED54871","Created":"2023-02-22T21:06:15.7901014Z","Algorithm":"RS256","IsX509Certificate":false,"Data":"CfDJ8Pno3caweVxDrMdMtoqjLU9W7bGGdPAEm8VDpWIg5fNfBATZdniIo9r5lhBSMZ3OFJya6SlNGIFe9JkbzJBa5fwNa-omLt15Kjlu3QNX4bAWI3V87P70NAfKDKe4xBVF12B3ooXFXKJ2U5QzFBY8U_1tBXkeUTQKfioQ1lTPxIbQtmSyD-uSc5anbDjtqIWhDq1OlujSJpVHRJV9EzRCms4yZdUc506aWg_KrkpVITZyywj1X1cz-SaUGUqy01wJSXgEj70OdVo2DoPIEYTDAlymi40-R2jQsnseFEG3W7XQlYX29joTygtkumnVED2WF9y9Boy80Kj5XN5XZvL1opV-qtxA8aekkp3XuwMJtBmnMeslHK8TyvBl5JjdZwULdYJFo-rGSDEuI4bswDzMWUgv6oAxgqE6e7SQiFlHuLgWHkmEis4-r-EphCl7B_lNOMQViifon6L8t0lUGdPFhFfN5Fo7cj_lZPx5uqymwVUwIEPrEisZtkwsPYZeKuVdSaRnl5xDlU6AgbQvcNeTtg9_kyB6Z43rEPTvtwMkoBjVe5iTQ5ZtubByEGKVIugxNMfHzPc1E9FNTT3uW928Uq6RQiNah17cNBQsVmYAq_iRggDJwAeFnUgqnh0hFuve2_9T4Nt6XFSV-0OQ7aM8C8VPpEzROYhs_MMrzYuJAnV7VuvgUm4Zk9A2OFx9nGQXjL8WZ1-CcNV-TGESRUc9tfFizHPnd417h_qBYb8rJ-znet07KYs0Hwo_S8nbc4fAeG7OEj8cgn0nwgnDMa0_ROzvfFhmeWkkY5LdwtF0pgbO-_xdQwrx3mD2u6Nq5kABizd8ixH1urwvlfY5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ncZHDiyKqh57zQOTs--q9Nx8ytyhg7hBYIcqJFP8Gb0xQPjSkN1oO5ScAPIyPNY54VdIR7sk-99995Y-U6pnLQ_1JdIJZRYYnaYa4c5cqQaRE1n_G-L4_g20aBCX65SKkck5bwsAMJL371t4CqCBfPjzFugoNxR37DWicLUd9sJGBUMjj_lhWsk709om6shSJAy4loiz1qViwPi1K5XcFI7oyH735wg8X05Qxe1tby83X9FSd1FlTpVPRe1btEHddVubt9oeaZ0kOiN5BagaEF4wjIiQttnnzBfjKqcpuyd0zMhDTL_CqlmrTE09HH01VSnZ6lVllzCXGYI2hZKJFeOL7quHV4cDSoEVHOBL7SbChhm62iWOVTe2ho8V1NGnGFMmMfeplVWKorv-k2-L0H-K8rtg9d2vUdt-s5bxKkesUjxJhScBVOlFVcX6GdDa0o2R1W6qszC7D-_UILhIEtkQwnEg9SR-dDMulOotrHp5_LrsMCJLCgqGfzrjVymq7vkHbkh-8XIUzopyXgS4yr__N1MT2lI-7sFBG8fTa-GbN","DataProtected":true}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Version":1,"Id":"A57781A0405849BDE786A79636460E49","Created":"2023-05-11T21:58:42.4707649Z","Algorithm":"RS256","IsX509Certificate":false,"Data":"CfDJ8Hnjqxp4tLpCov-J-Y0BVs7wR0CVu4eqUuKwsY0rf0WJyME4aNzhKfD2Z2K08hK8_8svrjSptVpC1ttyCPtXtPVMsQQRukJef7SjEUNlC-US2KuwQGOLMYIDNHkTHrnXN7GYHoFtZ1SQWdL61GJ43LYCyFY7_L_Sn9SFepnDcT9H3aA9-M3ZjDJNU8_qknPTEUhSjV1i7AMkYnCHHow0ttlYhcQGwXoiuMMI9oqu26yr79i7sG6m_BAK1f1eg_1cBGozNe4yRPHsRk4qCLKgG-JRaNfV8sXHM-3SpEeFx7iUYHLHl7SiQwsqrODIujk7sz_vJaDbiFqwSVxUTDBEBLPpmPULLGKzjGoPrGtpmvgHkghEsHtvXY6aTzWwDLBmOT4ao8IjImv8D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g3J2yQpO4QXVyQGOcXSUvUGKDIBRMKch1IOIEB6qYi34muu8Et0pbHsDsXECCnkfs5FAnKlG-zuf6W2cNRsF7QyaoUpDSpRD8u_R_mcQEVA2VJb4NWPSV1zgJ6-ne7HO_DL1mW7F-0jl2yHqOJ5z8GMTNdl7Nh4LfvHEB7xs0M2fgPByq3JImX1M-KUZDyIxfqxUM8L44zPyjiHvpMgXDvaA21aytu7G4r3vlgFyuMnSPKJ-fV8LBYDUKZ7TSOtTL2yCV2D5Z_VE3uZzBrpmJzzPG1_OXgmqV57KsPnDdwVefeu9UbCaDzG0R_xGReJveQcf5be8iJtTRDwqB2qlYm01VuIUSxabFTb_MypnKoIFaOxonW1faOgZ0zV8ocbgDfKO-8T21BBAJryw76yHxEVm59_X7Oa1VS_TM7i2sB67DWQadn4i4VMrF34LQyyhwPguKPSey1k7DcsHMxJ9zwUbC22HURwqVRn9zzxz9vHHiCUskytu3bItRkSpwDD2z_ngL9hVUF3C4QM3d4vgoL4sWS7X1One8z-vyZpZH_BDUg4nwEx95KClv2XieWXTHep8_3rdSIyTPrLLqErhCur6U69boZlvoCmoYtgbYN7dA1VkdTzdnzU-zSRLRkOY_hsa2gEElHqdtjHHTdt9g3kNhnvBMmgTQcEsAKZFjnwSbC-BogTSYNiZYCUu9eYOmenwlF4X4Yti-bVpMCEn6_6H8dWjumdBb7hgsvm47Sbuna5vAnlfnPKZBgji-38Y5lPE3NRF0ImhrsaURNUFktoNhp2gwFh8R0nLRzoLr3jWF2pBMMbvKGGzEBxOGN0_3nodoSyjFJFyAHgTwNcxB0AeYImM_-mxFtjiCDESqZoZGWtg6MvXmXPnat_uaI-jwl6TFBUChTjWujfil5doh32BtImNFO8VQakhrpTCaVm6yBKH77eF6aCX50iTuVVBuMec3IJZNPdnsc_65R4VGpqLwdscWiJqtmaRt_Umj-eJ","DataProtected":true}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

namespace Identity.Extensions.Infrastructure;

using BuildingBlocks.PersistMessageProcessor.Data;
using BuildingBlocks.ProblemDetails;
using Configurations;
using Microsoft.AspNetCore.HttpOverrides;

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@

namespace Passenger.Extensions.Infrastructure;

using BuildingBlocks.ProblemDetails;

public static class InfrastructureExtensions
{
public static WebApplicationBuilder AddInfrastructure(this WebApplicationBuilder builder)
Expand Down
Loading

0 comments on commit 69eccbe

Please sign in to comment.