mirror of
https://github.com/chillzhuang/blade-tool
synced 2024-12-12 12:19:27 +08:00
🎉 去掉不需要的代码
This commit is contained in:
parent
63716ac9fc
commit
513831b834
@ -1,34 +0,0 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com).
|
|
||||||
* <p>
|
|
||||||
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE 3.0;
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
* <p>
|
|
||||||
* http://www.gnu.org/licenses/lgpl.html
|
|
||||||
* <p>
|
|
||||||
* 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 org.springblade.core.launch;
|
|
||||||
|
|
||||||
import org.springframework.boot.CommandLineRunner;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 系统启动完毕后执行
|
|
||||||
*
|
|
||||||
* @author Chill
|
|
||||||
*/
|
|
||||||
@Component
|
|
||||||
public class BladeLineRunner implements CommandLineRunner {
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void run(String... args) {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -32,26 +32,6 @@ public interface AppConstant {
|
|||||||
*/
|
*/
|
||||||
String BASE_PACKAGES = "org.springblade";
|
String BASE_PACKAGES = "org.springblade";
|
||||||
|
|
||||||
/**
|
|
||||||
* zookeeper id
|
|
||||||
*/
|
|
||||||
String ZOOKEEPER_ID = "zk";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* zookeeper connect string
|
|
||||||
*/
|
|
||||||
String ZOOKEEPER_CONNECT_STRING = "127.0.0.1:2181";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* zookeeper address
|
|
||||||
*/
|
|
||||||
String ZOOKEEPER_ADDRESS = "zookeeper://" + ZOOKEEPER_CONNECT_STRING;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* zookeeper root
|
|
||||||
*/
|
|
||||||
String ZOOKEEPER_ROOT = "/blade-services";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 应用名前缀
|
* 应用名前缀
|
||||||
*/
|
*/
|
||||||
@ -68,14 +48,6 @@ public interface AppConstant {
|
|||||||
* 监控模块名称
|
* 监控模块名称
|
||||||
*/
|
*/
|
||||||
String APPLICATION_ADMIN_NAME = APPLICATION_NAME_PREFIX + "admin";
|
String APPLICATION_ADMIN_NAME = APPLICATION_NAME_PREFIX + "admin";
|
||||||
/**
|
|
||||||
* 配置中心模块名称
|
|
||||||
*/
|
|
||||||
String APPLICATION_CONFIG_NAME = APPLICATION_NAME_PREFIX + "config-server";
|
|
||||||
/**
|
|
||||||
* TX模块名称
|
|
||||||
*/
|
|
||||||
String APPLICATION_TX_MANAGER = "tx-manager";
|
|
||||||
/**
|
/**
|
||||||
* 首页模块名称
|
* 首页模块名称
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user