Spring: Injecting different properties file according to profile

后端 未结 2 1138
盖世英雄少女心
盖世英雄少女心 2020-12-08 22:26

First, some context:

I\'m currently working on a project in which I use the Spring framework on Google\'s AppEngine (GAE) to fetch some data from one of Google\'s se

2条回答
  •  自闭症患者
    2020-12-08 23:18

    You are on the right track, in our application we have the same scenario and we use "profiles" to manage the properties. We use two configuration files one for Production and another one for testing with profiles set accordingly.

提交回复
热议问题