I want to set spring active profile in weblogic settings. I don't want to keep the profile active values in application.properties. I have three properties in src/main/resources. For examp : application-dev.properties , application-qa.properties , application-test.properties.
I want to active the profile in weblogic (my deploying server for application). Whats is the way and how to fetch the value in springboot application?
Thanks
Comment From: ryanjbaxter
Are you using Spring Cloud Config?
Comment From: smworld30
no i just put some application specific values in application.properties and those values will be different in different environment(dev,qa,prod). So I want to activated the profile in my diff weblogic server. I have three weblogic server for dev,qa,prod.
I dont want to keep spring.profiles.active property in my application.properties file. As I have to change it every time whenever I want to deploy in different server. If somehow I can set the -Dspring.profiles.active in weblogic and try to get it in application that will help and accordingly the respective environment values will be fetched.
Comment From: ryanjbaxter
Doesn't sound like this has anything to do with Spring Cloud Config, I would open an issue in Spring Boot
Comment From: smworld30
Can you please provide the link where you have opened the issue
Comment From: ryanjbaxter
I didn't open the issue, that is something you will have to do