Slide 37
Slide 37 text
http :8888/rest-book/v1
{
"label": null,
"name": "rest-book",
"profiles": [
"v1"
],
"propertySources": [
{
"name": "classpath:/config/rest-book-v1.yml",
"source": {
"booknumbers.api.timeout_sec": 2,
"booknumbers.api.url": "http://127.0.0.1:8081/v1/isbns",
"logging.level.org.hibernate.stat": "info",
[…]
}
Un exemple avec Spring Cloud Config