Change hippo4j core basic path

pull/222/head
chen.ma 3 years ago
parent 17881c7f48
commit e6c28c3fa4

@ -15,11 +15,11 @@
* limitations under the License.
*/
package cn.hippo4j.core.spring.boot.starter.config;
package cn.hippo4j.core.springboot.starter.config;
import cn.hippo4j.core.config.BootstrapPropertiesInterface;
import cn.hippo4j.core.spring.boot.starter.monitor.DynamicThreadPoolMonitor;
import cn.hippo4j.core.spring.boot.starter.parser.ConfigFileTypeEnum;
import cn.hippo4j.core.springboot.starter.monitor.DynamicThreadPoolMonitor;
import cn.hippo4j.core.springboot.starter.parser.ConfigFileTypeEnum;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ -15,7 +15,7 @@
* limitations under the License.
*/
package cn.hippo4j.core.spring.boot.starter.config;
package cn.hippo4j.core.springboot.starter.config;
import cn.hippo4j.common.api.NotifyConfigBuilder;
import cn.hippo4j.common.config.ApplicationContextHolder;
@ -31,15 +31,15 @@ import cn.hippo4j.core.config.WebThreadPoolConfiguration;
import cn.hippo4j.core.enable.MarkerConfiguration;
import cn.hippo4j.core.executor.ThreadPoolNotifyAlarmHandler;
import cn.hippo4j.core.executor.state.ThreadPoolRunStateHandler;
import cn.hippo4j.core.spring.boot.starter.monitor.DynamicThreadPoolMonitorExecutor;
import cn.hippo4j.core.spring.boot.starter.monitor.LogMonitorHandler;
import cn.hippo4j.core.spring.boot.starter.monitor.MetricMonitorHandler;
import cn.hippo4j.core.spring.boot.starter.refresher.ApolloRefresherHandler;
import cn.hippo4j.core.spring.boot.starter.refresher.NacosCloudRefresherHandler;
import cn.hippo4j.core.spring.boot.starter.refresher.NacosRefresherHandler;
import cn.hippo4j.core.spring.boot.starter.support.DynamicThreadPoolPostProcessor;
import cn.hippo4j.core.spring.boot.starter.notify.CoreNotifyConfigBuilder;
import cn.hippo4j.core.spring.boot.starter.refresher.ZookeeperRefresherHandler;
import cn.hippo4j.core.springboot.starter.monitor.DynamicThreadPoolMonitorExecutor;
import cn.hippo4j.core.springboot.starter.monitor.LogMonitorHandler;
import cn.hippo4j.core.springboot.starter.monitor.MetricMonitorHandler;
import cn.hippo4j.core.springboot.starter.refresher.ApolloRefresherHandler;
import cn.hippo4j.core.springboot.starter.refresher.NacosCloudRefresherHandler;
import cn.hippo4j.core.springboot.starter.refresher.NacosRefresherHandler;
import cn.hippo4j.core.springboot.starter.support.DynamicThreadPoolPostProcessor;
import cn.hippo4j.core.springboot.starter.notify.CoreNotifyConfigBuilder;
import cn.hippo4j.core.springboot.starter.refresher.ZookeeperRefresherHandler;
import lombok.AllArgsConstructor;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.boot.autoconfigure.condition.*;

@ -15,7 +15,7 @@
* limitations under the License.
*/
package cn.hippo4j.core.spring.boot.starter.config;
package cn.hippo4j.core.springboot.starter.config;
import cn.hippo4j.common.notify.ThreadPoolNotifyAlarm;
import com.google.common.collect.Maps;

@ -15,7 +15,7 @@
* limitations under the License.
*/
package cn.hippo4j.core.spring.boot.starter.monitor;
package cn.hippo4j.core.springboot.starter.monitor;
import cn.hippo4j.common.model.PoolRunStateInfo;
import cn.hippo4j.core.executor.manage.GlobalThreadPoolManage;

@ -15,13 +15,13 @@
* limitations under the License.
*/
package cn.hippo4j.core.spring.boot.starter.monitor;
package cn.hippo4j.core.springboot.starter.monitor;
import cn.hippo4j.common.config.ApplicationContextHolder;
import cn.hippo4j.common.toolkit.StringUtil;
import cn.hippo4j.core.executor.support.ThreadFactoryBuilder;
import cn.hippo4j.core.spi.DynamicThreadPoolServiceLoader;
import cn.hippo4j.core.spring.boot.starter.config.BootstrapCoreProperties;
import cn.hippo4j.core.springboot.starter.config.BootstrapCoreProperties;
import com.google.common.collect.Lists;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;

@ -15,7 +15,7 @@
* limitations under the License.
*/
package cn.hippo4j.core.spring.boot.starter.monitor;
package cn.hippo4j.core.springboot.starter.monitor;
import cn.hippo4j.common.model.PoolRunStateInfo;
import cn.hippo4j.common.toolkit.JSONUtil;

@ -15,7 +15,7 @@
* limitations under the License.
*/
package cn.hippo4j.core.spring.boot.starter.monitor;
package cn.hippo4j.core.springboot.starter.monitor;
import cn.hippo4j.common.config.ApplicationContextHolder;
import cn.hippo4j.common.model.PoolRunStateInfo;

@ -15,15 +15,15 @@
* limitations under the License.
*/
package cn.hippo4j.core.spring.boot.starter.notify;
package cn.hippo4j.core.springboot.starter.notify;
import cn.hippo4j.common.api.NotifyConfigBuilder;
import cn.hippo4j.common.notify.AlarmControlHandler;
import cn.hippo4j.common.notify.NotifyConfigDTO;
import cn.hippo4j.common.toolkit.StringUtil;
import cn.hippo4j.core.spring.boot.starter.config.BootstrapCoreProperties;
import cn.hippo4j.core.spring.boot.starter.config.ExecutorProperties;
import cn.hippo4j.core.spring.boot.starter.config.NotifyPlatformProperties;
import cn.hippo4j.core.springboot.starter.config.BootstrapCoreProperties;
import cn.hippo4j.core.springboot.starter.config.ExecutorProperties;
import cn.hippo4j.core.springboot.starter.config.NotifyPlatformProperties;
import cn.hutool.core.util.StrUtil;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;

@ -15,7 +15,7 @@
* limitations under the License.
*/
package cn.hippo4j.core.spring.boot.starter.parser;
package cn.hippo4j.core.springboot.starter.parser;
import java.io.IOException;
import java.util.List;

@ -15,7 +15,7 @@
* limitations under the License.
*/
package cn.hippo4j.core.spring.boot.starter.parser;
package cn.hippo4j.core.springboot.starter.parser;
import com.google.common.collect.Lists;

@ -15,7 +15,7 @@
* limitations under the License.
*/
package cn.hippo4j.core.spring.boot.starter.parser;
package cn.hippo4j.core.springboot.starter.parser;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;

@ -15,7 +15,7 @@
* limitations under the License.
*/
package cn.hippo4j.core.spring.boot.starter.refresher;
package cn.hippo4j.core.springboot.starter.refresher;
import cn.hippo4j.common.api.ThreadPoolDynamicRefresh;
import cn.hippo4j.common.config.ApplicationContextHolder;
@ -34,12 +34,12 @@ import cn.hippo4j.core.executor.manage.GlobalNotifyAlarmManage;
import cn.hippo4j.core.executor.manage.GlobalThreadPoolManage;
import cn.hippo4j.core.executor.support.*;
import cn.hippo4j.core.proxy.RejectedProxyUtil;
import cn.hippo4j.core.spring.boot.starter.config.WebThreadPoolProperties;
import cn.hippo4j.core.spring.boot.starter.support.GlobalCoreThreadPoolManage;
import cn.hippo4j.core.spring.boot.starter.config.BootstrapCoreProperties;
import cn.hippo4j.core.spring.boot.starter.config.ExecutorProperties;
import cn.hippo4j.core.spring.boot.starter.notify.CoreNotifyConfigBuilder;
import cn.hippo4j.core.spring.boot.starter.parser.ConfigParserHandler;
import cn.hippo4j.core.springboot.starter.config.WebThreadPoolProperties;
import cn.hippo4j.core.springboot.starter.support.GlobalCoreThreadPoolManage;
import cn.hippo4j.core.springboot.starter.config.BootstrapCoreProperties;
import cn.hippo4j.core.springboot.starter.config.ExecutorProperties;
import cn.hippo4j.core.springboot.starter.notify.CoreNotifyConfigBuilder;
import cn.hippo4j.core.springboot.starter.parser.ConfigParserHandler;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.InitializingBean;

@ -15,10 +15,10 @@
* limitations under the License.
*/
package cn.hippo4j.core.spring.boot.starter.refresher;
package cn.hippo4j.core.springboot.starter.refresher;
import cn.hippo4j.core.executor.ThreadPoolNotifyAlarmHandler;
import cn.hippo4j.core.spring.boot.starter.config.BootstrapCoreProperties;
import cn.hippo4j.core.springboot.starter.config.BootstrapCoreProperties;
import com.ctrip.framework.apollo.Config;
import com.ctrip.framework.apollo.ConfigChangeListener;
import com.ctrip.framework.apollo.ConfigFile;

@ -15,15 +15,15 @@
* limitations under the License.
*/
package cn.hippo4j.core.spring.boot.starter.refresher;
package cn.hippo4j.core.springboot.starter.refresher;
import cn.hippo4j.common.notify.NotifyPlatformEnum;
import cn.hippo4j.common.notify.ThreadPoolNotifyAlarm;
import cn.hippo4j.common.toolkit.CollectionUtil;
import cn.hippo4j.common.toolkit.StringUtil;
import cn.hippo4j.core.spring.boot.starter.config.BootstrapCoreProperties;
import cn.hippo4j.core.spring.boot.starter.config.ExecutorProperties;
import cn.hippo4j.core.spring.boot.starter.config.NotifyPlatformProperties;
import cn.hippo4j.core.springboot.starter.config.BootstrapCoreProperties;
import cn.hippo4j.core.springboot.starter.config.ExecutorProperties;
import cn.hippo4j.core.springboot.starter.config.NotifyPlatformProperties;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.bean.copier.CopyOptions;
import com.google.common.collect.Lists;
@ -36,7 +36,7 @@ import org.springframework.boot.context.properties.source.MapConfigurationProper
import java.util.List;
import java.util.Map;
import static cn.hippo4j.core.spring.boot.starter.config.BootstrapCoreProperties.PREFIX;
import static cn.hippo4j.core.springboot.starter.config.BootstrapCoreProperties.PREFIX;
/**
* Bootstrap core properties binder adapt.

@ -15,11 +15,11 @@
* limitations under the License.
*/
package cn.hippo4j.core.spring.boot.starter.refresher;
package cn.hippo4j.core.springboot.starter.refresher;
import cn.hippo4j.common.config.ApplicationContextHolder;
import cn.hippo4j.core.executor.ThreadPoolNotifyAlarmHandler;
import cn.hippo4j.core.spring.boot.starter.config.BootstrapCoreProperties;
import cn.hippo4j.core.springboot.starter.config.BootstrapCoreProperties;
import com.alibaba.cloud.nacos.NacosConfigManager;
import com.alibaba.nacos.api.config.listener.Listener;
import lombok.extern.slf4j.Slf4j;

@ -15,11 +15,11 @@
* limitations under the License.
*/
package cn.hippo4j.core.spring.boot.starter.refresher;
package cn.hippo4j.core.springboot.starter.refresher;
import cn.hippo4j.common.config.ApplicationContextHolder;
import cn.hippo4j.core.executor.ThreadPoolNotifyAlarmHandler;
import cn.hippo4j.core.spring.boot.starter.config.BootstrapCoreProperties;
import cn.hippo4j.core.springboot.starter.config.BootstrapCoreProperties;
import com.alibaba.nacos.api.config.ConfigService;
import com.alibaba.nacos.api.config.listener.Listener;
import lombok.extern.slf4j.Slf4j;

@ -15,10 +15,10 @@
* limitations under the License.
*/
package cn.hippo4j.core.spring.boot.starter.refresher;
package cn.hippo4j.core.springboot.starter.refresher;
import cn.hippo4j.core.executor.ThreadPoolNotifyAlarmHandler;
import cn.hippo4j.core.spring.boot.starter.config.BootstrapCoreProperties;
import cn.hippo4j.core.springboot.starter.config.BootstrapCoreProperties;
import com.google.common.base.Charsets;
import lombok.extern.slf4j.Slf4j;
import org.apache.curator.framework.CuratorFramework;

@ -15,7 +15,7 @@
* limitations under the License.
*/
package cn.hippo4j.core.spring.boot.starter.support;
package cn.hippo4j.core.springboot.starter.support;
import cn.hippo4j.common.config.ApplicationContextHolder;
import cn.hippo4j.common.notify.ThreadPoolNotifyAlarm;
@ -26,8 +26,8 @@ import cn.hippo4j.core.executor.DynamicThreadPoolWrapper;
import cn.hippo4j.core.executor.manage.GlobalNotifyAlarmManage;
import cn.hippo4j.core.executor.manage.GlobalThreadPoolManage;
import cn.hippo4j.core.executor.support.*;
import cn.hippo4j.core.spring.boot.starter.config.BootstrapCoreProperties;
import cn.hippo4j.core.spring.boot.starter.config.ExecutorProperties;
import cn.hippo4j.core.springboot.starter.config.BootstrapCoreProperties;
import cn.hippo4j.core.springboot.starter.config.ExecutorProperties;
import cn.hippo4j.core.toolkit.inet.DynamicThreadPoolAnnotationUtil;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;

@ -15,9 +15,9 @@
* limitations under the License.
*/
package cn.hippo4j.core.spring.boot.starter.support;
package cn.hippo4j.core.springboot.starter.support;
import cn.hippo4j.core.spring.boot.starter.config.ExecutorProperties;
import cn.hippo4j.core.springboot.starter.config.ExecutorProperties;
import com.google.common.collect.Maps;
import java.util.Map;

@ -1 +1 @@
org.springframework.boot.autoconfigure.EnableAutoConfiguration=cn.hippo4j.core.spring.boot.starter.config.DynamicThreadPoolCoreAutoConfiguration
org.springframework.boot.autoconfigure.EnableAutoConfiguration=cn.hippo4j.core.springboot.starter.config.DynamicThreadPoolCoreAutoConfiguration

Loading…
Cancel
Save