Feature/bael 2077 dhawal (#5232)

* [BAEL-2077] - Add section in Spring Profiles article

* removed irrelevent code

* [BAEL-2077] - Removing unnecessory files and adding Integration test file
This commit is contained in:
Dhawal Kapil
2018-09-13 11:09:53 +05:30
committed by Predrag Maric
parent 88601730d0
commit 72e1e9634b
4 changed files with 43 additions and 1 deletions
@@ -2,9 +2,11 @@ package org.baeldung.profiles;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
@Configuration
@ComponentScan("org.baeldung.profiles")
@PropertySource(value = "classpath:application.properties")
public class SpringProfilesConfig {
}
@@ -0,0 +1 @@
spring.profiles.active=@spring.profiles.active@