2022-04-29 12:40:25 +00:00
|
|
|
{
|
|
|
|
|
"Logging": {
|
|
|
|
|
"LogLevel": {
|
2023-11-26 12:33:15 +00:00
|
|
|
"Default": "Warning",
|
|
|
|
|
"Elsa": "Warning",
|
|
|
|
|
"MassTransit": "Warning",
|
2023-04-09 21:35:32 +00:00
|
|
|
"Microsoft.Extensions.Http": "Warning",
|
2023-02-27 13:14:50 +00:00
|
|
|
"Microsoft.Hosting.Lifetime": "Information",
|
2022-06-20 18:27:47 +00:00
|
|
|
"Microsoft.EntityFrameworkCore": "Warning",
|
2023-06-01 13:45:18 +00:00
|
|
|
"Microsoft.AspNetCore": "Warning",
|
2023-11-15 19:47:11 +00:00
|
|
|
"Quartz": "Warning",
|
2023-04-09 21:35:32 +00:00
|
|
|
"System.Net.Http": "Warning"
|
2022-04-29 12:40:25 +00:00
|
|
|
}
|
|
|
|
|
},
|
2022-08-31 13:47:10 +00:00
|
|
|
"AllowedHosts": "*",
|
2022-09-02 11:18:53 +00:00
|
|
|
"ConnectionStrings": {
|
2023-10-17 06:51:45 +00:00
|
|
|
"Sqlite": "Data Source=App_Data/elsa.sqlite.db;Cache=Shared;",
|
2023-11-15 19:47:11 +00:00
|
|
|
"MongoDb": "mongodb://localhost:27017/elsa-workflows",
|
|
|
|
|
"AzureServiceBus": "",
|
2023-12-11 19:49:59 +00:00
|
|
|
"RabbitMq": "amqp://guest:guest@localhost:5672/elsa"
|
2022-09-02 11:18:53 +00:00
|
|
|
},
|
2023-04-18 20:14:18 +00:00
|
|
|
"Smtp": {
|
|
|
|
|
"Host": "localhost",
|
|
|
|
|
"Port": 2525,
|
|
|
|
|
"DefaultSender": "noreply@crmservices.com"
|
|
|
|
|
},
|
2023-09-24 22:38:06 +00:00
|
|
|
"Http": {
|
|
|
|
|
"BaseUrl": "https://localhost:5001",
|
|
|
|
|
"BasePath": "/workflows",
|
|
|
|
|
"ApiRoutePrefix": "elsa/api",
|
|
|
|
|
"AvailableContentTypes": [
|
|
|
|
|
"application/json",
|
|
|
|
|
"application/xml",
|
|
|
|
|
"text/plain",
|
|
|
|
|
"text/html"
|
|
|
|
|
]
|
|
|
|
|
},
|
2022-08-31 13:47:10 +00:00
|
|
|
"Identity": {
|
2023-01-02 21:24:05 +00:00
|
|
|
"Tokens": {
|
2023-11-27 12:31:42 +00:00
|
|
|
"SigningKey": "sufficiently-large-secret-signing-key",
|
2023-02-27 13:14:50 +00:00
|
|
|
"AccessTokenLifetime": "1:00:00:00",
|
2023-08-30 20:01:25 +00:00
|
|
|
"RefreshTokenLifetime": "7:00:00:00"
|
2023-03-26 21:53:17 +00:00
|
|
|
},
|
2023-05-02 19:19:02 +00:00
|
|
|
"Roles": [
|
|
|
|
|
{
|
|
|
|
|
"Id": "admin",
|
|
|
|
|
"Name": "Administrator",
|
|
|
|
|
"Permissions": [
|
|
|
|
|
"*"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
2023-03-26 21:53:17 +00:00
|
|
|
"Users": [
|
|
|
|
|
{
|
|
|
|
|
"Id": "a2323f46-42db-4e15-af8b-94238717d817",
|
|
|
|
|
"Name": "admin",
|
|
|
|
|
"HashedPassword": "TfKzh9RLix6FPcCNeHLkGrysFu3bYxqzGqduNdi8v1U=",
|
2023-03-26 22:43:39 +00:00
|
|
|
"HashedPasswordSalt": "JEy9kBlhHCNsencitRHlGxmErmSgY+FVyMJulCH27Ds=",
|
2023-05-02 19:19:02 +00:00
|
|
|
"Roles": [
|
|
|
|
|
"admin"
|
|
|
|
|
]
|
2023-03-26 21:53:17 +00:00
|
|
|
}
|
|
|
|
|
],
|
2023-05-02 19:19:02 +00:00
|
|
|
"Applications": [
|
|
|
|
|
{
|
|
|
|
|
"id": "d57030226341448daff5a2935aba2d3f",
|
|
|
|
|
"name": "Postman",
|
|
|
|
|
"roles": [
|
|
|
|
|
"admin"
|
|
|
|
|
],
|
|
|
|
|
"clientId": "HXr0Vzdm9KCZbwsJ",
|
|
|
|
|
"clientSecret": "a<~QGGHTEA%u4;CU&'Wga5ED:_&Gd1C)",
|
|
|
|
|
"hashedApiKey": "Z5ClHs3mbzx8Pnw3+PxbMq8A/Y+VKMCCDTGYtax8JFM=",
|
|
|
|
|
"hashedApiKeySalt": "kBisa1X8FwBfN2zmyGMFRgIVVBleghhQAJ4WGyTkaD0=",
|
|
|
|
|
"hashedClientSecret": "jEv58d0SVbGQ3nBZM0lkzHghG4Y+lMKW80wipz+9vHk=",
|
|
|
|
|
"hashedClientSecretSalt": "xRKy14Ok1/tU3kLf/8V1fcbLIegy9vcM90Peu2tzohU="
|
|
|
|
|
}
|
|
|
|
|
]
|
2023-05-16 08:03:55 +00:00
|
|
|
},
|
|
|
|
|
"Environments": {
|
|
|
|
|
"Environments": [
|
|
|
|
|
{
|
|
|
|
|
"Name": "Local",
|
|
|
|
|
"ServerUrl": "https://localhost:5001/elsa/api"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Name": "Staging",
|
|
|
|
|
"ServerUrl": "https://staging.acme.com/elsa/api"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Name": "Production",
|
|
|
|
|
"ServerUrl": "https://production.acme.com/elsa/api"
|
|
|
|
|
}
|
|
|
|
|
]
|
2023-08-13 10:35:15 +00:00
|
|
|
},
|
|
|
|
|
"Runtime": {
|
|
|
|
|
"WorkflowInboxCleanup": {
|
|
|
|
|
"SweepInterval": "00:00:10:00",
|
|
|
|
|
"BatchSize": 1000
|
|
|
|
|
}
|
2023-11-19 20:13:19 +00:00
|
|
|
},
|
|
|
|
|
"Scripting": {
|
|
|
|
|
"Python": {
|
|
|
|
|
"PythonDllPath": "",
|
|
|
|
|
"Scripts": [
|
|
|
|
|
"def greet(name): return f'Hello {name}!'",
|
|
|
|
|
"def say_hello_world(): return greet('World')"
|
|
|
|
|
]
|
|
|
|
|
}
|
2022-08-31 13:47:10 +00:00
|
|
|
}
|
2023-08-13 10:35:15 +00:00
|
|
|
}
|