package com.nobodyiam.spring.cloud.in.action.config.server;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.context.annotation.Configuration;

/**
 * Created by Jason on 2/24/16.
 */
@Configuration
@EnableAutoConfiguration
@EnableConfigServer
public class ConfigServerApplication {

  public static void main(String[] args) {
    new SpringApplicationBuilder(ConfigServerApplication.class)
            .run(args);
  }

}

@@ -100,34 +100,32 @@
 nfigure.
-EnableAutoConfigur
+SpringBootApplic
 ation;%0Ai
@@ -259,69 +259,8 @@
 ver;
-%0Aimport org.springframework.context.annotation.Configuration;
 %0A%0A/*
@@ -301,67 +301,50 @@
  */%0A
-@Configuration%0A
 @Enable
-Auto
 Config
-uration%0A@EnableConfigServer
+Server%0A@SpringBootApplication
 %0Apub

update annotation