Last active
June 26, 2020 18:17
-
-
Save Odilio/5ba076874ef3dfcb3e07e8c76d3eab2d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.discovery; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.cloud.client.discovery.EnableDiscoveryClient; | |
/** | |
* A Simple Spring Cloud Consul app | |
* | |
* @author Odilio Noronha Filho | |
*/ | |
@SpringBootApplication | |
@EnableDiscoveryClient | |
public class StarterDiscovery { | |
public static void main(String[] args) { | |
SpringApplication.run(StarterDiscovery.class, args); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment