Skip to content

Instantly share code, notes, and snippets.

@migueldoctor
Last active April 9, 2019 09:45
Show Gist options
  • Save migueldoctor/0849702f7a06ee324a227bf6cbad4436 to your computer and use it in GitHub Desktop.
Save migueldoctor/0849702f7a06ee324a227bf6cbad4436 to your computer and use it in GitHub Desktop.
Entry point of our Eureka Server
package com.kesizo.microservices.discovery;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
@EnableEurekaServer
@SpringBootApplication
public class ApplicationEurekaServer {
public static void main(String[] args) throws Exception {
SpringApplication.run(ApplicationEurekaServer.class, args);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment