Created
November 19, 2017 19:42
-
-
Save odedia/209e98e7df98e2c712aa1e981b428ec0 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.configserver; | |
| import org.springframework.boot.SpringApplication; | |
| import org.springframework.boot.autoconfigure.SpringBootApplication; | |
| import org.springframework.cloud.client.discovery.EnableDiscoveryClient; | |
| import org.springframework.cloud.config.server.EnableConfigServer; | |
| @SpringBootApplication | |
| @EnableDiscoveryClient | |
| @EnableConfigServer | |
| public class ConfigServerApplication { | |
| public static void main(String[] args) { | |
| SpringApplication.run(ConfigServerApplication.class, args); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment