Skip to content

Instantly share code, notes, and snippets.

@Odilio
Last active June 26, 2020 18:17
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 Odilio/5ba076874ef3dfcb3e07e8c76d3eab2d to your computer and use it in GitHub Desktop.
Save Odilio/5ba076874ef3dfcb3e07e8c76d3eab2d to your computer and use it in GitHub Desktop.
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