From 9ac23d0730e7905557a3592fe2455497d4b6d11e Mon Sep 17 00:00:00 2001 From: "wangiegie@gmail.com" Date: Thu, 25 Jan 2018 18:39:26 +0800 Subject: [PATCH] =?UTF-8?q?zipkin-db=20=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pig-visual/pig-zipkin-db/pom.xml | 12 ++++++++++++ .../github/pig/zipkin/PigZipkinDbApplication.java | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/pig-visual/pig-zipkin-db/pom.xml b/pig-visual/pig-zipkin-db/pom.xml index 06d2415b..3832cc0b 100644 --- a/pig-visual/pig-zipkin-db/pom.xml +++ b/pig-visual/pig-zipkin-db/pom.xml @@ -50,4 +50,16 @@ spring-boot-starter-jdbc + + + + + org.springframework.boot + spring-boot-maven-plugin + + ${project.name} + + + + \ No newline at end of file diff --git a/pig-visual/pig-zipkin-db/src/main/java/com/github/pig/zipkin/PigZipkinDbApplication.java b/pig-visual/pig-zipkin-db/src/main/java/com/github/pig/zipkin/PigZipkinDbApplication.java index 5779917d..9b2e937d 100644 --- a/pig-visual/pig-zipkin-db/src/main/java/com/github/pig/zipkin/PigZipkinDbApplication.java +++ b/pig-visual/pig-zipkin-db/src/main/java/com/github/pig/zipkin/PigZipkinDbApplication.java @@ -2,7 +2,7 @@ package com.github.pig.zipkin; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; -import org.springframework.cloud.netflix.eureka.EnableEurekaClient; +import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import zipkin.server.EnableZipkinServer; /** @@ -10,8 +10,8 @@ import zipkin.server.EnableZipkinServer; * @date 2018-01-24 * zipkin mysql 存储实现 */ +@EnableDiscoveryClient @SpringBootApplication -@EnableEurekaClient @EnableZipkinServer public class PigZipkinDbApplication { public static void main(String[] args) {