Skip to content

Commit

Permalink
Added seq support and bump helm chart version
Browse files Browse the repository at this point in the history
  • Loading branch information
Gio authored and Gio committed Nov 19, 2024
1 parent d90fd68 commit adaed48
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 2 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file added .github/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Play.Catalog.Service/Play.Catalog.Service.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Play.Common" Version="1.0.11" />
<PackageReference Include="Play.Common" Version="1.0.16" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" />
</ItemGroup>

Expand Down
5 changes: 5 additions & 0 deletions src/Play.Catalog.Service/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions src/Play.Catalog.Service/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@
"RabbitMQSettings": {
"Host": "localhost"
},
"SeqSettings": {
"Host": "localhost",
"Port": "5341"
},
"AllowedHosts": "*"
}

0 comments on commit adaed48

Please sign in to comment.