
net.smartcosmos.cluster.eureka.EurekaApplication Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smartcosmos-service-discovery Show documentation
Show all versions of smartcosmos-service-discovery Show documentation
SMART COSMOS Service Discovery Server based on the Netflix OSS Eureka Server
The newest version!
package net.smartcosmos.cluster.eureka;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
/**
* @author voor
*/
@SpringBootApplication
@EnableEurekaServer
public class EurekaApplication {
public static void main(String[] args) throws Exception {
new SpringApplicationBuilder(EurekaApplication.class).web(true).run(args);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy