mirror of https://gitee.com/stylefeng/roses
【7.6.0】【框架改造】更新其他模块的自动配置名称
parent
97f64aba83
commit
a711e7541b
|
@ -40,7 +40,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
* @since 2021/1/31 20:32
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsMemoryCacheAutoConfiguration {
|
||||
public class ProjectMemoryCacheAutoConfiguration {
|
||||
|
||||
/**
|
||||
* 创建默认的value是string类型的内存缓存
|
|
@ -1,2 +1,2 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.cache.memory.starter.GunsMemoryCacheAutoConfiguration
|
||||
cn.stylefeng.roses.kernel.cache.memory.starter.ProjectMemoryCacheAutoConfiguration
|
||||
|
|
|
@ -41,7 +41,7 @@ import org.springframework.data.redis.serializer.RedisSerializer;
|
|||
* @since 2021/1/31 20:33
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsRedisCacheAutoConfiguration {
|
||||
public class ProjectRedisCacheAutoConfiguration {
|
||||
|
||||
/**
|
||||
* Redis的value序列化器
|
|
@ -1,2 +1,2 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.cache.redis.starter.GunsRedisCacheAutoConfiguration
|
||||
cn.stylefeng.roses.kernel.cache.redis.starter.ProjectRedisCacheAutoConfiguration
|
||||
|
|
|
@ -1,38 +0,0 @@
|
|||
/*
|
||||
* Copyright [2020-2030] [https://www.stylefeng.cn]
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* Guns采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
|
||||
*
|
||||
* 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
* 2.请不要删除和修改Guns源码头部的版权声明。
|
||||
* 3.请保留源码和相关描述文件的项目出处,作者声明等。
|
||||
* 4.分发源码时候,请注明软件出处 https://gitee.com/stylefeng/guns
|
||||
* 5.在修改包名,模块名称,项目代码等时,请注明软件出处 https://gitee.com/stylefeng/guns
|
||||
* 6.若您的项目无法满足以上几点,可申请商业授权
|
||||
*/
|
||||
package cn.stylefeng.roses.kernel.config.starter;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* 系统配置模块的自动配置类
|
||||
*
|
||||
* @author fengshuonan
|
||||
* @since 2020/11/30 22:24
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsSysConfigAutoConfiguration {
|
||||
|
||||
}
|
|
@ -1,4 +1,2 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.config.starter.GunsSysConfigAutoConfiguration
|
||||
org.springframework.context.ApplicationListener=\
|
||||
cn.stylefeng.roses.kernel.config.modular.listener.ConfigInitListener
|
|
@ -1,38 +0,0 @@
|
|||
/*
|
||||
* Copyright [2020-2030] [https://www.stylefeng.cn]
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* Guns采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
|
||||
*
|
||||
* 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
* 2.请不要删除和修改Guns源码头部的版权声明。
|
||||
* 3.请保留源码和相关描述文件的项目出处,作者声明等。
|
||||
* 4.分发源码时候,请注明软件出处 https://gitee.com/stylefeng/guns
|
||||
* 5.在修改包名,模块名称,项目代码等时,请注明软件出处 https://gitee.com/stylefeng/guns
|
||||
* 6.若您的项目无法满足以上几点,可申请商业授权
|
||||
*/
|
||||
package cn.stylefeng.roses.kernel.config.starter;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* 系统配置模块的自动配置类
|
||||
*
|
||||
* @author fengshuonan
|
||||
* @since 2020/11/30 22:24
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsSysConfigAutoConfiguration {
|
||||
|
||||
}
|
|
@ -1,4 +1,2 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.config.starter.GunsSysConfigAutoConfiguration
|
||||
org.springframework.context.ApplicationListener=\
|
||||
cn.stylefeng.roses.kernel.config.modular.listener.ConfigInitListener
|
|
@ -42,7 +42,7 @@ import javax.annotation.PostConstruct;
|
|||
* @since 2021/1/24 11:27
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsDruidMonitorAutoConfiguration {
|
||||
public class ProjectDruidMonitorAutoConfiguration {
|
||||
|
||||
/**
|
||||
* Druid监控界面的配置
|
|
@ -40,7 +40,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
*/
|
||||
@Configuration
|
||||
@AutoConfigureBefore(DataSourceAutoConfiguration.class)
|
||||
public class GunsDruidPropertiesAutoConfiguration {
|
||||
public class ProjectDruidPropertiesAutoConfiguration {
|
||||
|
||||
/**
|
||||
* druid属性配置
|
|
@ -44,7 +44,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
*/
|
||||
@Configuration
|
||||
@AutoConfigureBefore(MybatisPlusAutoConfiguration.class)
|
||||
public class GunsMyBatisPlusAutoConfiguration {
|
||||
public class ProjectMyBatisPlusAutoConfiguration {
|
||||
|
||||
/**
|
||||
* 新的分页插件
|
|
@ -18,7 +18,7 @@ import java.io.IOException;
|
|||
*/
|
||||
@Configuration
|
||||
@AutoConfigureBefore(DataSourceAutoConfiguration.class)
|
||||
public class GunsRemoveDruidAdAutoConfiguration {
|
||||
public class RemoveDruidAdAutoConfiguration {
|
||||
|
||||
/**
|
||||
* 除去页面底部的广告
|
|
@ -45,10 +45,10 @@ import javax.sql.DataSource;
|
|||
* @since 2020/11/30 22:24
|
||||
*/
|
||||
@Configuration
|
||||
@Import(GunsDruidPropertiesAutoConfiguration.class)
|
||||
@Import(ProjectDruidPropertiesAutoConfiguration.class)
|
||||
@AutoConfigureBefore(DataSourceAutoConfiguration.class)
|
||||
@ConditionalOnMissingBean(DataSource.class)
|
||||
public class GunsDataSourceAutoConfiguration {
|
||||
public class SingleDataSourceAutoConfiguration {
|
||||
|
||||
/**
|
||||
* druid数据库连接池
|
|
@ -1,6 +1,6 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.db.starter.GunsDataSourceAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.db.starter.GunsDruidPropertiesAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.db.starter.GunsMyBatisPlusAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.db.starter.GunsDruidMonitorAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.db.starter.GunsRemoveDruidAdAutoConfiguration
|
||||
cn.stylefeng.roses.kernel.db.starter.SingleDataSourceAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.db.starter.ProjectDruidPropertiesAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.db.starter.ProjectMyBatisPlusAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.db.starter.ProjectDruidMonitorAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.db.starter.RemoveDruidAdAutoConfiguration
|
||||
|
|
|
@ -45,7 +45,7 @@ import javax.sql.DataSource;
|
|||
@Configuration
|
||||
@AutoConfigureBefore(DataSourceAutoConfiguration.class)
|
||||
@ConditionalOnMissingBean(DataSource.class)
|
||||
public class GunsDataSourceContainerAutoConfiguration {
|
||||
public class DataSourceContainerAutoConfiguration {
|
||||
|
||||
/**
|
||||
* 多数据源连接池,如果开启此连接池,注意排除 GunsDataSourceAutoConfiguration
|
|
@ -1,4 +1,4 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.dsctn.starter.GunsDataSourceContainerAutoConfiguration
|
||||
cn.stylefeng.roses.kernel.dsctn.starter.DataSourceContainerAutoConfiguration
|
||||
org.springframework.context.ApplicationListener=\
|
||||
cn.stylefeng.roses.kernel.dsctn.listener.DataSourceInitListener
|
||||
|
|
|
@ -37,7 +37,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
* @since 2020/12/1 11:25
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsEmailAutoConfiguration {
|
||||
public class ProjectEmailAutoConfiguration {
|
||||
|
||||
/**
|
||||
* java mail方式发送邮件的接口
|
|
@ -1,2 +1,2 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.email.starter.GunsEmailAutoConfiguration
|
||||
cn.stylefeng.roses.kernel.email.starter.ProjectEmailAutoConfiguration
|
|
@ -39,7 +39,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
* @since 2020/12/1 14:34
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsFileAutoConfiguration {
|
||||
public class ProjectFileAutoConfiguration {
|
||||
|
||||
/**
|
||||
* 本地文件操作
|
|
@ -1,2 +1,2 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.file.starter.GunsFileAutoConfiguration
|
||||
cn.stylefeng.roses.kernel.file.starter.ProjectFileAutoConfiguration
|
|
@ -37,7 +37,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
* @since 2021/1/29 11:23
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsGroovyAutoConfiguration {
|
||||
public class ProjectGroovyAutoConfiguration {
|
||||
|
||||
/**
|
||||
* Groovy的操作类
|
|
@ -1,2 +1,2 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.groovy.starter.GunsGroovyAutoConfiguration
|
||||
cn.stylefeng.roses.kernel.groovy.starter.ProjectGroovyAutoConfiguration
|
||||
|
|
|
@ -36,7 +36,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
* @since 2021/1/24 16:42
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsTranslationAutoConfiguration {
|
||||
public class ProjectTranslationAutoConfiguration {
|
||||
|
||||
/**
|
||||
* 多语言翻译条目存放容器
|
|
@ -1,4 +1,4 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.i18n.starter.GunsTranslationAutoConfiguration
|
||||
cn.stylefeng.roses.kernel.i18n.starter.ProjectTranslationAutoConfiguration
|
||||
org.springframework.context.ApplicationListener=\
|
||||
cn.stylefeng.roses.kernel.i18n.listener.TranslationDictInitListener
|
||||
|
|
|
@ -43,7 +43,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
* @since 2020/12/1 17:12
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsLogAutoConfiguration {
|
||||
public class ProjectLogAutoConfiguration {
|
||||
|
||||
/**
|
||||
* 系统日志service
|
|
@ -1,2 +1,2 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.log.starter.GunsLogAutoConfiguration
|
||||
cn.stylefeng.roses.kernel.log.starter.ProjectLogAutoConfiguration
|
|
@ -37,7 +37,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
* @since 2020/12/4 15:28
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsPinyinAutoConfiguration {
|
||||
public class ProjectPinyinAutoConfiguration {
|
||||
|
||||
/**
|
||||
* 拼音工具接口的封装
|
|
@ -1,2 +1,2 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.pinyin.starter.GunsPinyinAutoConfiguration
|
||||
cn.stylefeng.roses.kernel.pinyin.starter.ProjectPinyinAutoConfiguration
|
|
@ -48,7 +48,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
* @since 2020/12/1 17:24
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsResourceAutoConfiguration {
|
||||
public class ProjectResourceAutoConfiguration {
|
||||
|
||||
public static final String SCANNER_PREFIX = "scanner";
|
||||
|
||||
|
@ -92,7 +92,7 @@ public class GunsResourceAutoConfiguration {
|
|||
*/
|
||||
@Bean
|
||||
@ConditionalOnMissingBean(ApiResourceScanner.class)
|
||||
@ConditionalOnProperty(prefix = GunsResourceAutoConfiguration.SCANNER_PREFIX, name = "open", havingValue = "true")
|
||||
@ConditionalOnProperty(prefix = ProjectResourceAutoConfiguration.SCANNER_PREFIX, name = "open", havingValue = "true")
|
||||
public ApiResourceScanner apiResourceScanner(ResourceCollectorApi resourceCollectorApi, ScannerProperties scannerProperties) {
|
||||
if (StrUtil.isBlank(scannerProperties.getAppCode())) {
|
||||
scannerProperties.setAppCode(springApplicationName);
|
||||
|
@ -111,7 +111,7 @@ public class GunsResourceAutoConfiguration {
|
|||
*/
|
||||
@Bean
|
||||
@ConditionalOnMissingBean(ResourceCollectorApi.class)
|
||||
@ConditionalOnProperty(prefix = GunsResourceAutoConfiguration.SCANNER_PREFIX, name = "open", havingValue = "true")
|
||||
@ConditionalOnProperty(prefix = ProjectResourceAutoConfiguration.SCANNER_PREFIX, name = "open", havingValue = "true")
|
||||
public ResourceCollectorApi resourceCollectorApi() {
|
||||
return new DefaultResourceCollector();
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.scanner.starter.GunsResourceAutoConfiguration
|
||||
cn.stylefeng.roses.kernel.scanner.starter.ProjectResourceAutoConfiguration
|
||||
org.springframework.context.ApplicationListener=\
|
||||
cn.stylefeng.roses.kernel.scanner.ResourceReportListener
|
||||
|
|
|
@ -39,7 +39,7 @@ import static org.springframework.core.Ordered.HIGHEST_PRECEDENCE;
|
|||
* @since 2021/2/19 9:05
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsSecurityAutoConfiguration {
|
||||
public class ProjectSecurityAutoConfiguration {
|
||||
|
||||
/**
|
||||
* ThreadLocal清除器
|
|
@ -42,7 +42,7 @@ import static org.springframework.core.Ordered.HIGHEST_PRECEDENCE;
|
|||
* @since 2021/1/13 23:05
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsXssAutoConfiguration {
|
||||
public class ProjectXssAutoConfiguration {
|
||||
|
||||
/**
|
||||
* XSS Filter过滤器,用来过滤param之类的传参
|
|
@ -1,6 +1,6 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.security.starter.GunsSecurityAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.security.starter.GunsXssAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.security.starter.ProjectSecurityAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.security.starter.ProjectXssAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.security.starter.CounterAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.security.starter.CaptchaAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.security.starter.cache.SecurityMemoryCacheAutoConfiguration,\
|
||||
|
|
|
@ -40,7 +40,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
* @since 2020/12/1 21:18
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsSmsAutoConfiguration {
|
||||
public class ProjectSmsAutoConfiguration {
|
||||
|
||||
/**
|
||||
* 短信发送器的配置
|
|
@ -1,2 +1,2 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.sms.starter.GunsSmsAutoConfiguration
|
||||
cn.stylefeng.roses.kernel.sms.starter.ProjectSmsAutoConfiguration
|
|
@ -37,7 +37,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
* @since 2021/6/2 下午5:48
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsSocketAutoConfiguration {
|
||||
public class ProjectSocketAutoConfiguration {
|
||||
|
||||
/**
|
||||
* Socket操作实现类
|
|
@ -1,2 +1,2 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.socket.starter.GunsSocketAutoConfiguration
|
||||
cn.stylefeng.roses.kernel.socket.starter.ProjectSocketAutoConfiguration
|
|
@ -37,7 +37,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
* @since 2020/12/1 21:34
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsTimerAutoConfiguration {
|
||||
public class TimerAutoConfiguration {
|
||||
|
||||
/**
|
||||
* hutool 新的定时任务,增加判断spring cloud双上下文
|
|
@ -1,4 +1,4 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.timer.starter.GunsTimerAutoConfiguration
|
||||
cn.stylefeng.roses.kernel.timer.starter.TimerAutoConfiguration
|
||||
org.springframework.context.ApplicationListener=\
|
||||
cn.stylefeng.roses.kernel.timer.modular.listener.TaskRunListener
|
||||
|
|
|
@ -38,7 +38,7 @@ import org.springframework.validation.beanvalidation.LocalValidatorFactoryBean;
|
|||
* @since 2020/8/12 20:07
|
||||
*/
|
||||
@Slf4j
|
||||
public class GunsValidator extends LocalValidatorFactoryBean {
|
||||
public class ProjectValidator extends LocalValidatorFactoryBean {
|
||||
|
||||
@Override
|
||||
public void validate(Object target, Errors errors, Object... validationHints) {
|
|
@ -37,7 +37,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
*/
|
||||
@Configuration
|
||||
@AutoConfigureBefore(ValidationAutoConfiguration.class)
|
||||
public class GunsValidatorAutoConfiguration {
|
||||
public class ProjectValidatorAutoConfiguration {
|
||||
|
||||
/**
|
||||
* 自定义的spring参数校验器,重写主要为了保存一些在自定义validator中读不到的属性
|
||||
|
@ -46,8 +46,8 @@ public class GunsValidatorAutoConfiguration {
|
|||
* @since 2020/8/12 20:18
|
||||
*/
|
||||
@Bean
|
||||
public GunsValidator gunsValidator() {
|
||||
return new GunsValidator();
|
||||
public ProjectValidator gunsValidator() {
|
||||
return new ProjectValidator();
|
||||
}
|
||||
|
||||
}
|
|
@ -1,2 +1,2 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.validator.starter.GunsValidatorAutoConfiguration
|
||||
cn.stylefeng.roses.kernel.validator.starter.ProjectValidatorAutoConfiguration
|
||||
|
|
|
@ -43,7 +43,7 @@ import java.util.Date;
|
|||
* @since 2022/9/24 21:15
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsDateConvertAutoConfiguration {
|
||||
public class ProjectDateConvertAutoConfiguration {
|
||||
|
||||
/**
|
||||
* LocalDate转换器,用于转换RequestParam和PathVariable参数
|
|
@ -37,7 +37,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
* @since 2021/1/19 22:42
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsWrapperAutoConfiguration {
|
||||
public class ProjectWrapperAutoConfiguration {
|
||||
|
||||
/**
|
||||
* Wrapper的自动配置
|
|
@ -1,3 +1,3 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.wrapper.starter.GunsWrapperAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.wrapper.starter.GunsDateConvertAutoConfiguration
|
||||
cn.stylefeng.roses.kernel.wrapper.starter.ProjectWrapperAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.wrapper.starter.ProjectDateConvertAutoConfiguration
|
||||
|
|
|
@ -35,7 +35,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
* @since 2021/1/31 22:37
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsMonitorAutoConfiguration {
|
||||
public class ProjectMonitorAutoConfiguration {
|
||||
|
||||
/**
|
||||
* 系统信息的holder,从这里获取系统信息
|
|
@ -1,2 +1,2 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.monitor.starter.GunsMonitorAutoConfiguration
|
||||
cn.stylefeng.roses.kernel.monitor.starter.ProjectMonitorAutoConfiguration
|
||||
|
|
|
@ -42,7 +42,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
*/
|
||||
@Configuration
|
||||
@ConditionalOnMissingClass("org.springframework.data.redis.connection.RedisConnectionFactory")
|
||||
public class GunsCustomerMemoryAutoConfiguration {
|
||||
public class ProjectCustomerMemoryAutoConfiguration {
|
||||
|
||||
/**
|
||||
* C端用户的缓存
|
|
@ -42,7 +42,7 @@ import org.springframework.data.redis.core.RedisTemplate;
|
|||
*/
|
||||
@Configuration
|
||||
@ConditionalOnClass(name = "org.springframework.data.redis.connection.RedisConnectionFactory")
|
||||
public class GunsCustomerRedisAutoConfiguration {
|
||||
public class ProjectCustomerRedisAutoConfiguration {
|
||||
|
||||
/**
|
||||
* C端用户缓存,Redis缓存
|
|
@ -1,3 +1,3 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.customer.starter.GunsCustomerMemoryAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.customer.starter.GunsCustomerRedisAutoConfiguration
|
||||
cn.stylefeng.roses.kernel.customer.starter.ProjectCustomerMemoryAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.customer.starter.ProjectCustomerRedisAutoConfiguration
|
|
@ -1,38 +0,0 @@
|
|||
/*
|
||||
* Copyright [2020-2030] [https://www.stylefeng.cn]
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* Guns采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
|
||||
*
|
||||
* 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
* 2.请不要删除和修改Guns源码头部的版权声明。
|
||||
* 3.请保留源码和相关描述文件的项目出处,作者声明等。
|
||||
* 4.分发源码时候,请注明软件出处 https://gitee.com/stylefeng/guns
|
||||
* 5.在修改包名,模块名称,项目代码等时,请注明软件出处 https://gitee.com/stylefeng/guns
|
||||
* 6.若您的项目无法满足以上几点,可申请商业授权
|
||||
*/
|
||||
package cn.stylefeng.roses.kernel.dict.starter;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* 字典业务的自动配置
|
||||
*
|
||||
* @author fengshuonan
|
||||
* @since 2020/12/1 21:54
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsDictAutoConfiguration {
|
||||
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.dict.starter.GunsDictAutoConfiguration
|
|
@ -1,38 +0,0 @@
|
|||
/*
|
||||
* Copyright [2020-2030] [https://www.stylefeng.cn]
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* Guns采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
|
||||
*
|
||||
* 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
* 2.请不要删除和修改Guns源码头部的版权声明。
|
||||
* 3.请保留源码和相关描述文件的项目出处,作者声明等。
|
||||
* 4.分发源码时候,请注明软件出处 https://gitee.com/stylefeng/guns
|
||||
* 5.在修改包名,模块名称,项目代码等时,请注明软件出处 https://gitee.com/stylefeng/guns
|
||||
* 6.若您的项目无法满足以上几点,可申请商业授权
|
||||
*/
|
||||
package cn.stylefeng.roses.kernel.message.starter;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* 系统消息的自动配置
|
||||
*
|
||||
* @author liuhanqing
|
||||
* @since 2020/12/31 18:50
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsMessageAutoConfiguration {
|
||||
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.message.starter.GunsMessageAutoConfiguration
|
|
@ -12,7 +12,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
* @since 2022/2/9 17:57
|
||||
*/
|
||||
@Configuration
|
||||
public class GunsSystemHomeStatisticsAutoConfiguration {
|
||||
public class SystemHomeStatisticsAutoConfiguration {
|
||||
|
||||
/**
|
||||
* 接口统计的AOP
|
|
@ -42,7 +42,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
*/
|
||||
@Configuration
|
||||
@ConditionalOnMissingClass("org.springframework.data.redis.connection.RedisConnectionFactory")
|
||||
public class GunsResourceMemoryCacheAutoConfiguration {
|
||||
public class ResourceMemoryCacheAutoConfiguration {
|
||||
|
||||
/**
|
||||
* 资源缓存
|
|
@ -42,7 +42,7 @@ import org.springframework.data.redis.core.RedisTemplate;
|
|||
*/
|
||||
@Configuration
|
||||
@ConditionalOnClass(name = "org.springframework.data.redis.connection.RedisConnectionFactory")
|
||||
public class GunsResourceRedisCacheAutoConfiguration {
|
||||
public class ResourceRedisCacheAutoConfiguration {
|
||||
|
||||
/**
|
||||
* 资源缓存
|
|
@ -56,7 +56,7 @@ import java.util.Map;
|
|||
*/
|
||||
@Configuration
|
||||
@ConditionalOnMissingClass("org.springframework.data.redis.connection.RedisConnectionFactory")
|
||||
public class GunsSystemMemoryCacheAutoConfiguration {
|
||||
public class SystemMemoryCacheAutoConfiguration {
|
||||
|
||||
/**
|
||||
* 用户的缓存,非在线用户缓存,此缓存为了加快查看用户相关操作
|
|
@ -55,7 +55,7 @@ import java.util.Map;
|
|||
*/
|
||||
@Configuration
|
||||
@ConditionalOnClass(name = "org.springframework.data.redis.connection.RedisConnectionFactory")
|
||||
public class GunsSystemRedisCacheAutoConfiguration {
|
||||
public class SystemRedisCacheAutoConfiguration {
|
||||
|
||||
/**
|
||||
* 用户的缓存,非在线用户缓存,此缓存为了加快查看用户相关操作
|
|
@ -1,9 +1,9 @@
|
|||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
cn.stylefeng.roses.kernel.system.starter.cache.GunsSystemMemoryCacheAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.system.starter.cache.GunsSystemRedisCacheAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.system.starter.cache.GunsResourceMemoryCacheAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.system.starter.cache.GunsResourceRedisCacheAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.system.starter.GunsSystemHomeStatisticsAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.system.starter.cache.SystemMemoryCacheAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.system.starter.cache.SystemRedisCacheAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.system.starter.cache.ResourceMemoryCacheAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.system.starter.cache.ResourceRedisCacheAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.system.starter.SystemHomeStatisticsAutoConfiguration,\
|
||||
cn.stylefeng.roses.kernel.system.starter.config.RestErrorViewAutoConfiguration
|
||||
org.springframework.context.ApplicationListener=\
|
||||
cn.stylefeng.roses.kernel.system.modular.menu.listener.MenuResourceUpdateListener,\
|
||||
|
|
Loading…
Reference in New Issue