Skip to content

Commit 2fe91e4

Browse files
committed
feat: Env var to enable FacilityUseHasSlots
1 parent 99b7c40 commit 2fe91e4

48 files changed

Lines changed: 6746 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Examples/BookingSystem.AspNetCore/Startup.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ public Startup(IConfiguration configuration)
2323
if (System.Environment.GetEnvironmentVariable("DISABLE_TOKEN_AUTH") == "true") {
2424
AppSettings.FeatureFlags.EnableTokenAuth = false;
2525
}
26+
27+
// Provide a simple way to enable FacilityUseHasSlots for some testing scenarios
28+
if (System.Environment.GetEnvironmentVariable("FACILITY_USE_HAS_SLOTS") == "true") {
29+
AppSettings.FeatureFlags.FacilityUseHasSlots = true;
30+
}
2631
}
2732

2833
public AppSettings AppSettings { get; }
6.96 MB
Binary file not shown.
2.31 MB
Binary file not shown.
Binary file not shown.

web-app-package/BookingSystem.AspNetCore/BookingSystem.AspNetCore.deps.json

Lines changed: 5945 additions & 0 deletions
Large diffs are not rendered by default.
Binary file not shown.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"runtimeOptions": {
3+
"tfm": "netcoreapp3.1",
4+
"framework": {
5+
"name": "Microsoft.AspNetCore.App",
6+
"version": "3.1.0"
7+
},
8+
"configProperties": {
9+
"System.GC.Server": true,
10+
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
11+
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
12+
}
13+
}
14+
}
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)