mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-23 19:52:51 +08:00

* Add ConfigAwarePlaceholders class This allows placeholder values to be sourced from IConfiguration in addition to set values. * Rework how IPlaceholders is decorated in container
30 lines
550 B
JSON
30 lines
550 B
JSON
{
|
|
"Logging": {
|
|
"IncludeScopes": true,
|
|
"LogLevel": {
|
|
"Default": "Error",
|
|
"System": "Error",
|
|
"Microsoft": "Error"
|
|
}
|
|
},
|
|
"spring": {
|
|
"application": {
|
|
"name": "ocelot"
|
|
}
|
|
},
|
|
"eureka": {
|
|
"client": {
|
|
"serviceUrl": "http://localhost:8761/eureka/",
|
|
"shouldRegisterWithEureka": true,
|
|
"shouldFetchRegistry": true,
|
|
"port": 5000,
|
|
"hostName": "localhost"
|
|
}
|
|
},
|
|
"BaseUrl": "http://foo-bar.co.uk",
|
|
"TestConfig": "foo",
|
|
"TestConfigNested":{
|
|
"Child": "foo"
|
|
}
|
|
}
|