Skip to content
Snippets Groups Projects
Commit b3ad59ce authored by Julian Horner's avatar Julian Horner
Browse files

Add starting class for zuul server

parent af67c7a9
No related branches found
No related tags found
No related merge requests found
/*
* Copyright 2019 (C) by Julian Horner.
* All Rights Reserved.
*/
package de.rtuni.ms.apig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
/**
* Starts the api gateway as a zuul server.
*
* @author Julian
*
*/
@SpringBootApplication
@EnableEurekaClient
@EnableZuulProxy
public class Application {
//---------------------------------------------------------------------------------------------
/**
* Starts the application.
*
* @param args The arguments
*/
public static void main(final String[] args) { SpringApplication.run(Application.class, args); }
//---------------------------------------------------------------------------------------------
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment