-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat($OSS): new API to merge resource chunk
- Loading branch information
1 parent
314b713
commit 74e56d5
Showing
6 changed files
with
131 additions
and
24 deletions.
There are no files selected for viewing
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
21 changes: 21 additions & 0 deletions
21
...er/src/main/java/com/jmsoftware/maf/osscenter/write/entity/MergeResourceChunkPayload.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,21 @@ | ||
package com.jmsoftware.maf.osscenter.write.entity; | ||
|
||
import lombok.Data; | ||
|
||
import javax.validation.Valid; | ||
import javax.validation.constraints.NotBlank; | ||
import javax.validation.constraints.NotEmpty; | ||
import java.util.List; | ||
|
||
/** | ||
* Description: MergeResourceChunkPayload, change description here. | ||
* | ||
* @author Johnny Miller (锺俊), email: johnnysviva@outlook.com, date: 8/12/2021 8:48 PM | ||
**/ | ||
@Data | ||
public class MergeResourceChunkPayload { | ||
@NotBlank | ||
private String bucket; | ||
@NotEmpty | ||
private List<@Valid @NotBlank String> objectList; | ||
} |
15 changes: 15 additions & 0 deletions
15
oss-center/src/main/java/com/jmsoftware/maf/osscenter/write/entity/ObjectResponse.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,15 @@ | ||
package com.jmsoftware.maf.osscenter.write.entity; | ||
|
||
import lombok.Data; | ||
|
||
/** | ||
* Description: ObjectResponse, change description here. | ||
* | ||
* @author Johnny Miller (锺俊), email: johnnysviva@outlook.com, date: 8/12/2021 9:27 PM | ||
**/ | ||
@Data | ||
public class ObjectResponse { | ||
private String bucket; | ||
private String object; | ||
private String etag; | ||
} |
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
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