Skip to content

Commit

Permalink
EHD-1057: Simplify hosting: Code changes: Add less-frequently-changed…
Browse files Browse the repository at this point in the history
… settings to config files instead of always using environment variables
  • Loading branch information
jamesgriff committed Jan 22, 2025
1 parent 36f06f9 commit bd56fb5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 14 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<CopyToPublishDirectory>Always</CopyToPublishDirectory>
</Content>
<Content Include="AppSettings.UnitTests.json" Condition="Exists('AppSettings.UnitTests.json')">
<DependentUpon>appsettings.json</DependentUpon>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<CopyToPublishDirectory>Always</CopyToPublishDirectory>
</Content>
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"DefaultEncryptionKey": "", // some unit tests require this key to be empty
"OffsetCurrentDateTimeForSite": "917",
"GoogleAnalyticsAccountId": null
"GoogleAnalyticsAccountId": null,
"GEODistributionList": "[email protected]",
"ReportingStartYearsToExcludeFromLateFlagEnforcement": "[2019]",
"ReportingStartYearsWithFurloughScheme": "[2020,2021]"
}
4 changes: 3 additions & 1 deletion GenderPayGap.WebUI/appsettings.PROD.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
"MaxNumCallsCompaniesHouseApiPerFiveMins": "100",
"SendGoogleAnalyticsDataToGovUk": "true",
"UseStartUrl": "true",
"LogToSentry": "true"
"LogToSentry": "true",
"GEODistributionList": "[email protected]",
"ReminderEmailDays": "[114, 93, 62, 31, 15, 4]"
}
5 changes: 3 additions & 2 deletions GenderPayGap.WebUI/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
},

"DaysToKeepBackupFiles": 35,
"FeatureFlagPrivateManualRegistration": "false",
"FeatureFlagSendRegistrationReviewEmails": "true",
"FeatureFlagPrivateManualRegistration": "true",
"FeatureFlagSendRegistrationReviewEmails": "false",
"GEODistributionList": "",
"MaxNumCallsCompaniesHouseApiPerFiveMins": "10",
"ReminderEmailDays": "[]",
"ReportingStartYearsToExcludeFromLateFlagEnforcement": "[2019]",
Expand Down

0 comments on commit bd56fb5

Please sign in to comment.