69 lines
1.7 KiB
JSON
69 lines
1.7 KiB
JSON
{
|
|
"Gateway": {
|
|
"Node": {
|
|
"Region": "local",
|
|
"NodeId": "gw-local-01",
|
|
"Environment": "dev",
|
|
"NeighborRegions": []
|
|
},
|
|
"Transports": {
|
|
"Tcp": {
|
|
"Enabled": false,
|
|
"BindAddress": "0.0.0.0",
|
|
"Port": 9100,
|
|
"ReceiveBufferSize": 65536,
|
|
"SendBufferSize": 65536,
|
|
"MaxFrameSize": 16777216
|
|
},
|
|
"Tls": {
|
|
"Enabled": false,
|
|
"BindAddress": "0.0.0.0",
|
|
"Port": 9443,
|
|
"ReceiveBufferSize": 65536,
|
|
"SendBufferSize": 65536,
|
|
"MaxFrameSize": 16777216,
|
|
"CertificatePath": "",
|
|
"CertificateKeyPath": "",
|
|
"CertificatePassword": "",
|
|
"RequireClientCertificate": false,
|
|
"AllowSelfSigned": false
|
|
}
|
|
},
|
|
"Routing": {
|
|
"DefaultTimeout": "30s",
|
|
"MaxRequestBodySize": "100MB",
|
|
"StreamingEnabled": true,
|
|
"PreferLocalRegion": true,
|
|
"AllowDegradedInstances": true,
|
|
"StrictVersionMatching": true,
|
|
"NeighborRegions": []
|
|
},
|
|
"Auth": {
|
|
"DpopEnabled": true,
|
|
"MtlsEnabled": false,
|
|
"AllowAnonymous": true,
|
|
"Authority": {
|
|
"Issuer": "",
|
|
"RequireHttpsMetadata": true,
|
|
"MetadataAddress": "",
|
|
"Audiences": [],
|
|
"RequiredScopes": []
|
|
}
|
|
},
|
|
"OpenApi": {
|
|
"Enabled": true,
|
|
"CacheTtlSeconds": 300,
|
|
"Title": "StellaOps Gateway API",
|
|
"Description": "Unified API aggregating all connected microservices.",
|
|
"Version": "1.0.0",
|
|
"ServerUrl": "/",
|
|
"TokenUrl": "/auth/token"
|
|
},
|
|
"Health": {
|
|
"StaleThreshold": "30s",
|
|
"DegradedThreshold": "15s",
|
|
"CheckInterval": "5s"
|
|
}
|
|
}
|
|
}
|