diff --git a/.DS_Store b/.DS_Store index c2e4244..566ca2d 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.github/.DS_Store b/.github/.DS_Store new file mode 100644 index 0000000..6881b98 Binary files /dev/null and b/.github/.DS_Store differ 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