forked from young-datafan-ooooo1/data-integration
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request young-datafan-ooooo1#62 from EchoXiaoLang/feature/…
…minIo-config [ADD]文件管理实现minIo
- Loading branch information
Showing
17 changed files
with
648 additions
and
158 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
...t-api/src/main/java/com/youngdatafan/dataintegration/file/management/dto/FileSummary.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package com.youngdatafan.dataintegration.file.management.dto; | ||
|
||
import java.util.Date; | ||
import lombok.Data; | ||
|
||
/** | ||
* 文件信息. | ||
* | ||
* @author songxiaolang | ||
* @since 2022-03-30 15:26 | ||
*/ | ||
@Data | ||
public class FileSummary { | ||
/** | ||
* 最后修改时间. | ||
*/ | ||
private Date lastModified; | ||
|
||
/** | ||
* 文件大小. | ||
*/ | ||
private long size; | ||
|
||
/** | ||
* 文件key. | ||
*/ | ||
private String key; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
...src/main/java/com/youngdatafan/dataintegration/file/management/config/FileServerType.java
This file was deleted.
Oops, something went wrong.
41 changes: 41 additions & 0 deletions
41
...rc/main/java/com/youngdatafan/dataintegration/file/management/config/MinIoProperties.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package com.youngdatafan.dataintegration.file.management.config; | ||
|
||
import io.swagger.annotations.ApiModel; | ||
import lombok.Data; | ||
|
||
/** | ||
* MinIoProperties. | ||
* | ||
* @author songxiaolang | ||
* @since 2022-03-29 14:47 | ||
*/ | ||
@Data | ||
@ApiModel("MinIo文件服务器") | ||
public class MinIoProperties { | ||
|
||
/** | ||
* minio地址+端口号. | ||
*/ | ||
private String url; | ||
|
||
/** | ||
* minio用户名. | ||
*/ | ||
private String accessKey; | ||
|
||
/** | ||
* minio密码. | ||
*/ | ||
private String secretKey; | ||
|
||
/** | ||
* 文件桶的名称. | ||
*/ | ||
private String bucketName; | ||
|
||
/** | ||
* 文件根路径名称. | ||
*/ | ||
private String rootPath; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.