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:
committed by
Predrag Maric
parent
88601730d0
commit
72e1e9634b
@@ -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@
|
||||
Reference in New Issue
Block a user