Enable agent support and remove unused tenant configurations

Turned on agent support by setting `useAgents` to true in `Program.cs`. Also, cleaned up the `appsettings.json` file by removing configurations for tenants 'tenant-1' and 'tenant-2' which are no longer needed.
This commit is contained in:
Sipke Schoorstra 2024-10-23 19:20:31 +02:00
parent 32bd3ddfea
commit cdea979cc5
2 changed files with 1 additions and 27 deletions

View file

@ -66,7 +66,7 @@ const WorkflowRuntime workflowRuntime = WorkflowRuntime.ProtoActor;
const DistributedCachingTransport distributedCachingTransport = DistributedCachingTransport.ProtoActor;
const MassTransitBroker massTransitBroker = MassTransitBroker.Memory;
const bool useMultitenancy = false;
const bool useAgents = false;
const bool useAgents = true;
const bool useSecrets = true;
const bool useAzureServiceBus = false;

View file

@ -36,32 +36,6 @@
"Sqlite": "Data Source=App_Data/elsa.sqlite.db;Cache=Shared;"
}
}
},
{
"Id": "tenant-1",
"Name": "Tenant 1",
"Configuration": {
"Http": {
"Prefix": "tenant-1",
"Host": "localhost:5002"
},
"ConnectionStrings": {
"Sqlite": "Data Source=App_Data/elsa.tenant-1.sqlite.db;Cache=Shared;"
}
}
},
{
"Id": "tenant-2",
"Name": "Tenant 2",
"Configuration": {
"Http": {
"Prefix": "tenant-2",
"Host": "localhost:5003"
},
"ConnectionStrings": {
"Sqlite": "Data Source=App_Data/elsa.tenant-2.sqlite.db;Cache=Shared;"
}
}
}
]
},