See https://github.com/shauank/spring-cloud/tree/master/spring-cloud-prop how to read the property value from email-conf.properties.
Assuming: spring.application.name = reservation and profile = default. By convention, spring cloud will load the reservation options .properties and application.properties. But I also wanted to download email-conf.properties. How to reach?
See the cloud configuration document , access the endpoint /{name}/{profile}/{label}/{path} for the text file.
/{name}/{profile}/{label}/{path}
In your case, you can get the contents of email-conf.properties via url /reservation/default/master/email-conf.properties .
email-conf.properties
/reservation/default/master/email-conf.properties
Source: https://habr.com/ru/post/1014332/More articles:SQL Server Intellisense does not work on * some * servers - sql-server-2008SQL Server 2008 R2 intellisense not working - sql-serverHow to disable font scaling in React Native for iOS app? - iosAngular -CLI sass Source Map - angularCreate RSACryptoServiceProvider correctly from public key - c #Change ProgressBar. Horizontal undefined behavior - androidWhat is needed to convert ASN.1 data to a public key? For example, how to determine the OID? - c #How to use tensor flow model extracted from keras learning model - pythonGet debugging information from the docker container that starts the tomcat server - springWhy doesn't strcpy use a const pointer for dest? - cAll Articles