Skip to content

Commit

Permalink
Changed Wolverine Helpdesk schema
Browse files Browse the repository at this point in the history
  • Loading branch information
oskardudycz committed Apr 24, 2024
1 parent c530f67 commit 1cfa74b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Sample/Helpdesk.Wolverine/Helpdesk.Api/Program.cs
Expand Up @@ -39,10 +39,10 @@
{
var options = new StoreOptions();
var schemaName = Environment.GetEnvironmentVariable("SchemaName") ?? "Helpdesk";
var schemaName = Environment.GetEnvironmentVariable("SchemaName") ?? "WolverineHelpdesk";
options.Events.DatabaseSchemaName = schemaName;
options.DatabaseSchemaName = schemaName;
options.Connection(builder.Configuration.GetConnectionString("Incidents") ??
options.Connection(builder.Configuration.GetConnectionString("WolverineIncidents") ??
throw new InvalidOperationException());
options.UseSystemTextJsonForSerialization(
Expand Down
Expand Up @@ -7,12 +7,12 @@
},
"AllowedHosts": "*",
"ConnectionStrings": {
"Incidents": "PORT = 5432; HOST = postgres; TIMEOUT = 15; POOLING = True; MINPOOLSIZE = 1; MAXPOOLSIZE = 100; COMMANDTIMEOUT = 20; DATABASE = 'postgres'; PASSWORD = 'Password12!'; USER ID = 'postgres'; Persist Security Info=true"
"WolverineIncidents": "PORT = 5432; HOST = postgres; TIMEOUT = 15; POOLING = True; MINPOOLSIZE = 1; MAXPOOLSIZE = 100; COMMANDTIMEOUT = 20; DATABASE = 'postgres'; PASSWORD = 'Password12!'; USER ID = 'postgres'; Persist Security Info=true; Include Error Detail=true"
},
"KafkaProducer": {
"ProducerConfig": {
"BootstrapServers": "kafka:9092"
},
"Topic": "Incidents"
"Topic": "WolverineIncidents"
}
}
4 changes: 2 additions & 2 deletions Sample/Helpdesk.Wolverine/Helpdesk.Api/appsettings.json
Expand Up @@ -7,12 +7,12 @@
},
"AllowedHosts": "*",
"ConnectionStrings": {
"Incidents": "PORT = 5432; HOST = localhost; TIMEOUT = 15; POOLING = True; MINPOOLSIZE = 1; MAXPOOLSIZE = 100; COMMANDTIMEOUT = 20; DATABASE = 'postgres'; PASSWORD = 'Password12!'; USER ID = 'postgres'; Persist Security Info=true;"
"WolverineIncidents": "PORT = 5432; HOST = localhost; TIMEOUT = 15; POOLING = True; MINPOOLSIZE = 1; MAXPOOLSIZE = 100; COMMANDTIMEOUT = 20; DATABASE = 'postgres'; PASSWORD = 'Password12!'; USER ID = 'postgres'; Persist Security Info=true; Include Error Detail=true;"
},
"KafkaProducer": {
"ProducerConfig": {
"BootstrapServers": "localhost:9092"
},
"Topic": "Incidents"
"Topic": "WolverineIncidents"
}
}

0 comments on commit 1cfa74b

Please sign in to comment.