Skip to content

Instantly share code, notes, and snippets.

@marek-obuchowicz
Created October 19, 2015 12:27
Show Gist options
  • Save marek-obuchowicz/3a1c9b524bb7fac28c7a to your computer and use it in GitHub Desktop.
Save marek-obuchowicz/3a1c9b524bb7fac28c7a to your computer and use it in GitHub Desktop.
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