Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bartelink committed Jul 28, 2021
1 parent d0d31c5 commit 1f2d065
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion equinox-shipping/Watchdog/Infrastructure.fs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type Logging() =
.Destructure.FSharpTypes()
.Enrich.FromLogContext()
|> fun c -> if verbose = Some true then c.MinimumLevel.Debug() else c
|> fun c -> c.ConfigureChangeFeedProcessorLogging((changeFeedProcessorVerbose = Some true))
|> fun c -> c.ConfigureChangeFeedProcessorLogging(verbose = (changeFeedProcessorVerbose = Some true))
|> fun c -> let t = "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj} {NewLine}{Exception}"
c.WriteTo.Console(theme=Sinks.SystemConsole.Themes.AnsiConsoleTheme.Code, outputTemplate=t)

Expand Down
2 changes: 1 addition & 1 deletion equinox-web-csharp/Web/Controllers/TodosController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class TodoView

// Fulfills contract dictated by https://www.todobackend.com
// To run:
// & dotnet run -f netcoreapp3.1 -p Web
// & dotnet run -p Web
// https://www.todobackend.com/client/index.html?https://localhost:5001/todos
// # NB Jet does now own, control or audit https://todobackend.com; it is a third party site; please satisfy yourself that this is a safe thing use in your environment before using it._
// See also similar backends used as references when implementing:
Expand Down
2 changes: 1 addition & 1 deletion equinox-web-csharp/Web/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static LoggerConfiguration Configure(this LoggerConfiguration c, string a
}
static class Program
{
private const string AppName = "TodoApp";
private const string AppName = "TodoBackendTemplate";

public static async Task<int> Main(string[] argv)
{
Expand Down
2 changes: 1 addition & 1 deletion equinox-web/Web/Controllers/TodosController.fs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type GetByIdArgsTemplate = { id: int }

// Fulfills contract dictated by https://www.todobackend.com
// To run:
// & dotnet run -f netcoreapp3.1 -p Web
// & dotnet run -p Web
// https://www.todobackend.com/client/index.html?https://localhost:5001/todos
// # NB Jet does now own, control or audit https://todobackend.com; it is a third party site; please satisfy yourself that this is a safe thing use in your environment before using it._
// See also similar backends used as references when implementing:
Expand Down
2 changes: 1 addition & 1 deletion equinox-web/Web/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ let createWebHostBuilder args : IWebHostBuilder =
.UseSerilog()
.UseStartup<Startup>()

let [<Literal>] AppName = "TodoApp"
let [<Literal>] AppName = "TodoBackendTemplate"

[<EntryPoint>]
let main argv =
Expand Down
2 changes: 1 addition & 1 deletion equinox-web/Web/Startup.fs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ type Startup() =

//#endif
//#if cosmos
// AZURE COSMOSDB: Events are stored in an Azure CosmosDb Account (using the SQL API)
// AZURE COSMOSDB: Events are stored as items in a CosmosDb Container
// Provisioning Steps:
// 1) Set the 3x environment variables EQUINOX_COSMOS_CONNECTION, EQUINOX_COSMOS_DATABASE, EQUINOX_COSMOS_CONTAINER
// 2) Provision a container using the following command sequence:
Expand Down
2 changes: 1 addition & 1 deletion propulsion-summary-consumer/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ let [<Literal>] AppName = "ConsumerTemplate"

let start (args : Args.Arguments) =
let context = args.Cosmos.Connect() |> Async.RunSynchronously |> CosmosStoreContext.create
let cache = Equinox.Cache (AppName, sizeMb = 10) // here rather than in Todo aggregate as it can be shared with other Aggregates
let cache = Equinox.Cache (AppName, sizeMb = 10)
let service = TodoSummary.Cosmos.create (context, cache)
let config =
FsKafka.KafkaConsumerConfig.Create(
Expand Down
2 changes: 1 addition & 1 deletion propulsion-tracking-consumer/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ let [<Literal>] AppName = "ConsumerTemplate"

let start (args : Args.Arguments) =
let context = args.Cosmos.Connect() |> Async.RunSynchronously |> CosmosStoreContext.create
let cache = Equinox.Cache (AppName, sizeMb = 10) // here rather than in SkuSummary aggregate as it can be shared with other Aggregates
let cache = Equinox.Cache (AppName, sizeMb = 10)
let service = SkuSummary.Cosmos.create (context, cache)
let config =
FsKafka.KafkaConsumerConfig.Create(
Expand Down

0 comments on commit 1f2d065

Please sign in to comment.