Mercurial > hg > SpringPlayground
view spring-cloud-config-client/src/main/java/de/comline/config/application/ConfigClient.java @ 20:452cfefb0e1e default tip
Einfache Spring Application, die ihre config aus dem Spring Cloud Config Server liest
author | Dirk Olmes <dirk.olmes@codedo.de> |
---|---|
date | Thu, 17 Sep 2020 17:25:15 +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.context.annotation.Import; import de.comline.config.controller.HelloController; @SpringBootApplication @Import(HelloController.class) public class ConfigClient { public static void main(String[] args) { SpringApplication.run(ConfigClient.class, args); } }