feat: 更改字段类型

This commit is contained in:
landaiqing
2024-07-17 14:22:18 +08:00
parent d90fb0a7b7
commit 0538f405eb
263 changed files with 15461 additions and 15472 deletions

View File

@@ -1,37 +1,37 @@
package com.schisandra.oss.application.config;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
import java.util.List;
/**
* @Classname GlobalConfig
* @BelongsProject: schisandra-cloud-storage
* @BelongsPackage: com.schisandra.auth.application.common
* @Author: schisandra
* @CreateTime: 2024-02-16 15:57
* @Description: MVC全局处理
* @Version: 1.0
*/
@Configuration
public class GlobalConfig extends WebMvcConfigurationSupport {
@Override
protected void configureMessageConverters(List<HttpMessageConverter<?>> converters) {
super.configureMessageConverters(converters);
converters.add(mappingJackson2HttpMessageConverter());
}
private MappingJackson2HttpMessageConverter mappingJackson2HttpMessageConverter() {
ObjectMapper objectMapper = new ObjectMapper();
objectMapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);
objectMapper.setSerializationInclusion(JsonInclude.Include.NON_NULL);
MappingJackson2HttpMessageConverter converter = new MappingJackson2HttpMessageConverter(objectMapper);
return converter;
}
}
package com.schisandra.oss.application.config;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
import java.util.List;
/**
* @Classname GlobalConfig
* @BelongsProject: schisandra-cloud-storage
* @BelongsPackage: com.schisandra.auth.application.common
* @Author: schisandra
* @CreateTime: 2024-02-16 15:57
* @Description: MVC全局处理
* @Version: 1.0
*/
@Configuration
public class GlobalConfig extends WebMvcConfigurationSupport {
@Override
protected void configureMessageConverters(List<HttpMessageConverter<?>> converters) {
super.configureMessageConverters(converters);
converters.add(mappingJackson2HttpMessageConverter());
}
private MappingJackson2HttpMessageConverter mappingJackson2HttpMessageConverter() {
ObjectMapper objectMapper = new ObjectMapper();
objectMapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);
objectMapper.setSerializationInclusion(JsonInclude.Include.NON_NULL);
MappingJackson2HttpMessageConverter converter = new MappingJackson2HttpMessageConverter(objectMapper);
return converter;
}
}

View File

@@ -5,7 +5,6 @@ import cn.hutool.extra.spring.SpringUtil;
import com.alibaba.fastjson.JSON;
import com.google.common.base.Preconditions;
import com.schisandra.oss.application.convert.SchisandraOssAliDTOConverter;
import com.schisandra.oss.application.convert.SchisandraOssMinioDTOConverter;
import com.schisandra.oss.application.dto.SchisandraOssAliDTO;
import com.schisandra.oss.application.oss.constant.OssConstant;
import com.schisandra.oss.application.oss.core.ali.AliOssClient;
@@ -13,11 +12,9 @@ import com.schisandra.oss.application.oss.core.ali.AliOssConfiguration;
import com.schisandra.oss.application.oss.model.OssInfo;
import com.schisandra.oss.common.entity.Result;
import com.schisandra.oss.domain.bo.SchisandraOssAliBO;
import com.schisandra.oss.domain.bo.SchisandraOssMinioBO;
import com.schisandra.oss.domain.redis.RedisUtil;
import com.schisandra.oss.domain.service.SchisandraOssAliDomainService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.ApplicationContext;
import org.springframework.util.StreamUtils;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@@ -28,10 +25,8 @@ import javax.servlet.http.HttpServletResponse;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URLEncoder;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
@@ -62,13 +57,14 @@ public class SchisandraOssAliController {
/**
* 返回当前用户ali表所有数据
*
* @param userId
* @return
*/
@GetMapping("return_online")
public Result returnOnline(Long userId) {
public Result returnOnline(String userId) {
List<SchisandraOssAliBO> list = schisandraOssAliDomainService.selectAllPresent(userId);
if(list.isEmpty()){
if (list.isEmpty()) {
return Result.fail();
}
return Result.ok(SchisandraOssAliDTOConverter.INSTANCE.convertBOToDTOList(list));
@@ -83,7 +79,7 @@ public class SchisandraOssAliController {
@GetMapping("returnAll")
public Result returnAll() {
List<SchisandraOssAliBO> list = schisandraOssAliDomainService.selectAll();
if(list.isEmpty()){
if (list.isEmpty()) {
return Result.fail();
}
return Result.ok(SchisandraOssAliDTOConverter.INSTANCE.convertBOToDTOList(list));
@@ -91,35 +87,35 @@ public class SchisandraOssAliController {
@GetMapping("init")
public Result init(@RequestParam String userId,@RequestParam String Id) {
public Result init(@RequestParam String userId, @RequestParam String Id) {
if (log.isInfoEnabled()) {
log.info("SchisandraOssAliController.init.userId:{}", userId);
}
Preconditions.checkNotNull(userId, "用户id不能为空");
SchisandraOssAliBO bo = new SchisandraOssAliBO();
bo.setId(Long.valueOf(Id));
bo.setUserId(Long.valueOf(userId));
bo.setId(Id);
bo.setUserId(userId);
bo.setStatus(String.valueOf(true));
if(schisandraOssAliDomainService.update(bo)){
if (schisandraOssAliDomainService.update(bo)) {
return aliOssConfiguration.aliOssClient(userId);
}else{
} else {
return Result.fail("初始化失败");
}
}
@PostMapping("shutdown")
public Result shutdownAli(@RequestParam String userId,@RequestParam String Id){
public Result shutdownAli(@RequestParam String userId, @RequestParam String Id) {
if (log.isInfoEnabled()) {
log.info("SchisandraOssAliController.shutdown.userId:{}", JSON.toJSONString(userId));
}
SchisandraOssAliBO bo = new SchisandraOssAliBO();
bo.setId(Long.valueOf(Id));
bo.setUserId(Long.valueOf(userId));
bo.setId(Id);
bo.setUserId(userId);
bo.setStatus(String.valueOf(false));
if(schisandraOssAliDomainService.update(bo)){
SpringUtil.unregisterBean(OssConstant.OssType.ALI+ userId);
if (schisandraOssAliDomainService.update(bo)) {
SpringUtil.unregisterBean(OssConstant.OssType.ALI + userId);
return Result.ok("关闭成功");
}else{
} else {
return Result.fail("关闭失败");
}
}
@@ -173,7 +169,7 @@ public class SchisandraOssAliController {
if (log.isInfoEnabled()) {
log.info("SchisandraOssAliController.delete.dto:{}", JSON.toJSONString(schisandraOssAliDTO));
}
parameterCheck(schisandraOssAliDTO);
Preconditions.checkNotNull(schisandraOssAliDTO.getId(), "ID不能为空");
SchisandraOssAliBO schisandraOssAliBO = SchisandraOssAliDTOConverter.INSTANCE.convertDTOToBO(schisandraOssAliDTO);
return Result.ok(schisandraOssAliDomainService.delete(schisandraOssAliBO));
} catch (Exception e) {
@@ -191,13 +187,13 @@ public class SchisandraOssAliController {
@GetMapping("listDir")
public Result<String> listAliDir(@RequestParam String userId, @RequestParam String bucket, @RequestParam String prefix) throws Exception {
Preconditions.checkNotNull(userId, "不能为空");
AliOssClient bean = SpringUtil.getBean(OssConstant.OssType.ALI+ userId);
AliOssClient bean = SpringUtil.getBean(OssConstant.OssType.ALI + userId);
bean.getAliOssConfig().setBucketName(bucket);
if (prefix == null)
prefix = "";
if(bean.listAliInfo(bucket, prefix) != null){
if (bean.listAliInfo(bucket, prefix) != null) {
return Result.ok(bean.listAliInfo(bucket, prefix));
}else{
} else {
return Result.fail("获取文件目录信息失败");
}
@@ -212,10 +208,10 @@ public class SchisandraOssAliController {
@PostMapping("seleteBucket")
public Result seleteBucket(@RequestParam String userId) {
Preconditions.checkNotNull(userId, "不能为空");
AliOssClient bean = SpringUtil.getBean(OssConstant.OssType.ALI+ userId);
if(bean.selectAllBucket() != null){
AliOssClient bean = SpringUtil.getBean(OssConstant.OssType.ALI + userId);
if (bean.selectAllBucket() != null) {
return Result.ok(bean.selectAllBucket());
}else{
} else {
return Result.fail("查询失败");
}
@@ -232,11 +228,11 @@ public class SchisandraOssAliController {
public Result<String> createBucket(@RequestParam String userId, @RequestParam String bucket) {
Preconditions.checkNotNull(userId, "不能为空");
Preconditions.checkNotNull(bucket, "不能为空");
AliOssClient bean = SpringUtil.getBean(OssConstant.OssType.ALI+ userId);
AliOssClient bean = SpringUtil.getBean(OssConstant.OssType.ALI + userId);
bean.getAliOssConfig().setBucketName(bucket);
if(bean.createBucket(bucket).equals(bucket)){
if (bean.createBucket(bucket).equals(bucket)) {
return Result.ok(bean.createBucket(bucket));
}else{
} else {
return Result.fail("创建失败");
}
}
@@ -254,9 +250,9 @@ public class SchisandraOssAliController {
Preconditions.checkNotNull(bucket, "不能为空");
AliOssClient bean = SpringUtil.getBean(OssConstant.OssType.ALI + userId);
bean.getAliOssConfig().setBucketName(bucket);
if(bean.deleteBucket(bucket).equals("yes")){
if (bean.deleteBucket(bucket).equals("yes")) {
return Result.ok(bean.deleteBucket(bucket));
}else{
} else {
return Result.fail("删除失败,或许桶已经不存在");
}
}
@@ -290,16 +286,15 @@ public class SchisandraOssAliController {
InputStream is = file.getInputStream();
AliOssClient bean = SpringUtil.getBean(OssConstant.OssType.ALI + userId);
bean.getAliOssConfig().setBucketName(bucket);
if(bean.upLoad(is, fileName, true) != null){
if (bean.upLoad(is, fileName, true) != null) {
return Result.ok(bean.upLoad(is, fileName, true));
}else{
} else {
return Result.fail();
}
}
/**
* @description: 下载文件
* @param: [schisandraOssAliDTO]
@@ -317,7 +312,7 @@ public class SchisandraOssAliController {
response.setHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode("下载.zip", "UTF-8"));
response.setContentType("application/octet-stream");
response.setCharacterEncoding("UTF-8");
HashMap<String,InputStream> list=bean.downLoadMany(filePath);
HashMap<String, InputStream> list = bean.downLoadMany(filePath);
String[] path = new String[list.size()];
InputStream[] inputStreams = new InputStream[list.size()];
path = list.keySet().toArray(path);
@@ -328,14 +323,14 @@ public class SchisandraOssAliController {
String formattedDate = dateFormat.format(date);
AtomicInteger count = new AtomicInteger(0);
InputStream[] inputStream2 = new InputStream[list.size()];
list.keySet().forEach( name -> {
list.keySet().forEach(name -> {
try {
byte[] bytes = StreamUtils.copyToByteArray(list.get(name));
inputStream2[count.get()] = new ByteArrayInputStream(bytes);
String key = redisUtil.buildKey(USER_OSS_PREFIX, "download", formattedDate, userId, name);
HashMap<Object, Object> map = new HashMap<>();
map.put("size", bytes.length);
map.put("time",formattedDate);
map.put("time", formattedDate);
redisUtil.setNx(key, map, 30L, TimeUnit.DAYS);
count.incrementAndGet();
} catch (IOException e) {

View File

@@ -47,8 +47,6 @@ import java.util.concurrent.TimeUnit;
@RequestMapping("/oss/minio/")
@Slf4j
public class SchisandraOssMinioController {
@Resource
MinioOssClient minioOssClient;
@Resource
private SchisandraOssMinioDomainService schisandraOssMinioDomainService;
@@ -65,7 +63,7 @@ public class SchisandraOssMinioController {
* @return
*/
@GetMapping("return_online")
public Result returnOnline(Long userId) {
public Result returnOnline(String userId) {
List<SchisandraOssMinioBO> list = schisandraOssMinioDomainService.selectAllPresent(userId);
if(list.isEmpty()){
return Result.fail();
@@ -102,14 +100,14 @@ public class SchisandraOssMinioController {
log.info("SchisandraOssMinioController.init.userId:{}", userId);
}
Preconditions.checkNotNull(userId, "用户id不能为空");
List<SchisandraOssMinioBO> list = schisandraOssMinioDomainService.getAllMinioInfoByUserId(Long.valueOf(userId));
List<SchisandraOssMinioBO> list = schisandraOssMinioDomainService.getAllMinioInfoByUserId(userId);
if (list.size() != 0) {
return Result.fail(list);
}
SchisandraOssMinioBO bo = new SchisandraOssMinioBO();
bo.setId(Long.valueOf(Id));
bo.setUserId(Long.valueOf(userId));
bo.setId(Id);
bo.setUserId(userId);
bo.setStatus(String.valueOf(true));
if (schisandraOssMinioDomainService.update(bo)) {
return minioOssConfiguration.minioOssClient(userId);
@@ -124,8 +122,8 @@ public class SchisandraOssMinioController {
log.info("SchisandraOssMinioController.shutdown.userId:{}", userId);
}
SchisandraOssMinioBO bo = new SchisandraOssMinioBO();
bo.setId(Long.valueOf(Id));
bo.setUserId(Long.valueOf(userId));
bo.setId(Id);
bo.setUserId(userId);
bo.setStatus(String.valueOf(false));
if (schisandraOssMinioDomainService.update(bo)) {
SpringUtil.unregisterBean(OssConstant.OssType.MINIO + userId);
@@ -413,7 +411,7 @@ public class SchisandraOssMinioController {
@PostMapping("get")
public SchisandraOssMinioDTO getMinioOss(@RequestParam String userId) {
return SchisandraOssMinioDTOConverter.INSTANCE.convertBOToDTO(schisandraOssMinioDomainService.getMinioConfig(Long.valueOf(userId)));
return SchisandraOssMinioDTOConverter.INSTANCE.convertBOToDTO(schisandraOssMinioDomainService.getMinioConfig(userId));
}
/**

View File

@@ -62,7 +62,7 @@ public class SchisandraOssQiniuController {
* @return
*/
@GetMapping("return_online")
public Result returnOnline(Long userId) {
public Result returnOnline(String userId) {
List<SchisandraOssQiniuBO> list = schisandraOssQiniuDomainService.selectAllPresent(userId);
if(list.isEmpty()){
return Result.fail();
@@ -163,7 +163,7 @@ public class SchisandraOssQiniuController {
public Result download_open(@RequestParam String userId, @RequestParam String bucket, @RequestParam List<String> listObjectsArgs, HttpServletResponse response) throws IOException {
QiNiuOssClient bean = SpringUtil.getBean(OssConstant.OssType.QINIU + userId);
ServletOutputStream output = response.getOutputStream();
SchisandraOssQiniuBO schisandraOssQiniuBO = schisandraOssQiniuDomainService.getEndpointByuserIdAndBucket(Long.valueOf(userId), bucket);
SchisandraOssQiniuBO schisandraOssQiniuBO = schisandraOssQiniuDomainService.getEndpointByuserIdAndBucket(userId, bucket);
if (schisandraOssQiniuBO.getEndpoint() == null) {
return Result.fail("请配置该存储桶的相关配置endpoint");
}
@@ -332,8 +332,8 @@ public class SchisandraOssQiniuController {
}
Preconditions.checkNotNull(userId, "用户id不能为空");
SchisandraOssQiniuBO bo = new SchisandraOssQiniuBO();
bo.setId(Long.valueOf(Id));
bo.setUserId(Long.valueOf(userId));
bo.setId(Id);
bo.setUserId(userId);
bo.setStatus(String.valueOf(true));
if (schisandraOssQiniuDomainService.update(bo)) {
return qiNiuOssConfiguration.qiNiuOssClient(userId);
@@ -348,8 +348,8 @@ public class SchisandraOssQiniuController {
log.info("SchisandraOssQiniuController.shutdown.userId:{}", JSON.toJSONString(userId));
}
SchisandraOssQiniuBO bo = new SchisandraOssQiniuBO();
bo.setId(Long.valueOf(Id));
bo.setUserId(Long.valueOf(userId));
bo.setId(Id);
bo.setUserId(userId);
bo.setStatus(String.valueOf(false));
if (schisandraOssQiniuDomainService.update(bo)) {
SpringUtil.unregisterBean(OssConstant.OssType.QINIU + userId);

View File

@@ -192,8 +192,8 @@ public class SchisandraOssSftpController {
}
Preconditions.checkNotNull(userId, "用户id不能为空");
SchisandraOssSftpBO bo = new SchisandraOssSftpBO();
bo.setId(Long.valueOf(Id));
bo.setUserId(Long.valueOf(userId));
bo.setId(Id);
bo.setUserId(userId);
bo.setStatus(String.valueOf(true));
if(schisandraOssSftpDomainService.update(bo)){
return sftpOssConfiguration.sftpOssClient(userId);
@@ -208,8 +208,8 @@ public class SchisandraOssSftpController {
log.info("SchisandraOssSftpController.shutdown.userId:{}", JSON.toJSONString(userId));
}
SchisandraOssSftpBO bo = new SchisandraOssSftpBO();
bo.setId(Long.valueOf(Id));
bo.setUserId(Long.valueOf(userId));
bo.setId(Id);
bo.setUserId(userId);
bo.setStatus(String.valueOf(false));
if(schisandraOssSftpDomainService.update(bo)){
SpringUtil.unregisterBean(OssConstant.OssType.SFTP+ userId);

View File

@@ -67,7 +67,7 @@ public class SchisandraOssTencentController {
* @return
*/
@GetMapping("return_online")
public Result returnOnline(Long userId) {
public Result returnOnline(String userId) {
List<SchisandraOssTencentBO> list = schisandraOssTencentDomainService.selectAllPresent(userId);
if(list.isEmpty()){
return Result.fail();
@@ -97,8 +97,8 @@ public class SchisandraOssTencentController {
}
Preconditions.checkNotNull(userId, "用户id不能为空");
SchisandraOssTencentBO bo = new SchisandraOssTencentBO();
bo.setId(Long.valueOf(Id));
bo.setUserId(Long.valueOf(userId));
bo.setId(Id);
bo.setUserId(userId);
bo.setStatus(String.valueOf(true));
if (schisandraOssTencentDomainService.update(bo)) {
return tencentOssConfiguration.tencentOssClient(userId);
@@ -113,8 +113,8 @@ public class SchisandraOssTencentController {
log.info("SchisandraOssTencentController.shutdown.userId:{}", JSON.toJSONString(userId));
}
SchisandraOssTencentBO bo = new SchisandraOssTencentBO();
bo.setId(Long.valueOf(Id));
bo.setUserId(Long.valueOf(userId));
bo.setId(Id);
bo.setUserId(userId);
bo.setStatus(String.valueOf(false));
if (schisandraOssTencentDomainService.update(bo)) {
SpringUtil.unregisterBean(OssConstant.OssType.TENCENT + userId);

View File

@@ -68,8 +68,8 @@ public class SchisandraOssUpController {
}
Preconditions.checkNotNull(userId, "用户id不能为空");
SchisandraOssUpBO bo = new SchisandraOssUpBO();
bo.setId(Long.valueOf(Id));
bo.setUserId(Long.valueOf(userId));
bo.setId(Id);
bo.setUserId(userId);
bo.setStatus(String.valueOf(true));
if(schisandraOssUpDomainService.update(bo)){
return upOssConfiguration.upOssClient(userId);
@@ -84,8 +84,8 @@ public class SchisandraOssUpController {
log.info("SchisandraOssUpController.shutdown.userId:{}", JSON.toJSONString(userId));
}
SchisandraOssUpBO bo = new SchisandraOssUpBO();
bo.setId(Long.valueOf(Id));
bo.setUserId(Long.valueOf(userId));
bo.setId(Id);
bo.setUserId(userId);
bo.setStatus(String.valueOf(false));
if(schisandraOssUpDomainService.update(bo)){
SpringUtil.unregisterBean(OssConstant.OssType.UP+ userId);

View File

@@ -140,7 +140,7 @@ public class SchisandraUserOssController {
* @date: 2024/7/11 14:41
*/
@GetMapping("selectUserOSSType")
public Result<Object> selectUserOSSType(Long userId) {
public Result<Object> selectUserOSSType(String userId) {
Preconditions.checkNotNull(userId, "不能为空");
List<SchisandraUserOssDTO> SchisandraUserOssDTOList = SchisandraUserOssDTOConverter.INSTANCE.convertBOListToDTOList(schisandraUserOssDomainService.queryOSSByUserId(userId));
if (SchisandraUserOssDTOList.isEmpty()) {

View File

@@ -17,12 +17,12 @@ public class SchisandraFileHeatmapDTO implements Serializable {
/**
*
*/
private Long id;
private String id;
/**
*
*/
private Long userId;
private String userId;
/**
*

View File

@@ -7,7 +7,7 @@ import java.io.Serializable;
import java.util.Date;
/**
* dto
* dto
*
* @author landaiqing
* @since 2024-05-14 20:45:32
@@ -16,12 +16,12 @@ import java.util.Date;
public class SchisandraOssAliDTO implements Serializable {
/**
*
*
*/
private Long id;
private String id;
/**
*
*
*/
private Long userId;
@@ -187,7 +187,7 @@ public class SchisandraOssAliDTO implements Serializable {
/**
* 是否开启HTTP重定向。
说明: Java SDK 3.10.1及以上版本支持设置是否开启HTTP重定向默认开启。
* 说明: Java SDK 3.10.1及以上版本支持设置是否开启HTTP重定向默认开启。
*/
private String redirectEnable;

View File

@@ -1,158 +1,158 @@
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 亚马逊对象存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 21:48:16
*/
@Data
public class SchisandraOssAwsDTO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
* 数据存储路径
*/
private String basePath;
/**
* Bucket名称
*/
private String bucketName;
/**
*
*/
private String accessKeyId;
/**
*
*/
private String secretAccessKey;
/**
*
*/
private String region;
/**
*
*/
private String mode;
/**
*
*/
private String accelerateModeEnabled;
/**
*
*/
private String checksumValidationEnabled;
/**
*
*/
private String multiRegionEnabled;
/**
*
*/
private String chunkedEncodingEnabled;
/**
*
*/
private String pathStyleAccessEnabled;
/**
*
*/
private String useArnRegionEnabled;
/**
*
*/
private String fipsEnabled;
/**
*
*/
private String dualstackEnabled;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 亚马逊对象存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 21:48:16
*/
@Data
public class SchisandraOssAwsDTO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
* 数据存储路径
*/
private String basePath;
/**
* Bucket名称
*/
private String bucketName;
/**
*
*/
private String accessKeyId;
/**
*
*/
private String secretAccessKey;
/**
*
*/
private String region;
/**
*
*/
private String mode;
/**
*
*/
private String accelerateModeEnabled;
/**
*
*/
private String checksumValidationEnabled;
/**
*
*/
private String multiRegionEnabled;
/**
*
*/
private String chunkedEncodingEnabled;
/**
*
*/
private String pathStyleAccessEnabled;
/**
*
*/
private String useArnRegionEnabled;
/**
*
*/
private String fipsEnabled;
/**
*
*/
private String dualstackEnabled;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}

View File

@@ -1,218 +1,218 @@
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 百度云对象存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 22:02:15
*/
@Data
public class SchisandraOssBaiduDTO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String basePath;
/**
*
*/
private String bucketName;
/**
*
*/
private String accessKeyId;
/**
*
*/
private String secretAccessKey;
/**
* 使用cname访问BOS资源
*/
private String cnameEnabled;
/**
* 异步put
*/
private String enableHttpAsyncPut;
/**
* 建立连接的超时时间(单位:毫秒)
*/
private Integer connectionTimeoutInMillis;
/**
* 允许打开的最大HTTP连接数
*/
private Integer maxConnections;
/**
* 连接协议类型
*/
private String protocol;
/**
* 访问NTLM验证的代理服务器的Windows域名
*/
private String proxyDomain;
/**
* 代理服务器主机地址
*/
private String proxyHost;
/**
* 代理服务器验证的密码
*/
private String proxyPassword;
/**
* 代理服务器端口
*/
private Integer proxyPort;
/**
* 代理服务器验证的用户名
*/
private String proxyUsername;
/**
* NTLM代理服务器的Windows工作站名称
*/
private String proxyWorkstation;
/**
* 是否设置用户代理认证
*/
private String proxyPreemptiveAuthenticationEnable;
/**
* 通过打开的连接传输数据的超时时间(单位:毫秒)
*/
private Integer socketTimeoutInMillis;
/**
* Socket缓冲区大小
*/
private Integer socketBufferSizeInBytes;
/**
* 访问域名
*/
private String endpoint;
/**
* 地域
*/
private String region;
/**
* 是否开启HTTP重定向。默认开启
*/
private String redirectsEnabled;
/**
* 本地地址
*/
private String localAddress;
/**
* 请求失败最大重试次数
*/
private Integer maxErrorRetry;
/**
* 最大延迟时间,单位:毫秒
*/
private Integer maxDelayInMillis;
/**
* 流文件缓冲区大小
*/
private Double streamBufferSize;
/**
* 用户代理指HTTP的User-Agent头
*/
private String userAgent;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 百度云对象存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 22:02:15
*/
@Data
public class SchisandraOssBaiduDTO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String basePath;
/**
*
*/
private String bucketName;
/**
*
*/
private String accessKeyId;
/**
*
*/
private String secretAccessKey;
/**
* 使用cname访问BOS资源
*/
private String cnameEnabled;
/**
* 异步put
*/
private String enableHttpAsyncPut;
/**
* 建立连接的超时时间(单位:毫秒)
*/
private Integer connectionTimeoutInMillis;
/**
* 允许打开的最大HTTP连接数
*/
private Integer maxConnections;
/**
* 连接协议类型
*/
private String protocol;
/**
* 访问NTLM验证的代理服务器的Windows域名
*/
private String proxyDomain;
/**
* 代理服务器主机地址
*/
private String proxyHost;
/**
* 代理服务器验证的密码
*/
private String proxyPassword;
/**
* 代理服务器端口
*/
private Integer proxyPort;
/**
* 代理服务器验证的用户名
*/
private String proxyUsername;
/**
* NTLM代理服务器的Windows工作站名称
*/
private String proxyWorkstation;
/**
* 是否设置用户代理认证
*/
private String proxyPreemptiveAuthenticationEnable;
/**
* 通过打开的连接传输数据的超时时间(单位:毫秒)
*/
private Integer socketTimeoutInMillis;
/**
* Socket缓冲区大小
*/
private Integer socketBufferSizeInBytes;
/**
* 访问域名
*/
private String endpoint;
/**
* 地域
*/
private String region;
/**
* 是否开启HTTP重定向。默认开启
*/
private String redirectsEnabled;
/**
* 本地地址
*/
private String localAddress;
/**
* 请求失败最大重试次数
*/
private Integer maxErrorRetry;
/**
* 最大延迟时间,单位:毫秒
*/
private Integer maxDelayInMillis;
/**
* 流文件缓冲区大小
*/
private Double streamBufferSize;
/**
* 用户代理指HTTP的User-Agent头
*/
private String userAgent;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}

View File

@@ -1,138 +1,138 @@
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* ftp存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 21:54:20
*/
@Data
public class SchisandraOssFtpDTO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String basePath;
/**
* 主机
*/
private String host;
/**
* 端口
*/
private Integer port;
/**
* 用户名
*/
private String user;
/**
* 密码
*/
private String password;
/**
* 编码
*/
private String charset;
/**
* FTP连接模式,默认被动
*/
private String mode;
/**
* 设置执行完操作是否返回当前目录,默认false
*/
private String backToPwd;
/**
* 连接超时时长,单位毫秒
*/
private Long connectionTimeout;
/**
* Socket连接超时时长单位毫秒
*/
private Long soTimeout;
/**
* 设置服务器语言
*/
private String serverLanguageCode;
/**
* 设置服务器系统关键词
*/
private String systemKey;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
}
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* ftp存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 21:54:20
*/
@Data
public class SchisandraOssFtpDTO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String basePath;
/**
* 主机
*/
private String host;
/**
* 端口
*/
private Integer port;
/**
* 用户名
*/
private String user;
/**
* 密码
*/
private String password;
/**
* 编码
*/
private String charset;
/**
* FTP连接模式,默认被动
*/
private String mode;
/**
* 设置执行完操作是否返回当前目录,默认false
*/
private String backToPwd;
/**
* 连接超时时长,单位毫秒
*/
private Long connectionTimeout;
/**
* Socket连接超时时长单位毫秒
*/
private Long soTimeout;
/**
* 设置服务器语言
*/
private String serverLanguageCode;
/**
* 设置服务器系统关键词
*/
private String systemKey;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
}

View File

@@ -1,253 +1,253 @@
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 华为云对象存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 21:59:56
*/
@Data
public class SchisandraOssHuaweiDTO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String basePath;
/**
*
*/
private String accessKey;
/**
*
*/
private String secretKey;
/**
*
*/
private String endPoint;
/**
*
*/
private String bucketName;
/**
* 建立HTTP/HTTPS连接的超时时间单位毫秒。默认为60000毫秒。
*/
private Integer connectionTimeout;
/**
* 如果空闲时间超过此参数的设定值则关闭连接单位毫秒。默认为30000毫秒。
*/
private Integer idleConnectionTime;
/**
* 连接池中最大空闲连接数默认值1000。
*/
private Integer maxIdleConnections;
/**
* 最大允许的HTTP并发请求数。默认为1000。
*/
private Integer maxConnections;
/**
* 请求失败请求异常、服务端报500或503错误等后最大的重试次数。默认3次。
*/
private Integer maxErrorRetry;
/**
* Socket层传输数据的超时时间单位毫秒。默认为60000毫秒。
*/
private Integer socketTimeout;
/**
* 设置HTTP请求的端口号 (默认为80)。
*/
private Integer endpointHttpPort;
/**
* 定是否使用HTTPS连接OBS (默认为 “true”)。
*/
private String endpointHttpsPort;
/**
* 定是否使用HTTPS连接OBS (默认为 “true”)。
*/
private String httpsOnly;
/**
* 指定是否启用对OBS的路径样式访问。“true” 表示启用了路径样式的访问,而 “false” (默认) 表示启用了虚拟托管样式的访问。注意: 如果启用了路径样式访问则不支持OBS 3.0的新bucket功能。
*/
private String pathStyle;
/**
* HTTP代理配置。默认为空。
*/
private String httpProxy;
/**
* 上传流对象时使用的缓存大小单位字节。默认为512KB。
*/
private Integer uploadStreamRetryBufferSize;
/**
* 是否验证服务端证书。默认为false。
*/
private String validateCertificate;
/**
* 是否验证响应头信息的ContentType。默认为true。
*/
private String verifyResponseContentType;
/**
* 从Socket流下载对象的缓存大小单位字节-1表示不设置缓存。默认为-1。
*/
private Integer readBufferSize;
/**
* 上传对象到Socket流时的缓存大小单位字节-1表示不设置缓存。默认为-1。
*/
private Double writeBufferSize;
/**
* 是否严格验证服务端主机名。默认为false。
*/
private String isStrictHostnameVerification;
/**
* 设置身份验证类型。
*/
private String authType;
/**
* Socket发送缓冲区大小单位字节对应java.net.SocketOptions.SO_SNDBUF参数。默认为-1表示不设置。
*/
private Integer socketWriteBufferSize;
/**
* Socket接收缓冲区大小单位字节对应java.net.SocketOptions.SO_RCVBUF参数。默认为-1表示不设置。
*/
private Integer socketReadBufferSize;
/**
* 是否使用长连接访问OBS服务。默认为true。
*/
private String keepAlive;
/**
* 指定是否使用协议协商。
*/
private String authTypeNegotiation;
/**
* 是否通过自定义域名访问OBS服务。默认为false。
*/
private String cname;
/**
* 将文件夹隔离器设置为斜线。
*/
private String delimiter;
/**
* SSLContext的Provider默认使用JDK提供的SSLContext。
*/
private String sslProvider;
/**
* 访问OBS服务端时使用的HTTP协议类型。默认为HTTP1.1协议。
*/
private String httpProtocolType;
/**
* 是否开启Okhttp中的连接失败重试默认关闭
*/
private String retryOnConnectionFailureInOkhttp;
/**
* 发生异常时最大重试次数
*/
private String maxRetryOnUnexpectedEndException;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 华为云对象存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 21:59:56
*/
@Data
public class SchisandraOssHuaweiDTO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String basePath;
/**
*
*/
private String accessKey;
/**
*
*/
private String secretKey;
/**
*
*/
private String endPoint;
/**
*
*/
private String bucketName;
/**
* 建立HTTP/HTTPS连接的超时时间单位毫秒。默认为60000毫秒。
*/
private Integer connectionTimeout;
/**
* 如果空闲时间超过此参数的设定值则关闭连接单位毫秒。默认为30000毫秒。
*/
private Integer idleConnectionTime;
/**
* 连接池中最大空闲连接数默认值1000。
*/
private Integer maxIdleConnections;
/**
* 最大允许的HTTP并发请求数。默认为1000。
*/
private Integer maxConnections;
/**
* 请求失败请求异常、服务端报500或503错误等后最大的重试次数。默认3次。
*/
private Integer maxErrorRetry;
/**
* Socket层传输数据的超时时间单位毫秒。默认为60000毫秒。
*/
private Integer socketTimeout;
/**
* 设置HTTP请求的端口号 (默认为80)。
*/
private Integer endpointHttpPort;
/**
* 定是否使用HTTPS连接OBS (默认为 “true”)。
*/
private String endpointHttpsPort;
/**
* 定是否使用HTTPS连接OBS (默认为 “true”)。
*/
private String httpsOnly;
/**
* 指定是否启用对OBS的路径样式访问。“true” 表示启用了路径样式的访问,而 “false” (默认) 表示启用了虚拟托管样式的访问。注意: 如果启用了路径样式访问则不支持OBS 3.0的新bucket功能。
*/
private String pathStyle;
/**
* HTTP代理配置。默认为空。
*/
private String httpProxy;
/**
* 上传流对象时使用的缓存大小单位字节。默认为512KB。
*/
private Integer uploadStreamRetryBufferSize;
/**
* 是否验证服务端证书。默认为false。
*/
private String validateCertificate;
/**
* 是否验证响应头信息的ContentType。默认为true。
*/
private String verifyResponseContentType;
/**
* 从Socket流下载对象的缓存大小单位字节-1表示不设置缓存。默认为-1。
*/
private Integer readBufferSize;
/**
* 上传对象到Socket流时的缓存大小单位字节-1表示不设置缓存。默认为-1。
*/
private Double writeBufferSize;
/**
* 是否严格验证服务端主机名。默认为false。
*/
private String isStrictHostnameVerification;
/**
* 设置身份验证类型。
*/
private String authType;
/**
* Socket发送缓冲区大小单位字节对应java.net.SocketOptions.SO_SNDBUF参数。默认为-1表示不设置。
*/
private Integer socketWriteBufferSize;
/**
* Socket接收缓冲区大小单位字节对应java.net.SocketOptions.SO_RCVBUF参数。默认为-1表示不设置。
*/
private Integer socketReadBufferSize;
/**
* 是否使用长连接访问OBS服务。默认为true。
*/
private String keepAlive;
/**
* 指定是否使用协议协商。
*/
private String authTypeNegotiation;
/**
* 是否通过自定义域名访问OBS服务。默认为false。
*/
private String cname;
/**
* 将文件夹隔离器设置为斜线。
*/
private String delimiter;
/**
* SSLContext的Provider默认使用JDK提供的SSLContext。
*/
private String sslProvider;
/**
* 访问OBS服务端时使用的HTTP协议类型。默认为HTTP1.1协议。
*/
private String httpProtocolType;
/**
* 是否开启Okhttp中的连接失败重试默认关闭
*/
private String retryOnConnectionFailureInOkhttp;
/**
* 发生异常时最大重试次数
*/
private String maxRetryOnUnexpectedEndException;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}

View File

@@ -1,293 +1,293 @@
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 京东云对象存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 22:07:10
*/
@Data
public class SchisandraOssJdDTO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String basePath;
/**
*
*/
private String bucketName;
/**
*
*/
private String endpoint;
/**
*
*/
private String accessKey;
/**
*
*/
private String secretKey;
/**
*
*/
private String region;
/**
* 建立连接的超时时间单位毫秒。默认为50000毫秒
*/
private Integer connectionTimeout;
/**
* 允许打开的最大HTTP连接数。默认为1024
*/
private Integer maxConnections;
/**
* 请求失败后最大的重试次数
*/
private Integer maxErrorRetry;
/**
* 是否限制重试的默认值。
*/
private String throttleRetries;
/**
* 连接协议类型
*/
private String protocol;
/**
* 连接到HTTP代理时要使用的协议。
*/
private String proxyProtocol;
/**
* 访问NTLM验证的代理服务器的Windows域名
*/
private String proxyDomain;
/**
* 代理服务器主机地址
*/
private String proxyHost;
/**
* 代理服务器验证的密码
*/
private String proxyPassword;
/**
* 代理服务器端口
*/
private String proxyPort;
/**
* 代理服务器验证的用户名
*/
private String proxyUsername;
/**
* NTLM代理服务器的Windows工作站名称
*/
private String proxyWorkstation;
/**
* 指定不通过代理应访问的主机。
*/
private String nonProxyHosts;
/**
* 是否禁用Socket代理
*/
private String disableSocketProxy;
/**
* 是否使用基本身份验证对代理服务器进行抢先身份验证
*/
private String preemptiveBasicProxyAuth;
/**
* Socket层传输数据的超时时间单位毫秒。默认为50000毫秒
*/
private Integer socketTimeout;
/**
* 请求的默认超时时间。默认为0禁用的。
*/
private Integer requestTimeout;
/**
* 请求的默认超时时间。默认为0禁用的。
*/
private Integer clientExecutionTimeout;
/**
* 公共HTTP请求头前缀。
*/
private String userAgentPrefix;
/**
* 是否使用com.amazonaws.http.IdleConnectionReaper管理旧连接
*/
private String useReaper;
/**
* 是否使用gzip解压缩
*/
private String useGzip;
/**
* Socket发送缓冲区的大小提示(以字节为单位)。
*/
private Integer socketSendBufferSizeHint;
/**
* Socket接收缓冲区的大小提示(以字节为单位)。
*/
private Integer socketReceiveBufferSizeHint;
/**
* 设置签名算法对请求进行签名。如果未明确设置客户端将通过提取SDK中的配置文件来确定要使用的算法
*/
private String signerOverride;
/**
* 响应元数据缓存大小
*/
private Integer responseMetadataCacheSize;
/**
* 是否使用USE_EXPECT_CONTINUE作为期望值
*/
private String useExpectContinue;
/**
* 是否缓存响应元数据
*/
private String cacheResponseMetadata;
/**
* 连接TTL (生存时间)。Http连接由连接管理器用TTL缓存。
*/
private Long connectionTTL;
/**
* 连接池中连接的最大空闲时间 (以毫秒为单位)。
*/
private Long connectionMaxIdleMillis;
/**
* 在必须验证连接是否仍处于打开状态之前,连接可以在连接池中处于空闲状态。
*/
private Integer validateAfterInActivityMillis;
/**
* 是否使用TCP KeepAlive的默认值。
*/
private String tcpKeepAlive;
/**
* 所有请求的公共请求头
*/
private String headers;
/**
* 请求失败最大重试次数
*/
private Integer maxConsecutiveRetriesBeforeThrottling;
/**
* 是否禁用主机前缀
*/
private String disableHostPrefixInjection;
/**
* 重试模式
*/
private String retryMode;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 京东云对象存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 22:07:10
*/
@Data
public class SchisandraOssJdDTO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String basePath;
/**
*
*/
private String bucketName;
/**
*
*/
private String endpoint;
/**
*
*/
private String accessKey;
/**
*
*/
private String secretKey;
/**
*
*/
private String region;
/**
* 建立连接的超时时间单位毫秒。默认为50000毫秒
*/
private Integer connectionTimeout;
/**
* 允许打开的最大HTTP连接数。默认为1024
*/
private Integer maxConnections;
/**
* 请求失败后最大的重试次数
*/
private Integer maxErrorRetry;
/**
* 是否限制重试的默认值。
*/
private String throttleRetries;
/**
* 连接协议类型
*/
private String protocol;
/**
* 连接到HTTP代理时要使用的协议。
*/
private String proxyProtocol;
/**
* 访问NTLM验证的代理服务器的Windows域名
*/
private String proxyDomain;
/**
* 代理服务器主机地址
*/
private String proxyHost;
/**
* 代理服务器验证的密码
*/
private String proxyPassword;
/**
* 代理服务器端口
*/
private String proxyPort;
/**
* 代理服务器验证的用户名
*/
private String proxyUsername;
/**
* NTLM代理服务器的Windows工作站名称
*/
private String proxyWorkstation;
/**
* 指定不通过代理应访问的主机。
*/
private String nonProxyHosts;
/**
* 是否禁用Socket代理
*/
private String disableSocketProxy;
/**
* 是否使用基本身份验证对代理服务器进行抢先身份验证
*/
private String preemptiveBasicProxyAuth;
/**
* Socket层传输数据的超时时间单位毫秒。默认为50000毫秒
*/
private Integer socketTimeout;
/**
* 请求的默认超时时间。默认为0禁用的。
*/
private Integer requestTimeout;
/**
* 请求的默认超时时间。默认为0禁用的。
*/
private Integer clientExecutionTimeout;
/**
* 公共HTTP请求头前缀。
*/
private String userAgentPrefix;
/**
* 是否使用com.amazonaws.http.IdleConnectionReaper管理旧连接
*/
private String useReaper;
/**
* 是否使用gzip解压缩
*/
private String useGzip;
/**
* Socket发送缓冲区的大小提示(以字节为单位)。
*/
private Integer socketSendBufferSizeHint;
/**
* Socket接收缓冲区的大小提示(以字节为单位)。
*/
private Integer socketReceiveBufferSizeHint;
/**
* 设置签名算法对请求进行签名。如果未明确设置客户端将通过提取SDK中的配置文件来确定要使用的算法
*/
private String signerOverride;
/**
* 响应元数据缓存大小
*/
private Integer responseMetadataCacheSize;
/**
* 是否使用USE_EXPECT_CONTINUE作为期望值
*/
private String useExpectContinue;
/**
* 是否缓存响应元数据
*/
private String cacheResponseMetadata;
/**
* 连接TTL (生存时间)。Http连接由连接管理器用TTL缓存。
*/
private Long connectionTTL;
/**
* 连接池中连接的最大空闲时间 (以毫秒为单位)。
*/
private Long connectionMaxIdleMillis;
/**
* 在必须验证连接是否仍处于打开状态之前,连接可以在连接池中处于空闲状态。
*/
private Integer validateAfterInActivityMillis;
/**
* 是否使用TCP KeepAlive的默认值。
*/
private String tcpKeepAlive;
/**
* 所有请求的公共请求头
*/
private String headers;
/**
* 请求失败最大重试次数
*/
private Integer maxConsecutiveRetriesBeforeThrottling;
/**
* 是否禁用主机前缀
*/
private String disableHostPrefixInjection;
/**
* 重试模式
*/
private String retryMode;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}

View File

@@ -1,93 +1,93 @@
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* jdbc存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 22:08:16
*/
@Data
public class SchisandraOssJdbcDTO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String basePath;
/**
* 系统数据源Bean名称(适用于系统多数据源配置)
*/
private String dataSourceName;
/**
* 对象存储数据源
*/
private String url;
/**
*
*/
private String type;
/**
*
*/
private String driver;
/**
*
*/
private String username;
/**
*
*/
private String password;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
}
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* jdbc存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 22:08:16
*/
@Data
public class SchisandraOssJdbcDTO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String basePath;
/**
* 系统数据源Bean名称(适用于系统多数据源配置)
*/
private String dataSourceName;
/**
* 对象存储数据源
*/
private String url;
/**
*
*/
private String type;
/**
*
*/
private String driver;
/**
*
*/
private String username;
/**
*
*/
private String password;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
}

View File

@@ -1,63 +1,63 @@
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* jdbc存储数据表 dto
*
* @author landaiqing
* @since 2024-06-02 22:08:55
*/
@Data
public class SchisandraOssJdbcDataDTO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
* 数据
*/
private byte[] data;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
}
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* jdbc存储数据表 dto
*
* @author landaiqing
* @since 2024-06-02 22:08:55
*/
@Data
public class SchisandraOssJdbcDataDTO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
* 数据
*/
private byte[] data;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
}

View File

@@ -1,88 +1,88 @@
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* jdbc存储信息表 dto
*
* @author landaiqing
* @since 2024-06-02 22:11:22
*/
@Data
public class SchisandraOssJdbcStoreDTO implements Serializable {
/**
* 主键
*/
private Long id;
/**
*
*/
private Long userId;
/**
* 文件/目录名
*/
private String name;
/**
* 路径
*/
private String path;
/**
* 文件大小
*/
private Double size;
/**
* 父级目录ID
*/
private Integer parentId;
/**
* 类型(D:目录;F:文件)
*/
private String type;
/**
* 数据ID
*/
private String dataId;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
}
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* jdbc存储信息表 dto
*
* @author landaiqing
* @since 2024-06-02 22:11:22
*/
@Data
public class SchisandraOssJdbcStoreDTO implements Serializable {
/**
* 主键
*/
private String id;
/**
*
*/
private String userId;
/**
* 文件/目录名
*/
private String name;
/**
* 路径
*/
private String path;
/**
* 文件大小
*/
private Double size;
/**
* 父级目录ID
*/
private Integer parentId;
/**
* 类型(D:目录;F:文件)
*/
private String type;
/**
* 数据ID
*/
private String dataId;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
}

View File

@@ -1,170 +1,170 @@
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 金山云对象存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 22:13:26
*/
@Data
public class SchisandraOssJinshanDTO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String accessKeyId;
/**
*
*/
private String accessKeySecret;
/**
*
*/
private String bucketName;
/**
*
*/
private String endpoint;
/**
* 服务地址,参考 http://ks3.ksyun.com/doc/api/index.html Doc
* 中国(杭州):kss.ksyun.com
* 中国杭州cdn:kssws.ks-cdn.com
* 美国(圣克拉拉):ks3-us-west-1.ksyun.com
* 中国(北京):ks3-cn-beijing.ksyun.com
* 中国(香港):ks3-cn-hk-1.ksyun.com
* 中国(上海):ks3-cn-shanghai.ksyun.com
*/
private String region;
/**
*
*/
private String securityToken;
/**
*
*/
private String basePath;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* http或者https
*/
private String protocol;
/**
* 签名版本
*/
private String version;
/**
* 是否使用path style access方式访问
*/
private String pathStyleAccess;
/**
* 允许客户端发送匿名请求
*/
private String allowAnonymous;
/**
* 当服务端返回307时是否自动跳转
* 主要发生在用Region A的endpoint请求Region B的endpoint
*/
private String flowRedirect;
/**
* 是否使用绑定的域名作为endpoint
*/
private String domainMode;
/**
* 签名类
*/
private String signerClass;
/**
* 是否压缩
*/
private String useGzip;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 状态
*/
private String status;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 金山云对象存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 22:13:26
*/
@Data
public class SchisandraOssJinshanDTO implements Serializable {
/**
* 主键
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String accessKeyId;
/**
*
*/
private String accessKeySecret;
/**
*
*/
private String bucketName;
/**
*
*/
private String endpoint;
/**
* 服务地址,参考 http://ks3.ksyun.com/doc/api/index.html Doc
* 中国(杭州):kss.ksyun.com
* 中国杭州cdn:kssws.ks-cdn.com
* 美国(圣克拉拉):ks3-us-west-1.ksyun.com
* 中国(北京):ks3-cn-beijing.ksyun.com
* 中国(香港):ks3-cn-hk-1.ksyun.com
* 中国(上海):ks3-cn-shanghai.ksyun.com
*/
private String region;
/**
*
*/
private String securityToken;
/**
*
*/
private String basePath;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* http或者https
*/
private String protocol;
/**
* 签名版本
*/
private String version;
/**
* 是否使用path style access方式访问
*/
private String pathStyleAccess;
/**
* 允许客户端发送匿名请求
*/
private String allowAnonymous;
/**
* 当服务端返回307时是否自动跳转
* 主要发生在用Region A的endpoint请求Region B的endpoint
*/
private String flowRedirect;
/**
* 是否使用绑定的域名作为endpoint
*/
private String domainMode;
/**
* 签名类
*/
private String signerClass;
/**
* 是否压缩
*/
private String useGzip;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 状态
*/
private String status;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}

View File

@@ -1,68 +1,68 @@
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 本地存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 22:18:08
*/
@Data
public class SchisandraOssLocalDTO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String basePath;
/**
* 状态
*/
private String status;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
}
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 本地存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 22:18:08
*/
@Data
public class SchisandraOssLocalDTO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String basePath;
/**
* 状态
*/
private String status;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
}

View File

@@ -18,12 +18,12 @@ public class SchisandraOssMinioDTO implements Serializable {
/**
*
*/
private Long id;
private String id;
/**
*
*/
private Long userId;
private String userId;
/**
*

View File

@@ -1,133 +1,133 @@
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 平安云对象存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 22:19:22
*/
@Data
public class SchisandraOssPinganDTO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long systemUserId;
/**
*
*/
private String userAgent;
/**
*
*/
private String obsUrl;
/**
*
*/
private String obsAccessKey;
/**
*
*/
private String obsSecret;
/**
*
*/
private String userId;
/**
*
*/
private String basePath;
/**
*
*/
private String bucketName;
/**
*
*/
private String representPathInKey;
/**
*
*/
private String domainName;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
}
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 平安云对象存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 22:19:22
*/
@Data
public class SchisandraOssPinganDTO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String systemUserId;
/**
*
*/
private String userAgent;
/**
*
*/
private String obsUrl;
/**
*
*/
private String obsAccessKey;
/**
*
*/
private String obsSecret;
/**
*
*/
private String userId;
/**
*
*/
private String basePath;
/**
*
*/
private String bucketName;
/**
*
*/
private String representPathInKey;
/**
*
*/
private String domainName;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
}

View File

@@ -1,148 +1,148 @@
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 青云对象存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 22:21:09
*/
@Data
public class SchisandraOssQingyunDTO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String endpoint;
/**
*
*/
private String accessKey;
/**
*
*/
private String accessSecret;
/**
*
*/
private String bucketName;
/**
*
*/
private String zone;
/**
*
*/
private String basePath;
/**
* 是否支持CNAME作为Endpoint默认不支持CNAME。
*/
private String cnameSupport;
/**
* 附加的用户代理
*/
private String additionalUserAgent;
/**
* 是否启用虚拟Host
*/
private String virtualHostEnabled;
/**
* 读超时时间
*/
private Integer readTimeout;
/**
* 写超时时间
*/
private Integer writeTimeout;
/**
* 连接超时时间
*/
private Integer connectionTimeout;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 青云对象存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 22:21:09
*/
@Data
public class SchisandraOssQingyunDTO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String endpoint;
/**
*
*/
private String accessKey;
/**
*
*/
private String accessSecret;
/**
*
*/
private String bucketName;
/**
*
*/
private String zone;
/**
*
*/
private String basePath;
/**
* 是否支持CNAME作为Endpoint默认不支持CNAME。
*/
private String cnameSupport;
/**
* 附加的用户代理
*/
private String additionalUserAgent;
/**
* 是否启用虚拟Host
*/
private String virtualHostEnabled;
/**
* 读超时时间
*/
private Integer readTimeout;
/**
* 写超时时间
*/
private Integer writeTimeout;
/**
* 连接超时时间
*/
private Integer connectionTimeout;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}

View File

@@ -18,12 +18,12 @@ public class SchisandraOssQiniuDTO implements Serializable {
/**
*
*/
private Long id;
private String id;
/**
*
*/
private Long userId;
private String userId;
/**
*

View File

@@ -18,12 +18,12 @@ public class SchisandraOssSftpDTO implements Serializable {
/**
*
*/
private Long id;
private String id;
/**
*
*/
private Long userId;
private String userId;
/**
* 主机

View File

@@ -18,12 +18,12 @@ public class SchisandraOssTencentDTO implements Serializable {
/**
*
*/
private Long id;
private String id;
/**
*
*/
private Long userId;
private String userId;
/**
*

View File

@@ -1,143 +1,143 @@
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* ucloud对象存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 22:27:45
*/
@Data
public class SchisandraOssUcloudDTO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String basePath;
/**
*
*/
private String bucketName;
/**
*
*/
private String publicKey;
/**
*
*/
private String privateKey;
/**
*
*/
private String customHost;
/**
* 连接超时时间
*/
private Long timeoutConnect;
/**
* 读超时时间
*/
private Long timeoutRead;
/**
* 写超时时间
*/
private Long timeoutWrite;
/**
* okhttp最大空闲连接数5
*/
private Integer maxIdleConnections;
/**
* okhttp活动链接存货时间5分钟
*/
private Long keepAliveDuration;
/**
* okhttp活动链接存货时间单位, (分钟)
*/
private String keepAliveTimeUnit;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* ucloud对象存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 22:27:45
*/
@Data
public class SchisandraOssUcloudDTO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String basePath;
/**
*
*/
private String bucketName;
/**
*
*/
private String publicKey;
/**
*
*/
private String privateKey;
/**
*
*/
private String customHost;
/**
* 连接超时时间
*/
private Long timeoutConnect;
/**
* 读超时时间
*/
private Long timeoutRead;
/**
* 写超时时间
*/
private Long timeoutWrite;
/**
* okhttp最大空闲连接数5
*/
private Integer maxIdleConnections;
/**
* okhttp活动链接存货时间5分钟
*/
private Long keepAliveDuration;
/**
* okhttp活动链接存货时间单位, (分钟)
*/
private String keepAliveTimeUnit;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}

View File

@@ -18,12 +18,12 @@ public class SchisandraOssUpDTO implements Serializable {
/**
*
*/
private Long id;
private String id;
/**
*
*/
private Long userId;
private String userId;
/**
*

View File

@@ -1,188 +1,188 @@
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 网易数帆对象存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 22:31:37
*/
@Data
public class SchisandraOssWangyiDTO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String accessKey;
/**
*
*/
private String secretKey;
/**
*
*/
private String endpoint;
/**
*
*/
private String bucketName;
/**
*
*/
private String basePath;
/**
* 连接超时时间
*/
private Integer connectionTimeout;
/**
* 最大连接池大小。
*/
private Integer maxConnections;
/**
* 最大失败重试次数
*/
private Integer maxErrorRetry;
/**
* 是否使用子域名
*/
private String isSubDomain;
/**
* 连接OSS所采用的协议HTTP或HTTPS默认为HTTP。
*/
private String protocol;
/**
* 代理服务器的域该域可以执行NTLM认证
*/
private String proxyDomain;
/**
* 代理服务器主机地址
*/
private String proxyHost;
/**
* 代理服务器验证的密码
*/
private String proxyPassword;
/**
* 代理服务器端口
*/
private Integer proxyPort;
/**
* 代理服务器验证的用户名
*/
private String proxyUsername;
/**
* 代理主机的NTLM身份验证服务器
*/
private String proxyWorkstation;
/**
* Socket层传输数据的超时时间单位毫秒。默认为50000毫秒。
*/
private Integer socketTimeout;
/**
* 用户代理指HTTP的User-Agent头
*/
private String userAgent;
/**
* Socket接收缓冲区的大小提示(以字节为单位)。
*/
private Integer socketReceiveBufferSizeHint;
/**
* Socket发送缓冲区的大小提示(以字节为单位)。
*/
private Integer socketSendBufferSizeHint;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}
package com.schisandra.oss.application.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 网易数帆对象存储配置表 dto
*
* @author landaiqing
* @since 2024-06-02 22:31:37
*/
@Data
public class SchisandraOssWangyiDTO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String accessKey;
/**
*
*/
private String secretKey;
/**
*
*/
private String endpoint;
/**
*
*/
private String bucketName;
/**
*
*/
private String basePath;
/**
* 连接超时时间
*/
private Integer connectionTimeout;
/**
* 最大连接池大小。
*/
private Integer maxConnections;
/**
* 最大失败重试次数
*/
private Integer maxErrorRetry;
/**
* 是否使用子域名
*/
private String isSubDomain;
/**
* 连接OSS所采用的协议HTTP或HTTPS默认为HTTP。
*/
private String protocol;
/**
* 代理服务器的域该域可以执行NTLM认证
*/
private String proxyDomain;
/**
* 代理服务器主机地址
*/
private String proxyHost;
/**
* 代理服务器验证的密码
*/
private String proxyPassword;
/**
* 代理服务器端口
*/
private Integer proxyPort;
/**
* 代理服务器验证的用户名
*/
private String proxyUsername;
/**
* 代理主机的NTLM身份验证服务器
*/
private String proxyWorkstation;
/**
* Socket层传输数据的超时时间单位毫秒。默认为50000毫秒。
*/
private Integer socketTimeout;
/**
* 用户代理指HTTP的User-Agent头
*/
private String userAgent;
/**
* Socket接收缓冲区的大小提示(以字节为单位)。
*/
private Integer socketReceiveBufferSizeHint;
/**
* Socket发送缓冲区的大小提示(以字节为单位)。
*/
private Integer socketSendBufferSizeHint;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}

View File

@@ -17,12 +17,12 @@ public class SchisandraUserOssDTO implements Serializable {
/**
*
*/
private Long id;
private String id;
/**
*
*/
private Long userId;
private String userId;
/**
*
@@ -36,7 +36,7 @@ public class SchisandraUserOssDTO implements Serializable {
/**
*
*/
private String configCount;
private Integer configCount;
/**
*

View File

@@ -38,7 +38,7 @@ public class AliOssConfiguration {
public Result aliOssClient(String userId) {
CompletableFuture<SchisandraOssAliDTO> futurePrice = CompletableFuture.supplyAsync(() -> {
SchisandraOssAliBO schisandraOssAliBO = schisandraOssAliDomainService.getAliOssConfig(Long.valueOf(userId));
SchisandraOssAliBO schisandraOssAliBO = schisandraOssAliDomainService.getAliOssConfig(userId);
SchisandraOssAliDTO schisandraOssAliDTO = SchisandraOssAliDTOConverter.INSTANCE.convertBOToDTO(schisandraOssAliBO);
return schisandraOssAliDTO;
});

View File

@@ -85,7 +85,7 @@ public class MinioOssConfiguration {
public SchisandraOssMinioDTO getSchisandraOssMinioDTO(String userId) {
CompletableFuture<SchisandraOssMinioDTO> futurePrice = CompletableFuture.supplyAsync(() -> {
SchisandraOssMinioBO minioBO = schisandraOssMinioDomainService.getMinioConfig(Long.valueOf(userId));
SchisandraOssMinioBO minioBO = schisandraOssMinioDomainService.getMinioConfig(userId);
SchisandraOssMinioDTO minioDTO = SchisandraOssMinioDTOConverter.INSTANCE.convertBOToDTO(minioBO);
return minioDTO;
});

View File

@@ -16,12 +16,12 @@ public class SchisandraFileHeatmapBO implements Serializable {
/**
*
*/
private Long id;
private String id;
/**
*
*/
private Long userId;
private String userId;
/**
*

View File

@@ -1,270 +1,270 @@
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* bo
*
* @author landaiqing
* @since 2024-05-14 20:10:20
*/
@Data
public class SchisandraOssAliBO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
* OSS地址
*/
private String endpoint;
/**
* AccessKey ID
*/
private String accessKeyId;
/**
* AccessKey Secret
*/
private String accessKeySecret;
/**
* security Token
*/
private String securityToken;
/**
* Bucket名称
*/
private String bucketName;
/**
* 数据存储路径
*/
private String basePath;
/**
* 用户代理指HTTP的User-Agent头。默认为aliyun-sdk-java。
*/
private String userAgent;
/**
* 请求失败后最大的重试次数。默认3次。
*/
private String maxErrorRetry;
/**
* 从连接池中获取连接的超时时间(单位:毫秒)。默认不超时。
*/
private Integer connectionRequestTimeout;
/**
* 建立连接的超时时间单位毫秒。默认为50000毫秒。
*/
private Integer connectionTimeout;
/**
* Socket层传输数据的超时时间单位毫秒。默认为50000毫秒。
*/
private Integer socketTimeout;
/**
* 允许打开的最大HTTP连接数。默认为1024
*/
private Integer maxConnections;
/**
* 连接TTL (生存时间)。Http连接由连接管理器用TTL缓存。
*/
private Long connectionTTL;
/**
* 是否使用com.aliyun.oss.common.comm.IdleConnectionReaper管理过期连接,默认开启
*/
private String useReaper;
/**
* 连接空闲超时时间超时则关闭连接单位毫秒。默认为60000毫秒。
*/
private Long idleConnectionTime;
/**
* 连接OSS所采用的协议HTTP或HTTPS默认为HTTP。
*/
private String protocol;
/**
* 代理服务器主机地址。
*/
private String proxyHost;
/**
* 代理服务器端口。
*/
private String proxyPort;
/**
* 代理服务器验证的用户名。
*/
private String proxyUsername;
/**
* 代理服务器验证的密码。
*/
private String proxyPassword;
/**
* 代理服务器的域该域可以执行NTLM认证
*/
private String proxyDomain;
/**
* 代理主机的NTLM身份验证服务器
*/
private String proxyWorkstation;
/**
* 是否支持CNAME作为Endpoint默认支持CNAME。
*/
private String supportCname;
/**
* 设置不可变排除的CName列表 ---- 任何以该列表中的项目结尾的域都不会进行Cname解析。
*/
private String cnameExcludeList;
/**
* 是否开启二级域名Second Level Domain的访问方式默认不开启。
*/
private String sldEnabled;
/**
* 请求超时时间单位毫秒。默认情况下是5分钟。
*/
private Integer requestTimeout;
/**
* 是否启用请求超时校验。默认情况下,它是禁用的。
*/
private String requestTimeoutEnabled;
/**
* 设置慢请求的延迟阈值。如果请求的延迟大于延迟则将记录该请求。默认情况下阈值为5分钟。
*/
private Long slowRequestsThreshold;
/**
* 设置默认的http头。所有请求头将自动添加到每个请求中。如果在请求中也指定了相同的请求头则默认的标头将被覆盖。
*/
private String defaultHeaders;
/**
* 是否在上传和下载时启用CRC校验默认启用
*/
private String crcCheckEnabled;
/**
* 所有请求设置签名版本
*/
private String signatureVersion;
/**
* 设置OSS服务端时间和本地时间之间的差异以毫秒为单位。
*/
private Long tickOffset;
/**
* 是否开启HTTP重定向。
说明: Java SDK 3.10.1及以上版本支持设置是否开启HTTP重定向默认开启。
*/
private String redirectEnable;
/**
* 是否开启SSL证书校验。
* 说明: Java SDK 3.10.1及以上版本支持设置是否开启SSL证书校验默认开启。
*/
private String verifySSLEnable;
/**
* 是否开启日志记录连接池统计信息
*/
private String logConnectionPoolStats;
/**
* 是否使用系统属性值
*/
private String useSystemPropertyValues;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* bo
*
* @author landaiqing
* @since 2024-05-14 20:10:20
*/
@Data
public class SchisandraOssAliBO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
* OSS地址
*/
private String endpoint;
/**
* AccessKey ID
*/
private String accessKeyId;
/**
* AccessKey Secret
*/
private String accessKeySecret;
/**
* security Token
*/
private String securityToken;
/**
* Bucket名称
*/
private String bucketName;
/**
* 数据存储路径
*/
private String basePath;
/**
* 用户代理指HTTP的User-Agent头。默认为aliyun-sdk-java。
*/
private String userAgent;
/**
* 请求失败后最大的重试次数。默认3次。
*/
private String maxErrorRetry;
/**
* 从连接池中获取连接的超时时间(单位:毫秒)。默认不超时。
*/
private Integer connectionRequestTimeout;
/**
* 建立连接的超时时间单位毫秒。默认为50000毫秒。
*/
private Integer connectionTimeout;
/**
* Socket层传输数据的超时时间单位毫秒。默认为50000毫秒。
*/
private Integer socketTimeout;
/**
* 允许打开的最大HTTP连接数。默认为1024
*/
private Integer maxConnections;
/**
* 连接TTL (生存时间)。Http连接由连接管理器用TTL缓存。
*/
private Long connectionTTL;
/**
* 是否使用com.aliyun.oss.common.comm.IdleConnectionReaper管理过期连接,默认开启
*/
private String useReaper;
/**
* 连接空闲超时时间超时则关闭连接单位毫秒。默认为60000毫秒。
*/
private Long idleConnectionTime;
/**
* 连接OSS所采用的协议HTTP或HTTPS默认为HTTP。
*/
private String protocol;
/**
* 代理服务器主机地址。
*/
private String proxyHost;
/**
* 代理服务器端口。
*/
private String proxyPort;
/**
* 代理服务器验证的用户名。
*/
private String proxyUsername;
/**
* 代理服务器验证的密码。
*/
private String proxyPassword;
/**
* 代理服务器的域该域可以执行NTLM认证
*/
private String proxyDomain;
/**
* 代理主机的NTLM身份验证服务器
*/
private String proxyWorkstation;
/**
* 是否支持CNAME作为Endpoint默认支持CNAME。
*/
private String supportCname;
/**
* 设置不可变排除的CName列表 ---- 任何以该列表中的项目结尾的域都不会进行Cname解析。
*/
private String cnameExcludeList;
/**
* 是否开启二级域名Second Level Domain的访问方式默认不开启。
*/
private String sldEnabled;
/**
* 请求超时时间单位毫秒。默认情况下是5分钟。
*/
private Integer requestTimeout;
/**
* 是否启用请求超时校验。默认情况下,它是禁用的。
*/
private String requestTimeoutEnabled;
/**
* 设置慢请求的延迟阈值。如果请求的延迟大于延迟则将记录该请求。默认情况下阈值为5分钟。
*/
private Long slowRequestsThreshold;
/**
* 设置默认的http头。所有请求头将自动添加到每个请求中。如果在请求中也指定了相同的请求头则默认的标头将被覆盖。
*/
private String defaultHeaders;
/**
* 是否在上传和下载时启用CRC校验默认启用
*/
private String crcCheckEnabled;
/**
* 所有请求设置签名版本
*/
private String signatureVersion;
/**
* 设置OSS服务端时间和本地时间之间的差异以毫秒为单位。
*/
private Long tickOffset;
/**
* 是否开启HTTP重定向。
说明: Java SDK 3.10.1及以上版本支持设置是否开启HTTP重定向默认开启。
*/
private String redirectEnable;
/**
* 是否开启SSL证书校验。
* 说明: Java SDK 3.10.1及以上版本支持设置是否开启SSL证书校验默认开启。
*/
private String verifySSLEnable;
/**
* 是否开启日志记录连接池统计信息
*/
private String logConnectionPoolStats;
/**
* 是否使用系统属性值
*/
private String useSystemPropertyValues;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}

View File

@@ -1,157 +1,157 @@
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 亚马逊对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 21:48:16
*/
@Data
public class SchisandraOssAwsBO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
* 数据存储路径
*/
private String basePath;
/**
* Bucket名称
*/
private String bucketName;
/**
*
*/
private String accessKeyId;
/**
*
*/
private String secretAccessKey;
/**
*
*/
private String region;
/**
*
*/
private String mode;
/**
*
*/
private String accelerateModeEnabled;
/**
*
*/
private String checksumValidationEnabled;
/**
*
*/
private String multiRegionEnabled;
/**
*
*/
private String chunkedEncodingEnabled;
/**
*
*/
private String pathStyleAccessEnabled;
/**
*
*/
private String useArnRegionEnabled;
/**
*
*/
private String fipsEnabled;
/**
*
*/
private String dualstackEnabled;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 亚马逊对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 21:48:16
*/
@Data
public class SchisandraOssAwsBO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
* 数据存储路径
*/
private String basePath;
/**
* Bucket名称
*/
private String bucketName;
/**
*
*/
private String accessKeyId;
/**
*
*/
private String secretAccessKey;
/**
*
*/
private String region;
/**
*
*/
private String mode;
/**
*
*/
private String accelerateModeEnabled;
/**
*
*/
private String checksumValidationEnabled;
/**
*
*/
private String multiRegionEnabled;
/**
*
*/
private String chunkedEncodingEnabled;
/**
*
*/
private String pathStyleAccessEnabled;
/**
*
*/
private String useArnRegionEnabled;
/**
*
*/
private String fipsEnabled;
/**
*
*/
private String dualstackEnabled;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}

View File

@@ -1,217 +1,217 @@
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 百度云对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 22:02:15
*/
@Data
public class SchisandraOssBaiduBO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String basePath;
/**
*
*/
private String bucketName;
/**
*
*/
private String accessKeyId;
/**
*
*/
private String secretAccessKey;
/**
* 使用cname访问BOS资源
*/
private String cnameEnabled;
/**
* 异步put
*/
private String enableHttpAsyncPut;
/**
* 建立连接的超时时间(单位:毫秒)
*/
private Integer connectionTimeoutInMillis;
/**
* 允许打开的最大HTTP连接数
*/
private Integer maxConnections;
/**
* 连接协议类型
*/
private String protocol;
/**
* 访问NTLM验证的代理服务器的Windows域名
*/
private String proxyDomain;
/**
* 代理服务器主机地址
*/
private String proxyHost;
/**
* 代理服务器验证的密码
*/
private String proxyPassword;
/**
* 代理服务器端口
*/
private Integer proxyPort;
/**
* 代理服务器验证的用户名
*/
private String proxyUsername;
/**
* NTLM代理服务器的Windows工作站名称
*/
private String proxyWorkstation;
/**
* 是否设置用户代理认证
*/
private String proxyPreemptiveAuthenticationEnable;
/**
* 通过打开的连接传输数据的超时时间(单位:毫秒)
*/
private Integer socketTimeoutInMillis;
/**
* Socket缓冲区大小
*/
private Integer socketBufferSizeInBytes;
/**
* 访问域名
*/
private String endpoint;
/**
* 地域
*/
private String region;
/**
* 是否开启HTTP重定向。默认开启
*/
private String redirectsEnabled;
/**
* 本地地址
*/
private String localAddress;
/**
* 请求失败最大重试次数
*/
private Integer maxErrorRetry;
/**
* 最大延迟时间,单位:毫秒
*/
private Integer maxDelayInMillis;
/**
* 流文件缓冲区大小
*/
private Double streamBufferSize;
/**
* 用户代理指HTTP的User-Agent头
*/
private String userAgent;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 百度云对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 22:02:15
*/
@Data
public class SchisandraOssBaiduBO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String basePath;
/**
*
*/
private String bucketName;
/**
*
*/
private String accessKeyId;
/**
*
*/
private String secretAccessKey;
/**
* 使用cname访问BOS资源
*/
private String cnameEnabled;
/**
* 异步put
*/
private String enableHttpAsyncPut;
/**
* 建立连接的超时时间(单位:毫秒)
*/
private Integer connectionTimeoutInMillis;
/**
* 允许打开的最大HTTP连接数
*/
private Integer maxConnections;
/**
* 连接协议类型
*/
private String protocol;
/**
* 访问NTLM验证的代理服务器的Windows域名
*/
private String proxyDomain;
/**
* 代理服务器主机地址
*/
private String proxyHost;
/**
* 代理服务器验证的密码
*/
private String proxyPassword;
/**
* 代理服务器端口
*/
private Integer proxyPort;
/**
* 代理服务器验证的用户名
*/
private String proxyUsername;
/**
* NTLM代理服务器的Windows工作站名称
*/
private String proxyWorkstation;
/**
* 是否设置用户代理认证
*/
private String proxyPreemptiveAuthenticationEnable;
/**
* 通过打开的连接传输数据的超时时间(单位:毫秒)
*/
private Integer socketTimeoutInMillis;
/**
* Socket缓冲区大小
*/
private Integer socketBufferSizeInBytes;
/**
* 访问域名
*/
private String endpoint;
/**
* 地域
*/
private String region;
/**
* 是否开启HTTP重定向。默认开启
*/
private String redirectsEnabled;
/**
* 本地地址
*/
private String localAddress;
/**
* 请求失败最大重试次数
*/
private Integer maxErrorRetry;
/**
* 最大延迟时间,单位:毫秒
*/
private Integer maxDelayInMillis;
/**
* 流文件缓冲区大小
*/
private Double streamBufferSize;
/**
* 用户代理指HTTP的User-Agent头
*/
private String userAgent;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}

View File

@@ -1,137 +1,137 @@
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* ftp存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 21:54:20
*/
@Data
public class SchisandraOssFtpBO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String basePath;
/**
* 主机
*/
private String host;
/**
* 端口
*/
private Integer port;
/**
* 用户名
*/
private String user;
/**
* 密码
*/
private String password;
/**
* 编码
*/
private String charset;
/**
* FTP连接模式,默认被动
*/
private String mode;
/**
* 设置执行完操作是否返回当前目录,默认false
*/
private String backToPwd;
/**
* 连接超时时长,单位毫秒
*/
private Long connectionTimeout;
/**
* Socket连接超时时长单位毫秒
*/
private Long soTimeout;
/**
* 设置服务器语言
*/
private String serverLanguageCode;
/**
* 设置服务器系统关键词
*/
private String systemKey;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
}
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* ftp存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 21:54:20
*/
@Data
public class SchisandraOssFtpBO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String basePath;
/**
* 主机
*/
private String host;
/**
* 端口
*/
private Integer port;
/**
* 用户名
*/
private String user;
/**
* 密码
*/
private String password;
/**
* 编码
*/
private String charset;
/**
* FTP连接模式,默认被动
*/
private String mode;
/**
* 设置执行完操作是否返回当前目录,默认false
*/
private String backToPwd;
/**
* 连接超时时长,单位毫秒
*/
private Long connectionTimeout;
/**
* Socket连接超时时长单位毫秒
*/
private Long soTimeout;
/**
* 设置服务器语言
*/
private String serverLanguageCode;
/**
* 设置服务器系统关键词
*/
private String systemKey;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
}

View File

@@ -1,252 +1,251 @@
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 华为云对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 21:59:56
*/
@Data
public class SchisandraOssHuaweiBO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String basePath;
/**
*
*/
private String accessKey;
/**
*
*/
private String secretKey;
/**
*
*/
private String endPoint;
/**
*
*/
private String bucketName;
/**
* 建立HTTP/HTTPS连接的超时时间单位毫秒。默认为60000毫秒。
*/
private Integer connectionTimeout;
/**
* 如果空闲时间超过此参数的设定值则关闭连接单位毫秒。默认为30000毫秒。
*/
private Integer idleConnectionTime;
/**
* 连接池中最大空闲连接数默认值1000。
*/
private Integer maxIdleConnections;
/**
* 最大允许的HTTP并发请求数。默认为1000。
*/
private Integer maxConnections;
/**
* 请求失败请求异常、服务端报500或503错误等后最大的重试次数。默认3次。
*/
private Integer maxErrorRetry;
/**
* Socket层传输数据的超时时间单位毫秒。默认为60000毫秒。
*/
private Integer socketTimeout;
/**
* 设置HTTP请求的端口号 (默认为80)。
*/
private Integer endpointHttpPort;
/**
* 定是否使用HTTPS连接OBS (默认为 “true”)。
*/
private String endpointHttpsPort;
/**
* 定是否使用HTTPS连接OBS (默认为 “true”)。
*/
private String httpsOnly;
/**
* 指定是否启用对OBS的路径样式访问。“true” 表示启用了路径样式的访问,而 “false” (默认) 表示启用了虚拟托管样式的访问。注意: 如果启用了路径样式访问则不支持OBS 3.0的新bucket功能。
*/
private String pathStyle;
/**
* HTTP代理配置。默认为空。
*/
private String httpProxy;
/**
* 上传流对象时使用的缓存大小单位字节。默认为512KB。
*/
private Integer uploadStreamRetryBufferSize;
/**
* 是否验证服务端证书。默认为false。
*/
private String validateCertificate;
/**
* 是否验证响应头信息的ContentType。默认为true。
*/
private String verifyResponseContentType;
/**
* 从Socket流下载对象的缓存大小单位字节-1表示不设置缓存。默认为-1。
*/
private Integer readBufferSize;
/**
* 上传对象到Socket流时的缓存大小单位字节-1表示不设置缓存。默认为-1。
*/
private Double writeBufferSize;
/**
* 是否严格验证服务端主机名。默认为false。
*/
private String isStrictHostnameVerification;
/**
* 设置身份验证类型。
*/
private String authType;
/**
* Socket发送缓冲区大小单位字节对应java.net.SocketOptions.SO_SNDBUF参数。默认为-1表示不设置。
*/
private Integer socketWriteBufferSize;
/**
* Socket接收缓冲区大小单位字节对应java.net.SocketOptions.SO_RCVBUF参数。默认为-1表示不设置。
*/
private Integer socketReadBufferSize;
/**
* 是否使用长连接访问OBS服务。默认为true。
*/
private String keepAlive;
/**
* 指定是否使用协议协商。
*/
private String authTypeNegotiation;
/**
* 是否通过自定义域名访问OBS服务。默认为false。
*/
private String cname;
/**
* 将文件夹隔离器设置为斜线。
*/
private String delimiter;
/**
* SSLContext的Provider默认使用JDK提供的SSLContext。
*/
private String sslProvider;
/**
* 访问OBS服务端时使用的HTTP协议类型。默认为HTTP1.1协议。
*/
private String httpProtocolType;
/**
* 是否开启Okhttp中的连接失败重试默认关闭
*/
private String retryOnConnectionFailureInOkhttp;
/**
* 发生异常时最大重试次数
*/
private String maxRetryOnUnexpectedEndException;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 华为云对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 21:59:56
*/
@Data
public class SchisandraOssHuaweiBO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String basePath;
/**
*
*/
private String accessKey;
/**
*
*/
private String secretKey;
/**
*
*/
private String endPoint;
/**
*
*/
private String bucketName;
/**
* 建立HTTP/HTTPS连接的超时时间单位毫秒。默认为60000毫秒。
*/
private Integer connectionTimeout;
/**
* 如果空闲时间超过此参数的设定值则关闭连接单位毫秒。默认为30000毫秒。
*/
private Integer idleConnectionTime;
/**
* 连接池中最大空闲连接数默认值1000。
*/
private Integer maxIdleConnections;
/**
* 最大允许的HTTP并发请求数。默认为1000。
*/
private Integer maxConnections;
/**
* 请求失败请求异常、服务端报500或503错误等后最大的重试次数。默认3次。
*/
private Integer maxErrorRetry;
/**
* Socket层传输数据的超时时间单位毫秒。默认为60000毫秒。
*/
private Integer socketTimeout;
/**
* 设置HTTP请求的端口号 (默认为80)。
*/
private Integer endpointHttpPort;
/**
* 定是否使用HTTPS连接OBS (默认为 “true”)。
*/
private String endpointHttpsPort;
/**
* 定是否使用HTTPS连接OBS (默认为 “true”)。
*/
private String httpsOnly;
/**
* 指定是否启用对OBS的路径样式访问。“true” 表示启用了路径样式的访问,而 “false” (默认) 表示启用了虚拟托管样式的访问。注意: 如果启用了路径样式访问则不支持OBS 3.0的新bucket功能。
*/
private String pathStyle;
/**
* HTTP代理配置。默认为空。
*/
private String httpProxy;
/**
* 上传流对象时使用的缓存大小单位字节。默认为512KB。
*/
private Integer uploadStreamRetryBufferSize;
/**
* 是否验证服务端证书。默认为false。
*/
private String validateCertificate;
/**
* 是否验证响应头信息的ContentType。默认为true。
*/
private String verifyResponseContentType;
/**
* 从Socket流下载对象的缓存大小单位字节-1表示不设置缓存。默认为-1。
*/
private Integer readBufferSize;
/**
* 上传对象到Socket流时的缓存大小单位字节-1表示不设置缓存。默认为-1。
*/
private Double writeBufferSize;
/**
* 是否严格验证服务端主机名。默认为false。
*/
private String isStrictHostnameVerification;
/**
* 设置身份验证类型。
*/
private String authType;
/**
* Socket发送缓冲区大小单位字节对应java.net.SocketOptions.SO_SNDBUF参数。默认为-1表示不设置。
*/
private Integer socketWriteBufferSize;
/**
* Socket接收缓冲区大小单位字节对应java.net.SocketOptions.SO_RCVBUF参数。默认为-1表示不设置。
*/
private Integer socketReadBufferSize;
/**
* 是否使用长连接访问OBS服务。默认为true。
*/
private String keepAlive;
/**
* 指定是否使用协议协商。
*/
private String authTypeNegotiation;
/**
* 是否通过自定义域名访问OBS服务。默认为false。
*/
private String cname;
/**
* 将文件夹隔离器设置为斜线。
*/
private String delimiter;
/**
* SSLContext的Provider默认使用JDK提供的SSLContext。
*/
private String sslProvider;
/**
* 访问OBS服务端时使用的HTTP协议类型。默认为HTTP1.1协议。
*/
private String httpProtocolType;
/**
* 是否开启Okhttp中的连接失败重试默认关闭
*/
private String retryOnConnectionFailureInOkhttp;
/**
* 发生异常时最大重试次数
*/
private String maxRetryOnUnexpectedEndException;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}

View File

@@ -1,292 +1,292 @@
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 京东云对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 22:07:10
*/
@Data
public class SchisandraOssJdBO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String basePath;
/**
*
*/
private String bucketName;
/**
*
*/
private String endpoint;
/**
*
*/
private String accessKey;
/**
*
*/
private String secretKey;
/**
*
*/
private String region;
/**
* 建立连接的超时时间单位毫秒。默认为50000毫秒
*/
private Integer connectionTimeout;
/**
* 允许打开的最大HTTP连接数。默认为1024
*/
private Integer maxConnections;
/**
* 请求失败后最大的重试次数
*/
private Integer maxErrorRetry;
/**
* 是否限制重试的默认值。
*/
private String throttleRetries;
/**
* 连接协议类型
*/
private String protocol;
/**
* 连接到HTTP代理时要使用的协议。
*/
private String proxyProtocol;
/**
* 访问NTLM验证的代理服务器的Windows域名
*/
private String proxyDomain;
/**
* 代理服务器主机地址
*/
private String proxyHost;
/**
* 代理服务器验证的密码
*/
private String proxyPassword;
/**
* 代理服务器端口
*/
private String proxyPort;
/**
* 代理服务器验证的用户名
*/
private String proxyUsername;
/**
* NTLM代理服务器的Windows工作站名称
*/
private String proxyWorkstation;
/**
* 指定不通过代理应访问的主机。
*/
private String nonProxyHosts;
/**
* 是否禁用Socket代理
*/
private String disableSocketProxy;
/**
* 是否使用基本身份验证对代理服务器进行抢先身份验证
*/
private String preemptiveBasicProxyAuth;
/**
* Socket层传输数据的超时时间单位毫秒。默认为50000毫秒
*/
private Integer socketTimeout;
/**
* 请求的默认超时时间。默认为0禁用的。
*/
private Integer requestTimeout;
/**
* 请求的默认超时时间。默认为0禁用的。
*/
private Integer clientExecutionTimeout;
/**
* 公共HTTP请求头前缀。
*/
private String userAgentPrefix;
/**
* 是否使用com.amazonaws.http.IdleConnectionReaper管理旧连接
*/
private String useReaper;
/**
* 是否使用gzip解压缩
*/
private String useGzip;
/**
* Socket发送缓冲区的大小提示(以字节为单位)。
*/
private Integer socketSendBufferSizeHint;
/**
* Socket接收缓冲区的大小提示(以字节为单位)。
*/
private Integer socketReceiveBufferSizeHint;
/**
* 设置签名算法对请求进行签名。如果未明确设置客户端将通过提取SDK中的配置文件来确定要使用的算法
*/
private String signerOverride;
/**
* 响应元数据缓存大小
*/
private Integer responseMetadataCacheSize;
/**
* 是否使用USE_EXPECT_CONTINUE作为期望值
*/
private String useExpectContinue;
/**
* 是否缓存响应元数据
*/
private String cacheResponseMetadata;
/**
* 连接TTL (生存时间)。Http连接由连接管理器用TTL缓存。
*/
private Long connectionTTL;
/**
* 连接池中连接的最大空闲时间 (以毫秒为单位)。
*/
private Long connectionMaxIdleMillis;
/**
* 在必须验证连接是否仍处于打开状态之前,连接可以在连接池中处于空闲状态。
*/
private Integer validateAfterInActivityMillis;
/**
* 是否使用TCP KeepAlive的默认值。
*/
private String tcpKeepAlive;
/**
* 所有请求的公共请求头
*/
private String headers;
/**
* 请求失败最大重试次数
*/
private Integer maxConsecutiveRetriesBeforeThrottling;
/**
* 是否禁用主机前缀
*/
private String disableHostPrefixInjection;
/**
* 重试模式
*/
private String retryMode;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 京东云对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 22:07:10
*/
@Data
public class SchisandraOssJdBO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String basePath;
/**
*
*/
private String bucketName;
/**
*
*/
private String endpoint;
/**
*
*/
private String accessKey;
/**
*
*/
private String secretKey;
/**
*
*/
private String region;
/**
* 建立连接的超时时间单位毫秒。默认为50000毫秒
*/
private Integer connectionTimeout;
/**
* 允许打开的最大HTTP连接数。默认为1024
*/
private Integer maxConnections;
/**
* 请求失败后最大的重试次数
*/
private Integer maxErrorRetry;
/**
* 是否限制重试的默认值。
*/
private String throttleRetries;
/**
* 连接协议类型
*/
private String protocol;
/**
* 连接到HTTP代理时要使用的协议。
*/
private String proxyProtocol;
/**
* 访问NTLM验证的代理服务器的Windows域名
*/
private String proxyDomain;
/**
* 代理服务器主机地址
*/
private String proxyHost;
/**
* 代理服务器验证的密码
*/
private String proxyPassword;
/**
* 代理服务器端口
*/
private String proxyPort;
/**
* 代理服务器验证的用户名
*/
private String proxyUsername;
/**
* NTLM代理服务器的Windows工作站名称
*/
private String proxyWorkstation;
/**
* 指定不通过代理应访问的主机。
*/
private String nonProxyHosts;
/**
* 是否禁用Socket代理
*/
private String disableSocketProxy;
/**
* 是否使用基本身份验证对代理服务器进行抢先身份验证
*/
private String preemptiveBasicProxyAuth;
/**
* Socket层传输数据的超时时间单位毫秒。默认为50000毫秒
*/
private Integer socketTimeout;
/**
* 请求的默认超时时间。默认为0禁用的。
*/
private Integer requestTimeout;
/**
* 请求的默认超时时间。默认为0禁用的。
*/
private Integer clientExecutionTimeout;
/**
* 公共HTTP请求头前缀。
*/
private String userAgentPrefix;
/**
* 是否使用com.amazonaws.http.IdleConnectionReaper管理旧连接
*/
private String useReaper;
/**
* 是否使用gzip解压缩
*/
private String useGzip;
/**
* Socket发送缓冲区的大小提示(以字节为单位)。
*/
private Integer socketSendBufferSizeHint;
/**
* Socket接收缓冲区的大小提示(以字节为单位)。
*/
private Integer socketReceiveBufferSizeHint;
/**
* 设置签名算法对请求进行签名。如果未明确设置客户端将通过提取SDK中的配置文件来确定要使用的算法
*/
private String signerOverride;
/**
* 响应元数据缓存大小
*/
private Integer responseMetadataCacheSize;
/**
* 是否使用USE_EXPECT_CONTINUE作为期望值
*/
private String useExpectContinue;
/**
* 是否缓存响应元数据
*/
private String cacheResponseMetadata;
/**
* 连接TTL (生存时间)。Http连接由连接管理器用TTL缓存。
*/
private Long connectionTTL;
/**
* 连接池中连接的最大空闲时间 (以毫秒为单位)。
*/
private Long connectionMaxIdleMillis;
/**
* 在必须验证连接是否仍处于打开状态之前,连接可以在连接池中处于空闲状态。
*/
private Integer validateAfterInActivityMillis;
/**
* 是否使用TCP KeepAlive的默认值。
*/
private String tcpKeepAlive;
/**
* 所有请求的公共请求头
*/
private String headers;
/**
* 请求失败最大重试次数
*/
private Integer maxConsecutiveRetriesBeforeThrottling;
/**
* 是否禁用主机前缀
*/
private String disableHostPrefixInjection;
/**
* 重试模式
*/
private String retryMode;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}

View File

@@ -1,92 +1,92 @@
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* jdbc存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 22:08:16
*/
@Data
public class SchisandraOssJdbcBO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String basePath;
/**
* 系统数据源Bean名称(适用于系统多数据源配置)
*/
private String dataSourceName;
/**
* 对象存储数据源
*/
private String url;
/**
*
*/
private String type;
/**
*
*/
private String driver;
/**
*
*/
private String username;
/**
*
*/
private String password;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
}
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* jdbc存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 22:08:16
*/
@Data
public class SchisandraOssJdbcBO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String basePath;
/**
* 系统数据源Bean名称(适用于系统多数据源配置)
*/
private String dataSourceName;
/**
* 对象存储数据源
*/
private String url;
/**
*
*/
private String type;
/**
*
*/
private String driver;
/**
*
*/
private String username;
/**
*
*/
private String password;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
}

View File

@@ -1,62 +1,62 @@
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* jdbc存储数据表 bo
*
* @author landaiqing
* @since 2024-06-02 22:08:55
*/
@Data
public class SchisandraOssJdbcDataBO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
* 数据
*/
private byte[] data;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
}
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* jdbc存储数据表 bo
*
* @author landaiqing
* @since 2024-06-02 22:08:55
*/
@Data
public class SchisandraOssJdbcDataBO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
* 数据
*/
private byte[] data;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
}

View File

@@ -1,87 +1,87 @@
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* jdbc存储信息表 bo
*
* @author landaiqing
* @since 2024-06-02 22:11:22
*/
@Data
public class SchisandraOssJdbcStoreBO implements Serializable {
/**
* 主键
*/
private Long id;
/**
*
*/
private Long userId;
/**
* 文件/目录名
*/
private String name;
/**
* 路径
*/
private String path;
/**
* 文件大小
*/
private Double size;
/**
* 父级目录ID
*/
private Integer parentId;
/**
* 类型(D:目录;F:文件)
*/
private String type;
/**
* 数据ID
*/
private String dataId;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
}
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* jdbc存储信息表 bo
*
* @author landaiqing
* @since 2024-06-02 22:11:22
*/
@Data
public class SchisandraOssJdbcStoreBO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
* 文件/目录名
*/
private String name;
/**
* 路径
*/
private String path;
/**
* 文件大小
*/
private Double size;
/**
* 父级目录ID
*/
private Integer parentId;
/**
* 类型(D:目录;F:文件)
*/
private String type;
/**
* 数据ID
*/
private String dataId;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
}

View File

@@ -1,170 +1,170 @@
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 金山云对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 22:13:26
*/
@Data
public class SchisandraOssJinshanBO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String accessKeyId;
/**
*
*/
private String accessKeySecret;
/**
*
*/
private String bucketName;
/**
*
*/
private String endpoint;
/**
* 服务地址,参考 http://ks3.ksyun.com/doc/api/index.html Doc
* 中国(杭州):kss.ksyun.com
* 中国杭州cdn:kssws.ks-cdn.com
* 美国(圣克拉拉):ks3-us-west-1.ksyun.com
* 中国(北京):ks3-cn-beijing.ksyun.com
* 中国(香港):ks3-cn-hk-1.ksyun.com
* 中国(上海):ks3-cn-shanghai.ksyun.com
*/
private String region;
/**
*
*/
private String securityToken;
/**
*
*/
private String basePath;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* http或者https
*/
private String protocol;
/**
* 签名版本
*/
private String version;
/**
* 是否使用path style access方式访问
*/
private String pathStyleAccess;
/**
* 允许客户端发送匿名请求
*/
private String allowAnonymous;
/**
* 当服务端返回307时是否自动跳转
* 主要发生在用Region A的endpoint请求Region B的endpoint
*/
private String flowRedirect;
/**
* 是否使用绑定的域名作为endpoint
*/
private String domainMode;
/**
* 签名类
*/
private String signerClass;
/**
* 是否压缩
*/
private String useGzip;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 状态
*/
private String status;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 金山云对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 22:13:26
*/
@Data
public class SchisandraOssJinshanBO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String accessKeyId;
/**
*
*/
private String accessKeySecret;
/**
*
*/
private String bucketName;
/**
*
*/
private String endpoint;
/**
* 服务地址,参考 http://ks3.ksyun.com/doc/api/index.html Doc
* 中国(杭州):kss.ksyun.com
* 中国杭州cdn:kssws.ks-cdn.com
* 美国(圣克拉拉):ks3-us-west-1.ksyun.com
* 中国(北京):ks3-cn-beijing.ksyun.com
* 中国(香港):ks3-cn-hk-1.ksyun.com
* 中国(上海):ks3-cn-shanghai.ksyun.com
*/
private String region;
/**
*
*/
private String securityToken;
/**
*
*/
private String basePath;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* http或者https
*/
private String protocol;
/**
* 签名版本
*/
private String version;
/**
* 是否使用path style access方式访问
*/
private String pathStyleAccess;
/**
* 允许客户端发送匿名请求
*/
private String allowAnonymous;
/**
* 当服务端返回307时是否自动跳转
* 主要发生在用Region A的endpoint请求Region B的endpoint
*/
private String flowRedirect;
/**
* 是否使用绑定的域名作为endpoint
*/
private String domainMode;
/**
* 签名类
*/
private String signerClass;
/**
* 是否压缩
*/
private String useGzip;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 状态
*/
private String status;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}

View File

@@ -1,67 +1,67 @@
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 本地存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 22:18:08
*/
@Data
public class SchisandraOssLocalBO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String basePath;
/**
* 状态
*/
private String status;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
}
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 本地存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 22:18:08
*/
@Data
public class SchisandraOssLocalBO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String basePath;
/**
* 状态
*/
private String status;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
}

View File

@@ -1,183 +1,183 @@
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* bo
*
* @author landaiqing
* @since 2024-05-14 19:32:24
*/
@Data
public class SchisandraOssMinioBO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String endpoint;
/**
*
*/
private String accessKey;
/**
*
*/
private String secretKey;
/**
*
*/
private String bucketName;
/**
*
*/
private Integer port;
/**
*
*/
private String basePath;
/**
*
*/
private String fileHost;
/**
*
*/
private String downloadHost;
/**
*
*/
private String uploadHost;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
/**
* 连接超时时间(单位:毫秒)
*/
private Long connectTimeout;
/**
* 写超时时间(单位:毫秒)
*/
private Long writeTimeout;
/**
* 读超时时间(单位:毫秒)
*/
private Long readTimeout;
/**
* 调用超时时间(单位:毫秒)
*/
private Long callTimeout;
/**
* 是否支持重定向,默认支持
*/
private String followRedirects;
/**
* 是否支持HTTP到HTTPSHTTPS到HTTP的重定向默认支持
*/
private String followSslRedirects;
/**
* 是否开始连接失败重试,默认不支持
*/
private String retryOnConnectionFailure;
/**
* 连接健康检测间隔时长(单位:毫秒)
*/
private Integer pingInterval;
/**
* 分片大小,默认5MB
*/
private Long partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 图片大小限制单位m
*/
private Integer imgSize;
/**
* 文件大小限制单位m
*/
private Integer fileSize;
/**
* 额外json
*/
private String extraJson;
/**
* 状态
*/
private String status;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
}
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* bo
*
* @author landaiqing
* @since 2024-05-14 19:32:24
*/
@Data
public class SchisandraOssMinioBO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String endpoint;
/**
*
*/
private String accessKey;
/**
*
*/
private String secretKey;
/**
*
*/
private String bucketName;
/**
*
*/
private Integer port;
/**
*
*/
private String basePath;
/**
*
*/
private String fileHost;
/**
*
*/
private String downloadHost;
/**
*
*/
private String uploadHost;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
/**
* 连接超时时间(单位:毫秒)
*/
private Long connectTimeout;
/**
* 写超时时间(单位:毫秒)
*/
private Long writeTimeout;
/**
* 读超时时间(单位:毫秒)
*/
private Long readTimeout;
/**
* 调用超时时间(单位:毫秒)
*/
private Long callTimeout;
/**
* 是否支持重定向,默认支持
*/
private String followRedirects;
/**
* 是否支持HTTP到HTTPSHTTPS到HTTP的重定向默认支持
*/
private String followSslRedirects;
/**
* 是否开始连接失败重试,默认不支持
*/
private String retryOnConnectionFailure;
/**
* 连接健康检测间隔时长(单位:毫秒)
*/
private Integer pingInterval;
/**
* 分片大小,默认5MB
*/
private Long partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 图片大小限制单位m
*/
private Integer imgSize;
/**
* 文件大小限制单位m
*/
private Integer fileSize;
/**
* 额外json
*/
private String extraJson;
/**
* 状态
*/
private String status;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
}

View File

@@ -1,132 +1,132 @@
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 平安云对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 22:19:22
*/
@Data
public class SchisandraOssPinganBO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long systemUserId;
/**
*
*/
private String userAgent;
/**
*
*/
private String obsUrl;
/**
*
*/
private String obsAccessKey;
/**
*
*/
private String obsSecret;
/**
*
*/
private String userId;
/**
*
*/
private String basePath;
/**
*
*/
private String bucketName;
/**
*
*/
private String representPathInKey;
/**
*
*/
private String domainName;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
}
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 平安云对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 22:19:22
*/
@Data
public class SchisandraOssPinganBO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String systemUserId;
/**
*
*/
private String userAgent;
/**
*
*/
private String obsUrl;
/**
*
*/
private String obsAccessKey;
/**
*
*/
private String obsSecret;
/**
*
*/
private String userId;
/**
*
*/
private String basePath;
/**
*
*/
private String bucketName;
/**
*
*/
private String representPathInKey;
/**
*
*/
private String domainName;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
}

View File

@@ -1,147 +1,147 @@
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 青云对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 22:21:09
*/
@Data
public class SchisandraOssQingyunBO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String endpoint;
/**
*
*/
private String accessKey;
/**
*
*/
private String accessSecret;
/**
*
*/
private String bucketName;
/**
*
*/
private String zone;
/**
*
*/
private String basePath;
/**
* 是否支持CNAME作为Endpoint默认不支持CNAME。
*/
private String cnameSupport;
/**
* 附加的用户代理
*/
private String additionalUserAgent;
/**
* 是否启用虚拟Host
*/
private String virtualHostEnabled;
/**
* 读超时时间
*/
private Integer readTimeout;
/**
* 写超时时间
*/
private Integer writeTimeout;
/**
* 连接超时时间
*/
private Integer connectionTimeout;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 青云对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 22:21:09
*/
@Data
public class SchisandraOssQingyunBO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String endpoint;
/**
*
*/
private String accessKey;
/**
*
*/
private String accessSecret;
/**
*
*/
private String bucketName;
/**
*
*/
private String zone;
/**
*
*/
private String basePath;
/**
* 是否支持CNAME作为Endpoint默认不支持CNAME。
*/
private String cnameSupport;
/**
* 附加的用户代理
*/
private String additionalUserAgent;
/**
* 是否启用虚拟Host
*/
private String virtualHostEnabled;
/**
* 读超时时间
*/
private Integer readTimeout;
/**
* 写超时时间
*/
private Integer writeTimeout;
/**
* 连接超时时间
*/
private Integer connectionTimeout;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}

View File

@@ -16,12 +16,12 @@ public class SchisandraOssQiniuBO implements Serializable {
/**
*
*/
private Long id;
private String id;
/**
*
*/
private Long userId;
private String userId;
/**
*

View File

@@ -16,12 +16,12 @@ public class SchisandraOssSftpBO implements Serializable {
/**
*
*/
private Long id;
private String id;
/**
*
*/
private Long userId;
private String userId;
/**
* 主机

View File

@@ -1,200 +1,200 @@
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 腾讯云对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 21:38:56
*/
@Data
public class SchisandraOssTencentBO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String basePath;
/**
*
*/
private String bucketName;
/**
*
*/
private String secretId;
/**
*
*/
private String secretKey;
private String appId;
/**
* 地域
*/
private String region;
/**
* 连接OSS所采用的协议HTTP或HTTPS默认为HTTPS。
*/
private String httpProtocol;
/**
* 域名后缀
*/
private String endPointSuffix;
/**
* http proxy代理如果使用http proxy代理需要设置IP与端口
*/
private String httpProxyIp;
/**
* 代理服务器端口
*/
private Integer httpProxyPort;
/**
* 代理服务器验证的用户名。
*/
private String proxyUserName;
/**
* 代理服务器验证的密码。
*/
private String proxyPassword;
/**
* 是否使用基本身份验证
*/
private String useBasicAuth;
/**
* 多次签名的过期时间,单位秒
*/
private Long signExpired;
/**
* 获取连接的超时时间, 单位ms
*/
private Integer connectionRequestTimeout;
/**
* 默认连接超时, 单位ms
*/
private Integer connectionTimeout;
/**
* SOCKET读取超时时间, 单位ms
*/
private Integer socketTimeout;
/**
* 最大HTTP连接数
*/
private Integer maxConnectionsCount;
/**
* 空闲连接存活时间
*/
private Integer idleConnectionAlive;
/**
* user_agent标识
*/
private String userAgent;
/**
* 读取限制
*/
private String readLimit;
/**
* 数据万象特殊请求配置
*/
private String ciSpecialRequest;
/**
* 请求失败后最大的重试次数。默认3次。
*/
private Integer maxErrorRetry;
/**
* 额外json
*/
private String extraJson;
/**
* 状态
*/
private String status;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
/**
* 分片大小,默认5MB
*/
private Long partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
}
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 腾讯云对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 21:38:56
*/
@Data
public class SchisandraOssTencentBO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String basePath;
/**
*
*/
private String bucketName;
/**
*
*/
private String secretId;
/**
*
*/
private String secretKey;
private String appId;
/**
* 地域
*/
private String region;
/**
* 连接OSS所采用的协议HTTP或HTTPS默认为HTTPS。
*/
private String httpProtocol;
/**
* 域名后缀
*/
private String endPointSuffix;
/**
* http proxy代理如果使用http proxy代理需要设置IP与端口
*/
private String httpProxyIp;
/**
* 代理服务器端口
*/
private Integer httpProxyPort;
/**
* 代理服务器验证的用户名。
*/
private String proxyUserName;
/**
* 代理服务器验证的密码。
*/
private String proxyPassword;
/**
* 是否使用基本身份验证
*/
private String useBasicAuth;
/**
* 多次签名的过期时间,单位秒
*/
private Long signExpired;
/**
* 获取连接的超时时间, 单位ms
*/
private Integer connectionRequestTimeout;
/**
* 默认连接超时, 单位ms
*/
private Integer connectionTimeout;
/**
* SOCKET读取超时时间, 单位ms
*/
private Integer socketTimeout;
/**
* 最大HTTP连接数
*/
private Integer maxConnectionsCount;
/**
* 空闲连接存活时间
*/
private Integer idleConnectionAlive;
/**
* user_agent标识
*/
private String userAgent;
/**
* 读取限制
*/
private String readLimit;
/**
* 数据万象特殊请求配置
*/
private String ciSpecialRequest;
/**
* 请求失败后最大的重试次数。默认3次。
*/
private Integer maxErrorRetry;
/**
* 额外json
*/
private String extraJson;
/**
* 状态
*/
private String status;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
/**
* 分片大小,默认5MB
*/
private Long partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
}

View File

@@ -1,142 +1,142 @@
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* ucloud对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 22:27:45
*/
@Data
public class SchisandraOssUcloudBO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String basePath;
/**
*
*/
private String bucketName;
/**
*
*/
private String publicKey;
/**
*
*/
private String privateKey;
/**
*
*/
private String customHost;
/**
* 连接超时时间
*/
private Long timeoutConnect;
/**
* 读超时时间
*/
private Long timeoutRead;
/**
* 写超时时间
*/
private Long timeoutWrite;
/**
* okhttp最大空闲连接数5
*/
private Integer maxIdleConnections;
/**
* okhttp活动链接存货时间5分钟
*/
private Long keepAliveDuration;
/**
* okhttp活动链接存货时间单位, (分钟)
*/
private String keepAliveTimeUnit;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* ucloud对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 22:27:45
*/
@Data
public class SchisandraOssUcloudBO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String basePath;
/**
*
*/
private String bucketName;
/**
*
*/
private String publicKey;
/**
*
*/
private String privateKey;
/**
*
*/
private String customHost;
/**
* 连接超时时间
*/
private Long timeoutConnect;
/**
* 读超时时间
*/
private Long timeoutRead;
/**
* 写超时时间
*/
private Long timeoutWrite;
/**
* okhttp最大空闲连接数5
*/
private Integer maxIdleConnections;
/**
* okhttp活动链接存货时间5分钟
*/
private Long keepAliveDuration;
/**
* okhttp活动链接存货时间单位, (分钟)
*/
private String keepAliveTimeUnit;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}

View File

@@ -1,117 +1,117 @@
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 又拍云对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 22:29:27
*/
@Data
public class SchisandraOssUpBO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String basePath;
/**
*
*/
private String bucketName;
/**
*
*/
private String userName;
/**
*
*/
private String password;
/**
* 默认的超时时间30秒
*/
private Integer timeout;
/**
* 默认为自动识别接入点
*/
private String apiDomain;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 又拍云对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 22:29:27
*/
@Data
public class SchisandraOssUpBO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String basePath;
/**
*
*/
private String bucketName;
/**
*
*/
private String userName;
/**
*
*/
private String password;
/**
* 默认的超时时间30秒
*/
private Integer timeout;
/**
* 默认为自动识别接入点
*/
private String apiDomain;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}

View File

@@ -1,187 +1,187 @@
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 网易数帆对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 22:31:37
*/
@Data
public class SchisandraOssWangyiBO implements Serializable {
/**
*
*/
private Long id;
/**
*
*/
private Long userId;
/**
*
*/
private String accessKey;
/**
*
*/
private String secretKey;
/**
*
*/
private String endpoint;
/**
*
*/
private String bucketName;
/**
*
*/
private String basePath;
/**
* 连接超时时间
*/
private Integer connectionTimeout;
/**
* 最大连接池大小。
*/
private Integer maxConnections;
/**
* 最大失败重试次数
*/
private Integer maxErrorRetry;
/**
* 是否使用子域名
*/
private String isSubDomain;
/**
* 连接OSS所采用的协议HTTP或HTTPS默认为HTTP。
*/
private String protocol;
/**
* 代理服务器的域该域可以执行NTLM认证
*/
private String proxyDomain;
/**
* 代理服务器主机地址
*/
private String proxyHost;
/**
* 代理服务器验证的密码
*/
private String proxyPassword;
/**
* 代理服务器端口
*/
private Integer proxyPort;
/**
* 代理服务器验证的用户名
*/
private String proxyUsername;
/**
* 代理主机的NTLM身份验证服务器
*/
private String proxyWorkstation;
/**
* Socket层传输数据的超时时间单位毫秒。默认为50000毫秒。
*/
private Integer socketTimeout;
/**
* 用户代理指HTTP的User-Agent头
*/
private String userAgent;
/**
* Socket接收缓冲区的大小提示(以字节为单位)。
*/
private Integer socketReceiveBufferSizeHint;
/**
* Socket发送缓冲区的大小提示(以字节为单位)。
*/
private Integer socketSendBufferSizeHint;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}
package com.schisandra.oss.domain.bo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 网易数帆对象存储配置表 bo
*
* @author landaiqing
* @since 2024-06-02 22:31:37
*/
@Data
public class SchisandraOssWangyiBO implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String userId;
/**
*
*/
private String accessKey;
/**
*
*/
private String secretKey;
/**
*
*/
private String endpoint;
/**
*
*/
private String bucketName;
/**
*
*/
private String basePath;
/**
* 连接超时时间
*/
private Integer connectionTimeout;
/**
* 最大连接池大小。
*/
private Integer maxConnections;
/**
* 最大失败重试次数
*/
private Integer maxErrorRetry;
/**
* 是否使用子域名
*/
private String isSubDomain;
/**
* 连接OSS所采用的协议HTTP或HTTPS默认为HTTP。
*/
private String protocol;
/**
* 代理服务器的域该域可以执行NTLM认证
*/
private String proxyDomain;
/**
* 代理服务器主机地址
*/
private String proxyHost;
/**
* 代理服务器验证的密码
*/
private String proxyPassword;
/**
* 代理服务器端口
*/
private Integer proxyPort;
/**
* 代理服务器验证的用户名
*/
private String proxyUsername;
/**
* 代理主机的NTLM身份验证服务器
*/
private String proxyWorkstation;
/**
* Socket层传输数据的超时时间单位毫秒。默认为50000毫秒。
*/
private Integer socketTimeout;
/**
* 用户代理指HTTP的User-Agent头
*/
private String userAgent;
/**
* Socket接收缓冲区的大小提示(以字节为单位)。
*/
private Integer socketReceiveBufferSizeHint;
/**
* Socket发送缓冲区的大小提示(以字节为单位)。
*/
private Integer socketSendBufferSizeHint;
/**
* 分片大小,默认5MB
*/
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
private Integer taskNum;
/**
* 状态
*/
private String status;
/**
* 是否开启高级设置
*/
private String openAdvancedSetup;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 更新人
*/
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
private Integer isDeleted;
/**
* 额外字段
*/
private String extraJson;
/**
* 当桶不存在,是否创建
*/
private String createBucket;
/**
* 启动检测桶,是否存在
*/
private String checkBucket;
}

View File

@@ -16,12 +16,12 @@ public class SchisandraUserOssBO implements Serializable {
/**
*
*/
private Long id;
private String id;
/**
*
*/
private Long userId;
private String userId;
/**
*
@@ -40,7 +40,7 @@ public class SchisandraUserOssBO implements Serializable {
/**
*
*/
private String configCount;
private Integer configCount;
/**
*

View File

@@ -29,9 +29,9 @@ public interface SchisandraOssAliDomainService {
*/
Boolean delete(SchisandraOssAliBO schisandraOssAliBO);
SchisandraOssAliBO getAliOssConfig(Long userId);
SchisandraOssAliBO getAliOssConfig(String userId);
List<SchisandraOssAliBO> selectAll();
List<SchisandraOssAliBO> selectAllPresent(Long userId);
List<SchisandraOssAliBO> selectAllPresent(String userId);
}

View File

@@ -29,12 +29,12 @@ public interface SchisandraOssMinioDomainService {
*/
Boolean delete(SchisandraOssMinioBO schisandraOssMinioBO);
SchisandraOssMinioBO getMinioConfig(Long userId);
SchisandraOssMinioBO getMinioConfig(String userId);
List<SchisandraOssMinioBO> getAllMinioInfoByUserId(Long userId);
List<SchisandraOssMinioBO> getAllMinioInfoByUserId(String userId);
List<SchisandraOssMinioBO> getAllMinioInfo();
List<SchisandraOssMinioBO> selectAll();
List<SchisandraOssMinioBO> selectAllPresent(Long userId);
List<SchisandraOssMinioBO> selectAllPresent(String userId);
}

View File

@@ -37,8 +37,8 @@ public interface SchisandraOssQiniuDomainService {
List<SchisandraOssQiniuBO> selectAll();
SchisandraOssQiniuBO getEndpointByuserIdAndBucket(Long id,String bucket);
SchisandraOssQiniuBO getEndpointByuserIdAndBucket(String id,String bucket);
List<SchisandraOssQiniuBO> selectAllPresent(Long userId);
List<SchisandraOssQiniuBO> selectAllPresent(String userId);
}

View File

@@ -37,5 +37,5 @@ public interface SchisandraOssTencentDomainService {
List<SchisandraOssTencentBO> selectAll();
List<SchisandraOssTencentBO> selectAllPresent(Long userId);
List<SchisandraOssTencentBO> selectAllPresent(String userId);
}

View File

@@ -27,7 +27,7 @@ public interface SchisandraUserOssDomainService {
*/
Boolean delete(SchisandraUserOssBO schisandraUserOssBO);
List<SchisandraUserOssBO> queryOSSByUserId(Long userId);
List<SchisandraUserOssBO> queryOSSByUserId(String userId);
SchisandraUserOssBO queryOSSByTypeAndUserId(Long userId,String type);
SchisandraUserOssBO queryOSSByTypeAndUserId(String userId,String type);
}

View File

@@ -113,7 +113,7 @@ public class SchisandraFileHeatmapDomainServiceImpl implements SchisandraFileHea
List<SchisandraFileHeatmapBO> schisandraFileHeatmapBOList = new ArrayList<>();
list1.keySet().forEach(obj->{
SchisandraFileHeatmapBO schisandraFileHeatmapBO1 = new SchisandraFileHeatmapBO();
schisandraFileHeatmapBO1.setUserId(Long.valueOf(String.valueOf(obj)));
schisandraFileHeatmapBO1.setUserId(String.valueOf(obj));
schisandraFileHeatmapBO1.setCount(Long.valueOf(list1.get(obj).size()));
schisandraFileHeatmapBO1.setType(0);
schisandraFileHeatmapBO1.setSize(0L);
@@ -143,7 +143,7 @@ public class SchisandraFileHeatmapDomainServiceImpl implements SchisandraFileHea
List<SchisandraFileHeatmapBO> schisandraFileHeatmapBOList = new ArrayList<>();
list1.keySet().forEach(obj->{
SchisandraFileHeatmapBO schisandraFileHeatmapBO1 = new SchisandraFileHeatmapBO();
schisandraFileHeatmapBO1.setUserId(Long.valueOf(String.valueOf(obj)));
schisandraFileHeatmapBO1.setUserId(String.valueOf(obj));
schisandraFileHeatmapBO1.setCount(Long.valueOf(list1.get(obj).size()));
schisandraFileHeatmapBO1.setType(1);
schisandraFileHeatmapBO1.setSize(0L);

View File

@@ -46,11 +46,11 @@ public class SchisandraOssAliDomainServiceImpl implements SchisandraOssAliDomain
schisandraUserOss.setIsDeleted(0);
schisandraUserOss.setCreatedTime(new Date());
schisandraUserOss.setOssType(String.valueOf(OssType.ALI));
schisandraUserOss.setConfigcount(1);
schisandraUserOss.setConfigCount(1);
schisandraUserOss.setName(String.valueOf(OssName.ALI));
schisandraUserOssService.insert(schisandraUserOss);
}else{
userOss.setConfigcount(userOss.getConfigcount()+1);
userOss.setConfigCount(userOss.getConfigCount()+1);
schisandraUserOssService.update(userOss);
}
SchisandraOssAli schisandraOssAli = SchisandraOssAliBOConverter.INSTANCE.convertBOToEntity(schisandraOssAliBO);
@@ -73,7 +73,7 @@ public class SchisandraOssAliDomainServiceImpl implements SchisandraOssAliDomain
}
@Override
public SchisandraOssAliBO getAliOssConfig(Long userId) {
public SchisandraOssAliBO getAliOssConfig(String userId) {
SchisandraOssAli schisandraOssAli = schisandraOssAliService.getAliOssConfig(userId);
SchisandraOssAliBO schisandraOssAliBO = SchisandraOssAliBOConverter.INSTANCE.convertEntityToBO(schisandraOssAli);
return schisandraOssAliBO;
@@ -87,7 +87,7 @@ public class SchisandraOssAliDomainServiceImpl implements SchisandraOssAliDomain
}
@Override
public List<SchisandraOssAliBO> selectAllPresent(Long userId) {
public List<SchisandraOssAliBO> selectAllPresent(String userId) {
List<SchisandraOssAli> schisandraOssAlis = schisandraOssAliService.selectAllPresent(userId);
return SchisandraOssAliBOConverter.INSTANCE.convertEntityToBOList(schisandraOssAlis);
}

View File

@@ -46,10 +46,10 @@ public class SchisandraOssMinioDomainServiceImpl implements SchisandraOssMinioDo
schisandraUserOss.setCreatedTime(new Date());
schisandraUserOss.setOssType(String.valueOf(OssType.MINIO));
schisandraUserOss.setName(String.valueOf(OssName.MINIO));
schisandraUserOss.setConfigcount(1);
schisandraUserOss.setConfigCount(1);
schisandraUserOssService.insert(schisandraUserOss);
}else{
userOss.setConfigcount(userOss.getConfigcount()+1);
userOss.setConfigCount(userOss.getConfigCount()+1);
schisandraUserOssService.update(userOss);
}
SchisandraOssMinio schisandraOssMinio = SchisandraOssMinioBOConverter.INSTANCE.convertBOToEntity(schisandraOssMinioBO);
@@ -72,14 +72,14 @@ public class SchisandraOssMinioDomainServiceImpl implements SchisandraOssMinioDo
}
@Override
public SchisandraOssMinioBO getMinioConfig(Long userId) {
public SchisandraOssMinioBO getMinioConfig(String userId) {
SchisandraOssMinio schisandraOssMinio = schisandraOssMinioService.getMinioConfig(userId);
SchisandraOssMinioBO schisandraOssMinioBO = SchisandraOssMinioBOConverter.INSTANCE.convertEntityToBO(schisandraOssMinio);
return schisandraOssMinioBO;
}
@Override
public List<SchisandraOssMinioBO> getAllMinioInfoByUserId(Long userId) {
public List<SchisandraOssMinioBO> getAllMinioInfoByUserId(String userId) {
List<SchisandraOssMinio> schisandraOssMinios = schisandraOssMinioService.getAllMinioInfoByUserId(userId);
List<SchisandraOssMinioBO> schisandraOssMinioBO = SchisandraOssMinioBOConverter.INSTANCE.convertEntityToBOList(schisandraOssMinios);
return schisandraOssMinioBO;
@@ -99,7 +99,7 @@ public class SchisandraOssMinioDomainServiceImpl implements SchisandraOssMinioDo
}
@Override
public List<SchisandraOssMinioBO> selectAllPresent(Long userId) {
public List<SchisandraOssMinioBO> selectAllPresent(String userId) {
List<SchisandraOssMinio> list = schisandraOssMinioService.selectAllPresent(userId);
return SchisandraOssMinioBOConverter.INSTANCE.convertEntityToBOList(list);
}

View File

@@ -50,10 +50,10 @@ public class SchisandraOssQiniuDomainServiceImpl implements SchisandraOssQiniuDo
schisandraUserOss.setCreatedTime(new Date());
schisandraUserOss.setOssType(String.valueOf(OssType.QINIU));
schisandraUserOss.setName(String.valueOf(OssName.QINIU));
schisandraUserOss.setConfigcount(1);
schisandraUserOss.setConfigCount(1);
schisandraUserOssService.insert(schisandraUserOss);
}else{
userOss.setConfigcount(userOss.getConfigcount()+1);
userOss.setConfigCount(userOss.getConfigCount()+1);
schisandraUserOssService.update(userOss);
}
SchisandraOssQiniu schisandraOssQiniu = SchisandraOssQiniuBOConverter.INSTANCE.convertBOToEntity(schisandraOssQiniuBO);
@@ -89,7 +89,7 @@ public class SchisandraOssQiniuDomainServiceImpl implements SchisandraOssQiniuDo
}
@Override
public SchisandraOssQiniuBO getEndpointByuserIdAndBucket(Long userId, String bucket) {
public SchisandraOssQiniuBO getEndpointByuserIdAndBucket(String userId, String bucket) {
SchisandraOssQiniu schisandraOssQiniu = schisandraOssQiniuService.getEndpointByuserIdAnd(userId,bucket);
SchisandraOssQiniuBO schisandraOssQiniuBO = SchisandraOssQiniuBOConverter.INSTANCE.convertEntityToBO(schisandraOssQiniu);
return schisandraOssQiniuBO;
@@ -97,7 +97,7 @@ public class SchisandraOssQiniuDomainServiceImpl implements SchisandraOssQiniuDo
@Override
public List<SchisandraOssQiniuBO> selectAllPresent(Long useId){
public List<SchisandraOssQiniuBO> selectAllPresent(String useId){
List<SchisandraOssQiniu> list = schisandraOssQiniuService.selectAllPresent(useId);
return SchisandraOssQiniuBOConverter.INSTANCE.convertEntityToBOList(list);
}

View File

@@ -48,10 +48,10 @@ public class SchisandraOssSftpDomainServiceImpl implements SchisandraOssSftpDoma
schisandraUserOss.setCreatedTime(new Date());
schisandraUserOss.setOssType(String.valueOf(OssType.SFTP));
schisandraUserOss.setName(String.valueOf(OssName.SFTP));
schisandraUserOss.setConfigcount(1);
schisandraUserOss.setConfigCount(1);
schisandraUserOssService.insert(schisandraUserOss);
}else{
userOss.setConfigcount(userOss.getConfigcount()+1);
userOss.setConfigCount(userOss.getConfigCount()+1);
schisandraUserOssService.update(userOss);
}
SchisandraOssSftp schisandraOssSftp = SchisandraOssSftpBOConverter.INSTANCE.convertBOToEntity(schisandraOssSftpBO);

View File

@@ -48,11 +48,11 @@ public class SchisandraOssTencentDomainServiceImpl implements SchisandraOssTence
schisandraUserOss.setIsDeleted(0);
schisandraUserOss.setCreatedTime(new Date());
schisandraUserOss.setOssType(String.valueOf(OssType.TENCENT));
schisandraUserOss.setConfigcount(1);
schisandraUserOss.setConfigCount(1);
schisandraUserOss.setName(String.valueOf(OssName.TENCENT));
schisandraUserOssService.insert(schisandraUserOss);
}else{
userOss.setConfigcount(userOss.getConfigcount()+1);
userOss.setConfigCount(userOss.getConfigCount()+1);
schisandraUserOssService.update(userOss);
}
SchisandraOssTencent schisandraOssTencent = SchisandraOssTencentBOConverter.INSTANCE.convertBOToEntity(schisandraOssTencentBO);
@@ -88,7 +88,7 @@ public class SchisandraOssTencentDomainServiceImpl implements SchisandraOssTence
}
@Override
public List<SchisandraOssTencentBO> selectAllPresent(Long userId){
public List<SchisandraOssTencentBO> selectAllPresent(String userId){
List<SchisandraOssTencent> list = schisandraOssTencentService.selectAllPresent(userId);
return SchisandraOssTencentBOConverter.INSTANCE.convertEntityToBOList(list);
}

View File

@@ -43,10 +43,10 @@ public class SchisandraOssUpDomainServiceImpl implements SchisandraOssUpDomainSe
x.setIsDeleted(0);
x.setCreatedTime(new Date());
x.setOssType("up");
x.setConfigcount(1);
x.setConfigCount(1);
schisandraUserOssService.insert(x);
}else{
schisandraUserOss.setConfigcount(schisandraUserOss.getConfigcount()+1);
schisandraUserOss.setConfigCount(schisandraUserOss.getConfigCount()+1);
schisandraUserOssService.update(schisandraUserOss);
}
SchisandraOssUp schisandraOssUp = SchisandraOssUpBOConverter.INSTANCE.convertBOToEntity(schisandraOssUpBO);

View File

@@ -48,14 +48,14 @@ public class SchisandraUserOssDomainServiceImpl implements SchisandraUserOssDoma
}
@Override
public List<SchisandraUserOssBO> queryOSSByUserId(Long userId) {
public List<SchisandraUserOssBO> queryOSSByUserId(String userId) {
List<SchisandraUserOssBO> SchisandraUserOssBOList= SchisandraUserOssBOConverter
.INSTANCE.convertEntityListToBOList(schisandraUserOssService.queryOSSByUserId(userId));
return SchisandraUserOssBOList;
}
@Override
public SchisandraUserOssBO queryOSSByTypeAndUserId(Long userId,String type ) {
public SchisandraUserOssBO queryOSSByTypeAndUserId(String userId,String type ) {
SchisandraUserOssBO schisandraUserOssBO = SchisandraUserOssBOConverter
.INSTANCE.convertEntityToBO(schisandraUserOssService.queryOSSByTypeAndUserId(userId, type));
return schisandraUserOssBO;

View File

@@ -4,6 +4,7 @@ import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
@@ -22,14 +23,14 @@ public class SchisandraFileHeatmap implements Serializable {
/**
*
*/
@Id(value = "id", keyType = KeyType.Auto)
private Long id;
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private String id;
/**
*
*/
@Column("user_id")
private Long userId;
private String userId;
/**

View File

@@ -1,326 +1,330 @@
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 实体类
*
* @author landaiqing
* @since 2024-05-14 20:45:32
*/
@Data
@Table("schisandra_oss_ali")
public class SchisandraOssAli implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private Long id;
/**
*
*/
@Column("user_id")
private Long userId;
/**
* OSS地址
*/
@Column("endpoint")
private String endpoint;
/**
* AccessKey ID
*/
@Column("access_key_id")
private String accessKeyId;
/**
* AccessKey Secret
*/
@Column("access_key_secret")
private String accessKeySecret;
/**
* security Token
*/
@Column("security_token")
private String securityToken;
/**
* Bucket名称
*/
@Column("bucket_name")
private String bucketName;
/**
* 数据存储路径
*/
@Column("base_path")
private String basePath;
/**
* 用户代理指HTTP的User-Agent头。默认为aliyun-sdk-java。
*/
@Column("user_agent")
private String userAgent;
/**
* 请求失败后最大的重试次数。默认3次。
*/
@Column("max_error_retry")
private String maxErrorRetry;
/**
* 从连接池中获取连接的超时时间(单位:毫秒)。默认不超时。
*/
@Column("connection_request_timeout")
private Integer connectionRequestTimeout;
/**
* 建立连接的超时时间单位毫秒。默认为50000毫秒。
*/
@Column("connection_timeout")
private Integer connectionTimeout;
/**
* Socket层传输数据的超时时间单位毫秒。默认为50000毫秒。
*/
@Column("socket_timeout")
private Integer socketTimeout;
/**
* 允许打开的最大HTTP连接数。默认为1024
*/
@Column("max_connections")
private Integer maxConnections;
/**
* 连接TTL (生存时间)。Http连接由连接管理器用TTL缓存。
*/
@Column("connection_TTL")
private Long connectionTTL;
/**
* 是否使用com.aliyun.oss.common.comm.IdleConnectionReaper管理过期连接,默认开启
*/
@Column("use_reaper")
private String useReaper;
/**
* 连接空闲超时时间超时则关闭连接单位毫秒。默认为60000毫秒。
*/
@Column("idle_connection_time")
private Long idleConnectionTime;
/**
* 连接OSS所采用的协议HTTP或HTTPS默认为HTTP。
*/
@Column("protocol")
private String protocol;
/**
* 代理服务器主机地址。
*/
@Column("proxy_host")
private String proxyHost;
/**
* 代理服务器端口。
*/
@Column("proxy_port")
private String proxyPort;
/**
* 代理服务器验证的用户名。
*/
@Column("proxy_username")
private String proxyUsername;
/**
* 代理服务器验证的密码。
*/
@Column("proxy_password")
private String proxyPassword;
/**
* 代理服务器的域该域可以执行NTLM认证
*/
@Column("proxy_domain")
private String proxyDomain;
/**
* 代理主机的NTLM身份验证服务器
*/
@Column("proxy_workstation")
private String proxyWorkstation;
/**
* 是否支持CNAME作为Endpoint默认支持CNAME。
*/
@Column("support_cname")
private String supportCname;
/**
* 设置不可变排除的CName列表 ---- 任何以该列表中的项目结尾的域都不会进行Cname解析。
*/
@Column("cname_exclude_list")
private String cnameExcludeList;
/**
* 是否开启二级域名Second Level Domain的访问方式默认不开启。
*/
@Column("sld_enabled")
private String sldEnabled;
/**
* 请求超时时间单位毫秒。默认情况下是5分钟。
*/
@Column("request_timeout")
private Integer requestTimeout;
/**
* 是否启用请求超时校验。默认情况下,它是禁用的。
*/
@Column("request_timeout_enabled")
private String requestTimeoutEnabled;
/**
* 设置慢请求的延迟阈值。如果请求的延迟大于延迟则将记录该请求。默认情况下阈值为5分钟。
*/
@Column("slow_requests_threshold")
private Long slowRequestsThreshold;
/**
* 设置默认的http头。所有请求头将自动添加到每个请求中。如果在请求中也指定了相同的请求头则默认的标头将被覆盖。
*/
@Column("default_headers")
private String defaultHeaders;
/**
* 是否在上传和下载时启用CRC校验默认启用
*/
@Column("crc_check_enabled")
private String crcCheckEnabled;
/**
* 所有请求设置签名版本
*/
@Column("signature_version")
private String signatureVersion;
/**
* 设置OSS服务端时间和本地时间之间的差异以毫秒为单位。
*/
@Column("tick_offset")
private Long tickOffset;
/**
* 是否开启HTTP重定向。
* 说明: Java SDK 3.10.1及以上版本支持设置是否开启HTTP重定向默认开启。
*/
@Column("redirect_enable")
private String redirectEnable;
/**
* 是否开启SSL证书校验。
* 说明: Java SDK 3.10.1及以上版本支持设置是否开启SSL证书校验默认开启。
*/
@Column("verify_SSL_enable")
private String verifySSLEnable;
/**
* 是否开启日志记录连接池统计信息
*/
@Column("log_connection_pool_stats")
private String logConnectionPoolStats;
/**
* 是否使用系统属性值
*/
@Column("use_system_property_values")
private String useSystemPropertyValues;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted",isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
}
package com.schisandra.oss.infra.basic.entity;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 实体类
*
* @author landaiqing
* @since 2024-05-14 20:45:32
*/
@Data
@Table("schisandra_oss_ali")
public class SchisandraOssAli implements Serializable {
/**
*
*/
@Id(keyType = KeyType.Generator, value = KeyGenerators.flexId)
private String id;
/**
*
*/
@Column("user_id")
private Long userId;
/**
* OSS地址
*/
@Column("endpoint")
private String endpoint;
/**
* AccessKey ID
*/
@Column("access_key_id")
private String accessKeyId;
/**
* AccessKey Secret
*/
@Column("access_key_secret")
private String accessKeySecret;
/**
* security Token
*/
@Column("security_token")
private String securityToken;
/**
* Bucket名称
*/
@Column("bucket_name")
private String bucketName;
/**
* 数据存储路径
*/
@Column("base_path")
private String basePath;
/**
* 用户代理指HTTP的User-Agent头。默认为aliyun-sdk-java。
*/
@Column("user_agent")
private String userAgent;
/**
* 请求失败后最大的重试次数。默认3次。
*/
@Column("max_error_retry")
private String maxErrorRetry;
/**
* 从连接池中获取连接的超时时间(单位:毫秒)。默认不超时。
*/
@Column("connection_request_timeout")
private Integer connectionRequestTimeout;
/**
* 建立连接的超时时间单位毫秒。默认为50000毫秒。
*/
@Column("connection_timeout")
private Integer connectionTimeout;
/**
* Socket层传输数据的超时时间单位毫秒。默认为50000毫秒。
*/
@Column("socket_timeout")
private Integer socketTimeout;
/**
* 允许打开的最大HTTP连接数。默认为1024
*/
@Column("max_connections")
private Integer maxConnections;
/**
* 连接TTL (生存时间)。Http连接由连接管理器用TTL缓存。
*/
@Column("connection_TTL")
private Long connectionTTL;
/**
* 是否使用com.aliyun.oss.common.comm.IdleConnectionReaper管理过期连接,默认开启
*/
@Column("use_reaper")
private String useReaper;
/**
* 连接空闲超时时间超时则关闭连接单位毫秒。默认为60000毫秒。
*/
@Column("idle_connection_time")
private Long idleConnectionTime;
/**
* 连接OSS所采用的协议HTTP或HTTPS默认为HTTP。
*/
@Column("protocol")
private String protocol;
/**
* 代理服务器主机地址。
*/
@Column("proxy_host")
private String proxyHost;
/**
* 代理服务器端口。
*/
@Column("proxy_port")
private String proxyPort;
/**
* 代理服务器验证的用户名。
*/
@Column("proxy_username")
private String proxyUsername;
/**
* 代理服务器验证的密码。
*/
@Column("proxy_password")
private String proxyPassword;
/**
* 代理服务器的域该域可以执行NTLM认证
*/
@Column("proxy_domain")
private String proxyDomain;
/**
* 代理主机的NTLM身份验证服务器
*/
@Column("proxy_workstation")
private String proxyWorkstation;
/**
* 是否支持CNAME作为Endpoint默认支持CNAME。
*/
@Column("support_cname")
private String supportCname;
/**
* 设置不可变排除的CName列表 ---- 任何以该列表中的项目结尾的域都不会进行Cname解析。
*/
@Column("cname_exclude_list")
private String cnameExcludeList;
/**
* 是否开启二级域名Second Level Domain的访问方式默认不开启。
*/
@Column("sld_enabled")
private String sldEnabled;
/**
* 请求超时时间单位毫秒。默认情况下是5分钟。
*/
@Column("request_timeout")
private Integer requestTimeout;
/**
* 是否启用请求超时校验。默认情况下,它是禁用的。
*/
@Column("request_timeout_enabled")
private String requestTimeoutEnabled;
/**
* 设置慢请求的延迟阈值。如果请求的延迟大于延迟则将记录该请求。默认情况下阈值为5分钟。
*/
@Column("slow_requests_threshold")
private Long slowRequestsThreshold;
/**
* 设置默认的http头。所有请求头将自动添加到每个请求中。如果在请求中也指定了相同的请求头则默认的标头将被覆盖。
*/
@Column("default_headers")
private String defaultHeaders;
/**
* 是否在上传和下载时启用CRC校验默认启用
*/
@Column("crc_check_enabled")
private String crcCheckEnabled;
/**
* 所有请求设置签名版本
*/
@Column("signature_version")
private String signatureVersion;
/**
* 设置OSS服务端时间和本地时间之间的差异以毫秒为单位。
*/
@Column("tick_offset")
private Long tickOffset;
/**
* 是否开启HTTP重定向。
* 说明: Java SDK 3.10.1及以上版本支持设置是否开启HTTP重定向默认开启。
*/
@Column("redirect_enable")
private String redirectEnable;
/**
* 是否开启SSL证书校验。
* 说明: Java SDK 3.10.1及以上版本支持设置是否开启SSL证书校验默认开启。
*/
@Column("verify_SSL_enable")
private String verifySSLEnable;
/**
* 是否开启日志记录连接池统计信息
*/
@Column("log_connection_pool_stats")
private String logConnectionPoolStats;
/**
* 是否使用系统属性值
*/
@Column("use_system_property_values")
private String useSystemPropertyValues;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted", isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
}

View File

@@ -1,192 +1,192 @@
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 亚马逊对象存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 21:48:16
*/
@Data
@Table("schisandra_oss_aws")
public class SchisandraOssAws implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private Long id;
/**
*
*/
@Column("user_id")
private Long userId;
/**
* 数据存储路径
*/
@Column("base_path")
private String basePath;
/**
* Bucket名称
*/
@Column("bucket_name")
private String bucketName;
/**
*
*/
@Column("access_key_id")
private String accessKeyId;
/**
*
*/
@Column("secret_access_key")
private String secretAccessKey;
/**
*
*/
@Column("region")
private String region;
/**
*
*/
@Column("mode")
private String mode;
/**
*
*/
@Column("accelerate_mode_enabled")
private String accelerateModeEnabled;
/**
*
*/
@Column("checksum_validation_enabled")
private String checksumValidationEnabled;
/**
*
*/
@Column("multi_region_enabled")
private String multiRegionEnabled;
/**
*
*/
@Column("chunked_encoding_enabled")
private String chunkedEncodingEnabled;
/**
*
*/
@Column("path_style_access_enabled")
private String pathStyleAccessEnabled;
/**
*
*/
@Column("use_arn_region_enabled")
private String useArnRegionEnabled;
/**
*
*/
@Column("fips_enabled")
private String fipsEnabled;
/**
*
*/
@Column("dualstack_enabled")
private String dualstackEnabled;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted",isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
}
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 亚马逊对象存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 21:48:16
*/
@Data
@Table("schisandra_oss_aws")
public class SchisandraOssAws implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private String id;
/**
*
*/
@Column("user_id")
private String userId;
/**
* 数据存储路径
*/
@Column("base_path")
private String basePath;
/**
* Bucket名称
*/
@Column("bucket_name")
private String bucketName;
/**
*
*/
@Column("access_key_id")
private String accessKeyId;
/**
*
*/
@Column("secret_access_key")
private String secretAccessKey;
/**
*
*/
@Column("region")
private String region;
/**
*
*/
@Column("mode")
private String mode;
/**
*
*/
@Column("accelerate_mode_enabled")
private String accelerateModeEnabled;
/**
*
*/
@Column("checksum_validation_enabled")
private String checksumValidationEnabled;
/**
*
*/
@Column("multi_region_enabled")
private String multiRegionEnabled;
/**
*
*/
@Column("chunked_encoding_enabled")
private String chunkedEncodingEnabled;
/**
*
*/
@Column("path_style_access_enabled")
private String pathStyleAccessEnabled;
/**
*
*/
@Column("use_arn_region_enabled")
private String useArnRegionEnabled;
/**
*
*/
@Column("fips_enabled")
private String fipsEnabled;
/**
*
*/
@Column("dualstack_enabled")
private String dualstackEnabled;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted",isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
}

View File

@@ -1,264 +1,264 @@
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 百度云对象存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:02:15
*/
@Data
@Table("schisandra_oss_baidu")
public class SchisandraOssBaidu implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private Long id;
/**
*
*/
@Column("user_id")
private Long userId;
/**
*
*/
@Column("base_path")
private String basePath;
/**
*
*/
@Column("bucket_name")
private String bucketName;
/**
*
*/
@Column("access_key_id")
private String accessKeyId;
/**
*
*/
@Column("secret_access_key")
private String secretAccessKey;
/**
* 使用cname访问BOS资源
*/
@Column("cname_enabled")
private String cnameEnabled;
/**
* 异步put
*/
@Column("enable_http_async_put")
private String enableHttpAsyncPut;
/**
* 建立连接的超时时间(单位:毫秒)
*/
@Column("connection_timeout_in_millis")
private Integer connectionTimeoutInMillis;
/**
* 允许打开的最大HTTP连接数
*/
@Column("max_connections")
private Integer maxConnections;
/**
* 连接协议类型
*/
@Column("protocol")
private String protocol;
/**
* 访问NTLM验证的代理服务器的Windows域名
*/
@Column("proxy_domain")
private String proxyDomain;
/**
* 代理服务器主机地址
*/
@Column("proxy_host")
private String proxyHost;
/**
* 代理服务器验证的密码
*/
@Column("proxy_password")
private String proxyPassword;
/**
* 代理服务器端口
*/
@Column("proxy_port")
private Integer proxyPort;
/**
* 代理服务器验证的用户名
*/
@Column("proxy_username")
private String proxyUsername;
/**
* NTLM代理服务器的Windows工作站名称
*/
@Column("proxy_workstation")
private String proxyWorkstation;
/**
* 是否设置用户代理认证
*/
@Column("proxy_preemptive_authentication_enable")
private String proxyPreemptiveAuthenticationEnable;
/**
* 通过打开的连接传输数据的超时时间(单位:毫秒)
*/
@Column("socket_timeout_in_millis")
private Integer socketTimeoutInMillis;
/**
* Socket缓冲区大小
*/
@Column("socket_buffer_sizeIn_bytes")
private Integer socketBufferSizeInBytes;
/**
* 访问域名
*/
@Column("endpoint")
private String endpoint;
/**
* 地域
*/
@Column("region")
private String region;
/**
* 是否开启HTTP重定向。默认开启
*/
@Column("redirects_enabled")
private String redirectsEnabled;
/**
* 本地地址
*/
@Column("local_address")
private String localAddress;
/**
* 请求失败最大重试次数
*/
@Column("max_error_retry")
private Integer maxErrorRetry;
/**
* 最大延迟时间,单位:毫秒
*/
@Column("max_delay_in_millis")
private Integer maxDelayInMillis;
/**
* 流文件缓冲区大小
*/
@Column("stream_buffer_size")
private Double streamBufferSize;
/**
* 用户代理指HTTP的User-Agent头
*/
@Column("user_agent")
private String userAgent;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted",isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
}
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 百度云对象存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:02:15
*/
@Data
@Table("schisandra_oss_baidu")
public class SchisandraOssBaidu implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private String id;
/**
*
*/
@Column("user_id")
private String userId;
/**
*
*/
@Column("base_path")
private String basePath;
/**
*
*/
@Column("bucket_name")
private String bucketName;
/**
*
*/
@Column("access_key_id")
private String accessKeyId;
/**
*
*/
@Column("secret_access_key")
private String secretAccessKey;
/**
* 使用cname访问BOS资源
*/
@Column("cname_enabled")
private String cnameEnabled;
/**
* 异步put
*/
@Column("enable_http_async_put")
private String enableHttpAsyncPut;
/**
* 建立连接的超时时间(单位:毫秒)
*/
@Column("connection_timeout_in_millis")
private Integer connectionTimeoutInMillis;
/**
* 允许打开的最大HTTP连接数
*/
@Column("max_connections")
private Integer maxConnections;
/**
* 连接协议类型
*/
@Column("protocol")
private String protocol;
/**
* 访问NTLM验证的代理服务器的Windows域名
*/
@Column("proxy_domain")
private String proxyDomain;
/**
* 代理服务器主机地址
*/
@Column("proxy_host")
private String proxyHost;
/**
* 代理服务器验证的密码
*/
@Column("proxy_password")
private String proxyPassword;
/**
* 代理服务器端口
*/
@Column("proxy_port")
private Integer proxyPort;
/**
* 代理服务器验证的用户名
*/
@Column("proxy_username")
private String proxyUsername;
/**
* NTLM代理服务器的Windows工作站名称
*/
@Column("proxy_workstation")
private String proxyWorkstation;
/**
* 是否设置用户代理认证
*/
@Column("proxy_preemptive_authentication_enable")
private String proxyPreemptiveAuthenticationEnable;
/**
* 通过打开的连接传输数据的超时时间(单位:毫秒)
*/
@Column("socket_timeout_in_millis")
private Integer socketTimeoutInMillis;
/**
* Socket缓冲区大小
*/
@Column("socket_buffer_sizeIn_bytes")
private Integer socketBufferSizeInBytes;
/**
* 访问域名
*/
@Column("endpoint")
private String endpoint;
/**
* 地域
*/
@Column("region")
private String region;
/**
* 是否开启HTTP重定向。默认开启
*/
@Column("redirects_enabled")
private String redirectsEnabled;
/**
* 本地地址
*/
@Column("local_address")
private String localAddress;
/**
* 请求失败最大重试次数
*/
@Column("max_error_retry")
private Integer maxErrorRetry;
/**
* 最大延迟时间,单位:毫秒
*/
@Column("max_delay_in_millis")
private Integer maxDelayInMillis;
/**
* 流文件缓冲区大小
*/
@Column("stream_buffer_size")
private Double streamBufferSize;
/**
* 用户代理指HTTP的User-Agent头
*/
@Column("user_agent")
private String userAgent;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted",isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
}

View File

@@ -1,168 +1,168 @@
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* ftp存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 21:54:20
*/
@Data
@Table("schisandra_oss_ftp")
public class SchisandraOssFtp implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private Long id;
/**
*
*/
@Column("user_id")
private Long userId;
/**
*
*/
@Column("base_path")
private String basePath;
/**
* 主机
*/
@Column("host")
private String host;
/**
* 端口
*/
@Column("port")
private Integer port;
/**
* 用户名
*/
@Column("user")
private String user;
/**
* 密码
*/
@Column("password")
private String password;
/**
* 编码
*/
@Column("charset")
private String charset;
/**
* FTP连接模式,默认被动
*/
@Column("mode")
private String mode;
/**
* 设置执行完操作是否返回当前目录,默认false
*/
@Column("back_to_pwd")
private String backToPwd;
/**
* 连接超时时长,单位毫秒
*/
@Column("connection_timeout")
private Long connectionTimeout;
/**
* Socket连接超时时长单位毫秒
*/
@Column("so_timeout")
private Long soTimeout;
/**
* 设置服务器语言
*/
@Column("server_language_code")
private String serverLanguageCode;
/**
* 设置服务器系统关键词
*/
@Column("system_key")
private String systemKey;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted",isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
}
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* ftp存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 21:54:20
*/
@Data
@Table("schisandra_oss_ftp")
public class SchisandraOssFtp implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private String id;
/**
*
*/
@Column("user_id")
private String userId;
/**
*
*/
@Column("base_path")
private String basePath;
/**
* 主机
*/
@Column("host")
private String host;
/**
* 端口
*/
@Column("port")
private Integer port;
/**
* 用户名
*/
@Column("user")
private String user;
/**
* 密码
*/
@Column("password")
private String password;
/**
* 编码
*/
@Column("charset")
private String charset;
/**
* FTP连接模式,默认被动
*/
@Column("mode")
private String mode;
/**
* 设置执行完操作是否返回当前目录,默认false
*/
@Column("back_to_pwd")
private String backToPwd;
/**
* 连接超时时长,单位毫秒
*/
@Column("connection_timeout")
private Long connectionTimeout;
/**
* Socket连接超时时长单位毫秒
*/
@Column("so_timeout")
private Long soTimeout;
/**
* 设置服务器语言
*/
@Column("server_language_code")
private String serverLanguageCode;
/**
* 设置服务器系统关键词
*/
@Column("system_key")
private String systemKey;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted",isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
}

View File

@@ -1,306 +1,306 @@
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 华为云对象存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 21:59:56
*/
@Data
@Table("schisandra_oss_huawei")
public class SchisandraOssHuawei implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private Long id;
/**
*
*/
@Column("user_id")
private Long userId;
/**
*
*/
@Column("base_path")
private String basePath;
/**
*
*/
@Column("access_key")
private String accessKey;
/**
*
*/
@Column("secret_key")
private String secretKey;
/**
*
*/
@Column("end_point")
private String endPoint;
/**
*
*/
@Column("bucket_name")
private String bucketName;
/**
* 建立HTTP/HTTPS连接的超时时间单位毫秒。默认为60000毫秒。
*/
@Column("connection_timeout")
private Integer connectionTimeout;
/**
* 如果空闲时间超过此参数的设定值则关闭连接单位毫秒。默认为30000毫秒。
*/
@Column("idle_connection_time")
private Integer idleConnectionTime;
/**
* 连接池中最大空闲连接数默认值1000。
*/
@Column("max_idle_connections")
private Integer maxIdleConnections;
/**
* 最大允许的HTTP并发请求数。默认为1000。
*/
@Column("max_connections")
private Integer maxConnections;
/**
* 请求失败请求异常、服务端报500或503错误等后最大的重试次数。默认3次。
*/
@Column("max_error_retry")
private Integer maxErrorRetry;
/**
* Socket层传输数据的超时时间单位毫秒。默认为60000毫秒。
*/
@Column("socket_timeout")
private Integer socketTimeout;
/**
* 设置HTTP请求的端口号 (默认为80)。
*/
@Column("endpoint_http_port")
private Integer endpointHttpPort;
/**
* 定是否使用HTTPS连接OBS (默认为 “true”)。
*/
@Column("endpoint_https_port")
private String endpointHttpsPort;
/**
* 定是否使用HTTPS连接OBS (默认为 “true”)。
*/
@Column("https_only")
private String httpsOnly;
/**
* 指定是否启用对OBS的路径样式访问。“true” 表示启用了路径样式的访问,而 “false” (默认) 表示启用了虚拟托管样式的访问。注意: 如果启用了路径样式访问则不支持OBS 3.0的新bucket功能。
*/
@Column("path_style")
private String pathStyle;
/**
* HTTP代理配置。默认为空。
*/
@Column("http_proxy")
private String httpProxy;
/**
* 上传流对象时使用的缓存大小单位字节。默认为512KB。
*/
@Column("upload_stream_retry_buffer_size")
private Integer uploadStreamRetryBufferSize;
/**
* 是否验证服务端证书。默认为false。
*/
@Column("validate_certificate")
private String validateCertificate;
/**
* 是否验证响应头信息的ContentType。默认为true。
*/
@Column("verify_response_content_type")
private String verifyResponseContentType;
/**
* 从Socket流下载对象的缓存大小单位字节-1表示不设置缓存。默认为-1。
*/
@Column("read_buffer_size")
private Integer readBufferSize;
/**
* 上传对象到Socket流时的缓存大小单位字节-1表示不设置缓存。默认为-1。
*/
@Column("write_buffer_size")
private Double writeBufferSize;
/**
* 是否严格验证服务端主机名。默认为false。
*/
@Column("is_strict_hostname_verification")
private String isStrictHostnameVerification;
/**
* 设置身份验证类型。
*/
@Column("auth_type")
private String authType;
/**
* Socket发送缓冲区大小单位字节对应java.net.SocketOptions.SO_SNDBUF参数。默认为-1表示不设置。
*/
@Column("socket_write_buffer_size")
private Integer socketWriteBufferSize;
/**
* Socket接收缓冲区大小单位字节对应java.net.SocketOptions.SO_RCVBUF参数。默认为-1表示不设置。
*/
@Column("socket_read_buffer_size")
private Integer socketReadBufferSize;
/**
* 是否使用长连接访问OBS服务。默认为true。
*/
@Column("keep_alive")
private String keepAlive;
/**
* 指定是否使用协议协商。
*/
@Column("auth_type_negotiation")
private String authTypeNegotiation;
/**
* 是否通过自定义域名访问OBS服务。默认为false。
*/
@Column("cname")
private String cname;
/**
* 将文件夹隔离器设置为斜线。
*/
@Column("delimiter")
private String delimiter;
/**
* SSLContext的Provider默认使用JDK提供的SSLContext。
*/
@Column("ssl_provider")
private String sslProvider;
/**
* 访问OBS服务端时使用的HTTP协议类型。默认为HTTP1.1协议。
*/
@Column("http_protocol_type")
private String httpProtocolType;
/**
* 是否开启Okhttp中的连接失败重试默认关闭
*/
@Column("retry_on_connection_failureIn_okhttp")
private String retryOnConnectionFailureInOkhttp;
/**
* 发生异常时最大重试次数
*/
@Column("max_retry_on_unexpected_end_exception")
private String maxRetryOnUnexpectedEndException;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column("is_deleted")
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
}
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 华为云对象存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 21:59:56
*/
@Data
@Table("schisandra_oss_huawei")
public class SchisandraOssHuawei implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private String id;
/**
*
*/
@Column("user_id")
private String userId;
/**
*
*/
@Column("base_path")
private String basePath;
/**
*
*/
@Column("access_key")
private String accessKey;
/**
*
*/
@Column("secret_key")
private String secretKey;
/**
*
*/
@Column("end_point")
private String endPoint;
/**
*
*/
@Column("bucket_name")
private String bucketName;
/**
* 建立HTTP/HTTPS连接的超时时间单位毫秒。默认为60000毫秒。
*/
@Column("connection_timeout")
private Integer connectionTimeout;
/**
* 如果空闲时间超过此参数的设定值则关闭连接单位毫秒。默认为30000毫秒。
*/
@Column("idle_connection_time")
private Integer idleConnectionTime;
/**
* 连接池中最大空闲连接数默认值1000。
*/
@Column("max_idle_connections")
private Integer maxIdleConnections;
/**
* 最大允许的HTTP并发请求数。默认为1000。
*/
@Column("max_connections")
private Integer maxConnections;
/**
* 请求失败请求异常、服务端报500或503错误等后最大的重试次数。默认3次。
*/
@Column("max_error_retry")
private Integer maxErrorRetry;
/**
* Socket层传输数据的超时时间单位毫秒。默认为60000毫秒。
*/
@Column("socket_timeout")
private Integer socketTimeout;
/**
* 设置HTTP请求的端口号 (默认为80)。
*/
@Column("endpoint_http_port")
private Integer endpointHttpPort;
/**
* 定是否使用HTTPS连接OBS (默认为 “true”)。
*/
@Column("endpoint_https_port")
private String endpointHttpsPort;
/**
* 定是否使用HTTPS连接OBS (默认为 “true”)。
*/
@Column("https_only")
private String httpsOnly;
/**
* 指定是否启用对OBS的路径样式访问。“true” 表示启用了路径样式的访问,而 “false” (默认) 表示启用了虚拟托管样式的访问。注意: 如果启用了路径样式访问则不支持OBS 3.0的新bucket功能。
*/
@Column("path_style")
private String pathStyle;
/**
* HTTP代理配置。默认为空。
*/
@Column("http_proxy")
private String httpProxy;
/**
* 上传流对象时使用的缓存大小单位字节。默认为512KB。
*/
@Column("upload_stream_retry_buffer_size")
private Integer uploadStreamRetryBufferSize;
/**
* 是否验证服务端证书。默认为false。
*/
@Column("validate_certificate")
private String validateCertificate;
/**
* 是否验证响应头信息的ContentType。默认为true。
*/
@Column("verify_response_content_type")
private String verifyResponseContentType;
/**
* 从Socket流下载对象的缓存大小单位字节-1表示不设置缓存。默认为-1。
*/
@Column("read_buffer_size")
private Integer readBufferSize;
/**
* 上传对象到Socket流时的缓存大小单位字节-1表示不设置缓存。默认为-1。
*/
@Column("write_buffer_size")
private Double writeBufferSize;
/**
* 是否严格验证服务端主机名。默认为false。
*/
@Column("is_strict_hostname_verification")
private String isStrictHostnameVerification;
/**
* 设置身份验证类型。
*/
@Column("auth_type")
private String authType;
/**
* Socket发送缓冲区大小单位字节对应java.net.SocketOptions.SO_SNDBUF参数。默认为-1表示不设置。
*/
@Column("socket_write_buffer_size")
private Integer socketWriteBufferSize;
/**
* Socket接收缓冲区大小单位字节对应java.net.SocketOptions.SO_RCVBUF参数。默认为-1表示不设置。
*/
@Column("socket_read_buffer_size")
private Integer socketReadBufferSize;
/**
* 是否使用长连接访问OBS服务。默认为true。
*/
@Column("keep_alive")
private String keepAlive;
/**
* 指定是否使用协议协商。
*/
@Column("auth_type_negotiation")
private String authTypeNegotiation;
/**
* 是否通过自定义域名访问OBS服务。默认为false。
*/
@Column("cname")
private String cname;
/**
* 将文件夹隔离器设置为斜线。
*/
@Column("delimiter")
private String delimiter;
/**
* SSLContext的Provider默认使用JDK提供的SSLContext。
*/
@Column("ssl_provider")
private String sslProvider;
/**
* 访问OBS服务端时使用的HTTP协议类型。默认为HTTP1.1协议。
*/
@Column("http_protocol_type")
private String httpProtocolType;
/**
* 是否开启Okhttp中的连接失败重试默认关闭
*/
@Column("retry_on_connection_failureIn_okhttp")
private String retryOnConnectionFailureInOkhttp;
/**
* 发生异常时最大重试次数
*/
@Column("max_retry_on_unexpected_end_exception")
private String maxRetryOnUnexpectedEndException;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column("is_deleted")
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
}

View File

@@ -1,354 +1,354 @@
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 京东云对象存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:07:10
*/
@Data
@Table("schisandra_oss_jd")
public class SchisandraOssJd implements Serializable {
/**
*
*/
@Id(keyType = KeyType.Generator, value = KeyGenerators.flexId)
private Long id;
/**
*
*/
@Column("user_id")
private Long userId;
/**
*
*/
@Column("base_path")
private String basePath;
/**
*
*/
@Column("bucket_name")
private String bucketName;
/**
*
*/
@Column("endpoint")
private String endpoint;
/**
*
*/
@Column("access_key")
private String accessKey;
/**
*
*/
@Column("secret_key")
private String secretKey;
/**
*
*/
@Column("region")
private String region;
/**
* 建立连接的超时时间单位毫秒。默认为50000毫秒
*/
@Column("connection_timeout")
private Integer connectionTimeout;
/**
* 允许打开的最大HTTP连接数。默认为1024
*/
@Column("max_connections")
private Integer maxConnections;
/**
* 请求失败后最大的重试次数
*/
@Column("max_error_retry")
private Integer maxErrorRetry;
/**
* 是否限制重试的默认值。
*/
@Column("throttle_retries")
private String throttleRetries;
/**
* 连接协议类型
*/
@Column("protocol")
private String protocol;
/**
* 连接到HTTP代理时要使用的协议。
*/
@Column("proxy_protocol")
private String proxyProtocol;
/**
* 访问NTLM验证的代理服务器的Windows域名
*/
@Column("proxy_domain")
private String proxyDomain;
/**
* 代理服务器主机地址
*/
@Column("proxy_host")
private String proxyHost;
/**
* 代理服务器验证的密码
*/
@Column("proxy_password")
private String proxyPassword;
/**
* 代理服务器端口
*/
@Column("proxy_port")
private String proxyPort;
/**
* 代理服务器验证的用户名
*/
@Column("proxy_username")
private String proxyUsername;
/**
* NTLM代理服务器的Windows工作站名称
*/
@Column("proxy_workstation")
private String proxyWorkstation;
/**
* 指定不通过代理应访问的主机。
*/
@Column("non_proxy_hosts")
private String nonProxyHosts;
/**
* 是否禁用Socket代理
*/
@Column("disable_socket_proxy")
private String disableSocketProxy;
/**
* 是否使用基本身份验证对代理服务器进行抢先身份验证
*/
@Column("preemptive_basic_proxy_auth")
private String preemptiveBasicProxyAuth;
/**
* Socket层传输数据的超时时间单位毫秒。默认为50000毫秒
*/
@Column("socket_timeout")
private Integer socketTimeout;
/**
* 请求的默认超时时间。默认为0禁用的。
*/
@Column("request_timeout")
private Integer requestTimeout;
/**
* 请求的默认超时时间。默认为0禁用的。
*/
@Column("client_execution_timeout")
private Integer clientExecutionTimeout;
/**
* 公共HTTP请求头前缀。
*/
@Column("user_agent_prefix")
private String userAgentPrefix;
/**
* 是否使用com.amazonaws.http.IdleConnectionReaper管理旧连接
*/
@Column("use_reaper")
private String useReaper;
/**
* 是否使用gzip解压缩
*/
@Column("use_gzip")
private String useGzip;
/**
* Socket发送缓冲区的大小提示(以字节为单位)。
*/
@Column("socket_send_buffer_size_hint")
private Integer socketSendBufferSizeHint;
/**
* Socket接收缓冲区的大小提示(以字节为单位)。
*/
@Column("socket_receive_buffer_size_hint")
private Integer socketReceiveBufferSizeHint;
/**
* 设置签名算法对请求进行签名。如果未明确设置客户端将通过提取SDK中的配置文件来确定要使用的算法
*/
@Column("signer_override")
private String signerOverride;
/**
* 响应元数据缓存大小
*/
@Column("response_metadata_cache_size")
private Integer responseMetadataCacheSize;
/**
* 是否使用USE_EXPECT_CONTINUE作为期望值
*/
@Column("use_expect_continue")
private String useExpectContinue;
/**
* 是否缓存响应元数据
*/
@Column("cache_response_metadata")
private String cacheResponseMetadata;
/**
* 连接TTL (生存时间)。Http连接由连接管理器用TTL缓存。
*/
@Column("connection_TTL")
private Long connectionTTL;
/**
* 连接池中连接的最大空闲时间 (以毫秒为单位)。
*/
@Column("connection_max_idle_millis")
private Long connectionMaxIdleMillis;
/**
* 在必须验证连接是否仍处于打开状态之前,连接可以在连接池中处于空闲状态。
*/
@Column("validate_after_in_activity_millis")
private Integer validateAfterInActivityMillis;
/**
* 是否使用TCP KeepAlive的默认值。
*/
@Column("tcp_keep_alive")
private String tcpKeepAlive;
/**
* 所有请求的公共请求头
*/
@Column("headers")
private String headers;
/**
* 请求失败最大重试次数
*/
@Column("max_consecutive_retries_before_throttling")
private Integer maxConsecutiveRetriesBeforeThrottling;
/**
* 是否禁用主机前缀
*/
@Column("disable_host_prefix_injection")
private String disableHostPrefixInjection;
/**
* 重试模式
*/
@Column("retry_mode")
private String retryMode;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column("is_deleted")
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
}
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 京东云对象存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:07:10
*/
@Data
@Table("schisandra_oss_jd")
public class SchisandraOssJd implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private String id;
/**
*
*/
@Column("user_id")
private String userId;
/**
*
*/
@Column("base_path")
private String basePath;
/**
*
*/
@Column("bucket_name")
private String bucketName;
/**
*
*/
@Column("endpoint")
private String endpoint;
/**
*
*/
@Column("access_key")
private String accessKey;
/**
*
*/
@Column("secret_key")
private String secretKey;
/**
*
*/
@Column("region")
private String region;
/**
* 建立连接的超时时间单位毫秒。默认为50000毫秒
*/
@Column("connection_timeout")
private Integer connectionTimeout;
/**
* 允许打开的最大HTTP连接数。默认为1024
*/
@Column("max_connections")
private Integer maxConnections;
/**
* 请求失败后最大的重试次数
*/
@Column("max_error_retry")
private Integer maxErrorRetry;
/**
* 是否限制重试的默认值。
*/
@Column("throttle_retries")
private String throttleRetries;
/**
* 连接协议类型
*/
@Column("protocol")
private String protocol;
/**
* 连接到HTTP代理时要使用的协议。
*/
@Column("proxy_protocol")
private String proxyProtocol;
/**
* 访问NTLM验证的代理服务器的Windows域名
*/
@Column("proxy_domain")
private String proxyDomain;
/**
* 代理服务器主机地址
*/
@Column("proxy_host")
private String proxyHost;
/**
* 代理服务器验证的密码
*/
@Column("proxy_password")
private String proxyPassword;
/**
* 代理服务器端口
*/
@Column("proxy_port")
private String proxyPort;
/**
* 代理服务器验证的用户名
*/
@Column("proxy_username")
private String proxyUsername;
/**
* NTLM代理服务器的Windows工作站名称
*/
@Column("proxy_workstation")
private String proxyWorkstation;
/**
* 指定不通过代理应访问的主机。
*/
@Column("non_proxy_hosts")
private String nonProxyHosts;
/**
* 是否禁用Socket代理
*/
@Column("disable_socket_proxy")
private String disableSocketProxy;
/**
* 是否使用基本身份验证对代理服务器进行抢先身份验证
*/
@Column("preemptive_basic_proxy_auth")
private String preemptiveBasicProxyAuth;
/**
* Socket层传输数据的超时时间单位毫秒。默认为50000毫秒
*/
@Column("socket_timeout")
private Integer socketTimeout;
/**
* 请求的默认超时时间。默认为0禁用的。
*/
@Column("request_timeout")
private Integer requestTimeout;
/**
* 请求的默认超时时间。默认为0禁用的。
*/
@Column("client_execution_timeout")
private Integer clientExecutionTimeout;
/**
* 公共HTTP请求头前缀。
*/
@Column("user_agent_prefix")
private String userAgentPrefix;
/**
* 是否使用com.amazonaws.http.IdleConnectionReaper管理旧连接
*/
@Column("use_reaper")
private String useReaper;
/**
* 是否使用gzip解压缩
*/
@Column("use_gzip")
private String useGzip;
/**
* Socket发送缓冲区的大小提示(以字节为单位)。
*/
@Column("socket_send_buffer_size_hint")
private Integer socketSendBufferSizeHint;
/**
* Socket接收缓冲区的大小提示(以字节为单位)。
*/
@Column("socket_receive_buffer_size_hint")
private Integer socketReceiveBufferSizeHint;
/**
* 设置签名算法对请求进行签名。如果未明确设置客户端将通过提取SDK中的配置文件来确定要使用的算法
*/
@Column("signer_override")
private String signerOverride;
/**
* 响应元数据缓存大小
*/
@Column("response_metadata_cache_size")
private Integer responseMetadataCacheSize;
/**
* 是否使用USE_EXPECT_CONTINUE作为期望值
*/
@Column("use_expect_continue")
private String useExpectContinue;
/**
* 是否缓存响应元数据
*/
@Column("cache_response_metadata")
private String cacheResponseMetadata;
/**
* 连接TTL (生存时间)。Http连接由连接管理器用TTL缓存。
*/
@Column("connection_TTL")
private Long connectionTTL;
/**
* 连接池中连接的最大空闲时间 (以毫秒为单位)。
*/
@Column("connection_max_idle_millis")
private Long connectionMaxIdleMillis;
/**
* 在必须验证连接是否仍处于打开状态之前,连接可以在连接池中处于空闲状态。
*/
@Column("validate_after_in_activity_millis")
private Integer validateAfterInActivityMillis;
/**
* 是否使用TCP KeepAlive的默认值。
*/
@Column("tcp_keep_alive")
private String tcpKeepAlive;
/**
* 所有请求的公共请求头
*/
@Column("headers")
private String headers;
/**
* 请求失败最大重试次数
*/
@Column("max_consecutive_retries_before_throttling")
private Integer maxConsecutiveRetriesBeforeThrottling;
/**
* 是否禁用主机前缀
*/
@Column("disable_host_prefix_injection")
private String disableHostPrefixInjection;
/**
* 重试模式
*/
@Column("retry_mode")
private String retryMode;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column("is_deleted")
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
}

View File

@@ -1,114 +1,114 @@
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* jdbc存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:08:16
*/
@Data
@Table("schisandra_oss_jdbc")
public class SchisandraOssJdbc implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private Long id;
/**
*
*/
@Column("user_id")
private Long userId;
/**
*
*/
@Column("base_path")
private String basePath;
/**
* 系统数据源Bean名称(适用于系统多数据源配置)
*/
@Column("data_source_name")
private String dataSourceName;
/**
* 对象存储数据源
*/
@Column("url")
private String url;
/**
*
*/
@Column("type")
private String type;
/**
*
*/
@Column("driver")
private String driver;
/**
*
*/
@Column("username")
private String username;
/**
*
*/
@Column("password")
private String password;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column("is_deleted")
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
}
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* jdbc存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:08:16
*/
@Data
@Table("schisandra_oss_jdbc")
public class SchisandraOssJdbc implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private String id;
/**
*
*/
@Column("user_id")
private String userId;
/**
*
*/
@Column("base_path")
private String basePath;
/**
* 系统数据源Bean名称(适用于系统多数据源配置)
*/
@Column("data_source_name")
private String dataSourceName;
/**
* 对象存储数据源
*/
@Column("url")
private String url;
/**
*
*/
@Column("type")
private String type;
/**
*
*/
@Column("driver")
private String driver;
/**
*
*/
@Column("username")
private String username;
/**
*
*/
@Column("password")
private String password;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column("is_deleted")
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
}

View File

@@ -1,78 +1,78 @@
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* jdbc存储数据表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:08:55
*/
@Data
@Table("schisandra_oss_jdbc_data")
public class SchisandraOssJdbcData implements Serializable {
/**
*
*/
@Id(keyType = KeyType.Generator, value = KeyGenerators.flexId)
private Long id;
/**
*
*/
@Column("user_id")
private Long userId;
/**
* 数据
*/
@Column("data")
private byte[] data;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted", isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
}
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* jdbc存储数据表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:08:55
*/
@Data
@Table("schisandra_oss_jdbc_data")
public class SchisandraOssJdbcData implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private String id;
/**
*
*/
@Column("user_id")
private String userId;
/**
* 数据
*/
@Column("data")
private byte[] data;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted", isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
}

View File

@@ -1,108 +1,108 @@
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* jdbc存储信息表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:11:22
*/
@Data
@Table("schisandra_oss_jdbc_store")
public class SchisandraOssJdbcStore implements Serializable {
/**
* 主键
*/
@Id(keyType = KeyType.Generator, value = KeyGenerators.flexId)
private Long id;
/**
*
*/
@Column("user_id")
private Long userId;
/**
* 文件/目录名
*/
@Column("name")
private String name;
/**
* 路径
*/
@Column("path")
private String path;
/**
* 文件大小
*/
@Column("size")
private Double size;
/**
* 父级目录ID
*/
@Column("parentId")
private Integer parentId;
/**
* 类型(D:目录;F:文件)
*/
@Column("type")
private String type;
/**
* 数据ID
*/
@Column("dataId")
private String dataId;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted", isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
}
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* jdbc存储信息表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:11:22
*/
@Data
@Table("schisandra_oss_jdbc_store")
public class SchisandraOssJdbcStore implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private String id;
/**
*
*/
@Column("user_id")
private String userId;
/**
* 文件/目录名
*/
@Column("name")
private String name;
/**
* 路径
*/
@Column("path")
private String path;
/**
* 文件大小
*/
@Column("size")
private Double size;
/**
* 父级目录ID
*/
@Column("parentId")
private Integer parentId;
/**
* 类型(D:目录;F:文件)
*/
@Column("type")
private String type;
/**
* 数据ID
*/
@Column("dataId")
private String dataId;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted", isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
}

View File

@@ -1,205 +1,205 @@
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 金山云对象存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:13:26
*/
@Data
@Table("schisandra_oss_jinshan")
public class SchisandraOssJinshan implements Serializable {
/**
*
*/
@Id(keyType = KeyType.Generator, value = KeyGenerators.flexId)
private Long id;
/**
*
*/
@Column("user_id")
private Long userId;
/**
*
*/
@Column("access_key_id")
private String accessKeyId;
/**
*
*/
@Column("access_key_secret")
private String accessKeySecret;
/**
*
*/
@Column("bucket_name")
private String bucketName;
/**
*
*/
@Column("endpoint")
private String endpoint;
/**
* 服务地址,参考 http://ks3.ksyun.com/doc/api/index.html Doc
* 中国(杭州):kss.ksyun.com
* 中国杭州cdn:kssws.ks-cdn.com
* 美国(圣克拉拉):ks3-us-west-1.ksyun.com
* 中国(北京):ks3-cn-beijing.ksyun.com
* 中国(香港):ks3-cn-hk-1.ksyun.com
* 中国(上海):ks3-cn-shanghai.ksyun.com
*/
@Column("region")
private String region;
/**
*
*/
@Column("security_token")
private String securityToken;
/**
*
*/
@Column("base_path")
private String basePath;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* http或者https
*/
@Column("protocol")
private String protocol;
/**
* 签名版本
*/
@Column("version")
private String version;
/**
* 是否使用path style access方式访问
*/
@Column("path_style_access")
private String pathStyleAccess;
/**
* 允许客户端发送匿名请求
*/
@Column("allow_anonymous")
private String allowAnonymous;
/**
* 当服务端返回307时是否自动跳转
* 主要发生在用Region A的endpoint请求Region B的endpoint
*/
@Column("flow_redirect")
private String flowRedirect;
/**
* 是否使用绑定的域名作为endpoint
*/
@Column("domain_mode")
private String domainMode;
/**
* 签名类
*/
@Column("signer_class")
private String signerClass;
/**
* 是否压缩
*/
@Column("use_gzip")
private String useGzip;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted", isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
}
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 金山云对象存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:13:26
*/
@Data
@Table("schisandra_oss_jinshan")
public class SchisandraOssJinshan implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private String id;
/**
*
*/
@Column("user_id")
private String userId;
/**
*
*/
@Column("access_key_id")
private String accessKeyId;
/**
*
*/
@Column("access_key_secret")
private String accessKeySecret;
/**
*
*/
@Column("bucket_name")
private String bucketName;
/**
*
*/
@Column("endpoint")
private String endpoint;
/**
* 服务地址,参考 http://ks3.ksyun.com/doc/api/index.html Doc
* 中国(杭州):kss.ksyun.com
* 中国杭州cdn:kssws.ks-cdn.com
* 美国(圣克拉拉):ks3-us-west-1.ksyun.com
* 中国(北京):ks3-cn-beijing.ksyun.com
* 中国(香港):ks3-cn-hk-1.ksyun.com
* 中国(上海):ks3-cn-shanghai.ksyun.com
*/
@Column("region")
private String region;
/**
*
*/
@Column("security_token")
private String securityToken;
/**
*
*/
@Column("base_path")
private String basePath;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* http或者https
*/
@Column("protocol")
private String protocol;
/**
* 签名版本
*/
@Column("version")
private String version;
/**
* 是否使用path style access方式访问
*/
@Column("path_style_access")
private String pathStyleAccess;
/**
* 允许客户端发送匿名请求
*/
@Column("allow_anonymous")
private String allowAnonymous;
/**
* 当服务端返回307时是否自动跳转
* 主要发生在用Region A的endpoint请求Region B的endpoint
*/
@Column("flow_redirect")
private String flowRedirect;
/**
* 是否使用绑定的域名作为endpoint
*/
@Column("domain_mode")
private String domainMode;
/**
* 签名类
*/
@Column("signer_class")
private String signerClass;
/**
* 是否压缩
*/
@Column("use_gzip")
private String useGzip;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted", isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
}

View File

@@ -1,84 +1,84 @@
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 本地存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:18:08
*/
@Data
@Table("schisandra_oss_local")
public class SchisandraOssLocal implements Serializable {
/**
*
*/
@Id(keyType = KeyType.Generator, value = KeyGenerators.flexId)
private Long id;
/**
*
*/
@Column("user_id")
private Long userId;
/**
*
*/
@Column("base_path")
private String basePath;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted", isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
}
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 本地存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:18:08
*/
@Data
@Table("schisandra_oss_local")
public class SchisandraOssLocal implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private String id;
/**
*
*/
@Column("user_id")
private String userId;
/**
*
*/
@Column("base_path")
private String basePath;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted", isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
}

View File

@@ -1,223 +1,223 @@
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 实体类
*
* @author landaiqing
* @since 2024-05-14 19:47:04
*/
@Data
@Table("schisandra_oss_minio")
public class SchisandraOssMinio implements Serializable {
/**
*
*/
@Id(keyType = KeyType.Generator, value = KeyGenerators.flexId)
private Long id;
/**
*
*/
@Column("user_id")
private Long userId;
/**
*
*/
@Column("endpoint")
private String endpoint;
/**
*
*/
@Column("accessKey")
private String accessKey;
/**
*
*/
@Column("secretKey")
private String secretKey;
/**
*
*/
@Column("bucketName")
private String bucketName;
/**
*
*/
@Column("port")
private Integer port;
/**
*
*/
@Column("basePath")
private String basePath;
/**
*
*/
@Column("file_host")
private String fileHost;
/**
*
*/
@Column("download_host")
private String downloadHost;
/**
*
*/
@Column("upload_host")
private String uploadHost;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
/**
* 连接超时时间(单位:毫秒)
*/
@Column("connect_timeout")
private Long connectTimeout;
/**
* 写超时时间(单位:毫秒)
*/
@Column("write_timeout")
private Long writeTimeout;
/**
* 读超时时间(单位:毫秒)
*/
@Column("read_timeout")
private Long readTimeout;
/**
* 调用超时时间(单位:毫秒)
*/
@Column("call_timeout")
private Long callTimeout;
/**
* 是否支持重定向,默认支持
*/
@Column("follow_redirects")
private String followRedirects;
/**
* 是否支持HTTP到HTTPSHTTPS到HTTP的重定向默认支持
*/
@Column("follow_ssl_redirects")
private String followSslRedirects;
/**
* 是否开始连接失败重试,默认不支持
*/
@Column("retry_on_connection_failure")
private String retryOnConnectionFailure;
/**
* 连接健康检测间隔时长(单位:毫秒)
*/
@Column("ping_interval")
private Integer pingInterval;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Long partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 图片大小限制单位m
*/
@Column("img_size")
private Integer imgSize;
/**
* 文件大小限制单位m
*/
@Column("file_size")
private Integer fileSize;
/**
* 额外json
*/
@Column("extra_json")
private String extraJson;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column("is_deleted")
private Integer isDeleted;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
}
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 实体类
*
* @author landaiqing
* @since 2024-05-14 19:47:04
*/
@Data
@Table("schisandra_oss_minio")
public class SchisandraOssMinio implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private String id;
/**
*
*/
@Column("user_id")
private String userId;
/**
*
*/
@Column("endpoint")
private String endpoint;
/**
*
*/
@Column("accessKey")
private String accessKey;
/**
*
*/
@Column("secretKey")
private String secretKey;
/**
*
*/
@Column("bucketName")
private String bucketName;
/**
*
*/
@Column("port")
private Integer port;
/**
*
*/
@Column("basePath")
private String basePath;
/**
*
*/
@Column("file_host")
private String fileHost;
/**
*
*/
@Column("download_host")
private String downloadHost;
/**
*
*/
@Column("upload_host")
private String uploadHost;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
/**
* 连接超时时间(单位:毫秒)
*/
@Column("connect_timeout")
private Long connectTimeout;
/**
* 写超时时间(单位:毫秒)
*/
@Column("write_timeout")
private Long writeTimeout;
/**
* 读超时时间(单位:毫秒)
*/
@Column("read_timeout")
private Long readTimeout;
/**
* 调用超时时间(单位:毫秒)
*/
@Column("call_timeout")
private Long callTimeout;
/**
* 是否支持重定向,默认支持
*/
@Column("follow_redirects")
private String followRedirects;
/**
* 是否支持HTTP到HTTPSHTTPS到HTTP的重定向默认支持
*/
@Column("follow_ssl_redirects")
private String followSslRedirects;
/**
* 是否开始连接失败重试,默认不支持
*/
@Column("retry_on_connection_failure")
private String retryOnConnectionFailure;
/**
* 连接健康检测间隔时长(单位:毫秒)
*/
@Column("ping_interval")
private Integer pingInterval;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Long partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 图片大小限制单位m
*/
@Column("img_size")
private Integer imgSize;
/**
* 文件大小限制单位m
*/
@Column("file_size")
private Integer fileSize;
/**
* 额外json
*/
@Column("extra_json")
private String extraJson;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column("is_deleted")
private Integer isDeleted;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
}

View File

@@ -1,162 +1,157 @@
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 平安云对象存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:19:22
*/
@Data
@Table("schisandra_oss_pingan")
public class SchisandraOssPingan implements Serializable {
/**
*
*/
@Id(keyType = KeyType.Generator, value = KeyGenerators.flexId)
private Long id;
/**
*
*/
@Column("system_user_id")
private Long systemUserId;
/**
*
*/
@Column("user_agent")
private String userAgent;
/**
*
*/
@Column("obs_url")
private String obsUrl;
/**
*
*/
@Column("obs_access_key")
private String obsAccessKey;
/**
*
*/
@Column("obs_secret")
private String obsSecret;
/**
*
*/
@Column("user_id")
private String userId;
/**
*
*/
@Column("base_path")
private String basePath;
/**
*
*/
@Column("bucket_name")
private String bucketName;
/**
*
*/
@Column("represent_path_in_key")
private String representPathInKey;
/**
*
*/
@Column("domain_name")
private String domainName;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted", isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
}
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 平安云对象存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:19:22
*/
@Data
@Table("schisandra_oss_pingan")
public class SchisandraOssPingan implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private String id;
/**
*
*/
@Column("user_id")
private String userId;
/**
*
*/
@Column("user_agent")
private String userAgent;
/**
*
*/
@Column("obs_url")
private String obsUrl;
/**
*
*/
@Column("obs_access_key")
private String obsAccessKey;
/**
*
*/
@Column("obs_secret")
private String obsSecret;
/**
*
*/
@Column("base_path")
private String basePath;
/**
*
*/
@Column("bucket_name")
private String bucketName;
/**
*
*/
@Column("represent_path_in_key")
private String representPathInKey;
/**
*
*/
@Column("domain_name")
private String domainName;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted", isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
}

View File

@@ -1,180 +1,180 @@
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 青云对象存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:21:09
*/
@Data
@Table("schisandra_oss_qingyun")
public class SchisandraOssQingyun implements Serializable {
/**
*
*/
@Id(keyType = KeyType.Generator, value = KeyGenerators.flexId)
private Long id;
/**
*
*/
@Column("user_id")
private Long userId;
/**
*
*/
@Column("endpoint")
private String endpoint;
/**
*
*/
@Column("access_key")
private String accessKey;
/**
*
*/
@Column("access_secret")
private String accessSecret;
/**
*
*/
@Column("bucket_name")
private String bucketName;
/**
*
*/
@Column("zone")
private String zone;
/**
*
*/
@Column("base_path")
private String basePath;
/**
* 是否支持CNAME作为Endpoint默认不支持CNAME。
*/
@Column("cname_support")
private String cnameSupport;
/**
* 附加的用户代理
*/
@Column("additional_user_agent")
private String additionalUserAgent;
/**
* 是否启用虚拟Host
*/
@Column("virtual_host_enabled")
private String virtualHostEnabled;
/**
* 读超时时间
*/
@Column("read_timeout")
private Integer readTimeout;
/**
* 写超时时间
*/
@Column("write_timeout")
private Integer writeTimeout;
/**
* 连接超时时间
*/
@Column("connection_timeout")
private Integer connectionTimeout;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted", isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
}
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 青云对象存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:21:09
*/
@Data
@Table("schisandra_oss_qingyun")
public class SchisandraOssQingyun implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private String id;
/**
*
*/
@Column("user_id")
private String userId;
/**
*
*/
@Column("endpoint")
private String endpoint;
/**
*
*/
@Column("access_key")
private String accessKey;
/**
*
*/
@Column("access_secret")
private String accessSecret;
/**
*
*/
@Column("bucket_name")
private String bucketName;
/**
*
*/
@Column("zone")
private String zone;
/**
*
*/
@Column("base_path")
private String basePath;
/**
* 是否支持CNAME作为Endpoint默认不支持CNAME。
*/
@Column("cname_support")
private String cnameSupport;
/**
* 附加的用户代理
*/
@Column("additional_user_agent")
private String additionalUserAgent;
/**
* 是否启用虚拟Host
*/
@Column("virtual_host_enabled")
private String virtualHostEnabled;
/**
* 读超时时间
*/
@Column("read_timeout")
private Integer readTimeout;
/**
* 写超时时间
*/
@Column("write_timeout")
private Integer writeTimeout;
/**
* 连接超时时间
*/
@Column("connection_timeout")
private Integer connectionTimeout;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted", isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
}

View File

@@ -22,16 +22,16 @@ import java.util.Date;
public class SchisandraOssQiniu implements Serializable {
/**
*
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private Long id;
private String id;
/**
*
*
*/
@Column("user_id")
private Long userId;
private String userId;
@Column("endpoint")
private String endpoint;

View File

@@ -4,6 +4,7 @@ import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
@@ -20,16 +21,16 @@ import java.util.Date;
public class SchisandraOssSftp implements Serializable {
/**
*
*
*/
@Id(value = "id", keyType = KeyType.Auto)
private Long id;
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private String id;
/**
*
*
*/
@Column("user_id")
private Long userId;
private String userId;
/**
* 主机

View File

@@ -23,14 +23,14 @@ public class SchisandraOssTencent implements Serializable {
/**
*
*/
@Id(keyType = KeyType.Generator, value = KeyGenerators.flexId)
private Long id;
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private String id;
/**
*
*/
@Column("user_id")
private Long userId;
private String userId;
/**
*

View File

@@ -1,174 +1,174 @@
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* ucloud对象存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:27:45
*/
@Data
@Table("schisandra_oss_ucloud")
public class SchisandraOssUcloud implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private Long id;
/**
*
*/
@Column("user_id")
private Long userId;
/**
*
*/
@Column("base_path")
private String basePath;
/**
*
*/
@Column("bucket_name")
private String bucketName;
/**
*
*/
@Column("public_key")
private String publicKey;
/**
*
*/
@Column("private_key")
private String privateKey;
/**
*
*/
@Column("custom_host")
private String customHost;
/**
* 连接超时时间
*/
@Column("timeout_connect")
private Long timeoutConnect;
/**
* 读超时时间
*/
@Column("timeout_read")
private Long timeoutRead;
/**
* 写超时时间
*/
@Column("timeout_write")
private Long timeoutWrite;
/**
* okhttp最大空闲连接数5
*/
@Column("max_idle_connections")
private Integer maxIdleConnections;
/**
* okhttp活动链接存货时间5分钟
*/
@Column("keep_alive_duration")
private Long keepAliveDuration;
/**
* okhttp活动链接存货时间单位, (分钟)
*/
@Column("keep_alive_time_unit")
private String keepAliveTimeUnit;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted",isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
}
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* ucloud对象存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:27:45
*/
@Data
@Table("schisandra_oss_ucloud")
public class SchisandraOssUcloud implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private String id;
/**
*
*/
@Column("user_id")
private String userId;
/**
*
*/
@Column("base_path")
private String basePath;
/**
*
*/
@Column("bucket_name")
private String bucketName;
/**
*
*/
@Column("public_key")
private String publicKey;
/**
*
*/
@Column("private_key")
private String privateKey;
/**
*
*/
@Column("custom_host")
private String customHost;
/**
* 连接超时时间
*/
@Column("timeout_connect")
private Long timeoutConnect;
/**
* 读超时时间
*/
@Column("timeout_read")
private Long timeoutRead;
/**
* 写超时时间
*/
@Column("timeout_write")
private Long timeoutWrite;
/**
* okhttp最大空闲连接数5
*/
@Column("max_idle_connections")
private Integer maxIdleConnections;
/**
* okhttp活动链接存货时间5分钟
*/
@Column("keep_alive_duration")
private Long keepAliveDuration;
/**
* okhttp活动链接存货时间单位, (分钟)
*/
@Column("keep_alive_time_unit")
private String keepAliveTimeUnit;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted",isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
}

View File

@@ -1,144 +1,144 @@
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 又拍云对象存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:29:27
*/
@Data
@Table("schisandra_oss_up")
public class SchisandraOssUp implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private Long id;
/**
*
*/
@Column("user_id")
private Long userId;
/**
*
*/
@Column("base_path")
private String basePath;
/**
*
*/
@Column("bucket_name")
private String bucketName;
/**
*
*/
@Column("user_name")
private String userName;
/**
*
*/
@Column("password")
private String password;
/**
* 默认的超时时间30秒
*/
@Column("timeout")
private Integer timeout;
/**
* 默认为自动识别接入点
*/
@Column("api_domain")
private String apiDomain;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted",isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
}
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 又拍云对象存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:29:27
*/
@Data
@Table("schisandra_oss_up")
public class SchisandraOssUp implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private String id;
/**
*
*/
@Column("user_id")
private String userId;
/**
*
*/
@Column("base_path")
private String basePath;
/**
*
*/
@Column("bucket_name")
private String bucketName;
/**
*
*/
@Column("user_name")
private String userName;
/**
*
*/
@Column("password")
private String password;
/**
* 默认的超时时间30秒
*/
@Column("timeout")
private Integer timeout;
/**
* 默认为自动识别接入点
*/
@Column("api_domain")
private String apiDomain;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column(value = "is_deleted",isLogicDelete = true)
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
}

View File

@@ -1,228 +1,228 @@
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 网易数帆对象存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:31:37
*/
@Data
@Table("schisandra_oss_wangyi")
public class SchisandraOssWangyi implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private Long id;
/**
*
*/
@Column("user_id")
private Long userId;
/**
*
*/
@Column("access_key")
private String accessKey;
/**
*
*/
@Column("secret_key")
private String secretKey;
/**
*
*/
@Column("endpoint")
private String endpoint;
/**
*
*/
@Column("bucket_name")
private String bucketName;
/**
*
*/
@Column("base_path")
private String basePath;
/**
* 连接超时时间
*/
@Column("connection_timeout")
private Integer connectionTimeout;
/**
* 最大连接池大小。
*/
@Column("max_connections")
private Integer maxConnections;
/**
* 最大失败重试次数
*/
@Column("max_error_retry")
private Integer maxErrorRetry;
/**
* 是否使用子域名
*/
@Column("is_sub_domain")
private String isSubDomain;
/**
* 连接OSS所采用的协议HTTP或HTTPS默认为HTTP。
*/
@Column("protocol")
private String protocol;
/**
* 代理服务器的域该域可以执行NTLM认证
*/
@Column("proxy_domain")
private String proxyDomain;
/**
* 代理服务器主机地址
*/
@Column("proxy_host")
private String proxyHost;
/**
* 代理服务器验证的密码
*/
@Column("proxy_password")
private String proxyPassword;
/**
* 代理服务器端口
*/
@Column("proxy_port")
private Integer proxyPort;
/**
* 代理服务器验证的用户名
*/
@Column("proxy_username")
private String proxyUsername;
/**
* 代理主机的NTLM身份验证服务器
*/
@Column("proxy_workstation")
private String proxyWorkstation;
/**
* Socket层传输数据的超时时间单位毫秒。默认为50000毫秒。
*/
@Column("socket_timeout")
private Integer socketTimeout;
/**
* 用户代理指HTTP的User-Agent头
*/
@Column("user_agent")
private String userAgent;
/**
* Socket接收缓冲区的大小提示(以字节为单位)。
*/
@Column("socket_receive_buffer_size_hint")
private Integer socketReceiveBufferSizeHint;
/**
* Socket发送缓冲区的大小提示(以字节为单位)。
*/
@Column("socket_send_buffer_size_hint")
private Integer socketSendBufferSizeHint;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column("is_deleted")
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
}
package com.schisandra.oss.infra.basic.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 网易数帆对象存储配置表 实体类
*
* @author landaiqing
* @since 2024-06-02 22:31:37
*/
@Data
@Table("schisandra_oss_wangyi")
public class SchisandraOssWangyi implements Serializable {
/**
*
*/
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private String id;
/**
*
*/
@Column("user_id")
private String userId;
/**
*
*/
@Column("access_key")
private String accessKey;
/**
*
*/
@Column("secret_key")
private String secretKey;
/**
*
*/
@Column("endpoint")
private String endpoint;
/**
*
*/
@Column("bucket_name")
private String bucketName;
/**
*
*/
@Column("base_path")
private String basePath;
/**
* 连接超时时间
*/
@Column("connection_timeout")
private Integer connectionTimeout;
/**
* 最大连接池大小。
*/
@Column("max_connections")
private Integer maxConnections;
/**
* 最大失败重试次数
*/
@Column("max_error_retry")
private Integer maxErrorRetry;
/**
* 是否使用子域名
*/
@Column("is_sub_domain")
private String isSubDomain;
/**
* 连接OSS所采用的协议HTTP或HTTPS默认为HTTP。
*/
@Column("protocol")
private String protocol;
/**
* 代理服务器的域该域可以执行NTLM认证
*/
@Column("proxy_domain")
private String proxyDomain;
/**
* 代理服务器主机地址
*/
@Column("proxy_host")
private String proxyHost;
/**
* 代理服务器验证的密码
*/
@Column("proxy_password")
private String proxyPassword;
/**
* 代理服务器端口
*/
@Column("proxy_port")
private Integer proxyPort;
/**
* 代理服务器验证的用户名
*/
@Column("proxy_username")
private String proxyUsername;
/**
* 代理主机的NTLM身份验证服务器
*/
@Column("proxy_workstation")
private String proxyWorkstation;
/**
* Socket层传输数据的超时时间单位毫秒。默认为50000毫秒。
*/
@Column("socket_timeout")
private Integer socketTimeout;
/**
* 用户代理指HTTP的User-Agent头
*/
@Column("user_agent")
private String userAgent;
/**
* Socket接收缓冲区的大小提示(以字节为单位)。
*/
@Column("socket_receive_buffer_size_hint")
private Integer socketReceiveBufferSizeHint;
/**
* Socket发送缓冲区的大小提示(以字节为单位)。
*/
@Column("socket_send_buffer_size_hint")
private Integer socketSendBufferSizeHint;
/**
* 分片大小,默认5MB
*/
@Column("part_size")
private Integer partSize;
/**
* 并发线程数,默认等于CPU的核数
*/
@Column("task_num")
private Integer taskNum;
/**
* 状态
*/
@Column("status")
private String status;
/**
* 是否开启高级设置
*/
@Column("open_advanced_setup")
private String openAdvancedSetup;
/**
* 创建人
*/
@Column("created_by")
private String createdBy;
/**
* 创建时间
*/
@Column("created_time")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
private Date updateTime;
/**
* 更新人
*/
@Column("update_by")
private String updateBy;
/**
* 是否删除 0 未删除 1已删除
*/
@Column("is_deleted")
private Integer isDeleted;
/**
* 额外字段
*/
@Column("extra_json")
private String extraJson;
/**
* 当桶不存在,是否创建
*/
@Column("create_bucket")
private String createBucket;
/**
* 启动检测桶,是否存在
*/
@Column("check_bucket")
private String checkBucket;
}

View File

@@ -4,6 +4,7 @@ import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;
import java.io.Serializable;
@@ -20,16 +21,16 @@ import java.util.Date;
public class SchisandraUserOss implements Serializable {
/**
*
*
*/
@Id(value = "id", keyType = KeyType.Auto)
private Long id;
@Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private String id;
/**
*
*
*/
@Column("user_id")
private Long userId;
private String userId;
/**
*
@@ -49,9 +50,6 @@ public class SchisandraUserOss implements Serializable {
@Column("name")
private String name;
@Column("config_count")
private Integer configcount;
/**
*
*/
@@ -62,7 +60,7 @@ public class SchisandraUserOss implements Serializable {
*
*/
@Column("config_count")
private String configCount;
private Integer configCount;
/**
* 创建人

View File

@@ -19,7 +19,7 @@ public interface SchisandraFileHeatmapService {
* @param id 主键
* @return 实例对象
*/
SchisandraFileHeatmap queryById(Long id);
SchisandraFileHeatmap queryById(String id);
/**
* 新增数据

View File

@@ -19,7 +19,7 @@ public interface SchisandraOssAliService {
* @param id 主键
* @return 实例对象
*/
SchisandraOssAli queryById(Long id);
SchisandraOssAli queryById(String id);
/**
* 新增数据
@@ -43,12 +43,12 @@ public interface SchisandraOssAliService {
* @param id 主键
* @return 是否成功
*/
boolean deleteById(Long id);
boolean deleteById(String id);
SchisandraOssAli getAliOssConfig(Long userId);
SchisandraOssAli getAliOssConfig(String userId);
List<SchisandraOssAli> selectAll();
List<SchisandraOssAli> selectAllPresent(Long userId);
List<SchisandraOssAli> selectAllPresent(String userId);
}

View File

@@ -1,47 +1,47 @@
package com.schisandra.oss.infra.basic.service;
import com.schisandra.oss.infra.basic.entity.SchisandraOssAws;
/**
* 亚马逊对象存储配置表 表服务接口
*
* @author landaiqing
* @since 2024-06-02 21:48:16
*/
public interface SchisandraOssAwsService {
/**
* 通过ID查询单条数据
*
* @param id 主键
* @return 实例对象
*/
SchisandraOssAws queryById(Long id);
/**
* 新增数据
*
* @param schisandraOssAws 实例对象
* @return 实例对象
*/
int insert(SchisandraOssAws schisandraOssAws);
/**
* 修改数据
*
* @param schisandraOssAws 实例对象
* @return 实例对象
*/
int update(SchisandraOssAws schisandraOssAws);
/**
* 通过主键删除数据
*
* @param id 主键
* @return 是否成功
*/
boolean deleteById(Long id);
SchisandraOssAws getAwsOssConfig(String userId);
}
package com.schisandra.oss.infra.basic.service;
import com.schisandra.oss.infra.basic.entity.SchisandraOssAws;
/**
* 亚马逊对象存储配置表 表服务接口
*
* @author landaiqing
* @since 2024-06-02 21:48:16
*/
public interface SchisandraOssAwsService {
/**
* 通过ID查询单条数据
*
* @param id 主键
* @return 实例对象
*/
SchisandraOssAws queryById(String id);
/**
* 新增数据
*
* @param schisandraOssAws 实例对象
* @return 实例对象
*/
int insert(SchisandraOssAws schisandraOssAws);
/**
* 修改数据
*
* @param schisandraOssAws 实例对象
* @return 实例对象
*/
int update(SchisandraOssAws schisandraOssAws);
/**
* 通过主键删除数据
*
* @param id 主键
* @return 是否成功
*/
boolean deleteById(String id);
SchisandraOssAws getAwsOssConfig(String userId);
}

View File

@@ -1,47 +1,47 @@
package com.schisandra.oss.infra.basic.service;
import com.schisandra.oss.infra.basic.entity.SchisandraOssBaidu;
/**
* 百度云对象存储配置表 表服务接口
*
* @author landaiqing
* @since 2024-06-02 22:02:15
*/
public interface SchisandraOssBaiduService {
/**
* 通过ID查询单条数据
*
* @param id 主键
* @return 实例对象
*/
SchisandraOssBaidu queryById(Long id);
/**
* 新增数据
*
* @param schisandraOssBaidu 实例对象
* @return 实例对象
*/
int insert(SchisandraOssBaidu schisandraOssBaidu);
/**
* 修改数据
*
* @param schisandraOssBaidu 实例对象
* @return 实例对象
*/
int update(SchisandraOssBaidu schisandraOssBaidu);
/**
* 通过主键删除数据
*
* @param id 主键
* @return 是否成功
*/
boolean deleteById(Long id);
SchisandraOssBaidu getBaiduOssConfig(String userId);
}
package com.schisandra.oss.infra.basic.service;
import com.schisandra.oss.infra.basic.entity.SchisandraOssBaidu;
/**
* 百度云对象存储配置表 表服务接口
*
* @author landaiqing
* @since 2024-06-02 22:02:15
*/
public interface SchisandraOssBaiduService {
/**
* 通过ID查询单条数据
*
* @param id 主键
* @return 实例对象
*/
SchisandraOssBaidu queryById(String id);
/**
* 新增数据
*
* @param schisandraOssBaidu 实例对象
* @return 实例对象
*/
int insert(SchisandraOssBaidu schisandraOssBaidu);
/**
* 修改数据
*
* @param schisandraOssBaidu 实例对象
* @return 实例对象
*/
int update(SchisandraOssBaidu schisandraOssBaidu);
/**
* 通过主键删除数据
*
* @param id 主键
* @return 是否成功
*/
boolean deleteById(String id);
SchisandraOssBaidu getBaiduOssConfig(String userId);
}

View File

@@ -1,47 +1,47 @@
package com.schisandra.oss.infra.basic.service;
import com.schisandra.oss.infra.basic.entity.SchisandraOssFtp;
/**
* ftp存储配置表 表服务接口
*
* @author landaiqing
* @since 2024-06-02 21:54:20
*/
public interface SchisandraOssFtpService {
/**
* 通过ID查询单条数据
*
* @param id 主键
* @return 实例对象
*/
SchisandraOssFtp queryById(Long id);
/**
* 新增数据
*
* @param schisandraOssFtp 实例对象
* @return 实例对象
*/
int insert(SchisandraOssFtp schisandraOssFtp);
/**
* 修改数据
*
* @param schisandraOssFtp 实例对象
* @return 实例对象
*/
int update(SchisandraOssFtp schisandraOssFtp);
/**
* 通过主键删除数据
*
* @param id 主键
* @return 是否成功
*/
boolean deleteById(Long id);
SchisandraOssFtp getFtpOssConfig(String userId);
}
package com.schisandra.oss.infra.basic.service;
import com.schisandra.oss.infra.basic.entity.SchisandraOssFtp;
/**
* ftp存储配置表 表服务接口
*
* @author landaiqing
* @since 2024-06-02 21:54:20
*/
public interface SchisandraOssFtpService {
/**
* 通过ID查询单条数据
*
* @param id 主键
* @return 实例对象
*/
SchisandraOssFtp queryById(String id);
/**
* 新增数据
*
* @param schisandraOssFtp 实例对象
* @return 实例对象
*/
int insert(SchisandraOssFtp schisandraOssFtp);
/**
* 修改数据
*
* @param schisandraOssFtp 实例对象
* @return 实例对象
*/
int update(SchisandraOssFtp schisandraOssFtp);
/**
* 通过主键删除数据
*
* @param id 主键
* @return 是否成功
*/
boolean deleteById(String id);
SchisandraOssFtp getFtpOssConfig(String userId);
}

View File

@@ -1,47 +1,47 @@
package com.schisandra.oss.infra.basic.service;
import com.schisandra.oss.infra.basic.entity.SchisandraOssHuawei;
/**
* 华为云对象存储配置表 表服务接口
*
* @author landaiqing
* @since 2024-06-02 21:59:56
*/
public interface SchisandraOssHuaweiService {
/**
* 通过ID查询单条数据
*
* @param id 主键
* @return 实例对象
*/
SchisandraOssHuawei queryById(Long id);
/**
* 新增数据
*
* @param schisandraOssHuawei 实例对象
* @return 实例对象
*/
int insert(SchisandraOssHuawei schisandraOssHuawei);
/**
* 修改数据
*
* @param schisandraOssHuawei 实例对象
* @return 实例对象
*/
int update(SchisandraOssHuawei schisandraOssHuawei);
/**
* 通过主键删除数据
*
* @param id 主键
* @return 是否成功
*/
boolean deleteById(Long id);
SchisandraOssHuawei getHuaweiOssConfig(String userId);
}
package com.schisandra.oss.infra.basic.service;
import com.schisandra.oss.infra.basic.entity.SchisandraOssHuawei;
/**
* 华为云对象存储配置表 表服务接口
*
* @author landaiqing
* @since 2024-06-02 21:59:56
*/
public interface SchisandraOssHuaweiService {
/**
* 通过ID查询单条数据
*
* @param id 主键
* @return 实例对象
*/
SchisandraOssHuawei queryById(String id);
/**
* 新增数据
*
* @param schisandraOssHuawei 实例对象
* @return 实例对象
*/
int insert(SchisandraOssHuawei schisandraOssHuawei);
/**
* 修改数据
*
* @param schisandraOssHuawei 实例对象
* @return 实例对象
*/
int update(SchisandraOssHuawei schisandraOssHuawei);
/**
* 通过主键删除数据
*
* @param id 主键
* @return 是否成功
*/
boolean deleteById(String id);
SchisandraOssHuawei getHuaweiOssConfig(String userId);
}

View File

@@ -1,47 +1,47 @@
package com.schisandra.oss.infra.basic.service;
import com.schisandra.oss.infra.basic.entity.SchisandraOssJd;
/**
* 京东云对象存储配置表 表服务接口
*
* @author landaiqing
* @since 2024-06-02 22:07:10
*/
public interface SchisandraOssJdService {
/**
* 通过ID查询单条数据
*
* @param id 主键
* @return 实例对象
*/
SchisandraOssJd queryById(Long id);
/**
* 新增数据
*
* @param schisandraOssJd 实例对象
* @return 实例对象
*/
int insert(SchisandraOssJd schisandraOssJd);
/**
* 修改数据
*
* @param schisandraOssJd 实例对象
* @return 实例对象
*/
int update(SchisandraOssJd schisandraOssJd);
/**
* 通过主键删除数据
*
* @param id 主键
* @return 是否成功
*/
boolean deleteById(Long id);
SchisandraOssJd getJdOssConfig(String userId);
}
package com.schisandra.oss.infra.basic.service;
import com.schisandra.oss.infra.basic.entity.SchisandraOssJd;
/**
* 京东云对象存储配置表 表服务接口
*
* @author landaiqing
* @since 2024-06-02 22:07:10
*/
public interface SchisandraOssJdService {
/**
* 通过ID查询单条数据
*
* @param id 主键
* @return 实例对象
*/
SchisandraOssJd queryById(String id);
/**
* 新增数据
*
* @param schisandraOssJd 实例对象
* @return 实例对象
*/
int insert(SchisandraOssJd schisandraOssJd);
/**
* 修改数据
*
* @param schisandraOssJd 实例对象
* @return 实例对象
*/
int update(SchisandraOssJd schisandraOssJd);
/**
* 通过主键删除数据
*
* @param id 主键
* @return 是否成功
*/
boolean deleteById(String id);
SchisandraOssJd getJdOssConfig(String userId);
}

View File

@@ -1,46 +1,46 @@
package com.schisandra.oss.infra.basic.service;
import com.schisandra.oss.infra.basic.entity.SchisandraOssJdbcData;
/**
* jdbc存储数据表 表服务接口
*
* @author landaiqing
* @since 2024-06-02 22:08:55
*/
public interface SchisandraOssJdbcDataService {
/**
* 通过ID查询单条数据
*
* @param id 主键
* @return 实例对象
*/
SchisandraOssJdbcData queryById(Long id);
/**
* 新增数据
*
* @param schisandraOssJdbcData 实例对象
* @return 实例对象
*/
int insert(SchisandraOssJdbcData schisandraOssJdbcData);
/**
* 修改数据
*
* @param schisandraOssJdbcData 实例对象
* @return 实例对象
*/
int update(SchisandraOssJdbcData schisandraOssJdbcData);
/**
* 通过主键删除数据
*
* @param id 主键
* @return 是否成功
*/
boolean deleteById(Long id);
}
package com.schisandra.oss.infra.basic.service;
import com.schisandra.oss.infra.basic.entity.SchisandraOssJdbcData;
/**
* jdbc存储数据表 表服务接口
*
* @author landaiqing
* @since 2024-06-02 22:08:55
*/
public interface SchisandraOssJdbcDataService {
/**
* 通过ID查询单条数据
*
* @param id 主键
* @return 实例对象
*/
SchisandraOssJdbcData queryById(String id);
/**
* 新增数据
*
* @param schisandraOssJdbcData 实例对象
* @return 实例对象
*/
int insert(SchisandraOssJdbcData schisandraOssJdbcData);
/**
* 修改数据
*
* @param schisandraOssJdbcData 实例对象
* @return 实例对象
*/
int update(SchisandraOssJdbcData schisandraOssJdbcData);
/**
* 通过主键删除数据
*
* @param id 主键
* @return 是否成功
*/
boolean deleteById(String id);
}

View File

@@ -1,47 +1,47 @@
package com.schisandra.oss.infra.basic.service;
import com.schisandra.oss.infra.basic.entity.SchisandraOssJdbc;
/**
* jdbc存储配置表 表服务接口
*
* @author landaiqing
* @since 2024-06-02 22:08:16
*/
public interface SchisandraOssJdbcService {
/**
* 通过ID查询单条数据
*
* @param id 主键
* @return 实例对象
*/
SchisandraOssJdbc queryById(Long id);
/**
* 新增数据
*
* @param schisandraOssJdbc 实例对象
* @return 实例对象
*/
int insert(SchisandraOssJdbc schisandraOssJdbc);
/**
* 修改数据
*
* @param schisandraOssJdbc 实例对象
* @return 实例对象
*/
int update(SchisandraOssJdbc schisandraOssJdbc);
/**
* 通过主键删除数据
*
* @param id 主键
* @return 是否成功
*/
boolean deleteById(Long id);
SchisandraOssJdbc getJdbcOssConfig(String userId);
}
package com.schisandra.oss.infra.basic.service;
import com.schisandra.oss.infra.basic.entity.SchisandraOssJdbc;
/**
* jdbc存储配置表 表服务接口
*
* @author landaiqing
* @since 2024-06-02 22:08:16
*/
public interface SchisandraOssJdbcService {
/**
* 通过ID查询单条数据
*
* @param id 主键
* @return 实例对象
*/
SchisandraOssJdbc queryById(String id);
/**
* 新增数据
*
* @param schisandraOssJdbc 实例对象
* @return 实例对象
*/
int insert(SchisandraOssJdbc schisandraOssJdbc);
/**
* 修改数据
*
* @param schisandraOssJdbc 实例对象
* @return 实例对象
*/
int update(SchisandraOssJdbc schisandraOssJdbc);
/**
* 通过主键删除数据
*
* @param id 主键
* @return 是否成功
*/
boolean deleteById(String id);
SchisandraOssJdbc getJdbcOssConfig(String userId);
}

View File

@@ -1,46 +1,46 @@
package com.schisandra.oss.infra.basic.service;
import com.schisandra.oss.infra.basic.entity.SchisandraOssJdbcStore;
/**
* jdbc存储信息表 表服务接口
*
* @author landaiqing
* @since 2024-06-02 22:11:22
*/
public interface SchisandraOssJdbcStoreService {
/**
* 通过ID查询单条数据
*
* @param id 主键
* @return 实例对象
*/
SchisandraOssJdbcStore queryById(Long id);
/**
* 新增数据
*
* @param schisandraOssJdbcStore 实例对象
* @return 实例对象
*/
int insert(SchisandraOssJdbcStore schisandraOssJdbcStore);
/**
* 修改数据
*
* @param schisandraOssJdbcStore 实例对象
* @return 实例对象
*/
int update(SchisandraOssJdbcStore schisandraOssJdbcStore);
/**
* 通过主键删除数据
*
* @param id 主键
* @return 是否成功
*/
boolean deleteById(Long id);
}
package com.schisandra.oss.infra.basic.service;
import com.schisandra.oss.infra.basic.entity.SchisandraOssJdbcStore;
/**
* jdbc存储信息表 表服务接口
*
* @author landaiqing
* @since 2024-06-02 22:11:22
*/
public interface SchisandraOssJdbcStoreService {
/**
* 通过ID查询单条数据
*
* @param id 主键
* @return 实例对象
*/
SchisandraOssJdbcStore queryById(String id);
/**
* 新增数据
*
* @param schisandraOssJdbcStore 实例对象
* @return 实例对象
*/
int insert(SchisandraOssJdbcStore schisandraOssJdbcStore);
/**
* 修改数据
*
* @param schisandraOssJdbcStore 实例对象
* @return 实例对象
*/
int update(SchisandraOssJdbcStore schisandraOssJdbcStore);
/**
* 通过主键删除数据
*
* @param id 主键
* @return 是否成功
*/
boolean deleteById(String id);
}

View File

@@ -1,48 +1,48 @@
package com.schisandra.oss.infra.basic.service;
import com.schisandra.oss.infra.basic.entity.SchisandraOssJd;
import com.schisandra.oss.infra.basic.entity.SchisandraOssJinshan;
/**
* 金山云对象存储配置表 表服务接口
*
* @author landaiqing
* @since 2024-06-02 22:13:26
*/
public interface SchisandraOssJinshanService {
/**
* 通过ID查询单条数据
*
* @param id 主键
* @return 实例对象
*/
SchisandraOssJinshan queryById(Long id);
/**
* 新增数据
*
* @param schisandraOssJinshan 实例对象
* @return 实例对象
*/
int insert(SchisandraOssJinshan schisandraOssJinshan);
/**
* 修改数据
*
* @param schisandraOssJinshan 实例对象
* @return 实例对象
*/
int update(SchisandraOssJinshan schisandraOssJinshan);
/**
* 通过主键删除数据
*
* @param id 主键
* @return 是否成功
*/
boolean deleteById(Long id);
SchisandraOssJinshan getJinshanOssConfig(String userId);
}
package com.schisandra.oss.infra.basic.service;
import com.schisandra.oss.infra.basic.entity.SchisandraOssJd;
import com.schisandra.oss.infra.basic.entity.SchisandraOssJinshan;
/**
* 金山云对象存储配置表 表服务接口
*
* @author landaiqing
* @since 2024-06-02 22:13:26
*/
public interface SchisandraOssJinshanService {
/**
* 通过ID查询单条数据
*
* @param id 主键
* @return 实例对象
*/
SchisandraOssJinshan queryById(String id);
/**
* 新增数据
*
* @param schisandraOssJinshan 实例对象
* @return 实例对象
*/
int insert(SchisandraOssJinshan schisandraOssJinshan);
/**
* 修改数据
*
* @param schisandraOssJinshan 实例对象
* @return 实例对象
*/
int update(SchisandraOssJinshan schisandraOssJinshan);
/**
* 通过主键删除数据
*
* @param id 主键
* @return 是否成功
*/
boolean deleteById(String id);
SchisandraOssJinshan getJinshanOssConfig(String userId);
}

Some files were not shown because too many files have changed in this diff Show More