@@ -0,0 +1,766 @@
+package fi.nls.oskari.spring.session;%0A%0Aimport fi.nls.oskari.cache.JedisManager;%0Aimport org.springframework.context.annotation.Bean;%0Aimport org.springframework.context.annotation.Configuration;%0Aimport org.springframework.context.annotation.Profile;%0Aimport org.springframework.session.data.redis.config.ConfigureRedisAction;%0Aimport org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;%0A%0A@Configuration%0A@Profile(RedisSessionsConfigElasticCache.PROFILE)%0Apublic class RedisSessionsConfigElasticCache  extends WebMvcConfigurerAdapter %7B%0A    public static final String PROFILE = %22redis-aws%22;%0A%0A    @Bean%0A    @Profile(JedisManager.CLUSTERED_ENV_PROFILE)%0A    ConfigureRedisAction configureRedisAction() %7B%0A        return ConfigureRedisAction.NO_OP;%0A    %7D%0A%7D%0A

Configure NO_OP configuration to redis-session profile