I cloned repo to my local and config application.yml as:
server: port: 8888 spring: cloud: config: server: native: search-locations: D:/test/spring-cloud-config-repo/ profiles: active: native
but some url pattern doesn't work,test result like this:
"http://localhost:8888/foo-db.properties" √
"http://localhost:8888/foo-development.properties" √
"http://localhost:8888/foo.properties" (type=Not Found, status=404).
"http://localhost:8888/test.json" (type=Not Found, status=404).
"http://localhost:8888/books.xml" (type=Not Found, status=404).
and than i copyed books.xml to books-dev.xml but the "http://localhost:8888/books-dev.xml" return "(type=Not Found, status=404)" too.
I cloned repo to my local and config application.yml as:
server: port: 8888 spring: cloud: config: server: native: search-locations: D:/test/spring-cloud-config-repo/ profiles: active: nativebut some url pattern doesn't work,test result like this:
"http://localhost:8888/foo-db.properties" √
"http://localhost:8888/foo-development.properties" √
"http://localhost:8888/foo.properties" (type=Not Found, status=404).
"http://localhost:8888/test.json" (type=Not Found, status=404).
"http://localhost:8888/books.xml" (type=Not Found, status=404).
and than i copyed books.xml to books-dev.xml but the "http://localhost:8888/books-dev.xml" return "(type=Not Found, status=404)" too.