Created
October 19, 2015 12:27
-
-
Save marek-obuchowicz/3a1c9b524bb7fac28c7a 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
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.EnableAutoConfiguration; | |
import org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration; | |
import org.springframework.cloud.config.server.EnableConfigServer; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.util.StringUtils; | |
import org.xxx.phoenix.bootstarters.jersey.autoconfigure.PhoenixJerseyAutoConfiguration; | |
@Configuration | |
@EnableAutoConfiguration( exclude = { JacksonAutoConfiguration.class, PhoenixJerseyAutoConfiguration.class } ) | |
@EnableConfigServer | |
public class ConfigServerApplication | |
{ | |
public static void main( String[] args ) | |
{ | |
SpringApplication app = new SpringApplication( ConfigServerApplication.class ); | |
app.run( args ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment