comparison 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
comparison
equal deleted inserted replaced
19:fe6a57f7a2cf 20:452cfefb0e1e
1 package de.comline.config.application;
2
3 import org.springframework.boot.SpringApplication;
4 import org.springframework.boot.autoconfigure.SpringBootApplication;
5 import org.springframework.context.annotation.Import;
6
7 import de.comline.config.controller.HelloController;
8
9 @SpringBootApplication
10 @Import(HelloController.class)
11 public class ConfigClient {
12 public static void main(String[] args) {
13 SpringApplication.run(ConfigClient.class, args);
14 }
15 }