Skip to content

Instantly share code, notes, and snippets.

@chathurangat
Created March 15, 2018 17:35
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 chathurangat/5e31d960b82241bda2ff3be40945564b to your computer and use it in GitHub Desktop.
Save chathurangat/5e31d960b82241bda2ff3be40945564b to your computer and use it in GitHub Desktop.
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
@EnableEurekaServer
@SpringBootApplication
public class EurekaServerApplication {
public static void main(String[] args) {
SpringApplication.run(EurekaServerApplication.class, args);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment