Skip to content

Commit

Permalink
refactor: update app settings and solution file
Browse files Browse the repository at this point in the history
Changes have been made in various configurations both on the application and development level. On the appsettings files, "Offers", "Passes", and "Reports" features and connection strings have been removed. Furthermore, the LogLevel has been changed from "Information" to "Debug". In the solution file, the "Fitnet.Common.Infrastructure" project has been removed.
  • Loading branch information
kamilbaczek committed Nov 14, 2023
1 parent 4fe5b59 commit a2e34a8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,9 @@
},
"FeatureManagement": {
"Contracts": true,
"Offers": true,
"Passes": true,
"Reports": true
},
"ConnectionStrings": {
"Passes": "Host=postgres:5432;Database=fitnet;Username=postgres;Password=mysecretpassword",
"Contracts": "Host=postgres:5432;Database=fitnet;Username=postgres;Password=mysecretpassword",
"Reports": "Host=postgres:5432;Database=fitnet;Username=postgres;Password=mysecretpassword",
"Offers": "Host=postgres:5432;Database=fitnet;Username=postgres;Password=mysecretpassword"
"Contracts": "Host=postgres:5432;Database=fitnet;Username=postgres;Password=mysecretpassword"
},
"EventBus": {
"Uri": "rabbitmq",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,9 @@
"AllowedHosts": "*",
"FeatureManagement": {
"Contracts": true,
"Offers": true,
"Passes": true,
"Reports": true
},
"ConnectionStrings": {
"Passes": "",
"Contracts": "",
"Reports": "",
"Offers": ""
"Contracts": ""
},
"ExternalEventBus": {
"Uri": "localhost",
Expand Down
6 changes: 0 additions & 6 deletions Chapter-3-microservice-extraction/Fitnet/Src/Fitnet.sln
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Fitnet.Reports.IntegrationT
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Fitnet.Reports", "Reports\Fitnet.Reports\Fitnet.Reports.csproj", "{76B919C8-0434-4A54-AFD3-07F817CCEC38}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Fitnet.Common.Infrastructure", "..\..\Fitnet.Common\Fitnet.Common.Infrastructure\Fitnet.Common.Infrastructure.csproj", "{2A6F3FB5-F3E0-45E6-991E-7BC5E9E0D0A6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -80,10 +78,6 @@ Global
{76B919C8-0434-4A54-AFD3-07F817CCEC38}.Debug|Any CPU.Build.0 = Debug|Any CPU
{76B919C8-0434-4A54-AFD3-07F817CCEC38}.Release|Any CPU.ActiveCfg = Release|Any CPU
{76B919C8-0434-4A54-AFD3-07F817CCEC38}.Release|Any CPU.Build.0 = Release|Any CPU
{2A6F3FB5-F3E0-45E6-991E-7BC5E9E0D0A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2A6F3FB5-F3E0-45E6-991E-7BC5E9E0D0A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2A6F3FB5-F3E0-45E6-991E-7BC5E9E0D0A6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2A6F3FB5-F3E0-45E6-991E-7BC5E9E0D0A6}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{B834E435-6093-4174-9AC1-10D2E7398D31} = {732AD772-11C2-4DCC-B6DC-D59EABEF335B}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Default": "Debug",
"Microsoft.AspNetCore": "Warning"
}
},
Expand Down

0 comments on commit a2e34a8

Please sign in to comment.