2025-12-29 15:37:45 +00:00
|
|
|
{
|
|
|
|
|
"Logging": {
|
|
|
|
|
"LogLevel": {
|
|
|
|
|
"Default": "Information",
|
2025-12-30 12:28:13 +00:00
|
|
|
"Microsoft.AspNetCore": "Warning",
|
2026-05-24 21:57:22 +00:00
|
|
|
"Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware": "None",
|
|
|
|
|
"System.Net.Http.HttpClient.VeriFactu": "None"
|
2025-12-29 15:37:45 +00:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"AllowedHosts": "*",
|
|
|
|
|
"Dolibarr": {
|
feat: configure Swagger Bearer auth, fix CORS, Docker and deployment
- Program.cs: added Swagger with JWT Bearer security definition using
OpenApi v2 API (OpenApiSecuritySchemeReference), enabled Swagger in all
environments (not just Development), registered all new services
(ContactService, SetupService) in DI
- CORS: configurable via Cors__AllowedOrigins env var, allows all
when empty (dev-friendly)
- DoliMiddlewareApi.csproj: removed Microsoft.AspNetCore.OpenApi (conflicts
with Swashbuckle v10), kept Swashbuckle.AspNetCore 10.1.0
- appsettings.json: fixed Dolibarr ApiUrl to /api/index.php (was /explorer)
- compose.yaml: fixed Dolibarr ApiUrl, added JWT_SECRET default for dev,
added healthcheck for Dolibarr container, BFF waits for Dolibarr healthy
- .dockerignore: added to keep Docker build clean
- .env.example: template with instructions for JWT_SECRET
2026-05-15 16:58:43 +00:00
|
|
|
"ApiUrl": "http://localhost/api/index.php",
|
2026-05-24 21:57:22 +00:00
|
|
|
"ApiKey": "847ad838254caa863c2da3dc949a5028e2317be9"
|
2026-01-03 18:52:07 +00:00
|
|
|
},
|
|
|
|
|
"Jwt": {
|
feat: configure Swagger Bearer auth, fix CORS, Docker and deployment
- Program.cs: added Swagger with JWT Bearer security definition using
OpenApi v2 API (OpenApiSecuritySchemeReference), enabled Swagger in all
environments (not just Development), registered all new services
(ContactService, SetupService) in DI
- CORS: configurable via Cors__AllowedOrigins env var, allows all
when empty (dev-friendly)
- DoliMiddlewareApi.csproj: removed Microsoft.AspNetCore.OpenApi (conflicts
with Swashbuckle v10), kept Swashbuckle.AspNetCore 10.1.0
- appsettings.json: fixed Dolibarr ApiUrl to /api/index.php (was /explorer)
- compose.yaml: fixed Dolibarr ApiUrl, added JWT_SECRET default for dev,
added healthcheck for Dolibarr container, BFF waits for Dolibarr healthy
- .dockerignore: added to keep Docker build clean
- .env.example: template with instructions for JWT_SECRET
2026-05-15 16:58:43 +00:00
|
|
|
"Secret": "",
|
2026-01-03 18:52:07 +00:00
|
|
|
"Issuer": "DoliMiddleware",
|
|
|
|
|
"Audience": "DoliClients"
|
2026-05-14 20:59:16 +00:00
|
|
|
},
|
2026-05-15 17:52:04 +00:00
|
|
|
"Notifications": {
|
2026-05-14 20:59:16 +00:00
|
|
|
"WebhookUrl": ""
|
2026-05-24 21:57:22 +00:00
|
|
|
},
|
|
|
|
|
"VeriFactu": {
|
|
|
|
|
"ApiUrl": "http://localhost:6789/"
|
2026-05-15 17:52:04 +00:00
|
|
|
}
|
|
|
|
|
}
|