mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-01-12 04:51:11 +00:00
Remove misleading production profile
Closes gh-333
This commit is contained in:
parent
415bd73893
commit
5ff057d90b
4 changed files with 39 additions and 31 deletions
|
|
@ -6,14 +6,9 @@ import javax.cache.configuration.MutableConfiguration;
|
|||
import org.springframework.boot.autoconfigure.cache.JCacheManagerCustomizer;
|
||||
import org.springframework.cache.annotation.EnableCaching;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Profile;
|
||||
|
||||
/**
|
||||
* Cache could be disabled in unit test.
|
||||
*/
|
||||
@org.springframework.context.annotation.Configuration
|
||||
@EnableCaching
|
||||
@Profile("production")
|
||||
class CacheConfig {
|
||||
|
||||
@Bean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue