Remove misleading production profile

Closes gh-333
This commit is contained in:
Stephane Nicoll 2018-07-10 08:50:58 +02:00
parent 415bd73893
commit 5ff057d90b
4 changed files with 39 additions and 31 deletions

View file

@ -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