You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/openactive-test-suite.yml
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ jobs:
57
57
# output
58
58
- name: Run OpenActive.FakeDatabase.NET.Tests
59
59
run: dotnet test ./Fakes/OpenActive.FakeDatabase.NET.Tests/OpenActive.FakeDatabase.NET.Tests.csproj --configuration Release --no-build --verbosity normal
60
-
60
+
61
61
core:
62
62
# Specifies that this job depends on the successful completion of two other jobs: "test-server" and "test-fake-database"
63
63
needs:
@@ -110,6 +110,7 @@ jobs:
110
110
111
111
# runs `dotnet restore` to install the dependencies for the "OpenActive.Server.NET" project. It is conditional and
112
112
# depends on the "profile" value not being 'no-auth' or 'single-seller'
_logger.LogInformation($"FakeDataRefresherService hard deleted {numDeletedOccurrences} occurrences and {numDeletedSlots} slots that were previously old and soft-deleted.");
_logger.LogInformation($"FakeDataRefresherService, for {numRefreshedOccurrences} old occurrences and {numRefreshedSlots} old slots, inserted new copies into the future and soft-deleted the old ones.");
61
+
62
+
_logger.LogInformation($"FakeDataRefresherService is finished");
Copy file name to clipboardExpand all lines: Examples/BookingSystem.AspNetCore/README.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,15 @@ ASPNETCORE_ENVIRONMENT=no-auth dotnet run --no-launch-profile --project ./Bookin
33
33
34
34
The above example starts the BookingSystem.AspNetCore in `no-auth` mode.
35
35
36
+
## Env Vars
37
+
38
+
BookingSystem.AspNetCore uses the following environment variables (note: this list is not exhaustive):
39
+
40
+
-`PERIODICALLY_REFRESH_DATA`: (optional - default `false`) If set to `true`,
41
+
the database will be periodically refreshed, deleting past data and replacing
42
+
it with future data.
43
+
-`IS_LOREM_FITSUM_MODE`: (optional - default `false`) If set to `true`, data is created in ["Lorem Fitsum" mode](#lorem-fitsum-mode).
44
+
36
45
## BookingSystem.AspNetCore Data Generation
37
46
38
47
BookingSystem.AspNetCore has three main uses that make it very important in the OpenActive ecosystem:
@@ -64,6 +73,6 @@ In the CLI this can be done by running the following command for example:
64
73
IS_LOREM_FITSUM_MODE=true dotnet run --no-launch-profile --project ./BookingSystem.AspNetCore.csproj --configuration Release --no-build
65
74
```
66
75
67
-
### Golden Records
76
+
####Golden Records
68
77
Golden records are randomly generated records that have maximally enriched properties in the generated data. For example where a record might have one image normally, a golden record will have four.
0 commit comments