All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.cloudscope.oss.config.StorageAutoConfiguration Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
package cn.cloudscope.oss.config;

import cn.cloudscope.oss.config.properties.CommonProperties;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 *  存储模块自动配置类
 *
 * @author wenxiaopeng
 * @date 2022/02/08 19:18
 *
 * 
 *              www.cloudscope.cn
 *      Copyright (c) 2021. All Rights Reserved.
 * 
*/ @Configuration @EnableConfigurationProperties(CommonProperties.class) @ConditionalOnProperty(prefix = "oss.storage", name = "enabled", havingValue = "true") @Import({MinioConfiguration.class, OssConfiguration.class}) public class StorageAutoConfiguration { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy