Mercurial > hg > SpringPlayground
view spring-cloud-config-server/src/main/java/de/comline/config/application/ConfigServer.java @ 19:fe6a57f7a2cf
Spring Cloud Config server
author | Dirk Olmes <dirk.olmes@codedo.de> |
---|---|
date | Thu, 17 Sep 2020 17:24:48 +0200 |
parents | |
children |
line wrap: on
line source
package de.comline.config.application; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.config.server.EnableConfigServer; import org.springframework.context.annotation.Import; import de.comline.config.configuration.H2WebConsoleConfig; @SpringBootApplication @EnableConfigServer @Import(H2WebConsoleConfig.class) public class ConfigServer { public static void main(String[] args) { SpringApplication.run(ConfigServer.class, args); } }