Created
November 19, 2017 19:56
-
-
Save odedia/a4c1179c86104a5a722932f1ba83a9aa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.odedia.springsession; | |
| import org.springframework.boot.SpringApplication; | |
| import org.springframework.boot.autoconfigure.SpringBootApplication; | |
| import org.springframework.cloud.client.discovery.EnableDiscoveryClient; | |
| import org.springframework.cloud.netflix.zuul.EnableZuulProxy; | |
| import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; | |
| import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession; | |
| @SpringBootApplication | |
| @EnableDiscoveryClient | |
| @EnableZuulProxy | |
| @EnableWebSecurity | |
| @EnableRedisHttpSession | |
| public class GatewayApplication { | |
| public static void main(String[] args) { | |
| SpringApplication.run(GatewayApplication.class, args); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment