From caa53847dd6fbec73716c44dbac100ee3eb802f5 Mon Sep 17 00:00:00 2001 From: thinkgem Date: Thu, 13 Apr 2023 10:43:44 +0800 Subject: [PATCH] update --- sentinel/pom.xml | 2 +- .../dashboard/DashboardApplication.java | 39 ------------------- 2 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 sentinel/src/main/java/com/alibaba/csp/sentinel/dashboard/DashboardApplication.java diff --git a/sentinel/pom.xml b/sentinel/pom.xml index 964968329..7ca8e1b5c 100644 --- a/sentinel/pom.xml +++ b/sentinel/pom.xml @@ -7,7 +7,7 @@ com.jeesite jeesite-cloud-parent 4.6.2-SNAPSHOT - ../parent/web/pom.xml + ../parent/pom.xml jeesite-cloud-sentinel diff --git a/sentinel/src/main/java/com/alibaba/csp/sentinel/dashboard/DashboardApplication.java b/sentinel/src/main/java/com/alibaba/csp/sentinel/dashboard/DashboardApplication.java deleted file mode 100644 index f74864626..000000000 --- a/sentinel/src/main/java/com/alibaba/csp/sentinel/dashboard/DashboardApplication.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 1999-2018 Alibaba Group Holding Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.alibaba.csp.sentinel.dashboard; - -import com.alibaba.csp.sentinel.init.InitExecutor; - -import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.SpringBootApplication; - -/** - * Sentinel dashboard application. - * - * @author Carpenter Lee - */ -@SpringBootApplication -public class DashboardApplication { - - public static void main(String[] args) { - triggerSentinelInit(); - SpringApplication.run(DashboardApplication.class, args); - } - - private static void triggerSentinelInit() { - new Thread(() -> InitExecutor.doInit()).start(); - } -}