spring-cloud-samples / config-repo

Configuration files for the server sample
138 stars 889 forks source link

The test.json File,should we access it? #7

Closed xiaochangg closed 7 years ago

spencergibb commented 7 years ago

Your question is unclear, can you please elaborate?

xiaochangg commented 7 years ago

OK ,my question: I hope you can help me。my question: 1.If the Git repository file is the .json suffix (as test.json),not .yml or .properties suffix. The spring cloud config server can be accessed through the url (http://localhost:8888/application/default/master/test.json), But How should the spring cloud config client access the spring cloud config server to get the test.json file content ? How do you use code access?

  1. How should a spring cloud config client access the Multiple Files(.json suffix)? Thank you very much
spencergibb commented 7 years ago

There is no automated access. You have the url and RestTemplate.