Skip to content

Instantly share code, notes, and snippets.

@odedia
Created November 19, 2017 19:42
Show Gist options
  • Select an option

  • Save odedia/209e98e7df98e2c712aa1e981b428ec0 to your computer and use it in GitHub Desktop.

Select an option

Save odedia/209e98e7df98e2c712aa1e981b428ec0 to your computer and use it in GitHub Desktop.
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