File tree Expand file tree Collapse file tree
src/main/java/eu/openanalytics/containerproxy Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333import org .springframework .context .event .ContextRefreshedEvent ;
3434import org .springframework .context .event .EventListener ;
3535import org .springframework .core .env .Environment ;
36+ import org .springframework .session .data .redis .config .ConfigureRedisAction ;
3637import org .springframework .web .filter .FormContentFilter ;
3738import org .springframework .web .filter .HiddenHttpMethodFilter ;
3839
@@ -116,7 +117,16 @@ public FilterRegistrationBean<FormContentFilter> registration2(FormContentFilter
116117 */
117118 @ Bean
118119 public JSR353Module jsr353Module () {
119- return new JSR353Module ();
120+ return new JSR353Module ();
121+ }
122+
123+ /**
124+ * Compatibility with AWS ElastiCache
125+ * @return
126+ */
127+ @ Bean
128+ public static ConfigureRedisAction configureRedisAction () {
129+ return ConfigureRedisAction .NO_OP ;
120130 }
121131
122132 private static void setDefaultProperties (SpringApplication app ) {
You can’t perform that action at this time.
0 commit comments