I need to code different logic based on different current Environment profile.
How can you get the currently active and default profiles from Spring?
I need to code different logic based on different current Environment profile.
How can you get the currently active and default profiles from Spring?