Skip to content

Instantly share code, notes, and snippets.

@migueldoctor
Created May 10, 2019 13:29
Show Gist options
  • Save migueldoctor/f2b6d75fb299e77d41b1f2eb2226652c to your computer and use it in GitHub Desktop.
Save migueldoctor/f2b6d75fb299e77d41b1f2eb2226652c to your computer and use it in GitHub Desktop.
Main class of our ZuulGatewayServer
package com.kesizo.microservices.gateway;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
@SpringBootApplication
@EnableDiscoveryClient
@EnableZuulProxy
public class ZuulGatewayServer {
public static void main(String[] args) {
SpringApplication.run(ZuulGatewayServer.class, args);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment