Loading multiple properties using the configuration server

I have successfully tested the boot properties from the SVN repository, currently on my configuration server I have provided the URI and standard label: trunk and I have the application property in trunk. below is the contents of my consumer application application.ymland the ability to successfully execute properties

spring:
  application:
    name: foo-development
  cloud:
    config:
      uri: http://localhost:${config.port:8888}

I now have a common property in another folder, which is also used in other applications, so how can I download this application to my application along with my specific application

+3
source share
2 answers

spring.cloud.config.name , , , , application.yml

spring:
  application:
    name: foo-development
  cloud:
    config:
      uri: http://localhost:${config.port:8888}
      name: foo-development,myshared

foo-development myshared.

0

Source: https://habr.com/ru/post/1583859/


All Articles