Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@albertoaflores
Created April 21, 2017 20:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save albertoaflores/d6b8e1a55251299ab60e7bfc25b133bb to your computer and use it in GitHub Desktop.
Save albertoaflores/d6b8e1a55251299ab60e7bfc25b133bb to your computer and use it in GitHub Desktop.
Sample Spring Cloud Config Server
package io.cybertech.boot.sample;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
@SpringBootApplication
@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