-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappsettings.TEST.json
51 lines (51 loc) · 1.2 KB
/
appsettings.TEST.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"Self": {
"Id": "api.core",
"Secret": "0a2e472b-f263-43fd-8372-3b13f5acf222"
},
"ApiResourceBaseUrls": {
"AuthServer": "https://localhost:5000",
"SampleApi": "https://localhost:4500"
},
"HttpClientPolicies": {
"RetryCount": 3,
"RetryDelayInMs": 500,
"RetryTimeoutInSeconds": 5,
"BreakDurationInSeconds": 30,
"MaxAttemptBeforeBreak": 3,
"HandlerTimeoutInMinutes": 5
},
"IpRateLimiting": {
"EnableEndpointRateLimiting": true,
"StackBlockedRequests": false,
"RealIpHeader": "X-Real-IP",
"ClientIdHeader": "X-ClientId",
"HttpStatusCode": 429,
"GeneralRules": [
{
"Endpoint": "*:/api/*",
"Period": "1s",
"Limit": 2
}
]
},
"HealthChecksUI": {
"HealthChecks": [
{
"Name": "HTTP-Api-Basic",
"Uri": "https://localhost:44321/selfcheck"
}
],
"Webhooks": [
{
"Name": "",
"Uri": "",
"Payload": "",
"RestoredPayload": ""
}
],
"EvaluationTimeInSeconds": 10,
"MinimumSecondsBetweenFailureNotifications": 60,
"HealthCheckDatabaseConnectionString": "Data Source=src\\Infrastructure\\HealthChecks\\Db\\healthchecks.db"
}
}