Skip to content

Instantly share code, notes, and snippets.

@pethaniakshay
Created April 27, 2019 09:15
Show Gist options
  • Save pethaniakshay/9629f86c93917b7265eb06284c3b7051 to your computer and use it in GitHub Desktop.
Save pethaniakshay/9629f86c93917b7265eb06284c3b7051 to your computer and use it in GitHub Desktop.
package com.codepuran;
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
@EnableZuulProxy
@EnableDiscoveryClient
public class ZuulApiGatewayApplication {
public static void main(String[] args) {
SpringApplication.run(ZuulApiGatewayApplication.class, args);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment