diff --git a/hippo4j-common/src/main/java/cn/hippo4j/common/constant/Constants.java b/hippo4j-common/src/main/java/cn/hippo4j/common/constant/Constants.java index 32b79cce..6ac22a44 100644 --- a/hippo4j-common/src/main/java/cn/hippo4j/common/constant/Constants.java +++ b/hippo4j-common/src/main/java/cn/hippo4j/common/constant/Constants.java @@ -113,4 +113,6 @@ public class Constants { public static final int HTTP_EXECUTE_TIMEOUT = 5000; public static final String CLIENT_VERSION = "Client-Version"; + + public static final String HIPPO4J_LOCK = "hippo4j_lock"; } diff --git a/hippo4j-server/hippo4j-bootstrap/conf/hippo4j_manager.sql b/hippo4j-server/hippo4j-bootstrap/conf/hippo4j_manager.sql index 00e0b1df..8bedd94b 100644 --- a/hippo4j-server/hippo4j-bootstrap/conf/hippo4j_manager.sql +++ b/hippo4j-server/hippo4j-bootstrap/conf/hippo4j_manager.sql @@ -246,3 +246,5 @@ INSERT IGNORE INTO `config` (`id`, `tenant_id`, `item_id`, `tp_id`, `tp_name`, ` INSERT IGNORE INTO `user` (`id`, `user_name`, `password`, `role`, `gmt_create`, `gmt_modified`, `del_flag`) VALUES ('1', 'admin', '$2a$10$2KCqRbra0Yn2TwvkZxtfLuWuUP5KyCWsljO/ci5pLD27pqR3TV1vy', 'ROLE_ADMIN', '2021-11-04 21:35:17', '2021-11-15 23:04:59', '0'); INSERT IGNORE INTO `notify` (`id`, `tenant_id`, `item_id`, `tp_id`, `platform`, `type`, `secret_key`, `interval`, `receives`, `enable`, `gmt_create`, `gmt_modified`, `del_flag`) VALUES ('1', 'prescription', 'dynamic-threadpool-example', 'message-produce', 'DING', 'CONFIG', '4a582a588a161d6e3a1bd1de7eea9ee9f562cdfcbe56b6e72029e7fd512b2eae', NULL, '15601166691', '0', '2021-11-18 22:49:50', '2021-11-18 22:49:50', '0'), ('2', 'prescription', 'dynamic-threadpool-example', 'message-produce', 'DING', 'ALARM', '4a582a588a161d6e3a1bd1de7eea9ee9f562cdfcbe56b6e72029e7fd512b2eae', '30', '15601166691', '0', '2021-11-18 22:50:06', '2021-11-18 22:50:06', '0'); + +INSERT IGNORE INTO `hippo4j_lock` VALUES ('hippo4j_lock'); \ No newline at end of file