Skip to content

Instantly share code, notes, and snippets.

@pethaniakshay
Created April 24, 2019 03:37
Show Gist options
  • Save pethaniakshay/7ccee70e3982a647c98c83bade6ce64c to your computer and use it in GitHub Desktop.
Save pethaniakshay/7ccee70e3982a647c98c83bade6ce64c to your computer and use it in GitHub Desktop.

Revisions

  1. pethaniakshay created this gist Apr 24, 2019.
    14 changes: 14 additions & 0 deletions EurekaNamingServerApplication.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    package com.codepuran;

    import org.springframework.boot.SpringApplication;
    import org.springframework.boot.autoconfigure.SpringBootApplication;
    import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

    @SpringBootApplication
    @EnableEurekaServer
    public class EurekaNamingServerApplication {

    public static void main(String[] args) {
    SpringApplication.run(EurekaNamingServerApplication.class, args);
    }
    }