Update jwt config for sandbox

This commit is contained in:
2025-11-10 17:00:05 +07:00
parent 91c766de86
commit fec1c78b3c
8 changed files with 13 additions and 52 deletions

View File

@@ -143,3 +143,4 @@ namespace Managing.Api.HealthChecks

View File

@@ -59,9 +59,6 @@
<Content Update="appsettings.KaiServer.json"> <Content Update="appsettings.KaiServer.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content> </Content>
<Content Update="appsettings.SandboxCompute.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@@ -33,3 +33,4 @@ public class BundleBacktestRequestStatusSummary
public int Count { get; set; } public int Count { get; set; }
} }

View File

@@ -65,3 +65,4 @@ public class BundleBacktestRequestListItemResponse
public int? EstimatedTimeRemainingSeconds { get; set; } public int? EstimatedTimeRemainingSeconds { get; set; }
} }

View File

@@ -42,18 +42,20 @@
"AllowedHosts": "*", "AllowedHosts": "*",
"Cors": { "Cors": {
"AllowedOrigins": [ "AllowedOrigins": [
"https://kaigen-web-kaigen-stage.up.railway.app/", "https://kaigen-web-kaigen-stage.up.railway.app",
"https://dev-managing-api.apps.managing.live/health", "https://dev-managing-api.apps.managing.live",
"https://web-ui.kai.managing.live" "https://web-ui.kai.managing.live",
"http://localhost:3000"
] ]
}, },
"Authentication": { "Authentication": {
"Schemes": { "Schemes": {
"Bearer": { "Bearer": {
"ValidIssuer": "https://dev-managing-api.apps.managing.live/health", "ValidIssuer": "https://dev-managing-api.apps.managing.live",
"ValidAudiences": [ "ValidAudiences": [
"https://kaigen-web-kaigen-stage.up.railway.app/", "https://kaigen-web-kaigen-stage.up.railway.app",
"https://web-ui.kai.managing.live" "https://web-ui.kai.managing.live",
"http://localhost:3000"
] ]
} }
} }

View File

@@ -1,43 +0,0 @@
{
"PostgreSql": {
"ConnectionString": "Host=managing-postgre.apps.managing.live;Port=5432;Database=managing;Username=postgres;Password=29032b13a5bc4d37",
"Orleans": "Host=managing-postgre.apps.managing.live;Port=5432;Database=orleans;Username=postgres;Password=29032b13a5bc4d37"
},
"InfluxDb": {
"Url": "https://influx-db.apps.managing.live",
"Organization": "managing-org",
"Token": "zODh8Hn8sN5VwpVJH0HAwDpCJPE4oB5IUg8L4Q0T67KM1Rta6PoM0nATUzf1ddkyWx_VledooZXfFIddahbL9Q=="
},
"Kaigen": {
"BaseUrl": "https://kaigen-back-kaigen-stage.up.railway.app",
"DebitEndpoint": "/api/credits/debit",
"RefundEndpoint": "/api/credits/refund"
},
"Web3Proxy": {
"BaseUrl": "http://srv-captain--web3-proxy:4111",
"MaxRetryAttempts": 2,
"RetryDelayMs": 1500,
"TimeoutSeconds": 30
},
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Information",
"System": "Warning"
}
}
},
"ElasticConfiguration": {
"Uri": "http://elasticsearch:9200"
},
"SqlMonitoring": {
"Enabled": true,
"LoggingEnabled": true,
"SentryEnabled": false,
"LoopDetectionEnabled": true,
"LogSlowQueriesOnly": false
},
"RunOrleansGrains": true,
"AllowedHosts": "*"
}

View File

@@ -34,3 +34,4 @@ public class BundleBacktestRequestStatusCount
public int Count { get; set; } public int Count { get; set; }
} }

View File

@@ -68,3 +68,4 @@ public class BundleBacktestRequestsFilter
public DateTime? CreatedAtTo { get; set; } public DateTime? CreatedAtTo { get; set; }
} }