{
"version": 3,
"timeout": "3000ms",
"cache_ttl": "300s",
"name": "CHPIDA-CORE-API",
"port": 8080,
"disable_rest": true,
"extra_config": {
"telemetry/logging": {
"level": "DEBUG",
"prefix": "[KRAKEND]",
"syslog": false,
"stdout": true
},
"telemetry/metrics": {
"collection_time": "60s",
"proxy_disabled": false,
"router_disabled": false,
"backend_disabled": false,
"endpoint_disabled": false,
"listen_address": ":8090"
},
"security/cors": {
"allow_origins": [
"*"
],
"allow_methods": [
"GET",
"HEAD",
"POST",
"OPTIONS"
],
"expose_headers": [
"Content-Length",
"Content-Type"
],
"allow_headers": [
"Accept-Language"
],
"max_age": "12h",
"allow_credentials": false,
"debug": false
}
},
"endpoints": [
{
"endpoint": "/default-behavior",
"backend": [
{
"url_pattern": "/__debug/default"
}
]
},
{
"endpoint": "/v1/api/hello",
"method": "GET",
"output_encoding": "json",
"backend": [
{
"url_pattern": "/api/hello",
"encoding": "json",
"method": "GET",
}
],
"extra_config": {
}
}
]
}