'Java spring switch to use local properties if Spring cloud not available
I have an issue like this:
First,
I have a spring cloud server to get properties for my Java app

Second:
If the spring cloud is not available, I want my Java app use local properties
For example, my file at D:\SOURCE-CODE\configuration\financial\financialpartner-dev.properties
How can I config like this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
