From adaed4813bf92dbcd96d2c1ce51e40e3b8279701 Mon Sep 17 00:00:00 2001 From: Gio Date: Tue, 19 Nov 2024 13:55:50 -0600 Subject: [PATCH] Added seq support and bump helm chart version --- .DS_Store | Bin 6148 -> 8196 bytes .github/.DS_Store | Bin 0 -> 6148 bytes .github/workflows/cicd.yml | 2 +- .../Play.Catalog.Service.csproj | 2 +- src/Play.Catalog.Service/Startup.cs | 5 +++++ src/Play.Catalog.Service/appsettings.json | 4 ++++ 6 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .github/.DS_Store diff --git a/.DS_Store b/.DS_Store index c2e4244b2f23414df81f635cf2d6e44e65b67065..566ca2d9eafae0465f99b31c676c7733c5099c30 100644 GIT binary patch delta 607 zcmZuv%SyvQ6g}xg8rzXps3i*p{ehr=V5LP|xKZ2*V%pjkW1^|8%XZP7xCq%6H-3O% z)_#s3;7VNSnMgx3IB;j~aL>7q!=3HU_H6*h!KkwbDA%H?w_1+w>XEavQBiUJfopUT zVt^j}9+%-WKl@Ejm68eJ}8P%)$Oq%DCwS|Mg{TY4ujf8E~d9F7urk zj~bG-&oRc3!v~6>!M`X5_GUh5s^arP#Y7f_akh#Rv>0gO zn6HBybTpEZG$YX$>^Vd`k4lBeP_Yyr$-LGV(NwMra(L`Aua;U9uELjyE44;^D61Bg LRvU!mLe9l6hIpCb delta 136 zcmZp1XfcprU|?W$DortDU=RQ@Ie-{MGjUEV6q~50D9Qqo2a6RkS5T0$TO(;SR3OxqA7K~bj;w9Aj0!H+pQX5(|G-gZFnnNk%tS{t~_&m<+ zZp6|Go4A9!yxMC8e}ZLDU~$%FR`j^kvqT)1;rO+CT>^+p@b(eKu=) z&4$}-9nBl=taad_eRw>d+t$wR-pP4)7(XTQMbjzp&r`Bxuz*)IR?O@<7$>nz9xz%| z78Q)l05iZ0tP2BX|FdfAGGU%4Gr$b|m;u@!TvS5eV6IVZ9oW$Ik>V9X613?pLFgLv z4dxm#f+BP&qAnHYi6L}3`dyRf8_YH8au8}{{Eit}m=}srqodzd=^%WK+%f~qz#;=> z-F4{vKl}duzgWaQW`G&^R}6?sC+M_sO6F``njD?AF6tdB3FYM)KTFV1M=|EoQCvq= Zf_|3_MBiYp5j`k;5l}R6!wmc?10V8aP1*ne literal 0 HcmV?d00001 diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 7f7352d..55a317d 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -69,7 +69,7 @@ jobs: ACR_NAME: playeconomyacr AZ_RG_NAME: playeconomy SERVICE_NAME: catalog - HELM_CHART_VERSION: 0.1.0 + HELM_CHART_VERSION: 0.1.1 permissions: id-token: write diff --git a/src/Play.Catalog.Service/Play.Catalog.Service.csproj b/src/Play.Catalog.Service/Play.Catalog.Service.csproj index f732a3a..f0cfa46 100644 --- a/src/Play.Catalog.Service/Play.Catalog.Service.csproj +++ b/src/Play.Catalog.Service/Play.Catalog.Service.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/Play.Catalog.Service/Startup.cs b/src/Play.Catalog.Service/Startup.cs index 2760a50..4d0afc7 100644 --- a/src/Play.Catalog.Service/Startup.cs +++ b/src/Play.Catalog.Service/Startup.cs @@ -7,6 +7,7 @@ using Play.Catalog.Service.Entities; using Play.Common.HealthChecks; using Play.Common.Identity; +using Play.Common.Logging; using Play.Common.MassTransit; using Play.Common.MongoDB; using Play.Common.Settings; @@ -65,8 +66,12 @@ public void ConfigureServices(IServiceCollection services) c.SwaggerDoc("v1", new OpenApiInfo { Title = "Play.Catalog.Service", Version = "v1" }); }); + // Health Checks services.AddHealthChecks() .AddMongoDb(); // MongoDB HealthCheck + + // Seq Logging + services.AddSeqLogging(Configuration); } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. diff --git a/src/Play.Catalog.Service/appsettings.json b/src/Play.Catalog.Service/appsettings.json index 190f465..f12152e 100644 --- a/src/Play.Catalog.Service/appsettings.json +++ b/src/Play.Catalog.Service/appsettings.json @@ -17,5 +17,9 @@ "RabbitMQSettings": { "Host": "localhost" }, + "SeqSettings": { + "Host": "localhost", + "Port": "5341" + }, "AllowedHosts": "*" } \ No newline at end of file